Max Horn
b1145090f6
Patch #733099 : DIG: Experimental camera fix (should fix bugs #716350 and #659158 )
...
svn-id: r7384
2003-05-07 22:56:06 +00:00
Max Horn
8188d946b3
fixed warning
...
svn-id: r7383
2003-05-07 22:50:15 +00:00
Jamieson Christian
15bf5ba885
..\..\msg.txt
...
svn-id: r7382
2003-05-07 19:24:14 +00:00
Chris Apers
f5caac359d
Fix a bug with PalmOS
...
svn-id: r7368
2003-05-06 08:55:49 +00:00
Jonathan Gray
5a735f825d
can get up to zak sleeping bit now...
...
svn-id: r7363
2003-05-06 01:20:09 +00:00
Jonathan Gray
1ba420a9e2
remove uneeded fixme
...
svn-id: r7362
2003-05-06 01:03:33 +00:00
Jamieson Christian
a0c98d1f14
Interim fix for Bug [712042] FOA: Lockup.
...
Final fix will require a savegame format mod.
svn-id: r7358
2003-05-05 16:07:10 +00:00
Chris Apers
5944d40eaa
Add more ScummVM globals to PDB
...
svn-id: r7346
2003-05-05 12:29:26 +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
Jonathan Gray
d12ff07ce2
patch #732518 loom learn drafts debugger command by erik
...
svn-id: r7342
2003-05-05 10:02:04 +00:00
Max Horn
ac0897515d
unified o?_isEqual, too (but not as nice due to hack)
...
svn-id: r7340
2003-05-05 09:25:07 +00:00
Max Horn
fa0df19a1d
cleanup / reduced code duplication
...
svn-id: r7339
2003-05-05 09:19:15 +00:00
Jonathan Gray
6d19dcdc82
fix bug pointed out by segra
...
svn-id: r7330
2003-05-05 05:20:45 +00:00
Max Horn
9659a4b4ed
V2 verbop fix (read verb name from script)
...
svn-id: r7327
2003-05-04 20:07:32 +00:00
Max Horn
93264aea78
oops, forget to remove hack I used to test this ;-)
...
svn-id: r7325
2003-05-04 18:28:32 +00:00
Max Horn
7d78ba39fb
simplified code
...
svn-id: r7324
2003-05-04 18:27:55 +00:00
Max Horn
5b08534324
cleanup / fixes
...
svn-id: r7323
2003-05-04 17:39:25 +00:00
Marcus Comstedt
83db626520
GCC believes that if we cast a pointer to <type *>, then we are guaranteeing
...
that the pointer has proper alignment for <type>, and that it can replace the
memcpy() with a direct assignment. This totally defies the purpose of the
memcpy(), which is there precisely because the memory is unaligned. Avoid
problems by not making the cast.
svn-id: r7322
2003-05-04 17:21:31 +00:00
Jonathan Gray
7a10ab0cc2
remove hack that should not have been there in the first place...
...
svn-id: r7321
2003-05-04 14:06:30 +00:00
Marcus Comstedt
b98ed367b0
Even more heap needed by later games...
...
svn-id: r7320
2003-05-04 13:59:08 +00:00
Max Horn
5c3046ae98
erik's fix for the airplane bug in Indy3
...
svn-id: r7318
2003-05-04 13:50:28 +00:00
Max Horn
8700fa5ff6
fixed roomobj dumping
...
svn-id: r7316
2003-05-04 13:09:42 +00:00
Max Horn
a8c180ddf8
cleanup
...
svn-id: r7314
2003-05-04 13:00:41 +00:00
Max Horn
245c55629d
cleanup
...
svn-id: r7313
2003-05-04 12:02:37 +00:00
Jonathan Gray
8f4222fd1b
correction
...
svn-id: r7312
2003-05-04 11:21:13 +00:00
Jonathan Gray
e61f2dfd74
don't know why this was removed but it breaks several games making it for all non v2 games
...
svn-id: r7311
2003-05-04 07:34:54 +00:00
James Brown
775cfc4b4f
... right revision this time...
...
svn-id: r7310
2003-05-04 04:34:48 +00:00
James Brown
e829d618c8
Some V2 stuff
...
svn-id: r7309
2003-05-04 04:30:49 +00:00
Max Horn
30ebd2d7ff
fixed drawing code for height != 128, but added a (temporary) hack to ignore any such drawing anyway, for demo purposes
...
svn-id: r7308
2003-05-04 03:27:55 +00:00
Max Horn
0f9e9dcae6
there ya go
...
svn-id: r7307
2003-05-04 03:08:52 +00:00
Max Horn
6994cc1eea
much better, but still buggy
...
svn-id: r7306
2003-05-04 03:05:16 +00:00
Max Horn
fbbe36c927
cleanup
...
svn-id: r7305
2003-05-04 03:01:55 +00:00
Max Horn
2397d2599e
make readVar debug output slightly more useful
...
svn-id: r7304
2003-05-04 02:39:59 +00:00
Max Horn
ef5c32b3a2
and it's 24 after all! script 1 inits actors 1 till 23. If this causes segfaults somewhere, we need to fix those, not hack around ithe problem
...
svn-id: r7303
2003-05-04 02:39:31 +00:00
Max Horn
aa74ea1d5c
yet more v2 fixes & cleanup
...
svn-id: r7302
2003-05-04 02:27:22 +00:00
Max Horn
488d5fe351
more v2 fixes; cleanup
...
svn-id: r7301
2003-05-04 02:10:49 +00:00
Max Horn
3b77249ab0
cleanup; got rid of o2_printEgo
...
svn-id: r7300
2003-05-04 01:10:45 +00:00
Jonathan Gray
781564d401
don't segfault when starting maniac
...
svn-id: r7299
2003-05-04 01:08:16 +00:00
Max Horn
7a2de47ce3
fixed o2_delay
...
svn-id: r7298
2003-05-04 00:41:52 +00:00
Max Horn
0ce5658d66
o5_dummy -> o2_dummy (it's not used by the V5 code at all...)
...
svn-id: r7297
2003-05-04 00:29:52 +00:00
Max Horn
4065f23844
decode string properly in o2_printEgo
...
svn-id: r7296
2003-05-04 00:26:39 +00:00
Max Horn
67b9ef7dff
typo; added comment
...
svn-id: r7295
2003-05-04 00:24:34 +00:00
Max Horn
975d325a92
Patch #731613 : debugger tab-completion (thanks, Willem!)
...
svn-id: r7293
2003-05-03 21:49:19 +00:00
Max Horn
6eaf1af897
temporary (?) hack for Maniac Mansion, to get to the first screen (thanks to segra)
...
svn-id: r7291
2003-05-03 21:15:24 +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
b3eb397ad2
reordered iMuseDigital stuff to be next to each other
...
svn-id: r7289
2003-05-03 20:45:31 +00:00
Max Horn
7e58986519
only moved stuff (to group sound related stuff)
...
svn-id: r7288
2003-05-03 17:50:04 +00:00
Jonathan Gray
6d3ba60745
seems to be the right thing to do...
...
svn-id: r7287
2003-05-03 16:46:47 +00:00
Max Horn
fb4a6095a6
Patch #731760 : LOOM: "Bobbin walks backwards" hack
...
svn-id: r7285
2003-05-03 16:20:18 +00:00
James Brown
f51b4387d1
hack around v2 o2_delay problem
...
svn-id: r7284
2003-05-03 15:08:10 +00:00
Max Horn
b7a3f481a8
added music looping for MonkeyVGA/EGA and Indy3
...
svn-id: r7283
2003-05-03 12:48:18 +00:00
Max Horn
00d796e451
slightly better hack because it will work with loaded games, too, and doesn't use any evil static vars
...
svn-id: r7282
2003-05-03 12:41:35 +00:00
Max Horn
24b3b32b16
fix for my hack :-)
...
svn-id: r7281
2003-05-03 12:28:37 +00:00
Max Horn
029b99691a
hack that avoids buglet where music doesn't stop in MonkeyVGA/EGA
...
svn-id: r7280
2003-05-03 11:42:25 +00:00
James Brown
1038caae58
Remove some test stuff
...
svn-id: r7278
2003-05-03 07:29:44 +00:00
James Brown
ffdeb38b80
Fix assert with hack return. Need to fix these !a things properly one day.
...
svn-id: r7277
2003-05-03 07:23:53 +00:00
James Brown
e3ca8320c1
.. er, let's try that again
...
svn-id: r7276
2003-05-03 06:49:49 +00:00
James Brown
362a5580d6
o2_actorSet fix from forum
...
svn-id: r7275
2003-05-03 06:48:26 +00:00
Max Horn
8a5dbd57e6
shouldn't work so late at night, only make mistakes
...
svn-id: r7257
2003-05-02 00:54:01 +00:00
Max Horn
73ab9b26ad
umpf
...
svn-id: r7256
2003-05-01 22:26:30 +00:00
Max Horn
0b265f8608
cleanup
...
svn-id: r7255
2003-05-01 22:19:10 +00:00
Max Horn
d7185269b5
tweaked music syncing once more. This approach should be much more flexible, and also works with different delta values.
...
svn-id: r7254
2003-05-01 21:41:31 +00:00
Max Horn
27f094a3b0
fixed music tempo in indy3/monkeyvga etc.
...
svn-id: r7253
2003-05-01 21:04:38 +00:00
Max Horn
5095cd3860
fixed regression in MonkeyVGA <sigh>. Aquadran, is the 16 right even for GF_OLD_BUNDLE ? Or should it just always be 1?
...
svn-id: r7252
2003-05-01 16:05:47 +00:00
Max Horn
99254eedc8
khalek, your patch didn't handle Indy (the original cause for my patch). This oneshould work better.
...
svn-id: r7251
2003-05-01 14:35:21 +00:00
Jonathan Gray
fb36c0ad30
off by one error
...
svn-id: r7248
2003-05-01 13:45:45 +00:00
Travis Howell
028a013cb9
Raise _maxHeapThreshold for zak256
...
svn-id: r7246
2003-05-01 12:54:19 +00:00
Jonathan Gray
d2a402f5fd
unbreak costumes in most games
...
svn-id: r7242
2003-05-01 11:40:21 +00:00
Max Horn
c77cbc5cb4
Fixed bug #730030 : INDY3: Crash when loading new savegames
...
svn-id: r7240
2003-05-01 11:03:41 +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
e3acde9f9c
assert in compile mode expands to ... nnothing!
...
svn-id: r7236
2003-04-30 22:37:03 +00:00
Max Horn
797c222ec7
VAR_V5_DRAWFLAGS == VAR_CURRENT_LIGHTS; fixed bug #601139
...
svn-id: r7234
2003-04-30 21:30:59 +00:00
Max Horn
0cacf945f2
Patch #730309 : DEBUGGER: Command to list Loom drafts
...
svn-id: r7233
2003-04-30 21:16:45 +00:00
Max Horn
feab6f904f
moved screen mutex from smush into SDL backend (other backends have to make sure they are thread safe by themselves)
...
svn-id: r7230
2003-04-30 19:11:33 +00:00
Max Horn
2b74abd2c9
PalmOS changes
...
svn-id: r7224
2003-04-30 13:23:31 +00:00
Max Horn
30e3a81618
use READ_LE_UINT16 instead of FROM_LE_16 to avoid unaligned memory access problems on PalmOS
...
svn-id: r7223
2003-04-30 12:57:46 +00:00
Jonathan Gray
79ebda7613
compilation fix
...
svn-id: r7218
2003-04-30 11:34:05 +00:00
Jonathan Gray
77058cb0f8
don't clobber variable for these small header games
...
svn-id: r7217
2003-04-30 11:26:45 +00:00
Max Horn
1be2d3076f
som changes to make Palm OS happy
...
svn-id: r7216
2003-04-30 11:26:36 +00:00
Max Horn
4ce574f579
cleanup
...
svn-id: r7215
2003-04-30 11:15:11 +00:00
Max Horn
d43b6d0cc0
changed _maxHeapThreshold again (is that better, Marcus? feel free to tweak it yourself)
...
svn-id: r7214
2003-04-30 10:28:00 +00:00
Jonathan Gray
e042792bb9
patch #730034 from erik, EGA LOOM: Small text shadow update
...
svn-id: r7213
2003-04-30 10:27:06 +00:00
Paweł Kołodziejski
0bf32a89f3
small cleanup
...
svn-id: r7212
2003-04-30 06:08:32 +00:00
Jonathan Gray
f97568e578
add patch #729633 from erik that lets you turn the straw to gold, wonder if loom ega is finishable now :)
...
svn-id: r7211
2003-04-30 05:55:06 +00:00
Paweł Kołodziejski
f359a141da
small cleanup
...
svn-id: r7210
2003-04-30 05:52:03 +00:00
Paweł Kołodziejski
39f85f7aac
added gfx bitmap and zbuffer codec for v2 games
...
svn-id: r7209
2003-04-30 05:48:55 +00:00
Jonathan Gray
3cce1991a0
change/comment to cursorCommond sub/op everyone is talking about
...
svn-id: r7198
2003-04-29 11:27:11 +00:00
Max Horn
3053f76ae5
removed obsolete FIXMEs
...
svn-id: r7197
2003-04-29 10:29:00 +00:00
Max Horn
941b198cb0
added some thoughts to Erik's (very nice!) patch
...
svn-id: r7196
2003-04-29 10:27:47 +00:00
Max Horn
b23e788b7d
unified Zak256 charset code with the rest; this *might* cause a regression should anywhere in Zak256 a charset > 1 be set; if so, tell me where exactly, and I can try to figure out a proper fix
...
svn-id: r7195
2003-04-29 10:26:35 +00:00
Jonathan Gray
ea6dace0b2
patch #729365 indy3 intro fix by erik
...
svn-id: r7194
2003-04-29 09:14:05 +00:00
Jonathan Gray
dd3eaff294
add target for towns indy4 demo
...
svn-id: r7193
2003-04-29 08:39:16 +00:00
Jonathan Gray
a8f140e7d8
make all known file extensions of resource files work
...
svn-id: r7190
2003-04-29 03:32:08 +00:00
Max Horn
89c425dc60
fixed LoomEGA distaff (you'll need to start a new game); added FIXME comment
...
svn-id: r7189
2003-04-29 01:38:10 +00:00
Max Horn
99e6ac9a3b
fix loom mouse position quirks (even simplified the code :-)
...
svn-id: r7187
2003-04-28 18:35:28 +00:00
Max Horn
c9f80db201
ooops, seems the 1 -> 16 changed caused a regression in Zak256 (and I bet in Indy3VGA, too). Reverting this change partially. If anybody experiences problem selecting certain objects in other GF_SMALL_HEADER, tell me
...
svn-id: r7186
2003-04-28 18:28:43 +00:00
Paweł Kołodziejski
850ee739af
fixed two offsets for V2 and two warnings
...
svn-id: r7185
2003-04-28 18:19:48 +00:00
Max Horn
12c44ba73d
Patch #728754 : EGA LOOM: Text masking
...
svn-id: r7184
2003-04-28 17:17:39 +00:00
Max Horn
f99f7f3d50
hack to get Indydemo to work
...
svn-id: r7183
2003-04-28 16:57:53 +00:00
Max Horn
1062e67122
added two missing opcodes (well one is just a stub, but anyway :-)
...
svn-id: r7180
2003-04-28 14:46:55 +00:00
Max Horn
ab622ba555
dump local resources in OLD_BUNDLE games, too (requires some hackery)
...
svn-id: r7179
2003-04-28 13:59:57 +00:00
Max Horn
6ae1ed7417
hack to fix entry script dumping in GF_OLD_BUNDLE (post V2) games
...
svn-id: r7178
2003-04-28 13:35:36 +00:00
Max Horn
e13e117976
pedantic checks
...
svn-id: r7177
2003-04-28 13:16:37 +00:00
Max Horn
dc7446f469
make it possible to override dump length in Scumm::dumpResource; fix V2 entry script offset (I believe); fix exit script dumping for GF_OLD_BUNDLE games
...
svn-id: r7176
2003-04-28 13:16:16 +00:00
Max Horn
a1a8c3ed05
cleanup (yes, the parentstate was changed from 1 to 16 for V3/V4 games - but that actually seems to be correct, according to older comments in this file, and the disassmbly)
...
svn-id: r7175
2003-04-28 12:38:24 +00:00
Max Horn
dabbbde957
typo/cleanup
...
svn-id: r7174
2003-04-28 12:36:21 +00:00
Jonathan Gray
b4165b0242
add some he v7 blocks
...
svn-id: r7173
2003-04-28 05:54:54 +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
Max Horn
03adc71665
clarified hack
...
svn-id: r7168
2003-04-27 22:21:22 +00:00
Max Horn
30ac620bd3
drop shadow cleanup
...
svn-id: r7163
2003-04-27 18:49:27 +00:00
Max Horn
732d457aac
Patch #728483 : EGA LOOM: More text-drawing hackery
...
svn-id: r7162
2003-04-27 18:30:35 +00:00
Max Horn
dfd99bbb13
raied _maxHeapThreshold per suggestion by Marcus Comstedt (this means we use up to 450 K memory more, but it avoid frequent reloading of stuff)
...
svn-id: r7161
2003-04-27 17:44:40 +00:00
Max Horn
b22f6c31f6
cleanup
...
svn-id: r7159
2003-04-27 16:12:30 +00:00
Max Horn
efae54c720
this indy3 hack is needed for the ega version, too; restricted zeppelin hack to the room where it is needed (this might fix the levitating guard bug)
...
svn-id: r7158
2003-04-27 15:58:36 +00:00
Paweł Kołodziejski
d9c8751168
some fixes to v2 opcodes
...
svn-id: r7153
2003-04-27 11:38:38 +00:00
Jonathan Gray
07bd555101
this seems to be needed for indy3ega as well, note that the text is largely the wrong colour and you can't see the book or picture of the window in the diary still
...
svn-id: r7152
2003-04-27 11:01:42 +00:00
Paweł Kołodziejski
3d52e4510b
more share code, and fixes
...
svn-id: r7151
2003-04-27 10:05:36 +00:00
Paweł Kołodziejski
33c600dde5
and more share code
...
svn-id: r7150
2003-04-27 09:39:52 +00:00
James Brown
a94afe4120
V2 syntax fix
...
svn-id: r7149
2003-04-27 09:03:26 +00:00
Paweł Kołodziejski
caf6d74095
put some v2 code into share code
...
svn-id: r7148
2003-04-27 07:52:26 +00:00
Paweł Kołodziejski
5a687ff50f
small fix for v2 opcodes
...
svn-id: r7147
2003-04-27 07:13:03 +00:00
Paweł Kołodziejski
e2f8a6c74c
added more v2 opcodes
...
svn-id: r7145
2003-04-26 20:03:38 +00:00
Max Horn
351ed4077f
fixed verb objects for GF_OLD_BUNDLE games
...
svn-id: r7143
2003-04-26 17:16:53 +00:00
Paweł Kołodziejski
64e5240efd
fixed offsets for object names for scumm v2
...
svn-id: r7142
2003-04-26 16:56:59 +00:00
Max Horn
7a5438a592
also fix o5_setObjectName for Indy/Loom
...
svn-id: r7141
2003-04-26 16:52:11 +00:00
Max Horn
35955dd35a
Erik's fix for text output in Loom (and Indy3?)
...
svn-id: r7140
2003-04-26 16:51:03 +00:00
Max Horn
adbd60cc7b
fixed object names in Indy3EGA and Loom
...
svn-id: r7139
2003-04-26 16:45:23 +00:00
Max Horn
4ac863efdb
fix warning
...
svn-id: r7138
2003-04-26 16:43:18 +00:00
Paweł Kołodziejski
6bd3454ae5
update for scumm v2
...
svn-id: r7137
2003-04-26 16:37:35 +00:00
Max Horn
1b5cac75f5
temporary work around for 16 color games
...
svn-id: r7136
2003-04-26 16:25:14 +00:00
Max Horn
afaac51b65
fixed issue in Loom (and other OLD_BUNDLE games?) in decodeParseString
...
svn-id: r7135
2003-04-26 16:17:51 +00:00
Max Horn
2d8fa42f44
renamed setCursorHotspot2 to setCursorHotspot; fixed (with a hack) cursor in Loom
...
svn-id: r7132
2003-04-26 13:28:34 +00:00
Max Horn
b617227723
fixed endian regression (introduced by the alignment changes)
...
svn-id: r7127
2003-04-26 11:02:49 +00:00
Max Horn
2363704bd7
proper fix for COMI regression
...
svn-id: r7125
2003-04-26 10:43:59 +00:00
Jonathan Gray
2d1e313018
stop assertion from triggering to make ft finishable again
...
svn-id: r7123
2003-04-26 05:29:25 +00:00
Jonathan Gray
b542136929
make comi work again, can we branch for 0.4.0 already so all the testing actually means something?
...
svn-id: r7122
2003-04-26 01:38:38 +00:00
Jonathan Gray
8137b70bdf
close console after we run a script
...
svn-id: r7104
2003-04-25 13:13:16 +00:00
Max Horn
913f9d2eb1
fixed stupid mistake (yeah yeah, being able to read old code, and use your brain properly, helps :-)
...
svn-id: r7103
2003-04-25 10:57:12 +00:00
Travis Howell
3ecd142d6c
Add patch #727309 - EGA LOOM: Bypassing the copy protection
...
svn-id: r7102
2003-04-25 09:16:33 +00:00
Paweł Kołodziejski
a1c43eae08
fixed warning under VC6
...
svn-id: r7101
2003-04-25 04:30:49 +00:00
Jonathan Gray
3da2a09443
add importres and script starting functionality to the debugger
...
svn-id: r7100
2003-04-25 02:53:35 +00:00
Max Horn
33045523ae
fix a regression my recent change introduce in GF_OLD256 games <sigh>
...
svn-id: r7099
2003-04-25 00:03:06 +00:00
Jonathan Gray
5707a4e4bc
better safe then sorry...
...
svn-id: r7098
2003-04-24 23:56:47 +00:00
Max Horn
a90dcc8b71
simplified / unified code; fixed various masking bugs
...
svn-id: r7096
2003-04-24 18:53:21 +00:00
Jonathan Gray
2ba6881a10
correction
...
svn-id: r7095
2003-04-24 15:59:41 +00:00
Jonathan Gray
0e4c195b7c
disable masks in OLD_BUNDLE games for now
...
svn-id: r7094
2003-04-24 14:33:31 +00:00
Jonathan Gray
d092f1c82a
VAR_KEYPRESS is 118 in v7 this makes Shift-W in ft work
...
svn-id: r7093
2003-04-24 11:35:46 +00:00
Jonathan Gray
db8cb043f5
disable ingame save/load screen for OLD_BUNDLE games
...
svn-id: r7091
2003-04-24 01:15:14 +00:00
Jonathan Gray
8e06d3a23a
bypass copy prot for indy3ega
...
svn-id: r7090
2003-04-24 00:44:34 +00:00
Max Horn
80c73e2cc9
fixed verb scripts for old bundle games
...
svn-id: r7089
2003-04-23 23:46:03 +00:00