Commit Graph

80187 Commits

Author SHA1 Message Date
Filippos Karapetis
fefad640cd CRYO: Change the version of cryo.dat to be a 32-bit integer (1/2)
Though it's unlikely that we'll ever have that many changes, it's
better to provision for more space now, for versioning
2017-02-11 18:04:42 +02:00
Filippos Karapetis
a3f59d8433 CRYO: Remove one more usage of sizeof() 2017-02-11 18:02:47 +02:00
Willem Jan Palenstijn
2af9ab6f61 DRASCULA: Add bound check asserts to copyRect
Bug #7110 showed a crash here. Even though that was likely a compiler
error, these extra checks shouldn't hurt.
2017-02-11 16:50:28 +01:00
Filippos Karapetis
24a4c231da CRYO: Rename variables to conform to our formatting guidelines 2017-02-11 17:20:54 +02:00
Filippos Karapetis
05c99c5b0d CRYO: Move more static data to cryo.dat (2/2) 2017-02-11 17:16:45 +02:00
Filippos Karapetis
37c53cdf49 CRYO: Move more static data to cryo.dat (1/2) 2017-02-11 17:16:26 +02:00
Filippos Karapetis
fed7341481 CRYO: Use hardcoded values for structs instead of sizeof() 2017-02-11 17:10:26 +02:00
Thierry Crozat
efb8774734 NEWS: Mention drascula volume handling improvements 2017-02-11 14:41:48 +00:00
Thierry Crozat
b7e87d9e09 DRASCULA: Link speech and SFX volumes 2017-02-11 14:38:58 +00:00
Thierry Crozat
13dd57d34f DRASCULA: Fix sound volume synchronization
When using the original drascula dialog to change volume, this was
not saved to the ConfMan, which means the change was lost when
quitting the engine or when opening the ScummVM options dialog.

Also synchronising the _mixer volumes from ConfMan was resetting
the master volume to the maximum. Since ScummVM doesn't have a
master volume, there is no correct way to get it. But we now try to
guess one from the music and speech volumes.
2017-02-11 14:38:58 +00:00
Thierry Crozat
f7e5f01b85 DRASCULA: Add handling of the master volume 2017-02-11 14:38:34 +00:00
Filippos Karapetis
6b2ac7c7af CRYO: Wrap enums around namespaces, to use EnumName::EnumValue 2017-02-11 16:34:47 +02:00
Martin Kiewitz
e64e388816 AGI: Hold-key-mode fix
Original AGI only created a stationary event, when the last
pressed direction key was released. We do that now as well.
Makes cursor in MH1 behave properly.
Thanks to waltervn for pointing this out.
2017-02-11 10:35:10 +01:00
Eugene Sandulenko
8420310989 DIRECTOR: Lingo: Implemented sanity checks for built-ins 2017-02-11 09:53:47 +01:00
Eugene Sandulenko
4e5952c774 DIRECTOR: Lingo: Probe movies in Mac Resource Forks in 'go to movie'
Currently, 'Gravity Ball' movie is launched every now and then in
The Apartment 3.0 due to some bug in hadlers call sequence.

