Commit Graph

368 Commits

Author SHA1 Message Date
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
Eugene Sandulenko
a95820956e CGE: Fix array bounds check 2011-11-02 23:58:29 +00:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Thierry Crozat
52c42a13d2 CGE: Remove end of line in error message.
This caused the punctuation mark to be displayed on the next line.
2011-10-23 14:07:30 +01:00
Strangerke
727afcf4bd CGE: Add some doxygen comments 2011-10-22 06:30:04 +02:00
Strangerke
a9abe40a12 CGE: Add come comments in inventory functions 2011-10-09 11:24:43 +02:00
Strangerke
3ac1240b6a CGE: Translate (and clarify) polish comments. Add a couple of doxygen comments
Thanks Aquadran for the initial translation of Polish comments
2011-10-01 11:10:49 +02:00
Paul Gilbert
9bb978486b COMMON: Fix multiple engines asserting in querySaveMetaInfos for empty save slots 2011-10-01 17:50:19 +10:00
Strangerke
c67e272451 CGE: Music now always loop, like in the original game 2011-09-30 08:28:09 +02:00