[1092] | 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-2005 The OGRE Team
|
---|
| 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 | */
|
---|
| 25 | #ifndef __ParticleEmitterCommands_H__
|
---|
| 26 | #define __ParticleEmitterCommands_H__
|
---|
| 27 |
|
---|
| 28 | #include "OgrePrerequisites.h"
|
---|
| 29 | #include "OgreStringInterface.h"
|
---|
| 30 |
|
---|
| 31 | namespace Ogre {
|
---|
| 32 |
|
---|
| 33 |
|
---|
| 34 | namespace EmitterCommands {
|
---|
| 35 | /// Command object for ParticleEmitter - see ParamCommand
|
---|
| 36 | class _OgreExport CmdAngle : public ParamCommand
|
---|
| 37 | {
|
---|
| 38 | public:
|
---|
| 39 | String doGet(const void* target) const;
|
---|
| 40 | void doSet(void* target, const String& val);
|
---|
| 41 | };
|
---|
| 42 | /// Command object for particle emitter - see ParamCommand
|
---|
| 43 | class _OgreExport CmdColour : public ParamCommand
|
---|
| 44 | {
|
---|
| 45 | public:
|
---|
| 46 | String doGet(const void* target) const;
|
---|
| 47 | void doSet(void* target, const String& val);
|
---|
| 48 | };
|
---|
| 49 |
|
---|
| 50 | /// Command object for particle emitter - see ParamCommand
|
---|
| 51 | class _OgreExport CmdColourRangeStart : public ParamCommand
|
---|
| 52 | {
|
---|
| 53 | public:
|
---|
| 54 | String doGet(const void* target) const;
|
---|
| 55 | void doSet(void* target, const String& val);
|
---|
| 56 | };
|
---|
| 57 | /// Command object for particle emitter - see ParamCommand
|
---|
| 58 | class _OgreExport CmdColourRangeEnd : public ParamCommand
|
---|
| 59 | {
|
---|
| 60 | public:
|
---|
| 61 | String doGet(const void* target) const;
|
---|
| 62 | void doSet(void* target, const String& val);
|
---|
| 63 | };
|
---|
| 64 |
|
---|
| 65 | /// Command object for particle emitter - see ParamCommand
|
---|
| 66 | class _OgreExport CmdDirection : public ParamCommand
|
---|
| 67 | {
|
---|
| 68 | public:
|
---|
| 69 | String doGet(const void* target) const;
|
---|
| 70 | void doSet(void* target, const String& val);
|
---|
| 71 | };
|
---|
| 72 |
|
---|
| 73 | /// Command object for particle emitter - see ParamCommand
|
---|
| 74 | class _OgreExport CmdEmissionRate : public ParamCommand
|
---|
| 75 | {
|
---|
| 76 | public:
|
---|
| 77 | String doGet(const void* target) const;
|
---|
| 78 | void doSet(void* target, const String& val);
|
---|
| 79 | };
|
---|
| 80 | /// Command object for particle emitter - see ParamCommand
|
---|
| 81 | class _OgreExport CmdVelocity : public ParamCommand
|
---|
| 82 | {
|
---|
| 83 | public:
|
---|
| 84 | String doGet(const void* target) const;
|
---|
| 85 | void doSet(void* target, const String& val);
|
---|
| 86 | };
|
---|
| 87 | /// Command object for particle emitter - see ParamCommand
|
---|
| 88 | class _OgreExport CmdMinVelocity : public ParamCommand
|
---|
| 89 | {
|
---|
| 90 | public:
|
---|
| 91 | String doGet(const void* target) const;
|
---|
| 92 | void doSet(void* target, const String& val);
|
---|
| 93 | };
|
---|
| 94 | /// Command object for particle emitter - see ParamCommand
|
---|
| 95 | class _OgreExport CmdMaxVelocity : public ParamCommand
|
---|
| 96 | {
|
---|
| 97 | public:
|
---|
| 98 | String doGet(const void* target) const;
|
---|
| 99 | void doSet(void* target, const String& val);
|
---|
| 100 | };
|
---|
| 101 | /// Command object for particle emitter - see ParamCommand
|
---|
| 102 | class _OgreExport CmdTTL : public ParamCommand
|
---|
| 103 | {
|
---|
| 104 | public:
|
---|
| 105 | String doGet(const void* target) const;
|
---|
| 106 | void doSet(void* target, const String& val);
|
---|
| 107 | };
|
---|
| 108 | /// Command object for particle emitter - see ParamCommand
|
---|
| 109 | class _OgreExport CmdMinTTL : public ParamCommand
|
---|
| 110 | {
|
---|
| 111 | public:
|
---|
| 112 | String doGet(const void* target) const;
|
---|
| 113 | void doSet(void* target, const String& val);
|
---|
| 114 | };
|
---|
| 115 | /// Command object for particle emitter - see ParamCommand
|
---|
| 116 | class _OgreExport CmdMaxTTL : public ParamCommand
|
---|
| 117 | {
|
---|
| 118 | public:
|
---|
| 119 | String doGet(const void* target) const;
|
---|
| 120 | void doSet(void* target, const String& val);
|
---|
| 121 | };
|
---|
| 122 | /// Command object for particle emitter - see ParamCommand
|
---|
| 123 | class _OgreExport CmdPosition : public ParamCommand
|
---|
| 124 | {
|
---|
| 125 | public:
|
---|
| 126 | String doGet(const void* target) const;
|
---|
| 127 | void doSet(void* target, const String& val);
|
---|
| 128 | };
|
---|
| 129 | /// Command object for particle emitter - see ParamCommand
|
---|
| 130 | class _OgreExport CmdDuration : public ParamCommand
|
---|
| 131 | {
|
---|
| 132 | public:
|
---|
| 133 | String doGet(const void* target) const;
|
---|
| 134 | void doSet(void* target, const String& val);
|
---|
| 135 | };
|
---|
| 136 | /// Command object for particle emitter - see ParamCommand
|
---|
| 137 | class _OgreExport CmdMinDuration : public ParamCommand
|
---|
| 138 | {
|
---|
| 139 | public:
|
---|
| 140 | String doGet(const void* target) const;
|
---|
| 141 | void doSet(void* target, const String& val);
|
---|
| 142 | };
|
---|
| 143 | /// Command object for particle emitter - see ParamCommand
|
---|
| 144 | class _OgreExport CmdMaxDuration : public ParamCommand
|
---|
| 145 | {
|
---|
| 146 | public:
|
---|
| 147 | String doGet(const void* target) const;
|
---|
| 148 | void doSet(void* target, const String& val);
|
---|
| 149 | };
|
---|
| 150 | /// Command object for particle emitter - see ParamCommand
|
---|
| 151 | class _OgreExport CmdRepeatDelay : public ParamCommand
|
---|
| 152 | {
|
---|
| 153 | public:
|
---|
| 154 | String doGet(const void* target) const;
|
---|
| 155 | void doSet(void* target, const String& val);
|
---|
| 156 | };
|
---|
| 157 | /// Command object for particle emitter - see ParamCommand
|
---|
| 158 | class _OgreExport CmdMinRepeatDelay : public ParamCommand
|
---|
| 159 | {
|
---|
| 160 | public:
|
---|
| 161 | String doGet(const void* target) const;
|
---|
| 162 | void doSet(void* target, const String& val);
|
---|
| 163 | };
|
---|
| 164 | /// Command object for particle emitter - see ParamCommand
|
---|
| 165 | class _OgreExport CmdMaxRepeatDelay : public ParamCommand
|
---|
| 166 | {
|
---|
| 167 | public:
|
---|
| 168 | String doGet(const void* target) const;
|
---|
| 169 | void doSet(void* target, const String& val);
|
---|
| 170 | };
|
---|
| 171 |
|
---|
| 172 | }
|
---|
| 173 |
|
---|
| 174 | }
|
---|
| 175 |
|
---|
| 176 |
|
---|
| 177 |
|
---|
| 178 |
|
---|
| 179 |
|
---|
| 180 | #endif
|
---|
| 181 |
|
---|