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
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
286de879fd
Add cyx's patch for bug #1035739 - SCUMM/SMUSH: Ugly palette change when video finishes
...
svn-id: r23216
2006-06-21 10:28:09 +00:00
Travis Howell
4b2aa54304
Revert back to original method used for scrollEffect(), fixes regressions.
...
svn-id: r23214
2006-06-21 06:50:50 +00:00
Travis Howell
bc6306192d
Fix screen scrolling glitch when looking at the top of closet in parents room of DOS version of fbear
...
svn-id: r23174
2006-06-19 04:09:39 +00:00
Max Horn
0d6362ea48
Patch #1091170 : ALL, SCUMM: Subtitle speed control
...
svn-id: r22456
2006-05-13 17:30:04 +00:00
Max Horn
eaca27a33b
Renamed updateVolumes to updateSoundSettings -- now it also handles subtitles/speech_mute settings. Also changed the ConfigDialog accordingly
...
svn-id: r22233
2006-04-29 23:09: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
cc3fac2ead
Split scummLoop into multiple functions, for easier maintanance & customizability
...
svn-id: r22218
2006-04-29 12:44:06 +00:00
Max Horn
b2befd7951
Moved _heTimers to ScummEngine_v60he
...
svn-id: r22116
2006-04-23 19:41:54 +00:00