[1] | 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-2006 Torus Knot Software Ltd |
---|
| 8 | Also see acknowledgements in Readme.html |
---|
| 9 | |
---|
| 10 | This program is free software; you can redistribute it and/or modify it under |
---|
| 11 | the terms of the GNU Lesser General Public License as published by the Free Software |
---|
| 12 | Foundation; either version 2 of the License, or (at your option) any later |
---|
| 13 | version. |
---|
| 14 | |
---|
| 15 | This program is distributed in the hope that it will be useful, but WITHOUT |
---|
| 16 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
---|
| 17 | FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. |
---|
| 18 | |
---|
| 19 | You should have received a copy of the GNU Lesser General Public License along with |
---|
| 20 | this program; if not, write to the Free Software Foundation, Inc., 59 Temple |
---|
| 21 | Place - Suite 330, Boston, MA 02111-1307, USA, or go to |
---|
| 22 | http://www.gnu.org/copyleft/lesser.txt. |
---|
| 23 | |
---|
| 24 | You may alternatively use this source under the terms of a specific version of |
---|
| 25 | the OGRE Unrestricted License provided you have obtained such a license from |
---|
| 26 | Torus Knot Software Ltd. |
---|
| 27 | ----------------------------------------------------------------------------- |
---|
| 28 | */ |
---|
| 29 | #ifndef __ParticleEmitterCommands_H__ |
---|
| 30 | #define __ParticleEmitterCommands_H__ |
---|
| 31 | |
---|
| 32 | #include "OgrePrerequisites.h" |
---|
| 33 | #include "OgreStringInterface.h" |
---|
| 34 | |
---|
| 35 | namespace Ogre { |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | namespace EmitterCommands { |
---|
| 39 | /// Command object for ParticleEmitter - see ParamCommand |
---|
| 40 | class _OgreExport CmdAngle : public ParamCommand |
---|
| 41 | { |
---|
| 42 | public: |
---|
| 43 | String doGet(const void* target) const; |
---|
| 44 | void doSet(void* target, const String& val); |
---|
| 45 | }; |
---|
| 46 | /// Command object for particle emitter - see ParamCommand |
---|
| 47 | class _OgreExport CmdColour : public ParamCommand |
---|
| 48 | { |
---|
| 49 | public: |
---|
| 50 | String doGet(const void* target) const; |
---|
| 51 | void doSet(void* target, const String& val); |
---|
| 52 | }; |
---|
| 53 | |
---|
| 54 | /// Command object for particle emitter - see ParamCommand |
---|
| 55 | class _OgreExport CmdColourRangeStart : public ParamCommand |
---|
| 56 | { |
---|
| 57 | public: |
---|
| 58 | String doGet(const void* target) const; |
---|
| 59 | void doSet(void* target, const String& val); |
---|
| 60 | }; |
---|
| 61 | /// Command object for particle emitter - see ParamCommand |
---|
| 62 | class _OgreExport CmdColourRangeEnd : public ParamCommand |
---|
| 63 | { |
---|
| 64 | public: |
---|
| 65 | String doGet(const void* target) const; |
---|
| 66 | void doSet(void* target, const String& val); |
---|
| 67 | }; |
---|
| 68 | |
---|
| 69 | /// Command object for particle emitter - see ParamCommand |
---|
| 70 | class _OgreExport CmdDirection : public ParamCommand |
---|
| 71 | { |
---|
| 72 | public: |
---|
| 73 | String doGet(const void* target) const; |
---|
| 74 | void doSet(void* target, const String& val); |
---|
| 75 | }; |
---|
| 76 | |
---|
| 77 | /// Command object for particle emitter - see ParamCommand |
---|
| 78 | class _OgreExport CmdEmissionRate : public ParamCommand |
---|
| 79 | { |
---|
| 80 | public: |
---|
| 81 | String doGet(const void* target) const; |
---|
| 82 | void doSet(void* target, const String& val); |
---|
| 83 | }; |
---|
| 84 | /// Command object for particle emitter - see ParamCommand |
---|
| 85 | class _OgreExport CmdVelocity : public ParamCommand |
---|
| 86 | { |
---|
| 87 | public: |
---|
| 88 | String doGet(const void* target) const; |
---|
| 89 | void doSet(void* target, const String& val); |
---|
| 90 | }; |
---|
| 91 | /// Command object for particle emitter - see ParamCommand |
---|
| 92 | class _OgreExport CmdMinVelocity : public ParamCommand |
---|
| 93 | { |
---|
| 94 | public: |
---|
| 95 | String doGet(const void* target) const; |
---|
| 96 | void doSet(void* target, const String& val); |
---|
| 97 | }; |
---|
| 98 | /// Command object for particle emitter - see ParamCommand |
---|
| 99 | class _OgreExport CmdMaxVelocity : 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 CmdTTL : 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 CmdMinTTL : 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 CmdMaxTTL : 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 CmdPosition : 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 CmdDuration : 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 CmdMinDuration : 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 CmdMaxDuration : 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 CmdRepeatDelay : 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 CmdMinRepeatDelay : 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 CmdMaxRepeatDelay : 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 CmdName : public ParamCommand |
---|
| 177 | { |
---|
| 178 | public: |
---|
| 179 | String doGet(const void* target) const; |
---|
| 180 | void doSet(void* target, const String& val); |
---|
| 181 | }; |
---|
| 182 | |
---|
| 183 | /// Command object for particle emitter - see ParamCommand |
---|
| 184 | class _OgreExport CmdEmittedEmitter : public ParamCommand |
---|
| 185 | { |
---|
| 186 | public: |
---|
| 187 | String doGet(const void* target) const; |
---|
| 188 | void doSet(void* target, const String& val); |
---|
| 189 | }; |
---|
| 190 | |
---|
| 191 | } |
---|
| 192 | |
---|
| 193 | } |
---|
| 194 | |
---|
| 195 | |
---|
| 196 | |
---|
| 197 | |
---|
| 198 | |
---|
| 199 | #endif |
---|
| 200 | |
---|