Commit Graph

39237 Commits

Author SHA1 Message Date
Martin Kiewitz
d2b47ee775 SCI: change handling of priority in combination with embedded cels inside picture resources, change in r49029 was wrong - fixes pq1 (map not changing when driving car)
svn-id: r50845
2010-07-13 15:42:59 +00:00
Yotam Barnoy
762c569207 PSP: Typos in trace.h
svn-id: r50844
2010-07-13 08:00:22 +00:00
Max Horn
03c0faa5d7 SCI: Move breakpoint checks into SciEngine methods
svn-id: r50837
2010-07-12 23:21:03 +00:00
Max Horn
1d3a0f6dec SCI: Turn global object g_debugState into SciEngine member var
svn-id: r50836
2010-07-12 23:20:33 +00:00
Max Horn
dcd520ce31 Get rid of yet another global object with constructor
svn-id: r50835
2010-07-12 23:19:56 +00:00
Max Horn
4f914e7a9f TINSEL: Replace global object s_rectList by a TinselEngine member var
svn-id: r50834
2010-07-12 23:19:33 +00:00
Max Horn
e2c1ee853a SDL: Tweak OSystem_SDL::detectSupportedFormats a bit
Previously, the code in OSystem_SDL::detectSupportedFormats
assumed that the arrays RGBList and BGRList had the exact
same length, and that the entries in each mirrored those in
the other 100%. Instead of relying on that, the code now
simply iterates over both lists separately. This changes the
resulting order a bit, but since we never gave any
guarantees on that, this should not matter.

svn-id: r50833
2010-07-12 23:19:08 +00:00
Max Horn
8e9d933658 SDL: Overhaul OSystem_SDL::getSupportedFormats
* Do not use global constructor for the RGBList and BGRList
  tables anymore, by moving them inside a function.
* Update the list of supported formats if the hardware
  screen surface changes. Previously, the list of supported
  pixel formats (and its order) was computed only once and
  then never changed.

