Commit Graph

61862 Commits

Author SHA1 Message Date
Eugene Sandulenko
7d0dc05622 FULLPIPE: More work on scene09_initScene() 2014-02-13 00:50:40 +02:00
uruk
d734e8fc41 AVALANCHE: Implement keyboard control in Help. 2014-02-12 23:40:17 +01:00
Torbjörn Andersson
e5281bc0db AVALANCHE: Made comments ASCII friendly
The comments I introduced earlier (previusly case labels) have been
changed to avoid non-ASCII characters. The descriptions were taken
from an ISO 8859-1 manual page.
2014-02-12 22:58:58 +01:00
Torbjörn Andersson
243bb0dea7 AVALANCHE: Silence GCC warnings
Mainly, GCC complained about case labels having a value less than
the minimum value for the type. Probably because character literals
may be signed or unsigned, while _trigger is always unsigned.
2014-02-12 22:15:28 +01:00
uruk
cb2b1d5ca1 AVALANCHE: Rename/implement rest of getMe(). 2014-02-12 21:39:38 +01:00
Johannes Schickel
24d2e246b4 WINTERMUTE: Use game format for fallback font rendering.
BDF fonts got 32bit drawing support in ece8b7fb65
Thus it is not necessary to draw onto a 16bit surface.
2014-02-12 18:31:06 +01:00
Johannes Schickel
5883f4cc3f OPENGL/SDL: Default to RGBA8888 (memory layout).
This makes sure the default mode also works for OpenGL ES contexts.
2014-02-12 18:06:29 +01:00
Johannes Schickel
5d78542ab8 OPENGL: Always support RGBA8888 (memory layout). 2014-02-12 18:06:29 +01:00
Johannes Schickel
2cab30ee80 OPENGL: Move RGBA8888 (logical layout) to OpenGL specific formats.
The reason here is that GL_UNSIGNED_INT_8_8_8_8 is not supported by the GLES
standard. Thus we cannot use it outside OpenGL specific code paths.
2014-02-12 18:06:29 +01:00
Johannes Schickel
ac5907a804 OPENGL: Use frac_t for cursor scaling. 2014-02-12 17:15:07 +01:00
Johannes Schickel
6576dd758b OPENGL: Simplify shake offset application. 2014-02-12 17:15:07 +01:00
Johannes Schickel
1709486859 OPENGL: Use GLfloat for draw cooridnates in Texture. 2014-02-12 17:15:07 +01:00
Johannes Schickel
49dcd36e72 OPENGL: Use signed types for mouse coordinates.
This adjusts for the fact that our event handling also uses signed coordinates.
2014-02-12 17:15:07 +01:00
Johannes Schickel
ddc70ed9ee OPENGL: Properly use signed types for cursor hotspot. 2014-02-12 17:15:07 +01:00
D G Turner
2589228329 SDL: Add debugging code to output SDL video driver name being used. 2014-02-12 12:11:53 +00:00
D G Turner
a4ad32c5d9 SDL: Add debugging code to output SDL audio driver name being used.
This is to aid with investigation of bug #6510 - "SDL: Audio delay in
daily builds" and similar future issues.
2014-02-12 12:08:47 +00:00
Matthew Hoops
a456295cbd PEGASUS: Fix returning from Mars after destroying the robot's shuttle 2014-02-11 21:07:34 -05:00
uruk
6ffbbc8ab2 AVALANCHE: Move/rename/implement Help::plotButton(). 2014-02-11 23:10:16 +01:00
uruk
db2baa6f06 AVALANCHE: Partially implement Help::getMe().
The drawing of the buttons are still missing.
2014-02-11 22:34:27 +01:00
uruk
62ad697c9a AVALANCHE: Implement Help::run(). 2014-02-11 19:59:05 +01:00
Eugene Sandulenko
450189816d FULLPIPE: Initial code for scene09 2014-02-11 20:26:11 +02:00
Filippos Karapetis
867efd477c WINTERMUTE: Prevent scripts from setting invalid scroll times
Scroll times (ScrollSpeedX, ScrollSpeedY) can't be zero, as this leads
to a division by zero later on. This allows Dreamscape to start and
work properly.
2014-02-11 19:09:39 +02:00
Johannes Schickel
abcadb5d87 OPENGL: Fix cursor regression when defaultFormat doesn't have an alpha channel. 2014-02-11 12:19:30 +01:00
Johannes Schickel
16898486fa OPENGL: Properly setup full game palette on video mode change if required. 2014-02-11 11:10:49 +01:00
Johannes Schickel
1f4638fe82 OPENGL: Refactor texture instantiation. 2014-02-11 11:10:49 +01:00
Johannes Schickel
0063568484 OPENGL: Rename notifyContextChange to notifyContextCreate. 2014-02-11 11:10:49 +01:00
Johannes Schickel
4d3eb4a45a TIZEN: Notify OpenGL manager about context destruction. 2014-02-11 11:10:49 +01:00
Johannes Schickel
b5ca9f5f10 OPENGLSDL: Notify OpenGL manager about context destruction. 2014-02-11 11:10:49 +01:00
Johannes Schickel
8be41e4f2c OPENGL: Add notification function about context destruction. 2014-02-11 11:10:48 +01:00
Johannes Schickel
602d3034a9 OPENGL: Release old texture name before creating a new one.
This prevents any texture name leaks (and thus memory leaks) on
recreateInternalTexture calls.
2014-02-11 11:10:48 +01:00
Eugene Sandulenko
1970bf81e5 FULLPIPE: Finish renames in scene27. This completes the scene 2014-02-10 23:30:36 +02:00
Eugene Sandulenko
39e28d5cf7 FULLPIPE: Finish var renames in scene27 2014-02-10 23:30:35 +02:00
Eugene Sandulenko
f3629af0d5 FULLPIPE: Started renames in scene27 2014-02-10 23:30:35 +02:00
David Turner
ae16c989ae Merge pull request #407 from digitall/advancedDetector_queen
Migration of Queen Engine to Advanced Detector
2014-02-10 15:05:20 +00:00
D G Turner
1348b82aaa QUEEN: Migrate extra gui options to AdvancedMetaEngine handling. 2014-02-10 15:02:36 +00:00
D G Turner
7d4c625c4e QUEEN: Switch all savegame usage back to "queen.sXX" format.
The target is not just a bare "queen", but is postfixed by language
variant (and CD if used).

