uruk
c78596a80e
CGE2: Remove another unused opcode.
2014-07-26 12:52:27 +02:00
uruk
8d21a21b63
CGE2: Change random source.
2014-07-26 12:08:54 +02:00
uruk
6ac879270f
CGE2: Repair display of version and translation strings.
2014-07-26 11:44:35 +02:00
uruk
88286115c8
CGE2: More refactoring in cge2.h and cge2.cpp.
2014-07-25 23:34:58 +02:00
uruk
56da652e8f
CGE2: Rearrange things a bit in cge2.h.
2014-07-25 23:24:06 +02:00
uruk
5861b963ed
CGE2: Now refactor optionTouch() the right way.
2014-07-25 23:19:11 +02:00
uruk
266f1c7dee
Revert "CGE2: Refactor optionTouch()."
...
This reverts commit 85909a52e42fb1151322bd7b5601d042ff844fad.
2014-07-25 23:15:36 +02:00
uruk
85909a52e4
CGE2: Refactor optionTouch().
2014-07-25 23:08:02 +02:00
uruk
870349078e
CGE2: Refactor optionTouch().
2014-07-25 23:05:23 +02:00
uruk
8a9a088b31
CGE2: Fix optionTouch().
2014-07-25 22:59:39 +02:00
uruk
62e0a32a90
CGE2: Repair checkVolumeSwitches().
2014-07-25 22:53:49 +02:00
uruk
ac178b6013
CGE2: Fix optionTouch().
...
Now you can't change the sound options via the toolbar if the Mute All option is checked in the GGM/Launcher.
2014-07-25 22:43:20 +02:00
uruk
eaddafdea7
CGE2: Get rid of unnecessary variables.
2014-07-25 22:34:39 +02:00
uruk
944465431a
CGE2: Implement the sfx volume button on the toolbar.
2014-07-25 22:32:18 +02:00
uruk
668b133dab
CGE2: Implement the music volume button on the toolbar.
2014-07-25 22:24:36 +02:00
uruk
9524f1d128
CGE2: Remove useless TODO comment.
2014-07-25 20:30:12 +02:00
uruk
98c6bfa0f5
CGE2: Fix broken compilation by previous commit.
2014-07-25 20:29:42 +02:00
uruk
22f1207cff
CGE2: Rename kSoundSwtichRate to kVolumeSwitchRate.
2014-07-25 20:27:05 +02:00
uruk
aaf1f6a1a0
CGE2: Fix initialization of sound switches on the toolbar.
2014-07-25 20:24:10 +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
Strangerke
72c8dbaf66
CGE2: Update another warning
2014-07-25 10:58:54 +02:00
Strangerke
d83a8162bb
CGE2: Remove unused constant in Talk, fix a warning
2014-07-25 10:55:53 +02:00
uruk
737fc953a4
CGE2: Rearrange _commandText[]'s content.
2014-07-24 23:25:09 +02:00
uruk
8a1d046187
CGE2: Fix kCmdWalk's comment.
2014-07-24 23:22:46 +02:00
uruk
b85e5dcfdb
CGE2: Remove kCmdDim and kCmdStep and connected code.
2014-07-24 23:19:02 +02:00
uruk
42f0440127
CGE2: Remove more unused opcodes.
2014-07-24 23:16:12 +02:00
uruk
6caee925df
CGE2: Fix typo in SETREF's comment.
2014-07-24 23:07:11 +02:00
uruk
12210ecf27
CGE2: Remove the unused opcodes.
2014-07-24 23:06:11 +02:00
uruk
c843898132
CGE2: Remove handling of unused opcodes.
2014-07-24 22:57:26 +02:00
uruk
15a2256972
CGE2: Implement snTrans() and snPort().
2014-07-24 22:19:11 +02:00
uruk
7c65aa7aec
CGE2: Repair/rename checkSoundHandle().
2014-07-24 19:44:09 +02:00
uruk
6743b8b6a3
CGE2: Remove redundant default labels.
2014-07-24 18:55:41 +02:00
uruk
ff97d52d72
CGE2: Distinguish SFX from speech when playing sounds.
...
Now the sound options of ScummVM are taken into account when playing these two types of sounds. Until now, everything was considered SFX sound.
2014-07-24 18:55:09 +02:00
uruk
24cc8a8762
CGE2: Implement checkSaySwitch() and add/fix connected code.
2014-07-24 18:11:10 +02:00
uruk
755fedcceb
CGE2: Set speech only/text only/both modes according to Launcher options.
2014-07-24 16:50:36 +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
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