Commit Graph

2628 Commits

Author SHA1 Message Date
Max Horn
5135a409d0 upon res load error, print out from which file we tried to load, and also print the correc index (was 'type' instead of 'idx')
svn-id: r6090
2002-12-24 02:03:35 +00:00
Max Horn
7692091a9c File object stores file name (useful for debugging)
svn-id: r6089
2002-12-24 02:02:53 +00:00
Max Horn
2da14e0fa1 more V8 opcodes (mostly rerouting to V6 ones)
svn-id: r6088
2002-12-24 00:41:59 +00:00
Max Horn
fcb708e165 implemented actorOps for V8 (with some guessing involved)
svn-id: r6087
2002-12-23 23:53:29 +00:00
Max Horn
6585425c89 set NUM_ACTORS to 80 for COMI; get rid of MAX_ACTORS (use NUM_ACTORS instead); some updates
svn-id: r6086
2002-12-23 23:30:14 +00:00
Paweł Kołodziejski
4c8c6ff84e updated o8_kludge()
svn-id: r6085
2002-12-23 22:13:06 +00:00
Paweł Kołodziejski
6bbd215740 added cases for o8_kludge()
svn-id: r6084
2002-12-23 21:56:26 +00:00
Paweł Kołodziejski
8a6f6da967 added o6_stopSound and fixed compilation
svn-id: r6083
2002-12-23 21:04:14 +00:00
Max Horn
57cdbd0abb set script tracing to level 1 - at least while we do V8 debugging, later we can go back to a higher level
svn-id: r6082
2002-12-23 20:29:53 +00:00
Max Horn
8380596966 don't let unknown V8 codes pass by (it makes debugging pretty hard)
svn-id: r6081
2002-12-23 20:25:47 +00:00
Max Horn
4524d870f3 and more V8...
svn-id: r6080
2002-12-23 19:15:51 +00:00
Max Horn
35f4a42703 skip initCharset for now, till we get it working in V8
svn-id: r6079
2002-12-23 19:08:34 +00:00
Paweł Kołodziejski
44bfa413f9 changed numString to numArray
svn-id: r6078
2002-12-23 19:03:08 +00:00
Max Horn
897fc9a91b and more V8. Now we again hit the charset limit, but this time caused by the script itself :-)
svn-id: r6077
2002-12-23 18:56:43 +00:00
Paweł Kołodziejski
6f5a18228d changed read order of CMI variables (MAXS)
svn-id: r6076
2002-12-23 18:53:04 +00:00
Max Horn
6d0fd3989c fix jumpTrue/jumpFalse opcodes; slightly better debug output
svn-id: r6075
2002-12-23 18:37:56 +00:00
Max Horn
654ed3ff6c more V8 work
svn-id: r6074
2002-12-23 18:30:12 +00:00
Max Horn
b8240b253c some flesh to the V8 bones
svn-id: r6073
2002-12-23 17:21:09 +00:00
Max Horn
a7d0957dad don't loadCharset(1) in V8
svn-id: r6072
2002-12-23 17:20:28 +00:00
Max Horn
7d052a26b0 don't be needlessly verbose; allow byte arrays in V8
svn-id: r6071
2002-12-23 16:17:23 +00:00
Max Horn
f86eaeaff9 more V8 mods; cleanup
svn-id: r6070
2002-12-23 15:46:53 +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
e192142dac resolved some arguments with aquadran about how to go on about this :-). Renamed three v6 opcodes
svn-id: r6068
2002-12-23 12:50:38 +00:00
Paweł Kołodziejski
034bfddd7e changed Dword to Uint32, I hope, Filgolfin will be happy :)
svn-id: r6067
2002-12-23 09:45:20 +00:00
Paweł Kołodziejski
af86ee5032 updated list opcode script v8
svn-id: r6066
2002-12-23 09:14:58 +00:00
Paweł Kołodziejski
1af90fe06a updated VC6 file
svn-id: r6065
2002-12-23 07:48:04 +00:00
Max Horn
58f2ee45cd word size for V8 games is 4 bytes, as opposed to 2 bytes in V6/V7 games. Hence we adjust fetchScriptWord - this way we can reuse all sorts of code (and no, this is not really a hack - word size by tradition is something which varies depending on the architecture, so it is even consistent)
svn-id: r6064
2002-12-23 00:23:36 +00:00
Max Horn
11a48a2b01 corrected AARY code for V8 (I hope)
svn-id: r6063
2002-12-23 00:21:49 +00:00
Max Horn
09baac729f why not reuse the V6 opcode implementations, it would seems many of them are identical in V8. Or maybe V8 actually uses 32 bit ops in some places, but then we can still deal with that once we are actually in the position to try run any scripts :-)
svn-id: r6062
2002-12-22 23:51:04 +00:00
Max Horn
1804f44af1 some more V8 opcode flesh
svn-id: r6061
2002-12-22 23:26:10 +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
Max Horn
3ce3a5be5b minor cleanup
svn-id: r6059
2002-12-22 19:14:53 +00:00
Travis Howell
2e66c05f47 Remove the fixme
svn-id: r6058
2002-12-22 09:26:42 +00:00
Travis Howell
a3dae7bc3c Add default skip cut scene keys from original games.
Fix error in last commit

