Commit Graph

81 Commits

Author SHA1 Message Date
Max Horn
89a6ebb867 removed obsolete
svn-id: r8095
2003-05-29 11:48:44 +00:00
Max Horn
1374e7c6b1 Patch #743228: Storing mouse cursor info in savegames; Also, increased NUM_SCRIPT_SLOT to 80 (done at the same time so I only have to up the save game version once)
svn-id: r8050
2003-05-28 18:13:30 +00:00
Chris Apers
01b900e028 No more needed
svn-id: r7994
2003-05-26 08:24:34 +00:00
Max Horn
2f9ff35bad moved Actor SaveLoadEntry definition to actor.cpp; made findPathTowards/findPathTowardsOld members of Actor; cleanup
svn-id: r7988
2003-05-26 02:26:13 +00:00
Jamieson Christian
bb1894e3b7 Fixed VC++ warnings
svn-id: r7847
2003-05-23 03:34:18 +00:00
Max Horn
a0a096e2e8 added support in the save/load system for 2 dimensional arrays; used this for save/load of localvars -> this fixes many old save games, and allows us to be future compatible
svn-id: r7846
2003-05-23 02:58:34 +00:00
Max Horn
a9788c771a from the MM/Zak scripts, the code etc. it's clear that unk2 is the sentence preposition
svn-id: r7827
2003-05-22 14:10:20 +00:00
Max Horn
c78664cbc9 renamed talkFrame1/talkFrame2 to talkStartFrame/talkStopFrame
svn-id: r7819
2003-05-22 09:58:33 +00:00
James Brown
19bbee7843 Fix V2 userface stuff in savestate
svn-id: r7816
2003-05-22 05:21:48 +00:00
Max Horn
18a6b5dcc1 renamed ScriptSlot::unk1/unk2 to freezeResistant/recursive
svn-id: r7688
2003-05-19 11:31:35 +00:00
Max Horn
7d08aea4cc SentenceTab unk4/unk3 are the sentence objects (think of: 'Use objectA with objectB' or 'Give objectA to objectB' etc.); added a little more V2 sentence hackery; added a FIXME regarding some strange sentence code (accessing objectB before it is set) in script.cpp
svn-id: r7562
2003-05-16 02:16:59 +00:00
Max Horn
a8603e5bfc some more ScummVM::Rect
svn-id: r7548
2003-05-15 22:36:43 +00:00
Max Horn
f4c7f37743 Make use of ScummVM::Rect
svn-id: r7546
2003-05-15 22:30:32 +00:00
Jamieson Christian
73e086fe62 _saveSound implementation
svn-id: r7542
2003-05-15 21:55:13 +00:00
Max Horn
08f7ec192e NUM_ACTORS -> _numActors (for consistency)
svn-id: r7489
2003-05-13 23:42:41 +00:00
Max Horn
81bfe8cd51 swapped talkPosX and talkPosY (they were misnamed); factored out some duplicate code in string.cpp; VC warning fix in smush_player.cpp
svn-id: r7481
2003-05-12 22:08:39 +00:00
Max Horn
acb35fc915 renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and _realWidth/_realHeight -> _screenWidth/_screenHeight (inspired by MadMoose, but I'll take the blame - still this seems much more logical & intuitive)
svn-id: r7423
2003-05-10 21:49:59 +00:00
Max Horn
98881c3a6a init all VAR_* variables to 0xFF; replaced access to _vars in the form _vars[VAR_*] by VARS(VAR_*) which performs a validity checK; renamed _vars to _scummVars to make sure I updated all places; fixed two places where V6 and newer games would access V5 vars (but there are still some left, it seems); checked VAR access for now only generates a warning
svn-id: r7393
2003-05-08 15:48:50 +00:00
Max Horn
15ba8da46b renamed XYFactor/YXFactor to XYFactor, YXFactor/deltaYFactor (they denote how much to move each step in the x/y direction); added several FIXME comments (after 0.4.0 we really shold revise this code)
svn-id: r7344
2003-05-05 12:09:22 +00:00
Max Horn
9466a5dcef Patch #730800: EGA LOOM: Hack to fix palette problem (also helps MonkeyEGA)
svn-id: r7290
2003-05-03 20:49:53 +00:00
Max Horn
48293bd132 various music related changes and cleanup; also modified MonkeyVGA music sync, at least the intro is much better synced now; not sure about other parts of it / other games
svn-id: r7237
2003-05-01 00:04:05 +00:00
Max Horn
2b74abd2c9 PalmOS changes
svn-id: r7224
2003-04-30 13:23:31 +00:00
Jonathan Gray
7529493778 get rid of one of the obscure variable names
svn-id: r7171
2003-04-28 03:13:49 +00:00
Jonathan Gray
f7c4ef0c67 fix loading GF_OLD_BUNDLE games
svn-id: r7088
2003-04-23 09:20:22 +00:00
Paweł Kołodziejski
c4a51041d4 fix for ega palette, more
svn-id: r6965
2003-04-11 05:31:18 +00:00
Max Horn
0602882b18 cleanup
svn-id: r6832
2003-03-18 16:13:52 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
093428ae9a and more cleanup
svn-id: r6718
2003-03-06 17:58:13 +00:00
Max Horn
f02506f993 Patch #697846: Fix for graphics glitches after saving
svn-id: r6690
2003-03-05 11:40:37 +00:00
Max Horn
24cba45574 more access cleanup; also reorderd some method/function declarations in class Scumm
svn-id: r6593
2003-02-08 01:27:21 +00:00
James Brown
8d9b84b98e Patch 671701: SO_TALK_FREQUENCY
svn-id: r6547
2003-01-26 10:54:34 +00:00
Max Horn
2eff7e2242 fix off by one bug in gfxUsageBits code; fixed small glitch the actor iteration cleanup
svn-id: r6485
2003-01-16 18:07:52 +00:00
James Brown
ec006a4357 localvar fix take 2. Note that ship-to-ship combat is still impossible (cannons dont work), but at least it doesnt crash now - you
can use the cheat (shift-v i think)

svn-id: r6471
2003-01-15 16:23:04 +00:00
James Brown
631f0e5d4b ComI uses more locals
svn-id: r6470
2003-01-15 15:49:44 +00:00
Max Horn
defd1e7084 increased variable size from 16 to 32 bits
svn-id: r6469
2003-01-15 14:14:00 +00:00
James Brown
15ad897ed3 Comments regarding use of sle16 for 32bit variables.. :P
svn-id: r6468
2003-01-15 13:35:18 +00:00
Max Horn
9943dd3975 fix saveload bug introduced 2 days ago
svn-id: r6458
2003-01-14 18:20:56 +00:00
James Brown
5bf741f960 Patch 667613: Extend gfxUsageBits[]
svn-id: r6453
2003-01-14 10:06:56 +00:00
Max Horn
eb9726c497 added V8 scaling code
svn-id: r6440
2003-01-13 01:29:45 +00:00
Max Horn
c3657ff637 fixed the 'too many verbs' bug: verbid is 16 bits but was stored in save games as a byte. This means that existing savegames are still affected by the bug
svn-id: r6376
2003-01-09 22:53:21 +00:00
Max Horn
7f15b5d08b more cleanup
svn-id: r6292
2002-12-31 14:59:06 +00:00
Max Horn
966d435a19 fixed verb scripts
svn-id: r6175
2002-12-26 20:37:49 +00:00
Max Horn
48c66ba210 fixed save/load; more restructuring of the charset rendering code
svn-id: r6154
2002-12-26 00:21:19 +00:00
Max Horn
fca9ec09e7 moved CharsetRendere into its own header/source file; changed Scumm::_charset into a pointer, to make it possible to use different implementations of it
svn-id: r6147
2002-12-25 21:04:47 +00:00
Max Horn
fef84f3737 renamed Scumm::charset -> Scumm::_charset
svn-id: r6119
2002-12-25 12:01:04 +00:00
Max Horn
cc5872924e renamed new_1, new_2, new_3 in class Actor
svn-id: r6069
2002-12-23 14:16:43 +00:00
Max Horn
df3c41fa24 added some preliminary V8 work. Nope, it is not useful at all, and it doesn't mean we will have CMI support in this millenium, so don't hold your breath
svn-id: r6060
2002-12-22 21:58:16 +00:00
Marcus Comstedt
83da387eef New savefile backend system (bye bye NONSTANDARD_SAVE...)
svn-id: r6007
2002-12-17 01:15:13 +00:00
Max Horn
254d8c81f9 stop CD when loading a savegame
svn-id: r5993
2002-12-16 12:09:52 +00:00
Max Horn
f4dfa923f7 cleanup - we now know that the frame field in Actor is needed, we just have to figure out how to set it correctly
svn-id: r5978
2002-12-15 17:28:46 +00:00