Commit Graph

390 Commits

Author SHA1 Message Date
Strangerke
14a59b97b2 CGE: Silent some CppCheck warnings 2012-07-05 21:31:43 +02:00
Strangerke
b1cc34a080 CGE: Remove hack used to store keycode in CGEEvent 2012-07-05 21:31:42 +02:00
Strangerke
4201d4ead0 CGE: Use keycode instead of ascii value 2012-07-03 23:55:48 +02:00
D G Turner
cc02255740 CGE: Fix for missing inventory selection by numeric keys.
This fixes bug #3539671.
2012-07-03 21:43:04 +01:00
Johannes Schickel
afa94697dc CGE: Slight cleanup in querySaveMetaInfos. 2012-07-03 18:39:49 +02:00
Strangerke
d73ed91051 CGE: Remove unused Demo text id 2012-06-28 07:25:56 +02:00
Strangerke
647bc59f99 CGE: Rename variable 2012-06-28 07:19:54 +02:00
Strangerke
ee14ef5348 CGE: Add ending message to tell the user he finished the game. Fix bug #3538396 2012-06-27 22:12:37 +02:00
Strangerke
f32c9a7735 CGE: Fix bug 3538039 - level buttons not pressed 2012-06-27 01:15:32 +02:00
Strangerke
8b30750f82 CGE: Remove dead code used to display copyright in DOS prompt 2012-06-27 01:15:31 +02:00
Strangerke
80388527ea CGE: Fix SPR files with extra 0x1A or missing ending CRLF. Fix bug #3537527 2012-06-25 23:40:17 +02:00
Strangerke
c7fd284e4a CGE: Fix bug 3537530 - ALTering dice 2012-06-25 00:44:59 +02:00
Strangerke
150011b843 CGE: Fix FX stereo 2012-06-24 23:49:03 +02:00
Strangerke
c4df905e0c CGE: Fix bug #3537529 2012-06-24 21:25:53 +02:00
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