svn-id: r6057
2002-12-22 09:04:27 +00:00
Travis Howell
987a823ffe First attempt at proper simon 2 midi support
Thanks to olki's previous work

svn-id: r6056
2002-12-22 08:08:53 +00:00
Jonathan Gray
352748878a allow subtitles in smush animations to be disabled
svn-id: r6055
2002-12-22 04:07:41 +00:00
Travis Howell
0c3626c9f4 Some _lock_word corrections
svn-id: r6054
2002-12-22 03:54:51 +00:00
Jonathan Gray
b78a518f04 remove old commented fixme, make turning off subtitles work in the scumm part of the dig, still needs to be done for smush
svn-id: r6053
2002-12-22 03:12:50 +00:00
Jamieson Christian
0f2cba2cb1 Pop-up save dialog should not show for
compatibility (temporary) state saves.

svn-id: r6052
2002-12-21 23:27:46 +00:00
Jamieson Christian
01ffb7bec2 Fix to instrument load/save
svn-id: r6051
2002-12-21 23:19:42 +00:00
Jamieson Christian
e4b1a7e709 MidiStreamer no longer derives from MidiDriver.
Removed MidiStreamer methods that weren't actually needed.
That's one layer of indirection removed from Simon music.

svn-id: r6050
2002-12-21 21:32:45 +00:00
Jamieson Christian
ebd2dc7f67 IMuseMonitor functionality now built into IMuse itself.
IMuseInternal no longer derives from IMuse.
This eliminates a couple layers of indirection and speeds things up.
Miscellaneous source cleanup.

svn-id: r6049
2002-12-21 21:09:36 +00:00
Paweł Kołodziejski
de8f5477af added dummy code: handle codec37 flag bit 1 (error report for now)
svn-id: r6048
2002-12-21 20:40:55 +00:00
Paweł Kołodziejski
7bc67c1a02 increased a little speed of dig demo smush
svn-id: r6047
2002-12-21 20:19:46 +00:00
Jamieson Christian
37de3f1836 Fixed problem with multiple IMuseDrivers being created.
svn-id: r6045
2002-12-21 20:12:14 +00:00
Jamieson Christian
f60bda7d5c Implemented new instrumentation save/load.
Save/load version is now VER_V11.
Adlib/MT-32 instrumentation is now saved and loaded.
BACK UP YOUR VER_V10 SAVEGAMES, JUST IN CASE!

svn-id: r6044
2002-12-21 20:10:47 +00:00
Paweł Kołodziejski
0182836591 fix smush for compatible with dig demo
svn-id: r6043
2002-12-21 20:05:40 +00:00
Max Horn
060562c277 partial checkin of patch #655594 (handling Y/N questions); cleanup
svn-id: r6042
2002-12-21 12:34:17 +00:00
Max Horn
3b28dcbe34 only display popup for saves
svn-id: r6041
2002-12-21 12:31:08 +00:00
Max Horn
fca337f590 popup message when save was succesful
svn-id: r6040
2002-12-21 12:09:28 +00:00