19 Commits

Author SHA1 Message Date
uruk
5963a540ef CGE2: Add destructor to Hero().
Hopefully it will cut short the leak problems with _dim[].
2014-07-17 17:33:04 +02:00
uruk
7d6c02ce3f CGE2: Add Hero::contract().
Fix the crash introduced by previous commit on the second scene.
2014-07-15 23:12:58 +02:00
uruk
0b0f998aac CGE2: Try a different approach regarding _dim.
Now it doesn't crash the hospital scene, but I am not entirely sure it's totally leak-free...
2014-07-15 22:15:06 +02:00
uruk
035fb6ad1c CGE2: Hopefully fix a memory leak problem regarding Hero::_dim; 2014-07-15 13:53:26 +02:00
uruk
be5ec466b3 CGE2: Fix another probable memory-leak source. 2014-07-07 23:58:06 +02:00
Strangerke
014d6bd9f0 CGE2: Hopefully fix compilation for GCC 2014-06-26 21:07:24 +02:00
uruk
6015eddc41 CGE2: Remove double definition kMaxTry. 2014-06-22 18:44:33 +02:00
uruk
26901479d3 CGE2: Fix initialization of _posTab.
Fixes a possible memory leak.
2014-06-17 15:38:24 +02:00
uruk
e3b5686c43 CGE2: Rename caves to scenes. 2014-06-15 21:23:14 +02:00
uruk
a2c3a11708 CGE2: Rename setCave() to setScene(). 2014-06-13 22:36:32 +02:00
uruk
6ac5e2cfcf CGE2: Fix initialization of HeroTab. 2014-06-13 14:07:35 +02:00
uruk
9aa80d6d05 CGE2: Implement helper functions connected to Hero.
Also rework Hero::len() during the process.
2014-06-08 07:30:31 +02:00
uruk
f2a1d4f1c8 CGE2: Implement walkTo() and snap() in Hero. 2014-06-07 21:09:19 +02:00
uruk
562644db48 CGE2: Remove unnecessary void parameters in Hero. 2014-06-02 13:50:47 +02:00
uruk
ff21b2d5c8 CGE2: Implement Hero::expand(), move Sprite::works()'s stub to hero.cpp. 2014-06-02 10:03:15 +02:00
uruk
724899fc19 CGE2: Rework Sprite a bit, make _eye an engine variable.
Also move screenToGround() during the process.
2014-05-10 11:12:30 +02:00
uruk
cb65489197 CGE2: Implement CGE2Engine::loadSprite().
Add Snail during the process and revise or expand a lot of other parts of the engine.
2014-05-09 13:11:50 +02:00
uruk
d12e25ccd0 CGE2: Remove unnecessary whitespaces. 2014-05-08 18:32:56 +02:00
uruk
72cccb8000 CGE2: Add Hero. 2014-05-08 16:51:03 +02:00