Torbjörn Andersson
65585f6433
Silenced some harmless cppcheck warnings about unreachable code after a return.
...
In this case, it was always a break after a return in a switch case. There are
similar cases which cppcheck didn't detect, and a couple of cases where we have
a break after a continue in a switch case (where the continue refers to an
outer loop), but I didn't touch those. Not yet, at least.
svn-id: r48218
2010-03-10 06:39:23 +00:00
Arnaud Boutonné
a5a8b6c19f
- Reorder detection (floppy, CD, demos).
...
- Move Gob3CD _doSubtitles initialization to updateConfig().
svn-id: r48171
2010-03-06 22:40:55 +00:00
Arnaud Boutonné
cb71fd7240
Playtoons - Add MD5s specified by scoriae in the forums
...
svn-id: r48168
2010-03-06 09:46:42 +00:00
Arnaud Boutonné
e011df1f68
Gob3CD - Move subtitle check to initialization
...
svn-id: r48167
2010-03-06 09:37:03 +00:00
Arnaud Boutonné
e869b5c7e6
Gob3 CD - some texts are skipped in the CD version because they are considered as subtitles. Even if this behavior is also found in the original, it's incorrect. This fixes those texts (see newspaper after death level).
...
svn-id: r48166
2010-03-06 00:35:27 +00:00
Arnaud Boutonné
724e9a0ceb
Add detection for Playtoons 3 EN, based on Hkz MD5s
...
svn-id: r48164
2010-03-05 15:52:51 +00:00
Sven Hesse
6e07e3e642
Fixing problems with the texts table in TOT files when the order of the texts and resources tables are switched in the TOT file
...
svn-id: r48124
2010-02-25 15:22:26 +00:00
Yotam Barnoy
ef330ed9b4
Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
...
svn-id: r48101
2010-02-21 04:04:13 +00:00
Johannes Schickel
b3bfe83877
Fix for bug #2954286 "Gob: ScummVM quits on pause".
...
svn-id: r48090
2010-02-19 14:16:43 +00:00
Arnaud Boutonné
85bce4611c
Fascination - Fix syntax (clone2727)
...
svn-id: r48074
2010-02-16 23:18:32 +00:00
Arnaud Boutonné
9426e86ede
Playtoons - "Fascination" workaround for text is also required for Playtoons.
...
svn-id: r48067
2010-02-15 22:17:48 +00:00
Arnaud Boutonné
bf17ff87db
Fascination - Put correct protracker functions as Paula now accept sample size > 32k. MOD is now playing in Amiga and Atari versions.
...
svn-id: r48061
2010-02-14 18:30:12 +00:00
Arnaud Boutonné
03e8276407
Fascination: REAL fix. Thanks DrMcCoy.
...
svn-id: r48055
2010-02-13 22:26:52 +00:00
Arnaud Boutonné
17de7acd7b
Fix a crash in previous commit
...
svn-id: r48054
2010-02-13 22:17:17 +00:00
Arnaud Boutonné
5ba36c8216
Fascination:
...
- Fix a potential bug in winDraw
- Add a hack (and a todo) to work around the missing texts and windows in Amiga, Atari and early PC floppy version.
svn-id: r48053
2010-02-13 21:59:45 +00:00
Arnaud Boutonné
816e318134
Fascination: - Suppress the recently added oFascin_keyFunc, replace it with a check in o1_keyFunc. This fixes the animation speed regression
...
- Rename Amiga-specific protracker functions
- Rewrite winDecomp.
svn-id: r48011
2010-02-08 23:12:42 +00:00
Arnaud Boutonné
d7a7fcd3a4
Fascination - Use invalidateRect instead of dirtiedRect, fix several other little errors
...
svn-id: r47947
2010-02-06 23:06:20 +00:00
Arnaud Boutonné
b8875aca0c
Add an assert to avoid a crash when printing the character 0x00.
...
svn-id: r47945
2010-02-06 22:48:36 +00:00
Arnaud Boutonné
59c351a3b2
Fascination: Fix lamp problem in parking lot.
...
svn-id: r47927
2010-02-06 08:10:56 +00:00
Arnaud Boutonné
d5ce8b500e
Fascination - Add detection for EN Atari version
...
svn-id: r47871
2010-02-04 00:12:00 +00:00
Arnaud Boutonné
7e166d1ad6
clean-up : forgot commented code
...
svn-id: r47869
2010-02-03 22:20:33 +00:00
Arnaud Boutonné
f5764b1152
Fascination - based on the theoritical values of flag, use getWindow instead of the code I added. Suppress shr 8 in getWindow and switched from int8 to uint16, in order to match the executable.
...
svn-id: r47868
2010-02-03 22:14:06 +00:00
Arnaud Boutonné
b6a824f48f
Fascination - Cleanup: suppress some noisy debug output, suppress some obsolete and commented code.
...
svn-id: r47851
2010-02-03 12:57:47 +00:00
Sven Hesse
9cad13957d
Implementing saving/loading for Fascination. Tested in the DOS floppy versions and the Amiga version
...
svn-id: r47845
2010-02-03 09:32:16 +00:00
Sven Hesse
5115c94f35
Only show that annoying checkmouse warning for Fascination
...
svn-id: r47840
2010-02-03 03:26:28 +00:00
Sven Hesse
d4949d03d4
Minor style-related changes
...
svn-id: r47839
2010-02-03 03:25:50 +00:00
Arnaud Boutonné
ac6e9e07a3
Fascination - Fix screen transition
...
svn-id: r47830
2010-02-03 00:51:09 +00:00
Arnaud Boutonné
86aa70ec4b
Fascination - comment calls to getWindow() in checkMouse(). I think getWindow() is wrong, and to be replaced with my new check. The first window reacts !
...
svn-id: r47829
2010-02-02 23:45:14 +00:00
Arnaud Boutonné
f072709f25
Fascination - Add a window specific function, modify checkmouse() function in order to use it (without breaking the other games). Windows are no longer "transparent"
...
svn-id: r47828
2010-02-02 23:39:19 +00:00
Arnaud Boutonné
4b063230b7
Fascination - Add a define to enable/disable MDY player, as it currently generates more warnings than sounds
...
svn-id: r47827
2010-02-02 23:35:08 +00:00
Arnaud Boutonné
48c023cd5b
Fascination - Fix one wrong wait time
...
svn-id: r47826
2010-02-02 23:33:10 +00:00
Sven Hesse
6f66286c59
Renaming saveload_Fascination.cpp to saveload_fascin.cpp, to fit the naming scheme
...
svn-id: r47805
2010-02-01 23:34:30 +00:00
Arnaud Boutonné
5507cb6247
Fascination - Partially fix the intro
...
svn-id: r47763
2010-01-31 17:57:07 +00:00
Sven Hesse
6248362c38
Properly deleting the TOT resource table again when loading failed
...
svn-id: r47750
2010-01-31 13:18:32 +00:00
Sven Hesse
2185f6b164
Adding some sanity asserts
...
svn-id: r47749
2010-01-31 13:05:46 +00:00
Arnaud Boutonné
705910f122
- Fixed openWin, saveWin, restoreWin, closeWin, winMove and activeWin, so that windows are AT LEAST working
...
- Suppressed dirty traces. This has to be reviewed/rewritten. It looks better without.
- Add initialization of two variables in one exceptional case in winDraw. (Thanks Cyx)
svn-id: r47616
2010-01-27 23:39:16 +00:00
Max Horn
1565f14bc1
Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
...
svn-id: r47579
2010-01-26 22:48:45 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Arnaud Boutonné
eb7b90f313
Get rid of kGameTypeAdibouUnknown (which is a mix of other versions), and Add kGameTypeAdibou1.
...
svn-id: r47448
2010-01-22 23:44:43 +00:00
Max Horn
dc5e08e623
Move raw audio flags from sound/mixer.h to sound/raw.h
...
svn-id: r47395
2010-01-19 22:30:33 +00:00
Torbjörn Andersson
428f8d6955
Fixed some cppcheck warnings.
...
svn-id: r47393
2010-01-19 20:41:51 +00:00
Arnaud Boutonné
7112cfe8a2
Add detection for another french ADI4 environment disk
...
svn-id: r47361
2010-01-18 21:29:43 +00:00
Johannes Schickel
0d995c5920
Rename all "Adlib" uses to "AdLib" to match the real name of the sound card / company.
...
Check this for reference:
http://en.wikipedia.org/wiki/Ad_Lib,_Inc .
http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card)
This commit does not touch "adlib" and "ADLIB" uses!
Also it does not update all the SCUMM detection entries, which still use "Adlib".
svn-id: r47279
2010-01-12 21:07:56 +00:00
Max Horn
f720d99b0a
Switch Mixer::playInputStream to use DisposeAfterUse::Flag
...
svn-id: r47182
2010-01-08 22:09:43 +00:00
Arnaud Boutonné
0cfd6a4d76
Fix a buffer overflow (thanks to syke) and modify the way the instruments are loaded (bytes instead of uint16). This (sadly) doesn't fix the MDY player.
...
svn-id: r46936
2010-01-03 18:04:52 +00:00
Arnaud Boutonné
f3ca535038
Fix a buffer overflow, thanks to syke
...
svn-id: r46851
2010-01-01 21:18:19 +00:00
Sven Hesse
5c52ed9f4b
Make sure that enough data is read out of the script
...
svn-id: r46785
2009-12-31 00:06:28 +00:00
Sven Hesse
9c430b5298
Fixing an out of array bounds read
...
svn-id: r46784
2009-12-30 23:21:33 +00:00
Arnaud Boutonné
3da285432b
gob - Remove detection of a cracked version of Lost in Time
...
svn-id: r46423
2009-12-19 23:33:48 +00:00
Arnaud Boutonné
5e7ed05997
gob - Split LiT part 2 detection in light / full.
...
svn-id: r46412
2009-12-17 23:07:03 +00:00