Commit Graph

376 Commits

Author SHA1 Message Date
Johannes Schickel
4fb9bceabc Merge pull request #246 from lordhoto/osystem-void-buffers
OSYSTEM: Use void buffers for screen/overlay/mouse buffers and proper pitch values for overlay code
2012-06-20 08:02:26 -07:00
Strangerke
ad2b898eb3 CGE: Remove dead code originally used to load a savegame when starting the game 2012-06-18 20:59:52 +02:00
Johannes Schickel
d4a5615a8b CGE: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:38:56 +02:00
Johannes Schickel
7c5cf1b400 GUI: Add helper to SaveLoadChooser, which uses the currently active target.
This reduces the code duplication in all client code, which formerly duplicated
the querying of the plugin, game id etc. and now simply calls the newly added
method runModalWithCurrentTarget() on a SaveLoadChooser object.
2012-06-10 04:53:17 +02:00
Johannes Schickel
15046a7529 GUI: Get rid of SaveLoadChooser::setSaveMode.
We already pass the title and process button name to the constructor of
SaveLoadChooser and then do not offer any way of changing it, thus changing
the edit mode of the chooser is kind of pointless and was never actually used.
Instead we pass the mode on SaveLoadChooser construction now.
2012-06-10 04:19:45 +02:00
D G Turner
b01d712a63 CGE: Close memory leak in savegame loading. 2012-03-28 01:51:56 +01:00
D G Turner
6523a32334 CGE: Close memory leak in sound Fx caching.. 2012-03-28 01:11:41 +01:00
D G Turner
83d4eeadc6 CGE: Close memory leak in savegame thumbnail loading. 2012-03-28 00:10:56 +01:00
Christoph Mallon
983cd21294 JANITORIAL: Do not convert false to a null pointer. 2012-03-13 15:42:38 +01:00
Alyssa Milburn
050902756e CGE: Use WRITE_LE_UINT16 for unaligned writes. 2012-02-24 19:46:47 +11:00
Max Horn
4202d45fce CGE: Avoid including advancedDetector.h from cge.h 2012-02-22 18:25:37 +01:00
Willem Jan Palenstijn
9ffe3e11d9 Merge pull request #182 from fingolfin/forbid-ctype
ALL: Avoid using is* macros from ctype.h
2012-02-21 11:33:32 -08:00
Max Horn
4f8665fc83 COMMON: Move isFoo functions to namespace Common, add doxygen comments 2012-02-20 16:18:27 +01:00
Max Horn
08223e9746 CGE: Change detector singleid to be all lowercase 2012-02-16 11:12:24 +01:00
Max Horn
658080deed ALL: Avoid using is* macros from ctype.h
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00
Paul Gilbert
0319cd06ef CGE: Added explicit 'PACKED_STRUCT' macro to the HideDesc structure 2011-12-22 19:30:47 +11:00
Thierry Crozat
b419f73973 CGE: Fix issue with music not stopping when reloading game
If you turn off the music and then save a game, then turn on the music
again and then load the saved game, the music from the scene continue
to play despite the _music flag being false. So the first time you click on
the music on/off button the music restart and only the second time
does it stop. This fixes the bug by stoping the music before reloading
a game.
2011-12-07 07:59:19 +00:00
Strangerke
b94b4e631b CGE: Remove useless function 2011-12-05 21:03:21 +01:00
Strangerke
f3884d1a98 CGE: Better handling of the wide 'space' character 2011-12-05 20:59:51 +01:00
Strangerke
9eebe512c8 CGE: Add a hack to fix bug #3450423 (infoline too large in polish version, scene 14) 2011-12-05 00:02:25 +01:00
Strangerke
14cdd034a8 CGE: Fix an assert in intro 2011-12-03 18:25:10 +01:00
Strangerke
816b65ff2c CGE: Soltys - Fix initialization of a couple of bool variables 2011-12-03 17:52:05 +01:00
Strangerke
ab2e5015af CGE: Soltys - Fix for bug #3448836 (losing scene number display after loading and changing scene) 2011-12-03 14:55:04 +01:00
Strangerke
22263bd763 CGE: Only skips animations when pressing ESC.
This should allow tsoliman to see the end of the intro
2011-11-30 21:21:34 +01:00
Strangerke
a12ba5f6a6 CGE: Simplify keyboard handling 2011-11-30 19:52:19 +01:00
Strangerke
d263bd26f2 CGE: Remove several useless constants in Keys enum 2011-11-30 00:06:57 +01:00
Strangerke
7320066113 CGE: Remove key sound in System::touch().
ALTering dice no longer is no longer noisy
2011-11-29 23:27:35 +01:00
Strangerke
5954b8bfeb CGE: Remove useless debugging traces 2011-11-28 18:55:13 +01:00
Strangerke
b3c9b51e46 CGE: Add to the console a function to display boundaries 2011-11-28 18:54:01 +01:00
Strangerke
d9e86715d6 CGE: Fix Valgrind warning (thanks to digitall) 2011-11-27 16:53:56 +01:00
Paul Gilbert
37756c9ffe CGE: Better fix for restoring savegames when a cut-scene is active 2011-11-27 22:16:52 +11:00
Paul Gilbert
7d9caea68a CGE: Fix setting up scene barriers when starting a new game 2011-11-27 21:51:13 +11:00
Strangerke
a9fb11b704 CGE: Fix Console attach code 2011-11-27 10:05:55 +01:00
Paul Gilbert
50ce261dda CGE: Hooked up the ScummVM debugger 2011-11-27 19:57:34 +11:00
Paul Gilbert
e4c1305826 CGE: Disable restoring games whilst a cut-scene is active
This is because previously after restoring you could no longer move the Chief.
2011-11-27 18:43:07 +11:00
Torbjörn Andersson
6e9fe4e365 CGE: Fix mismatched free() / delete / delete [] Valgrind warning. 2011-11-27 08:40:12 +01:00
Torbjörn Andersson
da626f786d CGE: Remove unused functions, moveVmap() and moveShapes(). 2011-11-27 08:34:47 +01:00
Strangerke
bab4b6f729 LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE) 2011-11-16 22:38:58 +01:00
Johannes Schickel
61795739f8 COMMON: Rename Common::set_to to Common::fill.
This makes the name match with the name of the STL function with the same
behavior.
2011-11-16 18:06:30 +01:00
Strangerke
a1ff0ec744 CGE: Fix GUIO1 on an entry for consistency in detection 2011-11-16 00:03:24 +01:00
Strangerke
3d59d9a137 CGE: Add RTL, hook Main Menu to right click on audio button 2011-11-16 00:00:07 +01:00
Strangerke
f028edb491 CGE: Add detection for our Freeware versions of Soltys 2011-11-14 23:46:17 +01:00
Strangerke
1f405afbda CGE: Add check in order to avoid the display of empty text-boxes 2011-11-14 18:27:26 +01:00
Strangerke
d2027b0290 CGE: Rename a structure member using double-underscore (reserved)
Also removed a useless comment
2011-11-14 18:24:46 +01:00
Strangerke
c6c9620ff2 CGE: Remove some useless constants 2011-11-13 12:48:09 +01:00
Strangerke
8097aeb43a CGE: F1 now displays Soltys version and translators.
This is only available in versions modified or translated by the team
2011-11-13 12:33:36 +01:00
Paul Gilbert
17027a7afc CGE: Properly stop player moving when saving or restoring 2011-11-09 19:34:43 +11:00
Paul Gilbert
09a48a0878 CGE: Bugfixes for the save/load game keys 2011-11-08 20:37:14 +11:00
Paul Gilbert
b1c10ef2f0 CGE: Don't allow saving game during cut-scenes 2011-11-08 20:32:41 +11:00
Eugene Sandulenko
558a499a02 CGE: Fix warning 2011-11-03 00:03:04 +00:00