Commit Graph

1989 Commits

Author SHA1 Message Date
Torbjörn Andersson
f6407f01f8 Partial fix for Elvira 1 palette problems.
svn-id: r24168
2006-10-07 13:33:41 +00:00
Max Horn
5f0874ef63 Some more processKeyboard splitting
svn-id: r24167
2006-10-07 13:31:27 +00:00
Max Horn
f3e410a2ac Further split processKeyboard code, moving stuff specific to some SCUMM version into the resp. subclass of ScummEngine
svn-id: r24166
2006-10-07 13:11:51 +00:00
Max Horn
c3fb1fbcd4 Moved SCUMM keyboard handling code from processInput() to the new (sub)method processKeyboard
svn-id: r24165
2006-10-07 12:33:22 +00:00
Max Horn
f13e4baaf9 Renemaed ScummEngine::processKbd to processInput (as it also deals with the mouse)
svn-id: r24164
2006-10-07 12:19:28 +00:00
Max Horn
ef30cdf78b some HE related cleanup
svn-id: r24163
2006-10-07 11:54:50 +00:00
Torbjörn Andersson
05e7423ed8 Fixed warning.
svn-id: r24162
2006-10-07 08:38:31 +00:00
Travis Howell
1a785b85b3 Add more code differences in Elvira 1
svn-id: r24161
2006-10-07 08:28:06 +00:00
Travis Howell
22a14014b3 Minor cleanup
svn-id: r24159
2006-10-07 03:43:51 +00:00
Travis Howell
f6a6818c5a Minor cleanup
svn-id: r24158
2006-10-07 03:31:17 +00:00
Travis Howell
60f7d97665 Whitespace changes
svn-id: r24157
2006-10-07 03:24:40 +00:00
Travis Howell
8afacd96b9 Add code for printing to boxes in Waxworks
svn-id: r24156
2006-10-07 03:02:56 +00:00
Travis Howell
e4c9d0a4e3 Add more script opcodes for Elvira 1/2/WW
svn-id: r24154
2006-10-07 01:10:32 +00:00
Travis Howell
e75bea0c8f Add more code for Elvira 2
svn-id: r24143
2006-10-06 15:59:59 +00:00
Travis Howell
4b900edfeb Add more code for Elvira 2
svn-id: r24142
2006-10-06 15:16:56 +00:00
Travis Howell
38195077d4 Add more code for Elvira 1
svn-id: r24141
2006-10-06 14:44:39 +00:00
Travis Howell
1d310debd9 Fix dectection of hit areas in earlier games
svn-id: r24140
2006-10-06 12:58:11 +00:00
Travis Howell
e0b76855d3 Correct typo in game title for Elvira 2
svn-id: r24139
2006-10-06 09:21:34 +00:00
Travis Howell
d16c635a12 Alwats report invalid opcodes when debug output is enabled
svn-id: r24138
2006-10-06 08:30:07 +00:00
Travis Howell
8637803941 Update ebug opcode table for Elvira1
svn-id: r24137
2006-10-06 08:00:41 +00:00
Travis Howell
85c9bb0329 Add initial debug opcode table for Elvira1
svn-id: r24136
2006-10-06 07:44:03 +00:00
Travis Howell
f1475e24f5 Add debug video opcodes table for Elvira 1
svn-id: r24135
2006-10-06 06:12:57 +00:00
Travis Howell
81cbb8f718 Correct game titles for Elvira 1/2
svn-id: r24134
2006-10-06 05:17:54 +00:00
Travis Howell
3183f36422 Add Amiga demo of Elvira, and switch to elvira1 for Elvira
svn-id: r24133
2006-10-06 05:13:09 +00:00
Travis Howell
7ac1f00f0b Ooops, restrict o_loadZone() changes to older games only
svn-id: r24132
2006-10-06 04:56:25 +00:00
Travis Howell
7f99566784 Add support for skipping introduction in Elivra 1/2/WW
svn-id: r24131
2006-10-06 04:51:22 +00:00
Travis Howell
c22289416f Add more code for Elvira 1/2
svn-id: r24130
2006-10-06 00:36:13 +00:00
Johannes Schickel
ac7651b273 Silenced warning of msvc8.
svn-id: r24127
2006-10-05 19:11:09 +00:00
Torbjörn Andersson
9ae7bab9f2 I hope this is the right fix for an "invalid opcode" message right after
SET_PATHFIND_ITEM when dumping scripts. If so, perhaps it should be on the 0.9
branch as well. On the other hand, it only happens when debugging...