Using this for the savegame naming would be good as it allows several
language variants to have different co-existing savegame sets without
causing conflicts. However, if the savegame format is the same across
all language variants, then using the same naming allows easier
switching between languages if testing.

Currently the queen engine uses a single set of savegames named in the
format "queen.sXX" which are used for all languages, as the format
appears to be compatible across language variants. This may require
changing in future, if a variant with incompatible savegame format
is discovered.
2014-02-10 14:59:44 +00:00
dergunov
3a5554f7ba TUCKER: Fix bug #6381 - "TUCKER: In 3rd part, "Use Peg" fails..."
"Use Peg" is a single-item action and these are hardcoded in the
engine. The default otherwise is dual-item action "Use X on Y".
2014-02-10 14:48:50 +00:00
uruk
3f6d71dd25 AVALANCHE: Implement 'winning_pic'. 2014-02-10 10:49:39 +01:00
Strangerke
a4583ade56 AVALANCHE: Add missing braces 2014-02-10 07:04:49 +01:00
Eugene Sandulenko
a12e32983c FULLPIPE: Fix buffer overruns in scene27 2014-02-09 22:02:06 +02:00
Strangerke
2937727018 CINE: Reduce the scope of some variables, optimize a couple of iterator increment 2014-02-09 20:41:08 +01:00
Strangerke
78eff8fea9 GOB: Fascination - Reduce the scope of a couple of variables 2014-02-09 20:26:47 +01:00
Strangerke
7e0bf95a31 MORTEVIELLE: Reduce the scope of some variables 2014-02-09 20:22:59 +01:00
Strangerke
5cc2315b38 AVALANCHE: Initialize a couple of uninitialized variables 2014-02-09 20:11:55 +01:00
Strangerke
bd59c19fdf HOPKINS: Remove useless assignation 2014-02-09 20:10:26 +01:00
Strangerke
56664d036f HOPKINS: Reduce the scope of some more variables 2014-02-09 20:06:08 +01:00
Paul Gilbert
4ae6d57a03 TSAGE: Fix smoke transparency effect in the R2R drive room 2014-02-09 10:45:21 -05:00
Paul Gilbert
8c9d7f9343 AVALANCHE: Remove pingo.o from makefile 2014-02-09 10:32:59 -05:00
uruk
d0c5911481 AVALANCHE: Repair comment formatting. 2014-02-09 15:35:20 +01:00
uruk
3df5f2ad41 AVALANCHE: Remove Pingo. 2014-02-09 15:25:10 +01:00