1 | /* |
---|
2 | ----------------------------------------------------------------------------- |
---|
3 | This source file is part of OGRE |
---|
4 | (Object-oriented Graphics Rendering Engine) |
---|
5 | For the latest info, see http://www.ogre3d.org/ |
---|
6 | |
---|
7 | Copyright (c) 2000-2013 Torus Knot Software Ltd |
---|
8 | |
---|
9 | Permission is hereby granted, free of charge, to any person obtaining a copy |
---|
10 | of this software and associated documentation files (the "Software"), to deal |
---|
11 | in the Software without restriction, including without limitation the rights |
---|
12 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
---|
13 | copies of the Software, and to permit persons to whom the Software is |
---|
14 | furnished to do so, subject to the following conditions: |
---|
15 | |
---|
16 | The above copyright notice and this permission notice shall be included in |
---|
17 | all copies or substantial portions of the Software. |
---|
18 | |
---|
19 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
---|
20 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
---|
21 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
---|
22 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
---|
23 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
---|
24 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
---|
25 | THE SOFTWARE. |
---|
26 | ----------------------------------------------------------------------------- |
---|
27 | */ |
---|
28 | #ifndef __ParticleEmitterCommands_H__ |
---|
29 | #define __ParticleEmitterCommands_H__ |
---|
30 | |
---|
31 | #include "OgrePrerequisites.h" |
---|
32 | #include "OgreStringInterface.h" |
---|
33 | |
---|
34 | namespace Ogre { |
---|
35 | |
---|
36 | /** \addtogroup Core |
---|
37 | * @{ |
---|
38 | */ |
---|
39 | /** \addtogroup Effects |
---|
40 | * @{ |
---|
41 | */ |
---|
42 | |
---|
43 | namespace EmitterCommands { |
---|
44 | /// Command object for ParticleEmitter - see ParamCommand |
---|
45 | class _OgreExport CmdAngle : public ParamCommand |
---|
46 | { |
---|
47 | public: |
---|
48 | String doGet(const void* target) const; |
---|
49 | void doSet(void* target, const String& val); |
---|
50 | }; |
---|
51 | /// Command object for particle emitter - see ParamCommand |
---|
52 | class _OgreExport CmdColour : public ParamCommand |
---|
53 | { |
---|
54 | public: |
---|
55 | String doGet(const void* target) const; |
---|
56 | void doSet(void* target, const String& val); |
---|
57 | }; |
---|
58 | |
---|
59 | /// Command object for particle emitter - see ParamCommand |
---|
60 | class _OgreExport CmdColourRangeStart : public ParamCommand |
---|
61 | { |
---|
62 | public: |
---|
63 | String doGet(const void* target) const; |
---|
64 | void doSet(void* target, const String& val); |
---|
65 | }; |
---|
66 | /// Command object for particle emitter - see ParamCommand |
---|
67 | class _OgreExport CmdColourRangeEnd : public ParamCommand |
---|
68 | { |
---|
69 | public: |
---|
70 | String doGet(const void* target) const; |
---|
71 | void doSet(void* target, const String& val); |
---|
72 | }; |
---|
73 | |
---|
74 | /// Command object for particle emitter - see ParamCommand |
---|
75 | class _OgreExport CmdDirection : public ParamCommand |
---|
76 | { |
---|
77 | public: |
---|
78 | String doGet(const void* target) const; |
---|
79 | void doSet(void* target, const String& val); |
---|
80 | }; |
---|
81 | |
---|
82 | /// Command object for particle emitter - see ParamCommand |
---|
83 | class _OgreExport CmdUp : public ParamCommand |
---|
84 | { |
---|
85 | public: |
---|
86 | String doGet(const void* target) const; |
---|
87 | void doSet(void* target, const String& val); |
---|
88 | }; |
---|
89 | |
---|
90 | /// Command object for particle emitter - see ParamCommand |
---|
91 | class _OgreExport CmdDirPositionRef : public ParamCommand |
---|
92 | { |
---|
93 | public: |
---|
94 | String doGet(const void* target) const; |
---|
95 | void doSet(void* target, const String& val); |
---|
96 | }; |
---|
97 | |
---|
98 | /// Command object for particle emitter - see ParamCommand |
---|
99 | class _OgreExport CmdEmissionRate : public ParamCommand |
---|
100 | { |
---|
101 | public: |
---|
102 | String doGet(const void* target) const; |
---|
103 | void doSet(void* target, const String& val); |
---|
104 | }; |
---|
105 | /// Command object for particle emitter - see ParamCommand |
---|
106 | class _OgreExport CmdVelocity : public ParamCommand |
---|
107 | { |
---|
108 | public: |
---|
109 | String doGet(const void* target) const; |
---|
110 | void doSet(void* target, const String& val); |
---|
111 | }; |
---|
112 | /// Command object for particle emitter - see ParamCommand |
---|
113 | class _OgreExport CmdMinVelocity : public ParamCommand |
---|
114 | { |
---|
115 | public: |
---|
116 | String doGet(const void* target) const; |
---|
117 | void doSet(void* target, const String& val); |
---|
118 | }; |
---|
119 | /// Command object for particle emitter - see ParamCommand |
---|
120 | class _OgreExport CmdMaxVelocity : public ParamCommand |
---|
121 | { |
---|
122 | public: |
---|
123 | String doGet(const void* target) const; |
---|
124 | void doSet(void* target, const String& val); |
---|
125 | }; |
---|
126 | /// Command object for particle emitter - see ParamCommand |
---|
127 | class _OgreExport CmdTTL : public ParamCommand |
---|
128 | { |
---|
129 | public: |
---|
130 | String doGet(const void* target) const; |
---|
131 | void doSet(void* target, const String& val); |
---|
132 | }; |
---|
133 | /// Command object for particle emitter - see ParamCommand |
---|
134 | class _OgreExport CmdMinTTL : public ParamCommand |
---|
135 | { |
---|
136 | public: |
---|
137 | String doGet(const void* target) const; |
---|
138 | void doSet(void* target, const String& val); |
---|
139 | }; |
---|
140 | /// Command object for particle emitter - see ParamCommand |
---|
141 | class _OgreExport CmdMaxTTL : public ParamCommand |
---|
142 | { |
---|
143 | public: |
---|
144 | String doGet(const void* target) const; |
---|
145 | void doSet(void* target, const String& val); |
---|
146 | }; |
---|
147 | /// Command object for particle emitter - see ParamCommand |
---|
148 | class _OgreExport CmdPosition : public ParamCommand |
---|
149 | { |
---|
150 | public: |
---|
151 | String doGet(const void* target) const; |
---|
152 | void doSet(void* target, const String& val); |
---|
153 | }; |
---|
154 | /// Command object for particle emitter - see ParamCommand |
---|
155 | class _OgreExport CmdDuration : public ParamCommand |
---|
156 | { |
---|
157 | public: |
---|
158 | String doGet(const void* target) const; |
---|
159 | void doSet(void* target, const String& val); |
---|
160 | }; |
---|
161 | /// Command object for particle emitter - see ParamCommand |
---|
162 | class _OgreExport CmdMinDuration : public ParamCommand |
---|
163 | { |
---|
164 | public: |
---|
165 | String doGet(const void* target) const; |
---|
166 | void doSet(void* target, const String& val); |
---|
167 | }; |
---|
168 | /// Command object for particle emitter - see ParamCommand |
---|
169 | class _OgreExport CmdMaxDuration : public ParamCommand |
---|
170 | { |
---|
171 | public: |
---|
172 | String doGet(const void* target) const; |
---|
173 | void doSet(void* target, const String& val); |
---|
174 | }; |
---|
175 | /// Command object for particle emitter - see ParamCommand |
---|
176 | class _OgreExport CmdRepeatDelay : public ParamCommand |
---|
177 | { |
---|
178 | public: |
---|
179 | String doGet(const void* target) const; |
---|
180 | void doSet(void* target, const String& val); |
---|
181 | }; |
---|
182 | /// Command object for particle emitter - see ParamCommand |
---|
183 | class _OgreExport CmdMinRepeatDelay : public ParamCommand |
---|
184 | { |
---|
185 | public: |
---|
186 | String doGet(const void* target) const; |
---|
187 | void doSet(void* target, const String& val); |
---|
188 | }; |
---|
189 | /// Command object for particle emitter - see ParamCommand |
---|
190 | class _OgreExport CmdMaxRepeatDelay : public ParamCommand |
---|
191 | { |
---|
192 | public: |
---|
193 | String doGet(const void* target) const; |
---|
194 | void doSet(void* target, const String& val); |
---|
195 | }; |
---|
196 | /// Command object for particle emitter - see ParamCommand |
---|
197 | class _OgreExport CmdName : public ParamCommand |
---|
198 | { |
---|
199 | public: |
---|
200 | String doGet(const void* target) const; |
---|
201 | void doSet(void* target, const String& val); |
---|
202 | }; |
---|
203 | |
---|
204 | /// Command object for particle emitter - see ParamCommand |
---|
205 | class _OgreExport CmdEmittedEmitter : public ParamCommand |
---|
206 | { |
---|
207 | public: |
---|
208 | String doGet(const void* target) const; |
---|
209 | void doSet(void* target, const String& val); |
---|
210 | }; |
---|
211 | |
---|
212 | } |
---|
213 | /** @} */ |
---|
214 | /** @} */ |
---|
215 | |
---|
216 | } |
---|
217 | |
---|
218 | |
---|
219 | |
---|
220 | |
---|
221 | |
---|
222 | #endif |
---|
223 | |
---|