mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 18:06:26 +00:00
TETRAEDGE: Avoid compiler warning in TeParticle
This commit is contained in:
parent
ae5d052ce2
commit
ed71db3403
@ -25,7 +25,10 @@
|
||||
|
||||
namespace Tetraedge {
|
||||
|
||||
TeParticle::TeParticle(TeScene *scene) : _scene(scene), _size(0),
|
||||
//static const char *TE_PARTICLE_RANDOM_TABLE = "http://www.arkham-development.com/";
|
||||
|
||||
|
||||
TeParticle::TeParticle(TeScene *scene) : /*_scene(scene),*/ _size(0),
|
||||
_colorTime(0), _time(0), _period(0), _particlePerPeriod(0),
|
||||
_enabled(false), _startLoop(0), _gravity(0), _randomDir(false) {
|
||||
indexedParticles()->push_back(this);
|
||||
@ -51,7 +54,13 @@ bool TeParticle::loadTexture(const Common::String &filename) {
|
||||
}
|
||||
|
||||
void TeParticle::update(int val) {
|
||||
// TODO: Implement me.
|
||||
if (val <= 0) {
|
||||
_realTimer.timeElapsed();
|
||||
return;
|
||||
}
|
||||
for (int i = 0; i < val; i++) {
|
||||
// TODO: Finish me.
|
||||
}
|
||||
}
|
||||
|
||||
/*static*/
|
||||
|
@ -66,7 +66,7 @@ public:
|
||||
|
||||
private:
|
||||
Common::Array<TeIntrusivePtr<TeElement>> _elements;
|
||||
TeScene *_scene;
|
||||
//TeScene *_scene;
|
||||
TeRealTimer _realTimer;
|
||||
Common::String _name;
|
||||
TeIntrusivePtr<Te3DTexture> _texture;
|
||||
|
Loading…
x
Reference in New Issue
Block a user