Commit Graph

66 Commits

Author SHA1 Message Date
Max Horn
e1bcd70436 Re-added __attribute__(packed)
svn-id: r27830
2007-07-01 18:18:43 +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
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
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
Travis Howell
4730229dff Add F1 - F3 keys for Apple II and Commodore 64 verisons of Maniac Mansion.
svn-id: r26004
2007-03-06 09:21:41 +00:00
Travis Howell
a0d5795ee1 Add support for the New Kid verb option in Apple II and Commodore 64 verisons of Maniac Mansion.
svn-id: r25999
2007-03-06 07:09:18 +00:00
Travis Howell
28408d8b7b Rename C64 engine class, since it is been used by Apple II and Commodore 64 versions now.
svn-id: r25850
2007-02-25 11:38:19 +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
04a18dd7c4 SCUMM: cleanup (moved small header specific code from ScummEngine::readResTypeList to ScummEngine_v4::readResTypeList)
svn-id: r25827
2007-02-24 19:20:15 +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
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
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