Commit Graph
164 Commits
Author SHA1 Message Date
Filippos Karapetis c76c72c799 CGE2: Remove trailing whitespace 2014-10-28 16:06:07 +02:00
Strangerke 0b81ffedd4 CGE2: Reduce the scope of a variable 2014-09-17 23:10:25 +02:00
unknown 5c8129a1dd CGE2: Refactor _startupMode. 2014-09-07 11:01:23 +02:00
Peter Bozsó da1b76be4d Revert "CGE2: Make the intro skippable."
This reverts commit 5e099e90bc.
There's no need for this addition, since the intro was skippable before that too, by hitting the ESC key.
See System::touch().
2014-09-07 10:45:29 +02:00
Peter Bozsó 5e099e90bc CGE2: Make the intro skippable. 2014-09-06 22:52:24 +02:00
uruk 12a894a803 CGE2: Add checkMute().
This keeps the "Mute All" option of ScummVM and the music on/off and speech on/off buttons of Sfinx's toolbar in sync.
2014-08-13 21:16:20 +02:00
uruk d7a9ea9e2a CGE2: Rework sound system. 2014-08-13 20:58:22 +02:00
uruk 8e7279f5ac CGE2: Fix possible string overflow in setEye(). 2014-08-13 18:18:26 +02:00
uruk ae037b2315 CGE2: Use snprintf() instead of sprintf(). 2014-08-11 20:43:08 +02:00
uruk f8e60e467f CGE2: Make movie() safer. 2014-08-11 15:42:55 +02:00
uruk c3a5a9177b CGE2: Fix comment in runGame(). 2014-08-11 15:38:28 +02:00
uruk e709be446c CGE2: Remove unnecessary #pragma before Sprite::touch(). 2014-08-11 14:53:49 +02:00
uruk 69b9a3fdff CGE2: Properly fade out if the player exits during the intro too. 2014-08-03 22:49:43 +02:00
uruk 11d2cf66b6 CGE2: Rework the handling of the sound buttons on the toolbar.
Also keep in sync the volume settings and the audio mode of the game and the settings in the Launcher.
2014-08-03 22:23:55 +02:00
Strangerke b8b3e5af04 CGE2: Some more minor cleanup 2014-08-03 15:44:20 +02:00
uruk 41fece6487 CGE2: Remove #if 0-s. 2014-08-03 15:18:44 +02:00
uruk 60a77ae6d7 CGE2: Add autosave functionality. 2014-08-03 14:46:11 +02:00
uruk 61083e5cab CGE2: Add RTL support. 2014-08-03 12:15:07 +02:00
Strangerke 9dc06870e7 CGE2: Start removing the checks on the return value of new 2014-08-03 01:51:33 +02:00
Strangerke 3376ab4f62 CGE2: Update the comment about another non-fixable workaround 2014-08-02 19:05:30 +02:00
Strangerke 1a49887855 CGE2: Some cosmetic changes 2014-08-01 19:36:24 +02:00
uruk 6d278157e1 CGE2: Comment out delay in the splash screen during testing. 2014-07-30 21:13:47 +02:00
uruk 6a38671cc2 CGE2: Rearrange showTitle() and add some delay to the display.
Now the splash screen doesn't vanish almost immediately right after it's drawn.
2014-07-30 19:34:37 +02:00
uruk 6b48172ae1 CGE2: Disable checking the sound options while the intro animation is running.
Since there are no toolbar during the intro, checking it's buttons would cause a crash.
2014-07-30 09:01:18 +02:00
uruk df59c0d0f6 CGE2: Remove not useful comment from switchScene(). 2014-07-29 10:56:04 +02:00
uruk d95a4c5f72 CGE2: Get rid of _flag. 2014-07-29 09:05:41 +02:00
uruk f538660c15 CGE2: Fix graphic glitch at closing the game. 2014-07-29 08:48:45 +02:00
uruk db6cab7a6f CGE2: Repair loading from savestate. 2014-07-28 20:40:42 +02:00
uruk 668b133dab CGE2: Implement the music volume button on the toolbar. 2014-07-25 22:24:36 +02:00
uruk 3c0665edfa CGE2: Rework loadUser().
Now initToolbar() works as intended both when starting a new game or when loading an old gamestate.
2014-07-25 19:20:50 +02:00
uruk 7c65aa7aec CGE2: Repair/rename checkSoundHandle(). 2014-07-24 19:44:09 +02:00
uruk a6eb089033 CGE2: Move inventory system's functions from cge2_main.cpp to inventory.cpp. 2014-07-23 14:56:11 +02:00
uruk cd8b7c0d15 CGE2: Move toolbar's functions from cge2_main.cpp to toolbar.cpp. 2014-07-23 14:47:43 +02:00
uruk 014b734c98 CGE2: Increase readability of code connected to music switch. 2014-07-23 14:24:06 +02:00
uruk 6336ddb3ce CGE2: Keep music setting in sync with the Launcher. 2014-07-23 12:31:06 +02:00
uruk 4c3bd3e0f5 CGE2: Add MidiPlayer::syncVolume() call to checkSounds(). 2014-07-23 10:09:27 +02:00
uruk b15b1043f9 CGE2: Updgrade checkSaySwitch().
Now it takes into account the "Speech volume" option in the Launcher and it only plays the keyClick() sound if the button is really switched, not every time it's clicked.
2014-07-23 10:00:03 +02:00
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 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 77b5c7e4ad CGE2: Rename _commandStat to _soundStat. 2014-07-22 15:41: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 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 5e780d3d97 CGE2: Use locate() instead of take() where possible. 2014-07-17 16:44:02 +02:00
uruk d9e82f8f8e CGE2: Get rid of _sprite. 2014-07-17 15:41:49 +02:00
uruk d947167931 CGE2: Fix the intro animation. 2014-07-15 15:17:00 +02:00