Johannes Schickel
46747d8396
should fix warnings in msvc.
...
svn-id: r25484
2007-02-11 03:21:27 +00:00
Johannes Schickel
841fd4f94f
cleanup
...
svn-id: r25479
2007-02-11 01:38:15 +00:00
Johannes Schickel
1cc18f6e7b
Don't rely on assert when calling functions.
...
svn-id: r25426
2007-02-08 09:41:10 +00:00
Johannes Schickel
00d4aea7e6
Fixed GUI strings in FM-Towns version.
...
svn-id: r25425
2007-02-08 09:24:33 +00:00
Johannes Schickel
cab3b23ab2
ops.
...
svn-id: r25424
2007-02-08 08:41:14 +00:00
Johannes Schickel
aa38257840
- fixed crash in FM-Towns version when entering the grotto
...
- fixed some palette issues
svn-id: r25423
2007-02-08 08:39:33 +00:00
Johannes Schickel
6707dcbbb2
Fixed credits in FM-Towns version.
...
svn-id: r25417
2007-02-07 19:51:19 +00:00
Johannes Schickel
63e3dfb1d1
Support for new kyra.dat, which includes static data from the fm-towns version.
...
svn-id: r25416
2007-02-07 19:30:49 +00:00
Johannes Schickel
db19d5e9de
should silence compiler warnings.
...
svn-id: r25412
2007-02-07 16:47:34 +00:00
Johannes Schickel
aee4f7058d
Implemented little diff in o1_characterSays for fm-towns version.
...
svn-id: r25410
2007-02-07 16:28:29 +00:00
Eugene Sandulenko
7b6bdd231d
AdvancedDetector now has built-in fallback detection based on file lists.
...
Currently only gob engine benefits from it.
svn-id: r25374
2007-02-04 03:10:27 +00:00
Max Horn
35bfb505a6
Use the platform/language values computed by the detector
...
svn-id: r25365
2007-02-03 22:42:45 +00:00
Johannes Schickel
c3f84d67b2
Workaround bad values for _curSfxFile in old savegames.
...
svn-id: r25359
2007-02-03 21:14:35 +00:00
Johannes Schickel
a2976a350f
Fixes FM-Towns New Game Save.
...
svn-id: r25358
2007-02-03 20:50:26 +00:00
Johannes Schickel
3d70157e53
Some delay changes. (should fix slow scene animations)
...
svn-id: r25357
2007-02-03 19:21:33 +00:00
Johannes Schickel
4387a851a2
Replace filesize based kyra.dat check with a md5 based.
...
svn-id: r25337
2007-02-02 16:02:59 +00:00
Johannes Schickel
128c05f2b1
ops
...
svn-id: r25331
2007-02-01 22:15:01 +00:00
Johannes Schickel
b11e72f030
Handles multi language games the way gob engine does.
...
svn-id: r25330
2007-02-01 22:06:55 +00:00
Johannes Schickel
7e4fdbb36e
Reworked delay handling.
...
svn-id: r25324
2007-02-01 15:30:50 +00:00
Johannes Schickel
096f8958c5
- fixed the sprite updating
...
=> fixes gfx bug when Herman uses the saw
=> removed workaround for bug #1477364 ("KYRA1: Water dripping freezes")
svn-id: r25323
2007-02-01 14:57:48 +00:00
Johannes Schickel
61531524dc
cleanup
...
svn-id: r25322
2007-02-01 13:31:07 +00:00
Johannes Schickel
e9074ea021
oops.
...
svn-id: r25321
2007-02-01 13:12:45 +00:00
Johannes Schickel
b138b5cce1
Fix for missing Brandon in Zanthia's home (see bug #1498221 "KYRA1: Subtitles missing when meeting Zanthia
...
").
svn-id: r25320
2007-02-01 13:10:49 +00:00
Johannes Schickel
69788f3d70
Some changes to be closer to the original with palette handling.
...
svn-id: r25316
2007-01-31 23:48:12 +00:00
Johannes Schickel
d3345ea7f1
oops.
...
svn-id: r25314
2007-01-31 18:38:22 +00:00
Johannes Schickel
d82c67b48c
Fix for bug #Fix for bug #1523200 ("KYRA1: Voice-only mode has no lips animation").
...
svn-id: r25313
2007-01-31 18:35:50 +00:00
Johannes Schickel
9799b346d8
Fix for bug #1479856 ("KYRA1: gfx glitch when dying on bridge").
...
svn-id: r25312
2007-01-31 17:48:26 +00:00
Gregory Montoir
7e5a0b05b5
warnings
...
svn-id: r25284
2007-01-30 20:20:05 +00:00
Johannes Schickel
7bb9b05f55
cleanup
...
svn-id: r25268
2007-01-29 21:34:39 +00:00
Johannes Schickel
5bf2396dd8
Changed debug message on unknown opcode to a warning.
...
svn-id: r25263
2007-01-29 20:23:27 +00:00
Johannes Schickel
10a3eebe5a
Implements opcode 0xFFAA ('Reset Brandon's sprite')
...
svn-id: r25262
2007-01-29 19:41:52 +00:00
Johannes Schickel
fc5ed85972
little fix for fm-towns sfx.
...
svn-id: r25261
2007-01-29 18:48:49 +00:00
Johannes Schickel
1bbad356ef
- adds support for FM-Towns SFX (thanks to Florian Kagerer for his source)
...
- gets rid of GameFlags::hasAudioCD
svn-id: r25258
2007-01-29 18:15:14 +00:00
Eugene Sandulenko
93687d376b
Add more paramteres to AdvancedDetector. Not used yet.
...
svn-id: r25241
2007-01-28 07:31:26 +00:00
Johannes Schickel
3a164d63ed
Workaround for bug #1582672 ("KYRA1: Text crippled and drawn wrong").
...
svn-id: r25211
2007-01-26 22:27:59 +00:00
Oystein Eftevaag
7a5284922f
Some adjustments to the menu code to better suit longer strings in some language versions, should take care of the issues mentioned in bug [ 1493774 ] KYRA1: Overlapping menu text in spanish version
...
svn-id: r25208
2007-01-26 21:47:42 +00:00
Johannes Schickel
4cf1c3565b
little parameter reodering.
...
svn-id: r25201
2007-01-26 13:09:48 +00:00
Johannes Schickel
dd5b1e41fb
remvoed some unneeded static keywords.
...
svn-id: r25198
2007-01-26 10:39:30 +00:00
Max Horn
d70c83bd4b
Lots of cleanup in the AdvancedDetector
...
svn-id: r25194
2007-01-25 21:16:57 +00:00
Johannes Schickel
6844eef41a
Adds special case in snd_playSoundEffect for CD audio.
...
svn-id: r25193
2007-01-25 17:47:06 +00:00
Johannes Schickel
b64032810a
Adds CD audio support.
...
svn-id: r25192
2007-01-25 17:43:48 +00:00
Johannes Schickel
f7c6643841
Support for loading the correct EMC pak file in the FM-Towns version.
...
svn-id: r25190
2007-01-25 14:38:11 +00:00
Johannes Schickel
30b7ac3db5
Adds basic support for the FM Towns version with some restrictions:
...
- just english playable
- no audio
svn-id: r25188
2007-01-25 12:52:27 +00:00
Johannes Schickel
48c2b96c26
typo.
...
svn-id: r25187
2007-01-25 12:09:22 +00:00
Johannes Schickel
934ddb1091
cleanup
...
svn-id: r25186
2007-01-25 11:34:32 +00:00
Johannes Schickel
1f70013b15
Using 0 flags for null id instead of KYRA2_UNK_FLAGS.
...
svn-id: r25185
2007-01-25 11:32:50 +00:00
Johannes Schickel
67916d5295
Adding language/platform overwriting removed in r25170 (by accident?)
...
svn-id: r25184
2007-01-25 11:26:13 +00:00
Eugene Sandulenko
bb3cc79bc6
Reduce #include dependencies
...
svn-id: r25178
2007-01-25 01:05:25 +00:00
Max Horn
30d517613a
Fix typos in some warnings
...
svn-id: r25171
2007-01-25 00:36:48 +00:00
Max Horn
38ded04da9
Don't invoke AdvancedDetector directly, but rather use ADVANCED_DETECTOR_DETECT_INIT_GAME like the other AD based engines
...
svn-id: r25170
2007-01-25 00:32:49 +00:00
Max Horn
1986fff67c
Merged setupGameFlags into Engine_KYRA_create (removing some obsolete code in the process)
...
svn-id: r25169
2007-01-25 00:07:48 +00:00
Eugene Sandulenko
318210ad96
Add optional size parameter to ADGameFileDescription. Not used now.
...
svn-id: r25164
2007-01-24 22:42:44 +00:00
Eugene Sandulenko
edd2422a55
Hide all AdvacedDetector parameters into a structure for easier maintenance
...
and extensibility
svn-id: r25163
2007-01-24 22:24:52 +00:00
Johannes Schickel
e0aa34bc51
Fixes implementation of o1_updateSceneAnimations.
...
svn-id: r25149
2007-01-21 14:23:32 +00:00
Eugene Sandulenko
cd8a5f3a98
First phase of detection-related plugins interface improvements. Now plugins
...
return StringMap instead of fixed list of parameters. This adds great
flexibility.
Current patch should not alter any functionality, i.e. if there are regressions,
submit a report. Phase 2 will benefit from these changes and will come later.
svn-id: r25134
2007-01-20 21:27:57 +00:00
Johannes Schickel
b6b75af524
Completed implementation of o1_restoreAllObjectBackgrounds.
...
svn-id: r25127
2007-01-20 15:28:03 +00:00
Johannes Schickel
3efe809e83
Fix for language selection.
...
svn-id: r25071
2007-01-13 10:24:26 +00:00
Johannes Schickel
d61a84e0ab
Fix for bug #1631352 ("KYRA1: Graphics heavily broken and ScummVM crash"), I tried memmove here, but it also crashed on Win32 with memmove, so I reverted it back to how it was.
...
svn-id: r25059
2007-01-09 11:50:22 +00:00
Johannes Schickel
49f773d2f8
Little fix.
...
svn-id: r25058
2007-01-09 00:33:23 +00:00
Johannes Schickel
965d82ea46
Fix for bug #1586735 ("KYRA1: Sprite not redrawn")
...
svn-id: r25057
2007-01-08 23:55:14 +00:00
Oystein Eftevaag
ee221cc5df
Merging decodeFrameDeltaPage() again and using Fingolfin's template trickery instead
...
svn-id: r25039
2007-01-06 18:52:30 +00:00
Johannes Schickel
46271f2145
formatting
...
svn-id: r25038
2007-01-06 18:45:43 +00:00
Oystein Eftevaag
8fbf9a1e23
A few minor fixes and optimizations (biggest one is splitting decodeFrameDeltaPage() into two functions to avoid a high amount of conditional jumps per decided animation frame
...
svn-id: r25034
2007-01-06 17:11:08 +00:00
Eugene Sandulenko
c01839bbe9
Make ADGameFileDescription is built in directly into ADGameDescription.
...
svn-id: r24947
2006-12-29 00:03:03 +00:00
Max Horn
6eef02245c
Stripped some more real_ prefixes from function names; also added a new FIXME comment to Kyra's setupGameFlags, and did some more cleanup
...
svn-id: r24899
2006-12-20 00:08:51 +00:00
Max Horn
dc30c2304c
Changed Engine_KYRA_detectGames to use ADVANCED_DETECTOR_DETECT_GAMES_FUNCTION, and removed the ADGameDescription::gameid abuse
...
svn-id: r24898
2006-12-19 23:59:26 +00:00
Max Horn
07c6fa980f
Further AdvancedDetector cleanup (in particular, renamed ADGameDescription::name to the more suitable ADGameDescription::gameid)
...
svn-id: r24895
2006-12-19 23:37:03 +00:00
Max Horn
2969144120
* Simplified code in AdvancedDetector::detectGame
...
* Removed AdvancedDetector::setFileMD5Bytes, now AdvancedDetector::detectGame
simply takes the MD5 byte limit as an extra parameter
svn-id: r24894
2006-12-19 23:14:15 +00:00
Max Horn
865d8717a3
* Change the GameList typedef to a proper class with an additional
...
constructor which takes a PlainGameDescriptor 'list'
* Replaced real_ADVANCED_DETECTOR_GAMEID_LIST by this new constructor
* Removed ADVANCED_DETECTOR_GAMEID_LIST and ADVANCED_DETECTOR_FIND_GAMEID
* Some minor cleanup
svn-id: r24893
2006-12-19 22:43:15 +00:00
Eugene Sandulenko
457ebfea3c
Get rif od ARRAYSIZE in ADGameDescription
...
svn-id: r24882
2006-12-19 04:35:08 +00:00
Eugene Sandulenko
18ce381060
Got rid of ARRAYSIZE in advanceDetector calls
...
svn-id: r24881
2006-12-19 03:52:04 +00:00
Eugene Sandulenko
88fabf4a53
Move addSpecialDebugLevel calls to engine constructor, as stated in our
...
HOWTO Engines.
svn-id: r24704
2006-11-13 12:00:36 +00:00
Max Horn
1f26cb8965
Reworked code in the advanced game detector (getting rid of much of the evil #define hell it consisted of previously)
...
svn-id: r24685
2006-11-12 03:23:29 +00:00
Eugene Sandulenko
a977988058
Next step in AdvancedDetector unification. Moved all common functions to
...
macroses. Now typical usage is just list of macros with parameters and
array of game details.
svn-id: r24670
2006-11-10 22:43:10 +00:00
Johannes Schickel
53ba30a3d4
oops add comment about german floppy version details again
...
svn-id: r24666
2006-11-09 14:42:15 +00:00
Johannes Schickel
7b74adf98d
- switches to Common::AdvancedDetector
...
- non md5 based detector removed (for now)
svn-id: r24665
2006-11-09 14:38:16 +00:00
Johannes Schickel
7ad775fe11
Always stop the audio handle in Sound::voicePlay.
...
svn-id: r24569
2006-10-29 15:27:03 +00:00
Johannes Schickel
3197cb6a23
Never unload files loat on startup like "CAVE.APK" and "LAGOON.APK".
...
svn-id: r24485
2006-10-24 00:56:10 +00:00
Johannes Schickel
0d357aab4d
Fix for (reopened) bug #1582149 ("KYRA1: Crash when meeting Malcolm").
...
svn-id: r24480
2006-10-24 00:30:48 +00:00
Johannes Schickel
8fb07286cc
Fix for bug #1582726 ("KYRA1: Crash when entering Castle screen").
...
svn-id: r24475
2006-10-23 23:12:12 +00:00
Johannes Schickel
f0a162e8bb
Fix for bug #1582149 ("KYRA1: Crash when meeting Malcolm").
...
svn-id: r24462
2006-10-22 20:12:27 +00:00
Johannes Schickel
a853696a5e
Some AMIGA resource loading code (of course it's still not supported).
...
svn-id: r24461
2006-10-22 20:08:23 +00:00
Johannes Schickel
e58da07488
Don't output warning about unsupported language more than one time.
...
svn-id: r24459
2006-10-22 20:04:45 +00:00
Max Horn
b5cbbd705a
Added some more const keywords
...
svn-id: r24330
2006-10-15 02:15:38 +00:00
Johannes Schickel
06dde0650f
Fixed msvc8 build.
...
svn-id: r24053
2006-10-01 10:54:57 +00:00
Max Horn
4c14cf6d1a
Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
...
svn-id: r23974
2006-09-23 00:42:35 +00:00
Johannes Schickel
f9d1a82cc0
Fixes the Macintosh related problems Krest mentioned on the IRC channel.
...
(the user has to set the game platform to Macintosh though, since it's
atm detected as DOS version)
svn-id: r23929
2006-09-18 17:30:51 +00:00
Johannes Schickel
f4759feeab
formatting
...
svn-id: r23923
2006-09-17 21:19:23 +00:00
Johannes Schickel
b6a8e38726
- removes the kyra specific language flag system, and uses the language enum defined in Common for that now
...
- also reworks the game flag system in general
svn-id: r23920
2006-09-17 20:21:40 +00:00
Max Horn
4503581340
Const correctness
...
svn-id: r23916
2006-09-17 13:06:40 +00:00
Johannes Schickel
a8bc979364
- enables pseudo unloading of loaded pak files (which reduces the loading of pak files on room changes)
...
- uses Common::hashit_lower instead of scumm_stricmp for filename checking
svn-id: r23896
2006-09-16 20:51:05 +00:00
Max Horn
919092e5fc
Overhaul of the debugger code
...
* Moved Common::Debuggger to GUI::Debugger (mainly to satisfy linker
restrictions)
* Change the base Debugger class to *not* be a template class anymore;
instead, a thin (template based) wrapper class is used to hook up
debugger commands
* Removed duplicate Cmd_Exit and Cmd_Help methods in favor of a single
version of each in GUI::Debugger
* New Cmd_Help doesn't word wrap after 39/78 chars, but rather queries
the console to determine when to wrap
* Debugger::preEnter and postEnter aren't pure virtual anymore
svn-id: r23890
2006-09-16 16:58:27 +00:00
Max Horn
a2dc897fe5
Reduce code duplication
...
svn-id: r23888
2006-09-16 15:01:14 +00:00
Johannes Schickel
250133baf0
Simplifies resource handling for the CD version of Kyrandia.
...
(also less file loading at startup, but more on room change)
svn-id: r23887
2006-09-16 14:36:53 +00:00
Johannes Schickel
84c2a93db5
Replaces all malloc/realloc usages with new.
...
svn-id: r23886
2006-09-16 13:40:28 +00:00
Johannes Schickel
e139d26be1
Replaces malloc with new in most cases.
...
svn-id: r23881
2006-09-16 12:12:02 +00:00
Johannes Schickel
75fd84e85a
- adds dirty rect handling to the kyra engine (needs some more tests before I commit it to branch though)
...
- initializes an uninitiliazied variable which caused crashes from time to time
svn-id: r23878
2006-09-15 16:04:32 +00:00
Torbjörn Andersson
c66ec787d2
Test _skipFlag a bit more often.
...
svn-id: r23867
2006-09-10 18:44:53 +00:00
Torbjörn Andersson
632a1a3a22
Clear _skipFlag at beginning of Kyra 2 intro. Otherwise, skipping it once will
...
automatically skip it if you try to watch it a second time. (Are there any
other flags that need to be cleared as well?)
svn-id: r23866
2006-09-10 18:22:27 +00:00
Johannes Schickel
65c0bdcaa0
- Some little checks for shape usage.
...
- Less redrawing while loading a savegame.
svn-id: r23864
2006-09-10 13:52:17 +00:00