Commit Graph

52 Commits

Author SHA1 Message Date
Travis Howell
97e2c59dbb Fix error when exiting original options screen of COMI. BlastObjects are removed, right after checking for load/save game, in original COMI.
svn-id: r24833
2006-12-11 00:40:10 +00:00
Max Horn
12fb12caf5 Moved more SMUSH/Insane code from ScummEngine_v6 to ScummEngine_v7
svn-id: r24710
2006-11-13 20:12:52 +00:00
Max Horn
1a2853f7e0 Patch from bug #1584888 (SMUSH: Too dependent on accurate timers). Watch out for regressions in SMUSH movie playback / syncing
svn-id: r24709
2006-11-13 19:46:52 +00:00
Max Horn
db1fc75012 SCUMM cleanup
svn-id: r24612
2006-11-04 22:59:56 +00:00
Max Horn
5e9041b1b5 SCUMM: ArrayHeader related cleanup
svn-id: r24395
2006-10-20 19:44:27 +00:00
Max Horn
5e46a45aa5 SCUMM: Moved getDistanceBetween to clas ScummEngine_v6; grouped inventory related stuff in object.cpp
svn-id: r24368
2006-10-18 14:21:44 +00:00
Max Horn
dd7e4ff3e7 SCUMM: walbox related cleanup
svn-id: r24365
2006-10-18 13:33:42 +00:00
Max Horn
65e923480e oops
svn-id: r24326
2006-10-15 01:44:58 +00:00
Max Horn
1ee9304012 Replaced function level static variable (YUCK) called 'sentence' by ScummEngine_v2:_sentenceBuf
svn-id: r24324
2006-10-15 01:26:23 +00:00
Paweł Kołodziejski
e85ab4b10f now SmushPlayer is class created once same as SmushMixer while scumm engine creation. this allow finish play smush audio track finished to the end instead immediately stopped as it was happen before
svn-id: r24263
2006-10-10 12:16:21 +00:00
Torbjörn Andersson
f09123a1b4 Fixed compilation.
svn-id: r24177
2006-10-07 19:15:19 +00:00
Max Horn
9cba143699 Removed _lastKeyHit, instead pass the key code as a parameter to processKeyboard()
svn-id: r24176
2006-10-07 17:49:05 +00:00
Max Horn
ff6731e00a Removed 'smushMode' param from processInput and processKeyboard in favor of a new member _smushActive of ScummEngine_v7
svn-id: r24175
2006-10-07 17:42:32 +00:00
Max Horn
4973c657b8 Moved all INSANE and SMUSH related code into ScummEngine_v7 (resp. ScummEngine_v6 in a few cases)
svn-id: r24169
2006-10-07 13:57:06 +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
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
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
bd38f5f4d3 Renamed o6_getActorAnimCounter1 to o6_getActorAnimCounter
svn-id: r23857
2006-09-09 18:31:32 +00:00
Travis Howell
7fe844cac6 Fix bug #1496523 - MM: Weird Ed appears backwards at door
svn-id: r23589
2006-07-24 12:49:58 +00:00
Torbjörn Andersson
c32076e5d0 Use #include "..." instead of #include <...> for pack-start.h and pack-end.h
for consistency with other #includes.

svn-id: r23585
2006-07-23 16:13:26 +00:00
Max Horn
2859b64702 Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC)
svn-id: r23569
2006-07-22 17:28:48 +00:00
Max Horn
f59cf1fcdc Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS now (hiya eriktorbjorn, this one is for you *ggg*)
svn-id: r23547
2006-07-21 21:25:17 +00:00
Max Horn
f35f4a4d1c Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of checking for GCC / not GCC
svn-id: r23458
2006-07-09 13:01:15 +00:00
Travis Howell
f4ff7fabad Add patch for bug #1507856 - INDY3 VGA: Crashes in Sewer
svn-id: r23177
2006-06-19 07:45:40 +00:00
Travis Howell
3b1062d2d4 Add patch for bug #1452272 - COMI: Verb strings aren't wrapped
svn-id: r22793
2006-05-31 10:48:40 +00:00
Max Horn
aeef84c961 Moved AKOS stuff to class ScummEngine_v6
svn-id: r22229
2006-04-29 16:51:29 +00:00
Max Horn
c4df5037dc * Renamed several methods in favor of a somewhat more uniform naming scheme: setupFOO for stuff that inits static data (i.e. will be called only once, or after loading savegames), vs. resetFOO / updateFOO methods which are called frequently and (re)set dynamic data.
* Doing this, split scummInit into setupScumm and resetScumm methods
* Moved some init code to new methods (huuuuge init methods are hard to read, and hard to customize using subclassing)
* Renmaed various setup???Palette methods to set???Palette
* Some minor cleanup / tweaks

