Commit Graph

171 Commits

Author SHA1 Message Date
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
Max Horn
ddca690c28 cleaned up autosave code
svn-id: r5926
2002-12-13 03:23:17 +00:00
Max Horn
58ea0648e5 Fix for bug #651310: Crash when saving
svn-id: r5898
2002-12-10 11:14:40 +00:00
Max Horn
0720fa80c8 cleanup
svn-id: r5893
2002-12-09 01:27:40 +00:00
Max Horn
4ddecdad58 Patch #650085: Make saveload system extensible
svn-id: r5885
2002-12-08 16:14:29 +00:00
Jamieson Christian
359f65066a Fixed bad music volumes after load
svn-id: r5873
2002-12-07 20:28:40 +00:00
Jamieson Christian
b382c79a41 Fixed music overlaps when running ScummVM with the -x option
svn-id: r5872
2002-12-07 18:03:10 +00:00
Max Horn
df594d41ff even more cleanup
svn-id: r5839
2002-12-04 22:31:36 +00:00
Max Horn
89335008e9 lots of cleanup to the graphics code; removed various global states (makes it easier to understand the code)
svn-id: r5831
2002-12-04 13:36:27 +00:00
Oliver Kiehl
133f624cc5 moved RNG to common/util.cpp
svn-id: r5778
2002-12-01 14:57:50 +00:00
Max Horn
72c672e14c cleanup
svn-id: r5747
2002-11-29 15:13:49 +00:00
Paweł Kołodziejski
2965bd2708 increasing actor palette to 256
svn-id: r5505
2002-11-10 17:17:11 +00:00
Paweł Kołodziejski
85c7c9ffe6 applied patch: #634326, and changed strip ranges for after and before scumm v7,
added comments to saveload

svn-id: r5448
2002-11-06 17:55:44 +00:00
Max Horn
2c6e69dcaf added a FIXME
svn-id: r5441
2002-11-06 15:22:10 +00:00
James Brown
959a9acf14 Add support for aliased scummvm config entries.
Eg:
 [germandott]
 path=/games/german/dott
 gameid=tentacle
 description=the german version of DOTT

I havn't finished the Launcher changes to show aliased entries yet, as I need to parse the whole domainmap to do so.

svn-id: r5341
2002-10-28 09:03:02 +00:00
Max Horn
52f544fbae TODO comment
svn-id: r5305
2002-10-24 21:39:45 +00:00
Max Horn
df2bf812c3 Actor::frame is never set, this should be researched
svn-id: r5269
2002-10-23 00:22:55 +00:00
Paweł Kołodziejski
45b1a8ea45 cleanup sfx and music in imuse, changed talkdelay description(disable) in the dig
svn-id: r5148
2002-10-15 06:53:42 +00:00
Paweł Kołodziejski
7d6ebdc289 added stopAll in Imuse
svn-id: r5064
2002-10-01 21:19:52 +00:00
James Brown
e946431af3 Patch 609334: PalManip save/load/init fixes.
Save/Load lines are commented out until the new save/load system is in place.

svn-id: r5014
2002-09-24 15:46:09 +00:00
Matt Hargett
8390b0cc53 2002-09-21 Matt Hargett <matt@use.net>
* scumm.dsp, scummvm.dsp, simon.dsp: Turn on warning as errors. Generate
    PDBs on all builds.

  * gameDetector.cpp, newgui.cpp, widget.cpp, actor.cpp,
    dialogs.cpp, resource.cpp, saveload.cpp, scumm_renderer.cpp:
    Fix warnings where possible. One pragma added to eliminate
    warning of unknown pragmas.

  * string.cpp: If unknown escape sequence, print warning.

svn-id: r4998
2002-09-22 03:53:53 +00:00
Max Horn
fbe9c544de tied to fix 'non-POD type' warning in some GCC versions; moved some common code to saveload.h
svn-id: r4997
2002-09-22 02:53:15 +00:00
Max Horn
a681eb029e renamec string -> _string and sentence -> _sentence in class Scumm (I originally reworked StringTab, but then noticed the save game format depends on it <sigh>)
svn-id: r4995
2002-09-22 01:17:53 +00:00
Travis Howell
f1a273e092 Add the following patches:
[ 609649 ] Sound patch for GF_OLD256 games
[ 611997 ] RFC: Timer-based CD audio sync

svn-id: r4986
2002-09-21 13:48:03 +00:00
Paweł Kołodziejski
6e751af6c0 changed resolution values from static to dynamic, I hope I don't break something
svn-id: r4885
2002-08-31 16:29:17 +00:00
Max Horn
41c2d6fba3 sound system cleanup
svn-id: r4867
2002-08-29 23:45:15 +00:00
Max Horn
4b83c17b31 some cleanup/refactoring
svn-id: r4866
2002-08-29 20:01:27 +00:00
Max Horn
0cf920e040 some cleanup to the save/load code... I think some more wouldn't hurt :-)
svn-id: r4863
2002-08-26 16:47:14 +00:00
Max Horn
39422bd24a fix endian issue for old savegames created on big endian system when trying to load them on little endian systems
svn-id: r4862
2002-08-26 16:13:38 +00:00
Ralph Brorsen
d473d295c4 Fix for #556564
svn-id: r4846
2002-08-25 11:35:13 +00:00
Paweł Kołodziejski
9f993a1d29 synced with scummvm
svn-id: r4821
2002-08-24 15:31:37 +00:00
Max Horn
ce46866403 Initial revision
svn-id: r4785
2002-08-21 16:07:07 +00:00