Matthew Hoops
69bf70d693
Silence gcc warnings.
...
svn-id: r50902
2010-07-15 01:48:28 +00:00
Alejandro Marzini
e47c64dd34
Fixed compile error.
...
svn-id: r50901
2010-07-15 01:46:02 +00:00
Alejandro Marzini
f53028d4a2
Replaced the extra SDL functions added to GraphicsManager with an EventObserver in SdlGraphicsManager.
...
svn-id: r50900
2010-07-15 01:21:20 +00:00
Alejandro Marzini
84ceae9328
Check if USE_OPENGL is defined for compiling OpenGL code.
...
svn-id: r50842
2010-07-13 05:38:10 +00:00
Alejandro Marzini
5f86d11275
Added OpenGL feature to Create MSVC tool.
...
svn-id: r50841
2010-07-13 04:57:31 +00:00
Alejandro Marzini
609e08d5db
Merged from trunk, from Rev 49499 to HEAD
...
svn-id: r50840
2010-07-13 04:31:15 +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
Alejandro Marzini
8b6a670391
OpenGL manager: Implemented PixelFormat functions. Implemented GFX methods. Changed how GLTexture determines its format.
...
svn-id: r50811
2010-07-12 06:00:19 +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
Matthew Hoops
a1161feed2
Fix compile on Mac OS X.
...
svn-id: r50801
2010-07-11 16:11:28 +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
Alejandro Marzini
4dca7c7e02
Moved getGraphicsManager() from OSystem_SDL to ModularBackend. Moved public SDL graphics manager functions to graphics manager (Allowing OpenGLSdlGraphicsMaanger to be used with other SDL managers easily). Removed BaseSdlGraphicsManager. Implemented in the opengl manager basic screen functions.
...
svn-id: r50796
2010-07-11 04:32:24 +00:00
Alejandro Marzini
85034dc730
Added BaseSdlGraphicsManager. Added GLTexture.
...
svn-id: r50795
2010-07-10 22:47:29 +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