svn-id: r24125
2006-10-05 16:43:11 +00:00
Travis Howell
dcbad3a1ab Fix startup of Elvira 1
svn-id: r24124
2006-10-05 13:46:48 +00:00
Travis Howell
5af4438cd2 Fix opening credits of Elvira 2
svn-id: r24123
2006-10-05 10:10:26 +00:00
Travis Howell
4dd72f0b3b Fix loading position of initial items in Elvira 1/2
svn-id: r24122
2006-10-05 08:54:51 +00:00
Travis Howell
5074da16d3 Add more code and stubs for WW
svn-id: r24121
2006-10-05 05:27:10 +00:00
Travis Howell
d7ac158813 Add Amiga versions of Elvira 1/2 and Waxworks
svn-id: r24120
2006-10-05 03:43:40 +00:00
Travis Howell
73552266c6 Elvira 1 require more table memory for now
svn-id: r24119
2006-10-05 02:08:51 +00:00
Travis Howell
5fe35cbe9a Reduce memory required by each game, and add safety checks
svn-id: r24118
2006-10-05 01:17:59 +00:00
Travis Howell
b18fdb4c0a Remove sound hacks for DS port, which would cause no speech or subtitles in Simon 1 with speech
svn-id: r24117
2006-10-05 00:16:50 +00:00
Max Horn
98f62b9e65 WORKAROUND bug #859513 (ZAK: "Oxygene-bug" on Mars)
svn-id: r24116
2006-10-04 20:22:47 +00:00
Max Horn
f7eee205bb o2_animateActor is essentially identical to o5_animateActor -- removed in favor of the latter
svn-id: r24115
2006-10-04 20:22:14 +00:00
Max Horn
54790cc217 typo
svn-id: r24114
2006-10-04 20:20:50 +00:00
Travis Howell
a66907e276 Fix dumping of complete video script output
svn-id: r24112
2006-10-04 13:29:14 +00:00
Travis Howell
1dd23850ec Correct frame rate in earlier games
svn-id: r24111
2006-10-04 12:29:37 +00:00
Travis Howell
8e4ffa4b7a Fix palette regression
svn-id: r24110
2006-10-04 11:44:59 +00:00
Travis Howell
7cfbf8b3e4 Add French version of Elvira 2
svn-id: r24109
2006-10-04 11:17:00 +00:00
Travis Howell
2d016704f8 Correct number of variables in Elvira 1/2
svn-id: r24108
2006-10-04 11:12:59 +00:00
Travis Howell
4652cdd1ad Add video opcode differences in Elvira 2
svn-id: r24107
2006-10-04 08:53:48 +00:00
Travis Howell
aab8b9b2a2 Fix initial resource loading in Elvira 2
svn-id: r24106
2006-10-04 07:10:22 +00:00
Torbjörn Andersson
863bed3fd0 Change masking condition for codec1_genericDecode(), proc3() and proc3_ami() so
that X coordinates outside the designated area are explicitly masked. While the
functions are written to terminate when X moves outside, bug #1508942 ("FOA:
Glitch dring balloon flight") demonstrates that X may *start* outside. That's
the case we want to mask.

Note that proc3_ami() already masked these pixels (in a different way), so
there the change is purely cosmetical.

svn-id: r24104
2006-10-04 05:11:58 +00:00
Travis Howell
baac293911 Add more code for WW
svn-id: r24103
2006-10-04 03:29:14 +00:00
Travis Howell
1f5a69ea11 Fix sound effects regression in simon1dos and remove excess game ids
svn-id: r24100
2006-10-03 14:18:17 +00:00
Travis Howell
ab573e0c62 Cleanup
svn-id: r24099
2006-10-03 14:02:14 +00:00
Travis Howell
1dc5670022 Fix bugs in VGA resource manager and cleanup
svn-id: r24097
2006-10-03 13:20:23 +00:00
Travis Howell
09f9cf7b64 Add Dutch versions of freddi4 and freddicove for Macintosh
svn-id: r24095
2006-10-03 12:15:01 +00:00
Travis Howell
af5c8eb1c3 Remove blocks/tiles related code for PP, which was only required by unreleased game
svn-id: r24092
2006-10-03 10:01:08 +00:00
Travis Howell
9e097f60ab Add changes and enable music for Elvira1
svn-id: r24091
2006-10-03 00:31:24 +00:00
Eugene Sandulenko
107a9f3bef Moved unrelated fields out of ADGameDescription structure.
svn-id: r24090
2006-10-02 23:31:14 +00:00
Torbjörn Andersson
60aee54bfe Fixed bug #1569594 ("BS2 DXA Movie Exit/Crash"). That's what I get for only
testing with subtitles enabled... :-)

