Commit Graph

159 Commits

Author SHA1 Message Date
Max Horn
a6bd7be988 Patch #1186858 (GM/GS/MT-32 Init Patch) -- slightly adapted to apply to current SVN
svn-id: r25483
2007-02-11 03:01:28 +00:00
Max Horn
6899e72be9 Got rid of GF_DIGI_IMUSE and GF_NEW_CAMERA
svn-id: r25454
2007-02-10 02:05:59 +00:00
Max Horn
5b65897cd3 Switch SCUMM engine to use the common special debug flags support (thus making it possible to use --debugflags with it)
svn-id: r25381
2007-02-04 12:41:49 +00:00
Max Horn
27432a4dc1 Moved some stuff from CharsetRenderer (back) to ScummEngine, added comments
svn-id: r25250
2007-01-28 20:11:31 +00:00
Max Horn
e287f181ed Partial fix for bug #1036707 (made by cyx): Get rid of _verbCharset, so that we use the correct font for verbs in COMI, with the correct spacing
svn-id: r25249
2007-01-28 18:47:10 +00:00
Gregory Montoir
d2f15566d3 added handler for sfx sync (abc-slideshow.cup, bda-slideshow.cup) and sfx looping, cleanup
svn-id: r25158
2007-01-21 22:08:02 +00:00
Gregory Montoir
cd79d127fa Since Actor::initActor is now virtual, it shouldn't be called directly from the base constructor (ActorC64::initActor won't get called as vtable hasn't yet been setup).
svn-id: r25015
2007-01-05 23:33:13 +00:00
Eugene Sandulenko
4e52f4438f Fix bug #1595627: "SCUMM: F5 crashes game (640x480)". This partially
reverts commit r24656 for fixing bug #1590596 and effectively fixes both.

svn-id: r24933
2006-12-27 00:47:57 +00:00
Max Horn
ae4ea4d989 Introduced ActorOldWalk subclass of Actor (for V1-V3 walk code)
svn-id: r24924
2006-12-25 17:21:54 +00:00
Max Horn
ba991e3b3a SCUMM: Added ActorC64 subclass of Actor, and added a note stating that _miscflags isn't currently stored (possibly breaking C64 save states). Also reordered some HE specific code
svn-id: r24923
2006-12-25 15:37:20 +00:00
Max Horn
4ce7b74085 Changed ScummEngine::_actors from an Actor array to a an array of Actor points (i.e. indirection)
svn-id: r24922
2006-12-25 15:03:36 +00:00
Travis Howell
d8cb3dc42d Use VAR_GAME_LOADED values from original COMI, when loading or saving temporary game
svn-id: r24834
2006-12-11 05:19:57 +00:00
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
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
Travis Howell
050c9e5bfb Fix valgrind warning on unitialized variable.
svn-id: r24676
2006-11-11 09:37:36 +00:00
Eugene Sandulenko
3be9c44dc4 Fix bug #1590596: "HE: When 3x graphics are choosen, F5 crashes game"
svn-id: r24656
2006-11-08 10:06:42 +00:00
Max Horn
0cf2d2ffd9 cleanup
svn-id: r24650
2006-11-07 20:55:05 +00:00
Eugene Sandulenko
8ef5e88323 Add support for HE CUP demos based on cyx's standalone player.
svn-id: r24636
2006-11-06 13:40:24 +00:00
Max Horn
db1fc75012 SCUMM cleanup
svn-id: r24612
2006-11-04 22:59:56 +00:00
Travis Howell
6b425f03f4 Add video code for HE100 games
svn-id: r24586
2006-11-02 10:01:32 +00:00
Torbjörn Andersson
69fa6abb37 Removed unnecessary newline from warning message. (But why did I get this
message in the first place?)

svn-id: r24581
2006-11-01 17:46:00 +00:00
Bertrand Augereau
018c2c6949 #ifndef DISABLE_SCUMM_7_8 missing
svn-id: r24509
2006-10-25 20:12:52 +00:00
Max Horn
9edf1e6a1a cleanup
svn-id: r24407
2006-10-21 12:44:10 +00:00
Max Horn
5e9041b1b5 SCUMM: ArrayHeader related cleanup
svn-id: r24395
2006-10-20 19:44:27 +00:00
Max Horn
84874caf06 Got rid of ScummEngine::_confirmExit, and some other minor cleanup
svn-id: r24319
2006-10-15 00:50:22 +00:00
Torbjörn Andersson
b4fcc3b17a Update the screen immediately after restoring the cursor on running a dialog.
This is a bit of a hack, but makes it less likely that the player will see a
brief cursor palette glitch when the GUI is disabled.

svn-id: r24314
2006-10-14 14:16:16 +00:00
Torbjörn Andersson
2c011da3c1 Fixed bug #1573366 ("SMUSH: unpausing the game causes cursor to show").
svn-id: r24310
2006-10-14 13:11:22 +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
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
e31ae8edc7 Moved calls to addDefaultDirectory, and creation of the master file handle, from the ScummEngine constructor to ScummEngine::init() (this makes it easier to implement more graceful error handling, for example)
svn-id: r24173
2006-10-07 15:37:03 +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
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
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
1324677395 Moved NES specific code from class Gdi to GdiNES
svn-id: r23934
2006-09-18 21:20:21 +00:00
Max Horn
fab33bf663 Moved stored flobjects to class ScummEngine_v70he
svn-id: r23924
2006-09-17 22:22:50 +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
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
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
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
Travis Howell
903d9a2d6c Ooops, re-enable sound code
svn-id: r23815
2006-09-01 12:06:51 +00:00
Travis Howell
7ca75815aa Add HE72+ specific version of convertMessageToString(), to reduce filtering and since special codes aren't used.
svn-id: r23814
2006-09-01 12:04:40 +00:00
Travis Howell
e9be88c444 Rename VAR_MOUSEPRESENT to VAR_INPUTMODE and set the default input type to mouse mode. Fighting uses mouse mode by default in FOA now, just like the original game.
svn-id: r23727
2006-08-20 00:43:34 +00:00
Travis Howell
6ed462e06f Rename VAR_WINDOWS_VERSION to VAR_PLATFORM_VERSION
svn-id: r23419
2006-07-08 10:28:35 +00:00
Travis Howell
41626a6af3 Add cyx's patch for 1513622 - HE: Palette glitch (recent regression)
svn-id: r23376
2006-07-06 11:40:50 +00:00
Max Horn
d210b19aec Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h)

svn-id: r23274
2006-06-24 08:07:48 +00:00
Travis Howell
70b5453731 Fix bug #1509496 - INDY3 (MAC): Map screen hangs up at azores.
svn-id: r23259
2006-06-22 13:04:19 +00:00