64251 Commits

Author SHA1 Message Date
uruk
71a9ead967 CGE2: Add and implement checkSounds() and checkMusicSwitch(). 2014-07-23 09:52:05 +02:00
uruk
2f5e115e9a CGE2: Use nullptr instead of NULL in switchColorMode(). 2014-07-23 09:29:24 +02:00
uruk
93b8f101c3 CGE2: Implement switchMusic(): 2014-07-23 09:28:57 +02:00
uruk
49f68a8913 CGE2: Reimplement checkSaySwitch(). 2014-07-22 20:25:21 +02:00
uruk
848b2650e9 CGE2: Unstub CommandHandler::runCommand(). 2014-07-22 19:07:56 +02:00
uruk
aa6b4601d7 CGE2: Change call order of checkSoundHandle(). 2014-07-22 18:59:22 +02:00
uruk
def6b4fc3e CGE2: Add and use Sound::checkSoundHandle(). 2014-07-22 18:54:48 +02:00
uruk
2f19de9ebe CGE2: Fix error introduced by previous commit. 2014-07-22 18:01:37 +02:00
uruk
e261886d92 CGE2: Fix snSound(). 2014-07-22 17:59:16 +02:00
uruk
77b5c7e4ad CGE2: Rename _commandStat to _soundStat. 2014-07-22 15:41:33 +02:00
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
db9e503cfc CGE2: Rework snSetRef(). 2014-07-18 02:26:13 +02:00
uruk
c285d3299c CGE2: Silence GCC warnings. 2014-07-18 00:12:53 +02:00
uruk
f3345f296f CGE2: Use locate instead() of take() in CGE2Eninge::locate().
It fixes the regression with the hole of the sign post on the ground from scene 6 and the display bug in the hospital.
2014-07-17 20:50:16 +02:00
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
49cea2d927 CGE2: Initialize _wideSpace in InfoLine's constructor. 2014-07-17 17:23:12 +02:00
uruk
5e780d3d97 CGE2: Use locate() instead of take() where possible. 2014-07-17 16:44:02 +02:00
uruk
2203b7df8c CGE2: Smaller revision regarding Spare. 2014-07-17 16:41:32 +02:00
uruk
d9e82f8f8e CGE2: Get rid of _sprite. 2014-07-17 15:41:49 +02:00
uruk
a82bd2d9c6 CGE2: Fix memory leak regarding Sprite::ghost().
uint8 *v = new uint8;
was the faulty line in Sprite::ghost(), and it should be released right here.
2014-07-17 15:18:55 +02:00
uruk
20eb951b3a CGE2: Rework getText() so it works nicely with offUse(). 2014-07-15 23:54:07 +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
Strangerke
fbd8f2c390 CGE2: Some rework in snail 2014-07-15 19:32:07 +02:00
uruk
8fae34df05 CGE2: Implement snRoom(). 2014-07-15 16:22:43 +02:00
uruk
d947167931 CGE2: Fix the intro animation. 2014-07-15 15:17:00 +02:00
uruk
8861b0b583 CGE2: Get rid of _mode. 2014-07-15 14:41:46 +02:00
uruk
470736b9c4 CGE2: Remove unnecessary comment from sceneUp(). 2014-07-15 14:19:55 +02:00
uruk
035fb6ad1c CGE2: Hopefully fix a memory leak problem regarding Hero::_dim; 2014-07-15 13:53:26 +02:00
uruk
753b5f89ba CGE2: Unstub CommandHandler::reset(). 2014-07-14 18:17:07 +02:00
uruk
2f8967d959 CGE2: Unstub showTitle(). 2014-07-14 18:15:49 +02:00
uruk
807f354cba CGE2: Remove unused classes from vga13h. 2014-07-14 18:14:20 +02:00
uruk
b941fe226d CGE2: Unstub movie(). 2014-07-14 18:04:16 +02:00
uruk
89295b7895 CGE2: Remove unnecessary comment from ~Vga(). 2014-07-14 18:01:36 +02:00
Strangerke
4d2c1315ac CGE2: Silence a GCC warning, reduce the scope of a variable 2014-07-09 18:48:16 +02:00
uruk
fcce50e6fe CGE2: Hook handling of F10 into the Keyboard::getKey(). 2014-07-09 16:56:33 +02:00
uruk
f57d2ff4d6 CGE2: Remove unnecessary stub from Keyboard's constructor. 2014-07-09 16:56:32 +02:00
Strangerke
1be1ce6117 CGE2: Set widespace for Inf text, update first line of info text in CGE.SAY 2014-07-09 16:44:23 +02:00
Strangerke
dc2330a3b1 CGE2: Implement the keyboard handler 2014-07-09 15:48:47 +02:00
uruk
dbea97b7c4 CGE2: Remove unnecessary stub from loadHeroes(). 2014-07-09 12:57:11 +02:00
uruk
55f91da1ee CGE2: Remove unused local variable from loadScript(). 2014-07-09 12:56:16 +02:00
uruk
ec88528080 CGE2: Remove unnecessary stub from cge2_main(). 2014-07-09 12:53:51 +02:00
uruk
3dc79442c9 CGE2: Fix Sound::open(). 2014-07-09 12:51:03 +02:00
uruk
2f8abb06c3 CGE2: Implement Sound::open(), add stub for checkSaySwitch(). 2014-07-09 12:46:49 +02:00
uruk
8f869c74c0 CGE2: Add option for enabling color blind mode from the Launcher. 2014-07-09 11:55:27 +02:00
uruk
c1bda3c973 CGE2: Remove unnecessary stub from run(). 2014-07-09 11:53:52 +02:00
uruk
5a1383343f CGE2: Rework number(). 2014-07-09 11:33:02 +02:00
uruk
45da1e7c74 CGE2: Implement switchVox() and switchCap(). 2014-07-09 11:17:30 +02:00