Max Horn
3e980392d5
Fixed bug #1861582 (COMI: Banjo duel seems harder than in the original) by changing the way SCUMM updates the timer vars (matches disasm now). Beware of regressions\!
...
svn-id: r30418
2008-01-11 22:12:06 +00:00
Max Horn
dce7a57cad
VAR_TMR_4 has a special role from VAR_TMR_1 till 3 (in particular, it exists across far more SCUMM versions), so rename it to VAR_TIMER_TOTAL
...
svn-id: r30271
2008-01-05 23:05:16 +00:00
Eugene Sandulenko
2d94049bea
Workaround for bug #1804278 : "MONKEY: Mouse is invisible after loading"
...
svn-id: r30160
2008-01-02 18:44:20 +00:00
Max Horn
138263ec03
cleanup
...
svn-id: r29974
2007-12-24 14:20:53 +00:00
Travis Howell
443dff5285
Add support for original load/save system in HE games.
...
svn-id: r29434
2007-11-06 12:22:52 +00:00
Max Horn
3f958711a2
Refactored ScummEngine*::checkExecVerbs method
...
svn-id: r29284
2007-10-28 12:57:25 +00:00
Max Horn
0cccbb29d6
Some cleanup (yay for whomever had the brilliant idea to let SVN work over HTTPS and hence through proxies&firewalls :)
...
svn-id: r28877
2007-09-08 11:15:27 +00:00
Eugene Sandulenko
1db83059b0
Preliminary (and buggy) Kanji support.
...
svn-id: r27998
2007-07-10 00:39:12 +00:00
Max Horn
14244685f3
SCUMM: hercules gfx code cleanup
...
svn-id: r27979
2007-07-08 21:42:39 +00:00
Max Horn
9027076e5d
Split Engine::pauseEngine: It now does pauseLevel handling, while engines can provide a simpler pauseEngineIntern method; provided default implementation of the latter which simply (un)pauses the mixer
...
svn-id: r27801
2007-06-30 22:22:25 +00:00
Max Horn
fed38a794f
Added Engine::pauseEngine method (allows outside code, like the backend, to pause/resume the active engine); made the global 'confirm exit' dialog use that feature; implemented ScummEngine::pauseEngine
...
svn-id: r27797
2007-06-30 18:22:21 +00:00
Max Horn
0723e3e24a
Introduced ClickArea enum, some related cleanup in runInputScript and checkExecVerbs
...
svn-id: r27778
2007-06-29 23:08:15 +00:00
Max Horn
4e4358e8c3
Made SCUMM use Common::KeyState, too (but implemented almost no fixes/optimizations based on this)
...
svn-id: r27655
2007-06-23 10:38:03 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
579a3fe7cf
Renamed plugin.cpp to detection.cpp in all engines
...
svn-id: r26622
2007-04-27 20:23:25 +00:00
Gregory Montoir
642fa67da9
Added code for decodeParseString.SO_PRINT_WRAP and rewrote the CHARSET_1 function in order to match the original V8 interpreter. This should fix bugs #1036707 and #1662610 (subtitles word wrapping issues).
...
svn-id: r26516
2007-04-15 20:36:44 +00:00
Max Horn
2447752a51
Reverted my roomoffs changes (broke the Loom intro), and instead added the constant RES_INVALID_OFFSET to indicate an invalid room offset
...
svn-id: r26353
2007-04-01 15:58:34 +00:00
Max Horn
a08feb9f70
Got rid of some 0xFFFF -> 0xFFFFFFFF conversions and similiar nonsense by using a clever technique called 'signed ints' for room offsets (and this won't cause any regressions; any you may encounter are merely the products of a deranged imagination)
...
svn-id: r26331
2007-03-31 14:00:34 +00:00
Max Horn
26db2f4da5
Cleaning up various issues with the Indy3 IQ patch
...
svn-id: r26296
2007-03-24 22:30:17 +00:00
Travis Howell
de98304a3e
Add patch #1687026 - Indy3: Series IQ-Points.
...
svn-id: r26289
2007-03-24 00:41:38 +00:00
Max Horn
b07482b0b2
A long time ago, in a virtual machine far, far away...
...
It is a period of bug fixing. Rebel
developers, coding from a public
project, have won their umpteenth victory
against the evil Actor Walk Bugs.
During the debugging, programmers
used secret plans to the LucasArts'
ultimate tool, the SCUMM engine, an
extensible scripting system with enough
power to create an entire adventure.
Pursued by ensuing sinister regressions,
High King Fingolfin gleefully jumps up
and down, making use of the hotkey
that can save his games and restore
them back again later....
[With apologies to George Lucas. Good
riddance to bugs #751662 , #771483 , #959001 ,
#1329457 , #1329498 , #1329529 , #1527672 ,
#1538260 , #1571701 , #1571705 , #1571740 ,
and a warm welcome to the regressions
this change will cause. :-) ]
svn-id: r26090
2007-03-11 15:23:50 +00:00
Max Horn
aba0cd04d6
SCUMM: got rid of the _bompActorPalettePtr member var (which was only used as a hidden param to drawBomp); turned drawBomp into a regular function (used to be a ScummEngine member method)
...
svn-id: r26045
2007-03-10 00:34:20 +00:00
Max Horn
8fa6a1ffd5
Removed the (useless, thanks to resTypeFromId) 'name' parameter from readResTypeList
...
svn-id: r25828
2007-02-24 19:29:40 +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
Gregory Montoir
15e2af8e9d
'fixed' o_blastText and updated a comment
...
svn-id: r25396
2007-02-05 22:47:22 +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
18a9cb46d6
Removed GF_NO_SCALING
...
svn-id: r25372
2007-02-04 02:11:29 +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
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
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
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
92adf6a65c
SCUMM: reordered contents of actor.cpp, grouping methods in a hopefully somewhat more logical fashion
...
svn-id: r24367
2006-10-18 14:01:28 +00:00
Max Horn
dd7e4ff3e7
SCUMM: walbox related cleanup
...
svn-id: r24365
2006-10-18 13:33:42 +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
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
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
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
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
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
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
723ec24093
Turned some sound conversion methods into static functions (cleanup)
...
svn-id: r23854
2006-09-09 17:21:19 +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