uruk
bac952917f
CGE2: Remove Spare::locate(char *file), since it's not used anymore.
2014-07-21 20:20:33 +02:00
uruk
6e26422468
CGE2: Rework loading of sprites from file.
...
Now it satisfies the needs described in the last commit's TODO comment.
2014-07-21 19:57:33 +02:00
uruk
1176721034
CGE2: Fix the issue of loading sprites with changed _ref.
...
It fixes the problem with the multiply displayed Vulcanizer after giving him the glasses/basket ball, then saving and loading.
2014-07-21 19:52:46 +02:00
uruk
c285d3299c
CGE2: Silence GCC warnings.
2014-07-18 00:12:53 +02:00
uruk
2203b7df8c
CGE2: Smaller revision regarding Spare.
2014-07-17 16:41:32 +02:00
uruk
8b8216bf2c
CGE2: Fully implement the save/load system.
...
Now the toolbar is working too after loading.
2014-07-04 18:39:03 +02:00
uruk
927be46c87
CGE2: Remove unnecessary parameter from Spare::sync().
2014-07-04 13:01:28 +02:00
uruk
f155546ecb
CGE2: Partially working save/load system.
...
There's a mayor bug which blocks the toolbar from interaction after loading. To be investigated during the upcoming days.
2014-07-04 13:01:28 +02:00
uruk
aeaac02332
CGE2: Silence warning.
2014-07-04 12:58:47 +02:00
uruk
b9dc93c451
CGE2: Heavily rework memory management of Sprites.
...
Hopefully it will solve a bunch of memory leak problems.
Now Spare is a central container, which stores pointers to every Sprite currently used by the engine.
Because of that, there's no more need for Queue's clear().
In case of snKill(), it's just a safeguard, since it's only used by the engine to "kill" the speech bubbles, but we will check Spare anyway, so it's the safest this way.
2014-07-04 12:58:46 +02:00
Strangerke
b48c94a541
CGE2: Fix GCC warning
2014-07-02 01:33:37 +02:00
uruk
ade740de10
CGE2: Implement saving.
2014-06-29 22:52:03 +02:00
uruk
186d90e5b5
CGE2: Implement switching between scenes.
...
Minor modification in Spare again to do so.
2014-06-17 15:37:55 +02:00
uruk
7f4af90777
CGE2: Fix compilation broken by previous commit.
2014-06-15 21:24:59 +02:00
uruk
3d63184fee
CGE2: Rethink Spare::dispose().
2014-06-14 19:46:18 +02:00
uruk
85c55333b3
CGE2: Handle kCmdSetRef.
...
Fix Snail during the process.
2014-06-10 14:38:30 +02:00
Strangerke
11ebdcb5e0
CGE2: nullify some pointers
2014-06-03 20:18:48 +02:00
uruk
0e62716038
CGE2: Add and use Spare::take().
2014-06-02 14:33:30 +02:00
Strangerke
8a712c840d
CGE2: Fix several signed/unsigned comparisons
2014-05-30 10:52:10 +02:00
uruk
b82a0fa3e5
CGE2: Add isHero().
2014-05-24 09:04:41 +02:00
uruk
bf820481b7
CGE2: Implement feedSnail().
2014-05-19 23:24:23 +02:00
uruk
06ed289509
CGE2: Revise Spare::takeCave().
2014-05-19 17:56:19 +02:00
uruk
938a2e66c2
CGE2: Implement Spare::dispose(), add Spare::update().
2014-05-18 11:37:06 +02:00
uruk
3e97ade388
CGE2: Revise takeCave().
2014-05-18 11:04:30 +02:00
uruk
d7c5465309
CGE2: Rename make() to store().
2014-05-13 09:07:06 +02:00
uruk
0fbdbd8272
CGE2: Rename take() to locate().
2014-05-13 09:03:29 +02:00
uruk
631e9ef37e
CGE2: Fix Spare.
2014-05-13 07:49:28 +02:00
uruk
18182d5d2b
CGE2: Spare: store pointers instead of objects.
2014-05-13 07:46:13 +02:00
uruk
49d7852792
CGE2: Add Spare.
2014-05-12 22:24:21 +02:00