svn-id: r24089
2006-10-02 23:07:43 +00:00
Travis Howell
1ee0c4f1ce The name isn't stored in saved games for PP
svn-id: r24088
2006-10-02 23:01:32 +00:00
Travis Howell
af21ec036f Add basic single slot load/save support for dimp/swampy for now
svn-id: r24086
2006-10-02 22:33:38 +00:00
Max Horn
125d599acc Improved the BASS detector a bit
svn-id: r24084
2006-10-02 22:26:57 +00:00
Eugene Sandulenko
988ddf2b36 Unify SAGA/AGOS detection code so other engines could also reuse it
without further code duplication.

svn-id: r24083
2006-10-02 22:21:57 +00:00
Travis Howell
574665be4b Fix mistake in startAnOverlayAnim()
svn-id: r24082
2006-10-02 21:47:45 +00:00
Travis Howell
e78e1c6987 Fix crashes in swampy when moving blocks
svn-id: r24081
2006-10-02 21:41:18 +00:00
Torbjörn Andersson
bcd4591da4 Workaround for bug #1555938 ("MI2: Inventory object cloning"), as suggested by
Fingolfin.

svn-id: r24080
2006-10-02 21:38:39 +00:00
Torbjörn Andersson
9118a731dc Renamed setupAGOSOpcodes() to setupCommonOpcodes() for consistency.
svn-id: r24073
2006-10-02 16:18:48 +00:00
Travis Howell
53cf7d65da Add video opcodes differences in Elvira1 and cleanup
svn-id: r24072
2006-10-02 14:32:28 +00:00
Paul Gilbert
99655b59d4 Added a save/restore game dialog class
svn-id: r24071
2006-10-02 12:49:57 +00:00
Paul Gilbert
1a96e26bf6 Added functionality to allow saving/loading the game state
svn-id: r24070
2006-10-02 12:48:56 +00:00
Paul Gilbert
e8623fa477 Added methods for push/pop cursors
svn-id: r24069
2006-10-02 12:47:29 +00:00
Travis Howell
6201707122 Fix display and input in dimp
svn-id: r24068
2006-10-02 11:31:11 +00:00
Travis Howell
62df08578b Decrease window array size, to maximum required by games
svn-id: r24067
2006-10-02 10:54:06 +00:00
Travis Howell
425b243be1 Increase struct sizes, to maximum required by games
svn-id: r24066
2006-10-02 10:43:07 +00:00
Travis Howell
f3831078b6 Fix tile positions in swampy
svn-id: r24065
2006-10-02 08:35:15 +00:00
Travis Howell
ad9b764531 Fix arrows keys in swampy
svn-id: r24064
2006-10-02 07:06:20 +00:00
Travis Howell
6bcd0183c0 Add more changes for swampy
svn-id: r24063
2006-10-02 06:22:05 +00:00
Travis Howell
97cf93d275 Fix changing map areas in swampy
svn-id: r24062
2006-10-02 06:11:05 +00:00
Travis Howell
2cc1df6fdd Add last tiles code and corrections for Swampy
svn-id: r24061
2006-10-02 05:39:27 +00:00
Torbjörn Andersson
d7b786ea41 Implemented "iconify window" opcode. This, of course, needs support in the
backend to work, and so far it's only done in the SDL backend. See the new
kFeatureIconifyWindow flag. (This is patch #1568775.)

svn-id: r24060
2006-10-02 04:46:50 +00:00
Travis Howell
42cb69827e Add more tiles code for Swampy
svn-id: r24059
2006-10-02 01:39:50 +00:00
Travis Howell
3fc8aec422 Add more tiles code for Swampy
svn-id: r24058
2006-10-02 01:09:50 +00:00
Travis Howell
6b0cd7c841 Fix cursor regression in FF
svn-id: r24057
2006-10-01 11:18:05 +00:00
Johannes Schickel
890a2ef93c Fixed msvc8 build.
svn-id: r24054
2006-10-01 10:56:12 +00:00
Johannes Schickel
06dde0650f Fixed msvc8 build.
svn-id: r24053
2006-10-01 10:54:57 +00:00
Travis Howell
c7a2d1eb6b Update vga timer code to match original PP
svn-id: r24052
2006-10-01 10:48:06 +00:00
Travis Howell
0e2d209cce Fix error in debug opcode table for PP
svn-id: r24051
2006-10-01 10:07:57 +00:00
Travis Howell
53473f0498 Add debug opcode table for PP and other minor changes for PP
svn-id: r24050
2006-10-01 10:04:23 +00:00
Torbjörn Andersson
f59bc6f4a1 Some Elvira opcodes/stubs
svn-id: r24049
2006-10-01 08:36:31 +00:00
Torbjörn Andersson
2eb61bd1e3 Split the seupOpcodes() function into several functions for - hopefully -
better readability, and to make it easier for Elvira to replace the entire
opcode table.

svn-id: r24048
2006-10-01 07:22:01 +00:00
Torbjörn Andersson
ff67752f54 When escaping a cutscene, stop its soundtrack as well. (I can't check if this
is a problem in 0.9.0 as well, but surely not...?)

svn-id: r24047
2006-10-01 07:17:34 +00:00
Max Horn
bf6a1cc734 Fix compiler warning
svn-id: r24042
2006-09-30 13:34:17 +00:00
Travis Howell
119ee3fb8b Add support for skipping swampy introduction
svn-id: r24041
2006-09-30 13:02:31 +00:00
Torbjörn Andersson
23c1ba8cd6 Another PP opcode stub.
svn-id: r24040
2006-09-30 12:39:34 +00:00
Travis Howell
16dec6dce6 Add more small difference in PP code
svn-id: r24039
2006-09-30 12:28:52 +00:00
Torbjörn Andersson
30ac033dc0 Added a couple of functions which seem to define the rules for some kind of
"blocks" game. This looks like it could be cleaned up quite a bit.

svn-id: r24038
2006-09-30 11:55:50 +00:00
Travis Howell
79e07ad97b Add debug output, to find triggers for PP functions
svn-id: r24037
2006-09-30 11:52:24 +00:00
Torbjörn Andersson
d2a0c6bd52 Another slight PP difference.
svn-id: r24036
2006-09-30 11:36:50 +00:00
Travis Howell
c60d3d73f4 Ooops, fix type in vc76_setScaleXOffs()
svn-id: r24035
2006-09-30 10:46:53 +00:00
Travis Howell
deaa9e1ca1 Add code to move pieces in jumble of PP
svn-id: r24034
2006-09-30 10:45:10 +00:00
Travis Howell
9b36168deb Ooops, another mistake in isVgaQueueEmpty()
svn-id: r24033
2006-09-30 07:29:23 +00:00
Travis Howell
46ed06fc27 Ooops, increase count in isVgaQueueEmpty()
svn-id: r24032
2006-09-30 07:26:40 +00:00
Travis Howell
b828f5e3bc Add code for isVgaQueueEmpty() in PP
svn-id: r24031
2006-09-30 07:24:30 +00:00
Travis Howell
5c3f7e4d5d Enable more code in oops functions of PP
svn-id: r24030
2006-09-30 07:15:19 +00:00
Torbjörn Andersson
3c093746bd Re-use FF's _variableArray2[] instead of creating a new one for PP. Free the
variable arrays on exit.

svn-id: r24029
2006-09-30 07:06:55 +00:00
Torbjörn Andersson
0baff35753 Partially unstubbed the PP "oops" opcodes.
svn-id: r24028
2006-09-30 07:00:42 +00:00
Travis Howell
c8689b29d8 Add mouse cursor support for PP and minor cleanup
svn-id: r24027
2006-09-30 06:47:41 +00:00
Travis Howell
f1c4e30b4d Move remaining script loading code to subroutine.cpp
svn-id: r24026
2006-09-30 05:57:44 +00:00
Travis Howell
f5c5a64d72 Add opcode table for Elvira 2 and cleanup
svn-id: r24025
2006-09-30 05:51:06 +00:00
Travis Howell
54d3405225 Update md5 details for Elvira 1
svn-id: r24024
2006-09-30 02:52:35 +00:00
Travis Howell
702de78cde Add changes and stubs for Elvira 1
svn-id: r24023
2006-09-30 02:15:02 +00:00
Travis Howell
bdfbd9b049 Increase opcode array size for Elvira
svn-id: r24022
2006-09-29 22:24:03 +00:00
Travis Howell
d3d28dc89a Update opcode table for Elvira
svn-id: r24021
2006-09-29 22:22:43 +00:00
Torbjörn Andersson
6a1f9eee64 When starting a game, make sure that it has the desired target name. The old
behaviour was to simply pick the first detected game, which made it necessary
to keep the Puzzle Pack data files in different directories. Now they can all
be in the same one. (Generally it's not a good idea to keep several games in
the same directory, of course, but in this case it's perfectly reasonable.)

svn-id: r24020
2006-09-29 18:20:44 +00:00
Torbjörn Andersson
907141c909 Some minor formating changes.
svn-id: r24019
2006-09-29 17:18:12 +00:00
Travis Howell
c15d43be5a Update opcode table for PP
svn-id: r24014
2006-09-29 11:07:38 +00:00
Eugene Sandulenko
bb1547ab1c Phase 5 of Simon engine renaming. Renamed namespace Simon -> AGOS and
SimonEngine -> AGOSEngine.

Source is compilable and runnable again. I'm done.

svn-id: r24013
2006-09-29 09:44:30 +00:00
Eugene Sandulenko
abf4ede05b Phase 4. Some more internal updates.,
svn-id: r24012
2006-09-29 09:25:35 +00:00
Eugene Sandulenko
59f737594e Phase 3 of Simon engine renaming. Files renaming.
svn-id: r24011
2006-09-29 09:05:46 +00:00
Eugene Sandulenko
798c7ee682 Phase 2 of Simon renaming. Simon directory renaming
svn-id: r24009
2006-09-29 08:37:24 +00:00
Eugene Sandulenko
8e2c703bab First pahse of renaming simon engine to agos. Internal renames. Compilation
is broken

svn-id: r24008
2006-09-29 08:14:27 +00:00
Travis Howell
3d71f16b47 PP uses voice channel for looping music
svn-id: r24007
2006-09-29 06:58:59 +00:00
Travis Howell
2a6e1d26cf Add opcode stub for PP
svn-id: r24006
2006-09-29 06:24:12 +00:00
Travis Howell
3e6c4d8582 Fix input in PP
svn-id: r24005
2006-09-29 06:16:28 +00:00
Travis Howell
98e761a720 Fix mistake in dumpOpcode()
svn-id: r24004
2006-09-29 05:38:50 +00:00
Travis Howell
6b37e39904 Correct size of opcode in dumpOpcode()
svn-id: r24003
2006-09-29 05:36:53 +00:00
Travis Howell
8d0d856bd8 Add last game (dimp) of PP
svn-id: r24002
2006-09-29 05:33:22 +00:00
Torbjörn Andersson
5a8f3df4e8 Added/stubbed some Puzzle Pack opcodes that are different compared to The
Feeble Files. Didn't make much difference.

svn-id: r24001
2006-09-29 05:31:33 +00:00
Travis Howell
f073cc2d05 Correct title name for puzzle
svn-id: r24000
2006-09-29 04:48:04 +00:00
Travis Howell
f1b3da2f18 Fix display of game title
svn-id: r23999
2006-09-29 03:44:55 +00:00
Travis Howell
4dff848e6e Add more changes for PP
svn-id: r23998
2006-09-29 03:25:08 +00:00
Travis Howell
0e2bdc7fa2 Add md5s for Elvira 2
svn-id: r23997
2006-09-29 02:18:48 +00:00
Travis Howell
e36f3cfe9b Fix startup of PP games
svn-id: r23996
2006-09-29 01:00:11 +00:00
Travis Howell
11c9537e29 Add speech support for PP and cleanup
svn-id: r23995
2006-09-29 00:50:22 +00:00
Travis Howell
1c6cd9d249 Expand Simon engine more
svn-id: r23994
2006-09-28 23:22:07 +00:00
Travis Howell
03b3d596b6 Add French versions of puttzoo, spyfox, spyfox2 and spyozon
svn-id: r23983
2006-09-23 23:46:06 +00:00
Max Horn
d02e4d7f7c Removed CHECK_HEAP
svn-id: r23979
2006-09-23 11:29:32 +00:00
Travis Howell
17d4f41a88 Fix mingw compile
svn-id: r23976
2006-09-23 01:05:30 +00:00
Max Horn
f0ac3d1c9e Moved error/warning/checkHeap from engines/engine.cpp to common/util.cpp
svn-id: r23975
2006-09-23 00:51:30 +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
Travis Howell
a3be69f4e4 Fix regression in Amiga/Macintosh versions of FF
svn-id: r23973
2006-09-21 23:17:27 +00:00
Eugene Sandulenko
0e244c9510 Fix bug #1550974: "SMUSH: changing subtitle settings during SMUSH doesn't work"
svn-id: r23965
2006-09-21 17:46:19 +00:00
Eugene Sandulenko
6fdc053a6b Fix comment
svn-id: r23964
2006-09-21 12:18:36 +00:00
Eugene Sandulenko
25a6af2c93 Fix bug #1536932: "MANIACNES: Crash on click in speechtext-area"
svn-id: r23962
2006-09-21 12:14:29 +00:00
Travis Howell
9d7e5f6f85 Remove excess newlines for errors/warnings
svn-id: r23959
2006-09-21 01:36:58 +00:00
Travis Howell
d3b39c221b Re-enable warning for unknown MIDI events
svn-id: r23958
2006-09-21 01:34:10 +00:00
Travis Howell
efc3fb4a3a Correct HE version for Dutch version of putttime
svn-id: r23956
2006-09-21 00:43:21 +00:00
Travis Howell
f3ad70c1d4 Add French version of Pajama Sam 1
svn-id: r23952
2006-09-20 23:34:10 +00:00
Travis Howell
e63717a2eb Fix crashes during WW startup
svn-id: r23944
2006-09-20 06:39:27 +00:00
Travis Howell
68360e4dde Add details for French version of Pajama Sam 3
svn-id: r23942
2006-09-20 02:43:28 +00:00
Travis Howell
843397fd7b Fix FF/Simon2 regression in last commit
svn-id: r23940
2006-09-19 12:46:34 +00:00
Travis Howell
ab2cb0b30a Expand Simon engine
svn-id: r23939
2006-09-19 11:59:13 +00:00
Max Horn
fd85c13d8f Cleaned up Gdi::roomChanged
svn-id: r23938
2006-09-18 22:22:35 +00:00
Max Horn
60951b6f1a Moved some more code from class Gdi into new subclasses GdiV1 and GdiV2
svn-id: r23937
2006-09-18 22:06:39 +00:00
Max Horn
2cd0544cb9 Re-disable blit mask hack (oops)
svn-id: r23936
2006-09-18 21:46:44 +00:00
Max Horn
3313685bfe Split setBuiltinCursor into a V0-V2 and a V3-V5 part
svn-id: r23935
2006-09-18 21:31:59 +00:00
Max Horn
1324677395 Moved NES specific code from class Gdi to GdiNES
svn-id: r23934
2006-09-18 21:20:21 +00:00
Max Horn
a0e1a98647 Oops, accidentally broke TMSK support for HE 72+ games
svn-id: r23933
2006-09-18 19:58:22 +00:00
Max Horn
06ddd876a5 Fix --disable-he
svn-id: r23932
2006-09-18 19:22:40 +00:00
Max Horn
d9f16b8a4a indention fix
svn-id: r23931
2006-09-18 19:17:55 +00:00
Max Horn
2906e8d2a3 Moved some code from Gdi::drawBitmap to separate methods
svn-id: r23930
2006-09-18 19:16:31 +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
Travis Howell
99016886ba Minor cleanup, to re-order functions
svn-id: r23928
2006-09-18 12:01:18 +00:00
Travis Howell
ace4a02125 Fix typo, that caused FLAC compressed sound effects file to fail to load
svn-id: r23926
2006-09-18 11:57:38 +00:00
Max Horn
285aa5d0b2 renamed ScummEngine::restoreBG to restoreBackground; renamed and moved Gdi::copyVirtScreenBuffers to ScummEngine_v70he::restoreBackgroundHE
svn-id: r23925
2006-09-17 23:35:09 +00:00
Max Horn
fab33bf663 Moved stored flobjects to class ScummEngine_v70he
svn-id: r23924
2006-09-17 22:22:50 +00:00
Johannes Schickel
f4759feeab formatting
svn-id: r23923
2006-09-17 21:19:23 +00:00
Max Horn
51017cf1b2 Renamed ScummEngine::res to _res and allocate the ResourceManager on the heap (i.e. _res is a pointer now)
svn-id: r23922
2006-09-17 20:36:48 +00:00
Max Horn
8c0b0c0120 Changed ScummEngine::gdi to _gdi and allocate the Gdi object on the heap (i.e. _gdi is a pointer now)
svn-id: r23921
2006-09-17 20:22:47 +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
Torbjörn Andersson
3e8380f2c6 Only decompress the number of speech samples indicated by 'resSize'. This
prevents crashes in the demo, and is probably a good idea anyway.

svn-id: r23917
2006-09-17 15:25:59 +00:00
Max Horn
4503581340 Const correctness
svn-id: r23916
2006-09-17 13:06:40 +00:00
Travis Howell
ff317afc64 Fix bug #1559767 - SIMONWIN: Crashes on start-up
svn-id: r23898
2006-09-16 22:35:21 +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
651d22b873 * Added virtual Engine::getDebugger() method
* Removed code from errorString() methods that hooked the debugger(s)
  into error(), in favor of using getDebugger() from within error()
* As a consequence, removed most custom errorString() methods

svn-id: r23894
2006-09-16 19:31:23 +00:00
Max Horn
8df3ca9e65 cleanup
svn-id: r23891
2006-09-16 17:26:40 +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
Max Horn
b860f002b2 Replaced checkRange by assertRange, which has (a) an (IMO) more logical order of parameters, and (b) removes lots of useless duplicate information in error messages
svn-id: r23885
2006-09-16 13:38:43 +00:00
Max Horn
6162626323 cleanup; remove check whether _costume is valid, as that is already done by getResourceAddress
svn-id: r23884
2006-09-16 12:43:18 +00:00
Max Horn
d2af16a817 Updated MD5 list
svn-id: r23882
2006-09-16 12:29:55 +00:00
Johannes Schickel
e139d26be1 Replaces malloc with new in most cases.
svn-id: r23881
2006-09-16 12:12:02 +00:00
Max Horn
3948399511 cleanup
svn-id: r23880
2006-09-16 12:04:54 +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
Travis Howell
0cd1f0fbf9 Update French version of Pajama Sam 2
svn-id: r23877
2006-09-15 10:59:38 +00:00
Travis Howell
52dee3012e Add/Update several French versions of HE games
svn-id: r23874
2006-09-14 22:57:08 +00:00
Travis Howell
213e798bec Add French version of puttcircus
svn-id: r23873
2006-09-14 01:36:16 +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
Chris Apers
a851fb353c Make Lure run again on PalmOS fixing unaligned read
svn-id: r23865
2006-09-10 16:29:06 +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
Johannes Schickel
09f7e35196 Little bit cleanup.
svn-id: r23863
2006-09-10 13:26:00 +00:00
Johannes Schickel
854eac7f9b Simplifies PAK file loading a bit.
svn-id: r23862
2006-09-10 13:16:34 +00:00
Johannes Schickel
8271f1f0dc Makes lure compile with msvc8 again.
svn-id: r23861
2006-09-10 13:09:04 +00:00
Travis Howell
3825dde852 Add/Update Dutch and French versions of several HE games
svn-id: r23858
2006-09-10 01:59:09 +00:00
Max Horn
bd38f5f4d3 Renamed o6_getActorAnimCounter1 to o6_getActorAnimCounter
svn-id: r23857
2006-09-09 18:31:32 +00:00
Max Horn
94bd9ef05d Moved allocResTypeData from ScummEngine to ResourceManager; removed friend declarations from ResourceManager, and performed other minor tweaks
svn-id: r23856
2006-09-09 18:20:28 +00:00
Max Horn
b3ee442693 Moved _heV7RoomIntOffsets initialization
svn-id: r23855
2006-09-09 17:31:44 +00:00
Max Horn
723ec24093 Turned some sound conversion methods into static functions (cleanup)
svn-id: r23854
2006-09-09 17:21:19 +00:00
Max Horn
cfc52b5654 Renamed Resource::fileHandle() to Resource::getFileHandle()
svn-id: r23853
2006-09-09 17:14:47 +00:00