svn-id: r50832
2010-07-12 23:18:44 +00:00
Martin Kiewitz
6ff4dd2d91 SCI: changing how savegame ids are handled internally. Using range 0-999 so that scripts are able to signal us to create new slots, using range 1000-1999 for official slots. fixes lsl6 quicksave overwriting wrong save slots
svn-id: r50831
2010-07-12 22:26:48 +00:00
Johannes Schickel
8d7bc0eab5 Some documentation fixes.
svn-id: r50830
2010-07-12 20:17:42 +00:00
Martin Kiewitz
d52a872724 SCI: changing gameid of lsl6 sci2.1 into "lsl6hires". We need to keep workarounds etc. separate, scripts are not compatible
svn-id: r50829
2010-07-12 19:55:42 +00:00
Martin Kiewitz
0c42441426 SCI: added TODO for saved games
svn-id: r50828
2010-07-12 19:41:26 +00:00
Martin Kiewitz
535dbb7f59 SCI: fixing typo
svn-id: r50827
2010-07-12 18:22:24 +00:00
Martin Kiewitz
8364b0bd29 SCI: adding kUnLoad workaround for lsl6 (during end kUnLoad is called with additional 4 parameters, someone thought the API would work differently)
svn-id: r50826
2010-07-12 17:50:36 +00:00
Johannes Schickel
9522e68f76 Whops. Also now properly add Matteo's nickname to our credits.
svn-id: r50824
2010-07-12 15:53:24 +00:00
Johannes Schickel
9644e7fe5f Properly add Matteo Angelino to our credits for his Italian translation.
svn-id: r50822
2010-07-12 15:50:48 +00:00
Johannes Schickel
ac268edafb Consistently use "MT-32" as short name of the Roland MT-32 in our GUI and credits files.
svn-id: r50821
2010-07-12 15:50:23 +00:00
Martin Kiewitz
8fa759adb3 SCI: adding workaround for signature mismatch when giving merrily the key to the bungee tower
svn-id: r50820
2010-07-12 12:31:13 +00:00
Martin Kiewitz
ad098addd2 SCI: adding uninitialized workaround for lsl6
svn-id: r50819
2010-07-12 11:20:42 +00:00
Max Horn
20ef5c5623 SCI: Fix warning
svn-id: r50818
2010-07-12 11:09:29 +00:00
Max Horn
e782fec85a SCI: Remove dead code
svn-id: r50817
2010-07-12 11:09:11 +00:00
Martin Kiewitz
698a347da6 SCI: adding another restore workaround for lsl6
svn-id: r50816
2010-07-12 10:47:47 +00:00
Martin Kiewitz
21c9106620 SCI: added another workaround for lsl6 kGraph(restoreBox)
svn-id: r50815
2010-07-12 10:31:32 +00:00
Martin Kiewitz
c1e954bdad SCI: add workaround for lsl6 restore issue (needs to get further investigated), hunk segment is used but hunk segment isn't existant at that point when restoring the game
svn-id: r50814
2010-07-12 09:24:18 +00:00
Martin Kiewitz
101498e770 SCI: adding 3 uninitialized temp workarounds for kq6 - found and created by Ceriand, thanx
svn-id: r50813
2010-07-12 08:59:43 +00:00
Martin Kiewitz
4c9ad98dfe SCI: returning 0 when parameter reads go out-of-bounds, onto the stack and hit an uninitialized temp, fixes pq2 .490
svn-id: r50812
2010-07-12 08:38:30 +00:00
Thierry Crozat
e3d48dc9c2 Update German translation.
svn-id: r50808
2010-07-11 21:15:24 +00:00
Martin Kiewitz
115d7d0132 SCI: fix signature loading for subops, fixes kq6 signature mismatch
svn-id: r50807
2010-07-11 21:03:23 +00:00
Martin Kiewitz
a94b25f99c SCI: kUnLoad - removing unneeded warnings (signature mismatch will happen now), added information about parameters
svn-id: r50806
2010-07-11 19:16:16 +00:00
Martin Kiewitz
737f2c0fa4 SCI: adding signature workaround for script error in lsl6 during intro, also changing comments of other workarounds
svn-id: r50805
2010-07-11 19:11:48 +00:00
Martin Kiewitz
219a6627c2 SCI: changing uninitialized workaround for lsl6 narrator
svn-id: r50804
2010-07-11 18:51:28 +00:00
Martin Kiewitz
30a28ec107 SCI: remove "a:" from default export hero quest 1 filename "a:hq1_hero.sav"
svn-id: r50803
2010-07-11 16:55:08 +00:00
Martin Kiewitz
38d79f60e3 SCI: changing signature for kDoSound(resume) it seems its called right after restoring to resume music - which we do already automatically
svn-id: r50800
2010-07-11 11:52:17 +00:00
Martin Kiewitz
110d644f49 SCI: adding workaround for signature mismatch for kDoSound(fade) in kq6 floppy/demo
svn-id: r50799
2010-07-11 11:12:03 +00:00
Martin Kiewitz
c77c84f5c5 SCI: also sync palette after playing movies, fixes kq6 intro
svn-id: r50798
2010-07-11 10:11:31 +00:00
Martin Kiewitz
df6ead5f93 SCI: calling speed throttler as well from kPalette(setIntensity) if needed - fixes kq6 intro
svn-id: r50794
2010-07-10 22:27:28 +00:00
Martin Kiewitz
5721b75205 SCI: fixing kGraph(updateBox) signature for kq6 hires/lowres (allowing null reference)
svn-id: r50793
2010-07-10 21:47:37 +00:00
Martin Kiewitz
09fd47236d SCI: adding to execstack only right before executing kernel call, otherwise it wouldnt be possible to skip over sub-function kernel calls via workarounds
svn-id: r50792
2010-07-10 20:50:52 +00:00
Martin Kiewitz
5e4d4fde67 SCI: adding workaround for kGraph(fillBoxAny) in sq4cd when accessing the game menu
svn-id: r50791
2010-07-10 20:45:59 +00:00
Martin Kiewitz
5c2489f153 SCI: removing hoyle workaround from kAbs & signature and adding it into workaround table
svn-id: r50790
2010-07-10 19:58:25 +00:00
Martin Kiewitz
8b112704b2 SCI: adding descriptive comments for subop-tables
svn-id: r50788
2010-07-10 18:34:38 +00:00
Martin Kiewitz
a92a8d3c54 SCI: adding workaround for script error when leaving ulence flats bar in sq1
svn-id: r50787
2010-07-10 18:31:11 +00:00
Martin Kiewitz
790e9b0351 SCI: added signatures for kGraph, removed isDummy boolean from KernelFunction
svn-id: r50786
2010-07-10 18:21:09 +00:00
Martin Kiewitz
b7906e7feb SCI: allow invalid handles in kDisplay calls, fixes pq3 intro signature mismatch
svn-id: r50785
2010-07-10 17:08:42 +00:00
Martin Kiewitz
28d07c7e0a SCI: calculate widths for menu after switching to menuport, i guess this was the reason why we sometimes had issues drawing parts of the menu (random issue)
svn-id: r50784
2010-07-10 16:22:08 +00:00
Martin Kiewitz
e807983e8f SCI: removed unused debug flags, changed fileio debug prints to only happen on debugflag "file"
svn-id: r50782
2010-07-10 14:00:43 +00:00
Martin Kiewitz
ce6a73adf5 SCI: updated debug output from kDoSound
svn-id: r50781
2010-07-10 13:19:20 +00:00
Martin Kiewitz
f38348b82e SCI: adding kPalette signatures, fixing 3 kPalVary calls, fixing kAssertPalette (we used the wrong parameter number before, maybe the issues were caused by this)
svn-id: r50780
2010-07-10 12:19:32 +00:00
Torbjörn Andersson
cfc93a7e4d Simplified the expression.
svn-id: r50779
2010-07-10 11:16:46 +00:00
Torbjörn Andersson
bab61443ac Fixed warning.
svn-id: r50778
2010-07-10 11:15:10 +00:00