Commit Graph

401 Commits

Author SHA1 Message Date
Strangerke
e4ec07a6a1 CGE: Add safeguards in text manager 2013-04-18 08:10:07 +02:00
Strangerke
0aa028c3f1 CGE: Add safeguard in expand() 2013-04-18 07:57:26 +02:00
Strangerke
ea5b0b3312 CGE: Fix uninitialized variables 2013-04-17 07:58:25 +02:00
Strangerke
76bf7b7c04 CGE: Add workaround for the dice puzzle for the devices not using a ALT key 2013-02-24 11:23:49 +01:00
Torbjörn Andersson
af64cad069 JANITORIAL: Replace some spaces with tabs 2012-12-16 09:35:52 +01:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Strangerke
6472ef86bb CGE: Fix bug #3557904 - Shadow at wrong position 2012-09-05 08:12:14 +02:00
Strangerke
5c522575c7 CGE: Keep Soltys' position when saving 2012-08-05 22:24:32 +02:00
Strangerke
de752a5336 CGE: Fix bug #3547274 - missing travel buttons after save 2012-08-04 23:51:27 +02:00
Johannes Schickel
e8fd51e56b Merge pull request #252 from DrMcCoy/detector_public_reportUnknown
DETECTOR: Make reportUnknown() accessible to inherited AdvancedMetaEngine classes
2012-07-29 16:19:00 -07:00
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
Sven Hesse
2c760cb15e DETECTOR: Make detectGameFilebased() return a list of MD5s and file sizes
Since we need a FSNode parent for Mac resource forks, we need to change
signature of detectGameFilebased(), too.
2012-06-27 05:14:18 +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