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
Florian Kagerer
78fb62bcdf
LAUNCHER: hopefully fixed music driver selection via command line
...
svn-id: r50158
2010-06-22 18:27:00 +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