Thus, rename it for the time being.
2017-02-11 09:34:56 +01:00
Eugene Sandulenko
500b8bbd93 DIRECTOR: Fix Shared cast detection 2017-02-11 09:21:31 +01:00
Thierry Crozat
82635b79e0 I18N: Update translations templates 2017-02-11 08:56:29 +01:00
Eugene Sandulenko
3d5d279bed Merge pull request #895 from csnover/gui-volume-options
GUI: Add three new options for volume slider controls
2017-02-11 08:56:16 +01:00
Paul Gilbert
7422248625 TITANIC: Use critical section methods when reading from audio buffer 2017-02-10 23:15:08 -05:00
Paul Gilbert
82815658f2 TITANIC: Fix further warnings in CWaveFile 2017-02-10 21:57:35 -05:00
Paul Gilbert
d1140d102c TITANIC: Fix shadowed member warnings 2017-02-10 21:36:08 -05:00
Paul Gilbert
f9cd01fe03 TITANIC: Compilation fix for audio buffer stream class 2017-02-10 21:34:15 -05:00
Paul Gilbert
75598ba6a4 TITANIC: Further sanity checking before locking wave files for access 2017-02-10 21:30:50 -05:00
Paul Gilbert
9ab1ad60bf TITANIC: Implementing audio buffer audio stream 2017-02-10 21:20:06 -05:00
Paul Gilbert
173e9c0c73 TITANIC: Moved music parser strings to data file 2017-02-10 20:34:58 -05:00
Paul Gilbert
843088ea2c DEVTOOLS: Add music parser strings to create_titanic 2017-02-10 20:34:30 -05:00
Eugene Sandulenko
cf8c0624a9 DIRECTOR: Lingo: Fixed parsing built-ins with arglist 2017-02-10 21:51:33 +01:00
Eugene Sandulenko
165cbd180c DIRECTOR: Lingo: Avoid deleting counter in 'repeat..with' statement 2017-02-10 21:36:06 +01:00
Martin Kiewitz
eeaddfb20a AGI: Make MH1 nightclub arcade sequence slower for AppleIIgs
Thanks waltervn for pointing this issue out
AppleIIgs adjustment tables had to be extended, because the first
3 arcade sequences were running way too fast, while the last one
ran fine and all of those are part of one single room.
2017-02-10 19:43:16 +01:00
Filippos Karapetis
77f1194586 CRYO: Move all static data for Lost Eden to cryo.dat (2/2) 2017-02-10 11:51:58 +02:00
Filippos Karapetis
8ed8b3225f CRYO: Move all static data for Lost Eden to cryo.dat (1/2) 2017-02-10 11:41:50 +02:00
Eugene Sandulenko
4872c0dadf DIRECTOR: Lingo: Fixed built-ins code generation 2017-02-10 09:46:54 +01:00
Filippos Karapetis
aa56958b8e CRYO: Add explicit sizes to some static data arrays
Makes it easier to move them to a data file
2017-02-10 10:12:06 +02:00
Filippos Karapetis
130dfccfc1 CRYO: Use cryo.dat for all game versions
All the static data will be eventually moved into this file
2017-02-10 10:12:05 +02:00
Filippos Karapetis
248e5d3c59 CRYO: Add handling for the cryo.dat aux data file 2017-02-10 10:12:05 +02:00
Filippos Karapetis
29616127b3 CRYO: Rename create_led_dat to create_cryo_dat 2017-02-10 10:12:04 +02:00
Filippos Karapetis
c73270a3d3 CRYO: Add ID and versioning to cryo.dat 2017-02-10 10:12:04 +02:00
Filippos Karapetis
8c7edfcc87 Revert "CRYO: Add ID and versioning to cryo.dat"
This reverts commit 4858b3fc58.
2017-02-10 10:09:36 +02:00
Filippos Karapetis
cbe576a4bc Revert "CRYO: Rename create_led_dat to create_cryo_dat"
This reverts commit 1db02c7bd8.
2017-02-10 10:09:23 +02:00
Filippos Karapetis
79e774b806 Revert "CRYO: Add handling for the cryo.dat aux data file"
This reverts commit 01e072fbbc.
2017-02-10 10:08:04 +02:00
Filippos Karapetis
3e4710bb20 Revert "CRYO: Use cryo.dat for all game versions"
This reverts commit 6ff7ef95d7.
2017-02-10 10:07:51 +02:00
Filippos Karapetis
95feec2aa6 Revert "CRYO: Add explicit sizes to some static data arrays"
This reverts commit 2fd2eeed1c.
2017-02-10 10:07:37 +02:00
Paul Gilbert
e942131e22 TITANIC: Extra sanity checks before locking CWaveFiles for access 2017-02-09 22:37:51 -05:00
Paul Gilbert
4adea6eace TITANIC: FIxes and cleanup for instrument mixer code 2017-02-09 22:12:56 -05:00
Paul Gilbert
abe4f20fc1 TITANIC: CWaveFile::lock now returns pointer to data, not WAV header 2017-02-09 21:43:03 -05:00
Filippos Karapetis
2fd2eeed1c CRYO: Add explicit sizes to some static data arrays
Makes it easier to move them to a data file
2017-02-10 04:33:37 +02:00
Filippos Karapetis
6ff7ef95d7 CRYO: Use cryo.dat for all game versions
All the static data will be eventually moved into this file
2017-02-10 04:33:36 +02:00
Filippos Karapetis
01e072fbbc CRYO: Add handling for the cryo.dat aux data file 2017-02-10 04:33:36 +02:00
Filippos Karapetis
1db02c7bd8 CRYO: Rename create_led_dat to create_cryo_dat 2017-02-10 04:33:36 +02:00
Filippos Karapetis
4858b3fc58 CRYO: Add ID and versioning to cryo.dat 2017-02-10 04:33:35 +02:00