Willem Jan Palenstijn
691323f16e
Fix format string warning
...
svn-id: r50325
2010-06-26 15:55:40 +00:00
Filippos Karapetis
783b71d585
Load the correct speech file pack for the intro of Rex Nebular
...
svn-id: r50321
2010-06-26 13:28:22 +00:00
Martin Kiewitz
a4f139c4d2
SCI: adding more comment for export workaround (sq1)
...
svn-id: r50318
2010-06-26 12:20:40 +00:00
Martin Kiewitz
cb5d9f6af5
SCI: added workaround for island of dr. brain elements puzzle
...
svn-id: r50317
2010-06-26 12:04:15 +00:00
Martin Kiewitz
e4153044d4
SCI: reverting r50315 - had the deadlock just again...
...
svn-id: r50316
2010-06-26 11:48:42 +00:00
Martin Kiewitz
be75870100
SCI: fixing deadlock possiblity on samples (sq3 deadlocked on door opening/where am i on me)
...
svn-id: r50315
2010-06-26 11:43:14 +00:00
Paul Gilbert
8eb206b6b9
Bugfix to correctly handle transparency when rendering scaled sprites
...
svn-id: r50314
2010-06-26 11:31:04 +00:00
Martin Kiewitz
18d9f917a0
SCI: set _driver to 0 in MidiParser_SCI destructor to stop the MidiParser destructor call allNotesOff() which would affect all channels all the time - fixes sq1 ship flying away sound getting stopped when ladder falls down
...
svn-id: r50313
2010-06-26 11:16:25 +00:00
Paul Gilbert
d7fe988251
Bugfix to dirty area handling to prevent creation of invalid rects
...
svn-id: r50312
2010-06-26 11:14:38 +00:00
Martin Kiewitz
906b3221f5
SCI: removing fixme (issue got already solved)
...
svn-id: r50311
2010-06-26 10:51:38 +00:00
Martin Kiewitz
16f854ba64
SCI: dont call midiparser->stop() if paused sound gets stopped
...
svn-id: r50310
2010-06-26 10:47:38 +00:00
Martin Kiewitz
cf3a37585c
SCI: making hack inside kAbs hoyle1 specific, added fixme
...
svn-id: r50309
2010-06-26 09:34:14 +00:00
Martin Kiewitz
258494f036
SCI: adding capability to resolve local calls as well for valgrind-sci, adding another workaround for a script bug in sq1 (this time export 1 gets called locally)
...
svn-id: r50308
2010-06-26 08:29:55 +00:00
Paul Gilbert
70e4a8605b
Minor bugfix for correctly positioning where background sprites are drawn
...
svn-id: r50298
2010-06-26 00:37:44 +00:00
Paul Gilbert
ab261facee
Added extra validation for sprite decoding
...
svn-id: r50297
2010-06-26 00:36:43 +00:00
Paul Gilbert
e328bd8f7f
Added support for Fab compressed sprite sets
...
svn-id: r50295
2010-06-25 23:43:07 +00:00
Martin Kiewitz
56d9acad90
SCI: implementing workaround for issue in room 58 sq1 (operation lt, doing comparsion against pointer)
...
svn-id: r50294
2010-06-25 22:48:55 +00:00
Martin Kiewitz
fc4fa25ec4
SCI: adding capability for detecting export-calls into valgrind-sci, adding workaround for export 1 of script 703 in sq1 (gets called from various objects)
...
svn-id: r50292
2010-06-25 22:34:53 +00:00
Florian Kagerer
b96c0a1f07
SCI: fix typo
...
svn-id: r50291
2010-06-25 21:04:22 +00:00
Florian Kagerer
e1a333570e
SCI: set MDT_PREFER_GM instead od MDT_PREFER_MT32
...
svn-id: r50289
2010-06-25 20:58:52 +00:00
Florian Kagerer
c35e350531
AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either select MDT_PREFER_MT32 or MDT_PREFER_GM
...
svn-id: r50288
2010-06-25 20:51:57 +00:00
Martin Kiewitz
683d54a746
SCI: adding workaround for uninitialized read in sq1
...
svn-id: r50287
2010-06-25 20:46:08 +00:00
Filippos Karapetis
4785e1fd3f
Renamed some variables
...
svn-id: r50284
2010-06-25 19:09:19 +00:00
Florian Kagerer
6561b93f1e
KYRA: fixed typo
...
svn-id: r50283
2010-06-25 19:06:10 +00:00
Florian Kagerer
e34d7342f5
KYRA: implement new gui option flags
...
svn-id: r50282
2010-06-25 18:57:50 +00:00
Florian Kagerer
3962f8ba59
AUDIO: some fixes in the audio device code (no sound option, new GUIO flags)
...
svn-id: r50281
2010-06-25 18:47:52 +00:00
Matthew Hoops
be8a596668
Add support for the third inventory case in Riven: you have the two journals but not the trap book (happens at the end of the game).
...
svn-id: r50280
2010-06-25 18:20:31 +00:00
Filippos Karapetis
784f52a677
Removed the getHunkPointer error - it's valid SCI behavior (e.g. when loading/quitting sometimes, since hunks are not saved). We check for valid hunk pointers anyway, so there's no reason for the warning/error
...
svn-id: r50279
2010-06-25 17:59:49 +00:00
Martin Kiewitz
69694f3619
SCI: changing workaround results for opcodes from signal_reg to make_reg(0, 1)
...
svn-id: r50278
2010-06-25 17:59:48 +00:00
Filippos Karapetis
aedc77f0bd
When loading a game, stop all running VMs recursively, and also stop kAnimate's current recursion. This fixes the invalid execution stack frame in SQ1, when loading from the death screen after dying from the acid drops in Kerona. This should also fix the invalid hunk pointers, thus the warning about invalid hunk pointers has been turned into an error, as it shouldn't occur anymore
...
svn-id: r50277
2010-06-25 17:25:00 +00:00
Filippos Karapetis
b6d1b3bc0b
Do not allow the VM to run on non-existent scripts (which shouldn't be happening anymore)
...
svn-id: r50276
2010-06-25 17:13:47 +00:00
Filippos Karapetis
ab19e87414
Removed all of the non-validating code - there's no real point in removing script validations
...
svn-id: r50275
2010-06-25 16:54:03 +00:00
Martin Kiewitz
b188fc14a2
SCI: only send new volume to currently mapped channels, fixes assert in sq1 because setVolume is called on an object that's currently not playing. added fixme
...
svn-id: r50274
2010-06-25 16:43:09 +00:00
Max Horn
6ee82a2027
SCI: Introduce SciGameId enum
...
svn-id: r50273
2010-06-25 16:16:29 +00:00
Max Horn
23d384e6b8
SCI: Remove SciEngine::getFlags()
...
svn-id: r50272
2010-06-25 16:12:38 +00:00
Max Horn
1e9977a725
SCI: Restrict some 'error' exceptions to the places they occur; cleanup
...
svn-id: r50271
2010-06-25 16:11:00 +00:00
Max Horn
7d4d58bab4
SCUMM: Set some more detection file sizes
...
svn-id: r50270
2010-06-25 16:08:34 +00:00
Martin Kiewitz
8ff6a709fb
SCI: when writing to a temp, check for segment 0xFFFF and remove it. This fixes a false-positive uninitialized read error in room 44 sq1
...
svn-id: r50269
2010-06-25 16:04:37 +00:00
Filippos Karapetis
e55686590e
Removed the checking of parameters again (it's wrong, as it happens after, instead of before) and restored the workaround for SQ1 in op_add again
...
svn-id: r50268
2010-06-25 15:28:24 +00:00
Filippos Karapetis
159958fbe2
Some more info on kText(), removed dead code
...
svn-id: r50267
2010-06-25 15:06:00 +00:00
Martin Kiewitz
2b43c3a668
SCI: changes to the op GT workaround
...
svn-id: r50266
2010-06-25 14:50:27 +00:00
Filippos Karapetis
df37aff357
Added the SCI2.1 kText kernel function (subop 0, kTextSize for now)
...
svn-id: r50265
2010-06-25 14:50:10 +00:00
Filippos Karapetis
494a7fa8ab
Extended validate_read_var to check for parameters too, and fixed the uninitialized variable in SQ1 there
...
svn-id: r50263
2010-06-25 12:43:43 +00:00
Filippos Karapetis
279da6ac48
Added workarounds for two issues which appear when throwing the water at Orat in SQ1, room 28
...
svn-id: r50262
2010-06-25 12:15:36 +00:00
Martin Kiewitz
c6b0a5e896
SCI: detect, if SCI1.1 game is merging or copying palette instead of using gameIds. Also prints method used, when using debug command "version"
...
svn-id: r50261
2010-06-25 10:04:31 +00:00
Filippos Karapetis
550209d1e6
Removed the game ID check for embedded priority in icon controls, and replaced it with a check for priority existence
...
svn-id: r50260
2010-06-25 09:57:37 +00:00
Johannes Schickel
1e29dc3641
Fixed use of uninitialized variable.
...
svn-id: r50250
2010-06-24 22:55:44 +00:00
Martin Kiewitz
aa3bfe5489
SCI: doing the exact opposite of r50236 code-wise now, as it was meant to be
...
svn-id: r50237
2010-06-24 21:46:57 +00:00
Martin Kiewitz
f014c9ed7e
SCI: ignore segment 0xFFFF in segmanager getchar, when offset > 1 - so we dont write a warning, if the scripts use some uninitialized temp variable as terminator
...
svn-id: r50236
2010-06-24 21:42:08 +00:00
Martin Kiewitz
06a65d5c33
SCI: better initialize temp variables with FFFF:0 instead. foreign lsl3 uses kFileIO(readraw) and then kReadNumber directly. In that case we would produce many warnings because no terminating 0 is found
...
svn-id: r50235
2010-06-24 21:32:29 +00:00
Willem Jan Palenstijn
a03afd1898
SCI: Make kStrAt clear segment when writing characters
...
This is necessary since the uninitialized value detection from r50211,
and is analogous to seg_manager.cpp's setChar.
(Triggered in LSL3 age verification.)
svn-id: r50234
2010-06-24 21:09:38 +00:00
Martin Kiewitz
35b5da7e0f
SCI: reverting r50232, didnt make sense. thx @ wjp for noticing
...
svn-id: r50233
2010-06-24 20:52:35 +00:00
Martin Kiewitz
893429d092
SCI: correctly put NUL inside SegManager::strncpy() even when using n = 0xFFFFFFFFU
...
svn-id: r50232
2010-06-24 20:40:57 +00:00
Martin Kiewitz
e8d31ccc07
SCI: fixing the tortoisegit commit disaster :P
...
svn-id: r50231
2010-06-24 20:10:51 +00:00
Martin Kiewitz
b0fde0a1f6
SCI: removing debug warning to show processes opcodes, accidentaly commited
...
svn-id: r50230
2010-06-24 20:03:32 +00:00
Martin Kiewitz
381a862d61
SCI: partly reverting r50208, iceman has script code (fred::canBeHere) that asks for property 380. sierra also returned a zero when going out of bounds (see gregs engine object.cpp, ::getPropertyN - fixes iceman, lsl3 and probably more
...
svn-id: r50229
2010-06-24 20:01:31 +00:00
Filippos Karapetis
42ca630f46
Fixed the LSL3 binoculars scene again, by fixing the invalid varselector reference
...
svn-id: r50227
2010-06-24 18:48:50 +00:00
Martin Kiewitz
346c3a3230
SCI: added uninitialized workaround for sq4cd
...
svn-id: r50226
2010-06-24 18:17:36 +00:00
Matthew Hoops
7edbcc26f7
Cleanup uninitialized read workaround(s).
...
svn-id: r50225
2010-06-24 17:48:15 +00:00
Martin Kiewitz
b8e2e8e5dd
SCI: added uninitialized read for room 720 in lsl1
...
svn-id: r50222
2010-06-24 17:10:26 +00:00
Martin Kiewitz
00e88f15e3
SCI: arg5 is map for graph(updateBox), added comment
...
svn-id: r50221
2010-06-24 17:02:55 +00:00
Filippos Karapetis
6a811a8ae6
Added more information concerning the Dr. Brain uninitialized read
...
svn-id: r50219
2010-06-24 13:45:31 +00:00
Filippos Karapetis
59c908e97d
Changed a warning which seems like regular SCI behavior into a debugC
...
svn-id: r50218
2010-06-24 13:44:27 +00:00
Martin Kiewitz
4b2661c06a
SCI: removing warning for known uninitialized reads
...
svn-id: r50217
2010-06-24 13:38:24 +00:00
Martin Kiewitz
a268d3462b
SCI: change fix for island to make it work
...
svn-id: r50216
2010-06-24 13:30:20 +00:00
Martin Kiewitz
3fcb833148
SCI: fixed workaround table from r50214 to have a valid terminator, also added another fix for pharkas
...
svn-id: r50215
2010-06-24 13:20:21 +00:00
Martin Kiewitz
e45ffc68a3
SCI: created a workaround table for uninitialized reads, removing old commented out workarounds for pharkas and laura bow 2
...
svn-id: r50214
2010-06-24 13:17:45 +00:00
Martin Kiewitz
898c9165d9
SCI: added currently known object/methodnames in comments for uninitialized reads
...
svn-id: r50213
2010-06-24 12:32:41 +00:00
Martin Kiewitz
e5f22da051
SCI: added objectname and method name printed out when uninitialized temps are read
...
svn-id: r50212
2010-06-24 12:25:47 +00:00
Martin Kiewitz
f93ca1e424
SCI: implement detection for uninitialized temp variable reads and implement direct fixes for them, i couldnt figure out a valid replacement for island, pharkas and laurabow2 work that way. this should also get changed to a replacement table
...
svn-id: r50211
2010-06-24 11:54:33 +00:00
Martin Kiewitz
0722d96a3e
SCI: fix kTextSize to not crash when destination has an invalid rect in it
...
svn-id: r50210
2010-06-24 11:52:08 +00:00
Arnaud Boutonné
9a3ef9b8e1
Initialize properly paramCount in gob1. This fixes several valgrind errors, and the unknown opcodes are now skipped as expected. (related to bug #3018918 , only partially solved)
...
svn-id: r50209
2010-06-24 11:50:25 +00:00
Filippos Karapetis
afffcec96e
Turned two hacks inside validate_property() into errors till we find out where and why they occur (they shouldn't occur).
...
Also turned an error inside send_selector() when argc > 1 into a warning - these are usually script bugs and aren't fatal
svn-id: r50208
2010-06-24 11:29:26 +00:00
Filippos Karapetis
0fb5429318
Initialize the stack with 'S' or 's' characters, like SSCI does (ultimately, we should not change the stack again like we do in op_link - this is what Sierra is doing). Some cleanup
...
svn-id: r50207
2010-06-24 09:52:08 +00:00
Paul Gilbert
aa0c86e755
Bugfix for correctly decoding 2-bit encoded depth surfaces
...
svn-id: r50206
2010-06-24 08:17:46 +00:00
Paul Gilbert
cd8bec1ae2
Corrected rendering of sprites into a scene background
...
svn-id: r50205
2010-06-24 08:16:40 +00:00
Paul Gilbert
70e9df9566
Corrected incorrect variable name change
...
svn-id: r50204
2010-06-24 08:15:31 +00:00
Filippos Karapetis
bbb29e2650
Fixed script 140 in the Island of Dr. Brain by adding a workaround for it inside op_link
...
svn-id: r50203
2010-06-24 07:54:02 +00:00
Filippos Karapetis
f65c4f9886
Changed an error in LocalVariables::dereference() back to a warning, as it occurs in 2 places during the intro of LB2 (called from kMemory(peek))
...
svn-id: r50202
2010-06-24 07:32:34 +00:00
Matthew Hoops
7c9cbf75c0
Implement the rest of xvalvecontrol for the boiler puzzle in Riven, initialize a variable for the boiler platform switch.
...
svn-id: r50200
2010-06-24 05:31:07 +00:00
Matthew Hoops
3838197ac1
Silence gcc warnings.
...
svn-id: r50197
2010-06-24 01:29:46 +00:00
Martin Kiewitz
51ba34df0e
SCI: we extended the showBits() rect all the way depending on where the object moved, fixed - fixes kq6cd flickering coin and pq1 flickering locker issue
...
svn-id: r50190
2010-06-23 20:13:33 +00:00
Filippos Karapetis
6d1f2d1d26
Fixed memory fragmentation warnings in Crazy Nick's games
...
svn-id: r50188
2010-06-23 17:30:18 +00:00
Martin Kiewitz
72ee20bc4d
SCI: cnick-laurabow & cnick-kq are called with -Nw 0 0...
...
svn-id: r50187
2010-06-23 17:05:54 +00:00
Martin Kiewitz
e7634ee147
SCI: it seems that all cnick games are using the inbetween interpreter
...
svn-id: r50186
2010-06-23 16:58:42 +00:00
Martin Kiewitz
e39f2ae1c1
SCI: adding cnick-longbow to inbetween sci1.1 in GfxPalette
...
svn-id: r50185
2010-06-23 16:53:56 +00:00
Martin Kiewitz
496905dcc3
SCI: dont write palette in reorderView() if there is no palette :P
...
svn-id: r50184
2010-06-23 16:49:03 +00:00
Filippos Karapetis
0a102981f0
Moved the SelectorCache struct inside selector.h, where it belongs, and fixed some header dependencies in the process
...
svn-id: r50183
2010-06-23 15:23:37 +00:00
Filippos Karapetis
db6c7a3dee
Removed a hack with SCI1.1 static selectors, and set them properly. This fixes scaling in the demo of QFG3
...
svn-id: r50182
2010-06-23 15:08:23 +00:00
Martin Kiewitz
c1d3fd670c
SCI: global scaling implemented (hopefully, i'm not sure if it works 100% :P) thx to waltervn for telling me the vocab 994 stuff used for disassembly
...
svn-id: r50181
2010-06-23 14:06:31 +00:00
Martin Kiewitz
eeba2812c1
SCI: adding some more global scaling code, adding vanishingY and vanishingX as selectors
...
svn-id: r50180
2010-06-23 13:42:09 +00:00
Martin Kiewitz
3bc011357b
SCI: some initial work on global scaling
...
svn-id: r50179
2010-06-23 12:58:14 +00:00
Martin Kiewitz
f0145e6dcd
SCI: implementing boundary checking for GfxPalette::createFromData(), sq5 has a broken picture 0 resource, which would result in either crash or at least bad read from memory depending on whats read there
...
svn-id: r50178
2010-06-23 11:47:14 +00:00
Filippos Karapetis
3cdd841192
Made a warning more verbose
...
svn-id: r50177
2010-06-23 11:32:36 +00:00
Paul Gilbert
fedc060605
Corrected newly added palette conversion warning
...
svn-id: r50176
2010-06-23 11:28:53 +00:00
Filippos Karapetis
3569b49662
Changed some asserts to warnings
...
svn-id: r50175
2010-06-23 11:22:44 +00:00
Paul Gilbert
717005bf25
Rewrote the MADS animation frame decoder to better guard against invalid data causing memory overruns
...
svn-id: r50174
2010-06-23 10:11:01 +00:00
Martin Kiewitz
b68180efe5
SCI: added nicks picks sq to the sci1.1 interpreter games, the other ones may also use the same interpreter, but we currently can not verify
...
svn-id: r50172
2010-06-22 21:58:55 +00:00
Martin Kiewitz
04c04ff01e
SCI: eco quest 1 demo also uses inbetween sci1.1 interpreter, fixing graphics
...
svn-id: r50170
2010-06-22 21:24:52 +00:00
Martin Kiewitz
d8968ee5b9
SCI: reversing r50168, demo is using the same offTop as well (demo.bat)
...
svn-id: r50169
2010-06-22 21:05:34 +00:00
Martin Kiewitz
93b2336aa2
SCI: demo of fairy tales uses regular offTop
...
svn-id: r50168
2010-06-22 21:01:34 +00:00
Martin Kiewitz
a836f965f8
SCI: set offTop to 26 for mixed up fairy tales to fix all sorts of non-fully-removed windows
...
svn-id: r50166
2010-06-22 20:40:41 +00:00
Matthew Hoops
99807b8894
Fix uncompressed MIDI in T7G Mac.
...
svn-id: r50165
2010-06-22 19:39:30 +00:00
Jordi Vilalta Prat
33b991ee9d
Groovie: Add support for the compressed MIDI files of T7G Mac.
...
svn-id: r50163
2010-06-22 19:21:05 +00:00
Martin Kiewitz
38cf6aa3e4
SCI: implemented kAssertPalette and a palvary fix for ::set, fixes erana's place in qfg1vga nighttime
...
svn-id: r50162
2010-06-22 19:01:43 +00:00
Filippos Karapetis
56bf0c0e63
Fixed kMergePoly after discussing with waltervn so that it correctly returns a pointer to an empty (for now) polygon array. This means that you can walk over enemy bodies after killing them in QFG1VGA, but at least it fixes the crashes after killing monsters
...
svn-id: r50160
2010-06-22 18:33:19 +00:00
Filippos Karapetis
3a394793b6
Fixed 2 crashes in QFG1VGA, when dying:
...
- Ignoring a non-game breaking script bug (modifying the "longSong" object with argc = 2)
- Don't pop the callk stack frame if the stack is empty - fixes a crash when restoring from the death screen
svn-id: r50157
2010-06-22 18:25:15 +00:00
Martin Kiewitz
079e5c3135
SCI: fixed typo
...
svn-id: r50154
2010-06-22 17:13:44 +00:00
Martin Kiewitz
9ca43423b4
SCI: kPalVary(SetTarget) implemented
...
svn-id: r50153
2010-06-22 17:05:00 +00:00
Max Horn
5b24d39cdd
SCUMM: Specify various file sizes of detection files
...
svn-id: r50151
2010-06-22 16:10:16 +00:00
Max Horn
33347e12bd
SCUMM: Add a debug message to detectGames() to help find filesizes of detection files
...
svn-id: r50150
2010-06-22 16:09:50 +00:00
Max Horn
90a1d7c609
SCUMM: Add Japanese FOA CD version from tracker #3017219
...
svn-id: r50149
2010-06-22 16:09:27 +00:00
Martin Kiewitz
3c4bfa6cac
SCI: removing unneeded capacity uint from r50143
...
svn-id: r50147
2010-06-22 15:45:59 +00:00
Martin Kiewitz
66c286d096
SCI: kPalVary(setTarget) now triggers an error
...
svn-id: r50146
2010-06-22 15:33:46 +00:00
Matthew Hoops
bb9f556c36
Add support for the QFG3 demo audio map and audio resources. Based on a patch by Walter.
...
svn-id: r50144
2010-06-22 15:18:55 +00:00
Martin Kiewitz
a82ca9de5c
SCI: change midi queue to Common::Array and make it resize itself if needed instead of error()
...
svn-id: r50143
2010-06-22 15:05:09 +00:00
Filippos Karapetis
c28fa2cf19
Reverted the code which handles objects without a base object when loading, for now. This possibly indicates an issue related to the garbage collector
...
svn-id: r50142
2010-06-22 15:03:19 +00:00
Filippos Karapetis
5855cd7127
The volume subop of kDoAudio returns the previous volume in SCI2.1, but not in earlier versions
...
svn-id: r50141
2010-06-22 15:01:45 +00:00
Matthew Hoops
019657fcd6
Fully implement xvga1300_carriage, the gallow's carriage is now fully usable.
...
svn-id: r50139
2010-06-22 14:03:55 +00:00
Filippos Karapetis
53b82298e8
Stop saving the buffer, script and heap sizes of each script in saved games
...
svn-id: r50137
2010-06-22 08:57:25 +00:00
Matthew Hoops
e3b3641db2
Finish implementation of the jspit elevator logic.
...
svn-id: r50136
2010-06-22 05:10:43 +00:00
Matthew Hoops
727841ef91
In SCI32, kDoAudio subop 10 is no longer CD audio. Just stub it off for now.
...
svn-id: r50134
2010-06-21 22:58:33 +00:00
Martin Kiewitz
b5dffc5aa3
SCI: fades already send out commands directly
...
svn-id: r50131
2010-06-21 22:15:33 +00:00
Martin Kiewitz
1041067a0c
SCI: instead of queueing inside midiparser, we are queueing now globally in SciMusic, also some little cleanup
...
svn-id: r50130
2010-06-21 22:07:03 +00:00
Max Horn
bbad3f333a
Patch #1956501 : "GUI/LAUNCHER: Midi device selection"
...
svn-id: r50128
2010-06-21 21:36:36 +00:00
Max Horn
49448af6cb
AGI: Turn some more AGI static functions into AgiEngine methods
...
svn-id: r50127
2010-06-21 21:34:06 +00:00
Max Horn
c7a9865a73
AGI: Change a static var to member var AgiEngine::_lastTickTimer
...
svn-id: r50126
2010-06-21 21:33:45 +00:00
Max Horn
e7da62763e
AGI: Turn timerHack and curLogic into AgiEngine members; get rid of some #defines
...
svn-id: r50125
2010-06-21 21:33:22 +00:00
Max Horn
df569a6c82
AGI: Change AGI commands/opcodes to member methods
...
svn-id: r50124
2010-06-21 21:32:56 +00:00
Filippos Karapetis
9d5d9e13ae
Fixed the demo of Hoyle 4 by adding two selectors it needs "syncTime" and "syncCue". Usually, games that need them are CD talkie versions which have a selector vocabulary, but Hoyle 4 is an exception
...
svn-id: r50122
2010-06-21 21:25:13 +00:00
Filippos Karapetis
97dd94019c
When loading or restarting, stop script processing if the game is being loaded or is restarting and the stack position has changed (it's always changed when loading) - fixes the case where the VM is trying to parse an invalid script
...
svn-id: r50121
2010-06-21 20:17:59 +00:00
Torbjörn Andersson
38b172e8e5
Fixed some Cppcheck warnings. (There are plenty left, if anyone's wondering.)
...
svn-id: r50120
2010-06-21 19:32:25 +00:00
Matthew Hoops
0ab7a16e45
Fix the Hoyle 4 (Hoyle Classic) demo's top offset. It currently errors out later from lacking a selector (static selector problem).
...
svn-id: r50118
2010-06-21 19:07:41 +00:00
Matthew Hoops
9ecbffe11a
Add a workaround for a MUMG script bug, MUMG now works again.
...
svn-id: r50117
2010-06-21 15:51:04 +00:00
Martin Kiewitz
4a4fcb19dd
SCI: added fixme about r50110/r50073
...
svn-id: r50115
2010-06-21 15:05:48 +00:00
Matthew Hoops
faef4ab349
Check against the signature of Groovie v2 cursors with MKID_BE, makes it easier to see what it's doing.
...
svn-id: r50114
2010-06-21 14:44:18 +00:00
Martin Kiewitz
cfcf53bec0
SCI: fix regression of r50073, allNotesOff() now directly sends to driver again. If we send to queue, queue will never actually get processed and even if it was, the channels wouldnt be mapped anymore anyway
...
svn-id: r50110
2010-06-21 10:51:14 +00:00
Martin Kiewitz
8fce660090
SCI: also set throttle trigger on kPalette(animate)
...
svn-id: r50109
2010-06-21 10:40:48 +00:00
Martin Kiewitz
98196b8af6
SCI: GfxPalette::kernelSetIntensity() now also triggers throttler - somewhat "fixes" lb2cd when selecting play game
...
svn-id: r50108
2010-06-21 10:14:04 +00:00
Matthew Hoops
473ae1c11e
Cleaner fix for the QFG4 demo audio map problem.
...
svn-id: r50104
2010-06-20 23:41:54 +00:00
Matthew Hoops
72534afea9
Ignore the broken 65535x.map file in the QFG4 demo, mistakenly picked up when checking for patches. Audio now works there.
...
svn-id: r50102
2010-06-20 22:30:20 +00:00
Martin Kiewitz
7694993bef
SCI: fixed typo
...
svn-id: r50101
2010-06-20 21:14:46 +00:00
Martin Kiewitz
6f195ae5a4
SCI: implemented kPalVary(changeTicks)
...
svn-id: r50100
2010-06-20 21:12:15 +00:00
Martin Kiewitz
4a83b2c5f6
SCI: properly implement kPalVary functionality within kDrawPic and transitions, so pharkas finally works w/o palette corruption
...
svn-id: r50099
2010-06-20 20:52:31 +00:00
Martin Kiewitz
66b9eaac34
SCI: adding timestamp update for frameout, fixes gk1 windows main menu
...
svn-id: r50094
2010-06-20 20:09:07 +00:00
Martin Kiewitz
3a9217dd5a
SCI: disable palvary when reverse is fully done - fixes palette getting stuck in pharkas (the broken palette in there is actually not caused by palvary, it was just overwritten before by view palette updates and those dont occur when palvary is active)
...
svn-id: r50093
2010-06-20 20:05:00 +00:00
Martin Kiewitz
a22e294ca6
SCI: displaying debug warning again for kPalVary(init)
...
svn-id: r50092
2010-06-20 19:39:08 +00:00
Martin Kiewitz
d37a25cfee
SCI: cleanup of SciPalette
...
svn-id: r50091
2010-06-20 19:18:33 +00:00
Martin Kiewitz
05e2bbcc33
SCI: dont display string set by kSetQuitStr
...
svn-id: r50090
2010-06-20 18:22:49 +00:00
Martin Kiewitz
3c6639eb86
SCI: implemented kPalVary(reverse) for pharkas, although there is a bug somewhere, not working 100%
...
svn-id: r50089
2010-06-20 18:20:05 +00:00