svn-id: r22227
2006-04-29 16:24:39 +00:00
Max Horn
39e9853d91 * Added ScummEngine_v8::initScummVars()
* Moved VAR_LANGUAGE to class ScummEngine_v8
* Minor cleanup

svn-id: r22223
2006-04-29 13:56:36 +00:00
Max Horn
1735b0421b Make use of the new scummLoop_* functions to move some SCUMM version specific stuff around
svn-id: r22219
2006-04-29 13:01:35 +00:00
Max Horn
0d67640a58 Behold, the new SCUMM detector finally has arrived. Unified detection & engine instantiation, reduced code duplication, more powerful detection in case MD5 is not known / can't be computed, and many other nifty improvements.
svn-id: r22110
2006-04-23 17:33:16 +00:00
Max Horn
68cb7f52c8 - Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a new getActiveDomain method that returns a pointer to the actual active *domain*
- Added Engine::_targetName whose value is computed from the name of the active domain
- Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain
- This in turn allowed for removing usage of GameDetector in many places

svn-id: r21916
2006-04-15 20:36:41 +00:00
Max Horn
9c77c2ecd1 Renamed various *GameSettings to GameSettings (our namespaces are enough to distinguish them)
svn-id: r21684
2006-04-08 08:23:33 +00:00
Travis Howell
0e9b4ab17c GF_HE_CURSORLESS feature flag not required, since HE games always set a default cursor too.
svn-id: r21576
2006-04-03 11:35:02 +00:00
Travis Howell
79bd731041 Add workaround for script bug in Loom (CD)
svn-id: r21371
2006-03-19 02:50:51 +00:00
Travis Howell
a379fe424c The camera position is always set by loadRoomWithEgo opcode in HE games, through cameraFollows. Fixes glitches when changing rooms in fbear and other early games.
svn-id: r21355
2006-03-18 10:30:47 +00:00
Travis Howell
1880843744 Add comment about future saveLoad changes C64 maniac
svn-id: r21329
2006-03-16 12:04:52 +00:00
Travis Howell
be7a28f65e Avoid all scumm var conflicts in C64 maniac
svn-id: r21277
2006-03-14 12:06:37 +00:00
Travis Howell
8f8d7b6e07 Add opcode difference in setObjectName opcode for C64 maniac
svn-id: r21251
2006-03-13 07:46:54 +00:00
Travis Howell
7a9ed5425b Add German verbs and more work on input in C64 maniac
svn-id: r21089
2006-03-05 08:22:39 +00:00
Travis Howell
bd7d05dae6 Update opcodes for C64 maniac
svn-id: r21051
2006-03-03 23:52:48 +00:00
Travis Howell
82a6f289de Fix using items in C64 maniac and cleanup
svn-id: r21011
2006-03-02 12:14:06 +00:00
Travis Howell
949057f790 Add sentence line to C64 maniac
svn-id: r21007
2006-03-02 10:31:11 +00:00
Travis Howell
fec05d5180 Typos
svn-id: r21005
2006-03-02 06:33:15 +00:00
Travis Howell
2c9f041178 Fix inventory display in C64 maniac
svn-id: r21003
2006-03-02 05:04:40 +00:00
Travis Howell
2584f0d69f Add difference in bitVars opcodes in C64 maniac
svn-id: r21002
2006-03-02 03:31:45 +00:00
Travis Howell
fd8f11f7a4 Improve input in C64 maniac
svn-id: r21000
2006-03-02 01:17:41 +00:00
Travis Howell
a5cb120898 COMI uses a separate setting for the verb charset, verbs use correct charset now
svn-id: r20907
2006-02-26 06:55:56 +00:00
Max Horn
2ae0f79de3 Split SCUMM's generateSubstResFileName into two functions: findSubstResFileName and applySubstResFileName
svn-id: r20879
2006-02-25 17:36:32 +00:00