Commit Graph

204 Commits

Author SHA1 Message Date
Strangerke
de4060d4a1 TUCKER: Skip the display of the intro and of the chapter number when a game is loaded from launcher 2014-05-25 14:05:14 +02:00
Strangerke
006690789a TUCKER: Add a check to error out when the index isn't found for a given location number 2014-05-24 13:53:42 +02:00
Strangerke
2dc70a9e8b TUCKER: Add a couple of safeguards to avoid out of bound access during the display of credits 2014-05-24 12:55:25 +02:00
Strangerke
e53743ddf9 TUCKER: Add a safeguard to avoid a potential out of bound access 2014-05-24 10:51:58 +02:00
Strangerke
e57a54d1c1 TUCKER: Change the type of the return value of handleSpecialObjectSelectionSequence() 2014-03-21 08:11:07 +01:00
Strangerke
3464bc2051 TUCKER: Fix some uninitialized variables 2014-03-20 07:00:13 +01:00
Strangerke
7363009cd5 TUCKER: Initialize some more pointers with nullptr instead of 0 2014-03-15 13:36:35 +01:00
Strangerke
f30246187e TUCKER: Use boolean instead of integer in several places 2014-03-15 12:34:08 +01:00
Strangerke
661f041472 TUCKER: Initialize some pointers with nullptr instead of 0 2014-03-15 12:02:44 +01:00
Strangerke
0e48803b42 TUCKER: Add a safeguard in updateCharPosition() to avoid a potential out-of-bounds read, change the type of a variable to boolean 2014-03-15 11:42:57 +01:00
Strangerke
3c76acf445 TUCKER: Some renaming in Graphics 2014-03-09 15:13:56 +01:00
Strangerke
369b2c18be TUCKER: Some more refactoring 2014-03-09 11:30:27 +01:00
Strangerke
e4cbc67493 TUCKER: Some more refactoring 2014-03-09 00:35:06 +01:00
Strangerke
113a4ac71a TUCKER: Fix some values assigned to _csDataLoaded 2014-03-09 00:15:27 +01:00
Strangerke
28ade2239a TUCKER: make _panelLockedFlag a boolean instead of an integer 2014-03-09 00:12:34 +01:00
Strangerke
47f9a2dd10 TUCKER: Fix some values assigned to _skipCurrentCharacterDraw 2014-03-09 00:03:21 +01:00
Strangerke
0b9ba6ad29 TUCKER: Some more renaming 2014-03-09 00:00:27 +01:00
Strangerke
0c247b26b4 TUCKER: Some more renaming 2014-03-08 18:36:54 +01:00
Strangerke
81815f0b8a TUCKER: Change the type of some variables to boolean 2014-03-08 18:07:24 +01:00
Strangerke
65b819305d TUCKER: Initialize some uninitialized variables 2014-03-08 17:49:53 +01:00
Strangerke
88aa12387f TUCKER: Avoid a potential string overrun by using strlcpy instead of strcpy 2014-03-07 19:33:31 +01:00
Strangerke
9ce5f1c90c TUCKER: Use a boolean for drawFlag instead of an integer 2014-03-07 19:21:13 +01:00
Strangerke
d0b9a52f64 TUCKER: Some more renaming 2014-03-07 19:21:11 +01:00
Strangerke
fbc63ebd68 TUCKER: Use boolean in place of integer for some members of the Sprite structure 2014-03-07 17:50:36 +01:00
Strangerke
854635c5c1 TUCKER: Start renaming struct members to follow coding/naming conventions 2014-03-07 17:34:48 +01:00
Strangerke
cf33c60282 TUCKER: Remove some useless modification of sprite state 2014-03-07 14:35:56 +01:00
Strangerke
705b48025b TUCKER: Reduce the scope of some variables 2014-03-07 14:33:43 +01:00
Matthew Hoops
740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Johannes Schickel
9e90dcd346 TUCKER: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01: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
D G Turner
ef85456859 BUILD: Remove need for engine.mk in each engine directory.
Each engine now only has to provide a single configure.engine file
adding the engine into the configure script, which then produces the
required other files automatically.
2013-11-24 00:48:01 +00:00
D G Turner
1ac01d2333 BUILD: Remove need for engine-plugin.h in engines.
This is now generated automatically by the configure script from the
engine directory names.
2013-11-24 00:48:01 +00:00
D G Turner
00c27a28f9 BUILD: Split engines/plugins_table header down to a file per engine.
This is the third and final commit enabling fully pluggable engines.

Now providing an engine folder contains a configure.engine, engine.mk
and engine-plugin.h file, it will be picked up automatically by the
configure script.
2013-11-24 00:48:01 +00:00
D G Turner
d77cf95a18 BUILD: Split engines.mk down to a single file per engine.
This is the second part of allowing engines to be added dynamically.
Each folder in engines/ which must contain a file named "engine.mk"
containing the make definitions for that engine.
2013-11-24 00:48:01 +00:00
D G Turner
aa947c9474 BUILD: Split configure.engines down to a single file per engine.
This is the first part of allowing engines to be added dynamically.
They are placed into a folder in engines/ which must contain a file
named "configure.engine" to add the engine, which is pulled into the
top level configure script automatically.
2013-11-24 00:45:38 +00:00
Johannes Schickel
4318410731 TUCKER: Take advantage of Surface::getPixels. 2013-08-03 04:02:53 +02:00
Johannes Schickel
d26817a6b8 TUCKER: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:34 +02:00
D G Turner
7381fcdf30 TUCKER: Amend fix for bug #3614697 - "Spanish version uncompletable..."
The mof instruction needs to return 0 or 1 to continue execution, rather
than 2 which indicates to end table instruction execution. Using 0 as
this is most likely correct value.
2013-07-16 20:30:30 +01:00
D G Turner
485118ecd9 TUCKER: Add support for skipping unhandled/invalid instructions.
This ensures that if any unhandled/invalid instructions are present,
they are skipped, rather than locking up engine execution.

This is a secondary fix for bug #3614697 - "Spanish version
uncompletable at end of 2nd part" and any other future bugs of this
type.
2013-07-14 05:07:11 +01:00
D G Turner
1946dead77 TUCKER: Fix for bug #3614697 - "Spanish version uncompletable..."
This add support for the unhandled "mof" instruction present in the
Spanish version. This effectively skips it as a NOP/invalid, which
prevents it locking up the game at the end of the 2nd part.
2013-07-14 05:04:02 +01:00
Willem Jan Palenstijn
52541fc257 TUCKER: Fix palette fades
This is a regression from 362b0cd5e4
and fixes bug #3614686.
2013-07-12 21:17:40 +02:00
Matthew Hoops
0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Max Horn
cdfd5f85c8 ENGINES: Silence clang warning about unused private member _vm
This affects the Console / debugger classes of multiple engines.
An alternative solution would have been to remove the unused _vm
member vars. However, it seems likely that in the future, the _vm
member could be useful for methods added to the console. So instead,
we add a simple assert(_vm) to silence the clang warning.
2013-04-18 23:50:19 +02:00
Filippos Karapetis
617545cb5f TUCKER: Switch to the common PCX decoder 2012-09-13 01:50:45 +03:00
Matthew Hoops
5db42076b8 VIDEO: Convert FlicDecoder to the new AdvancedVideoDecoder API
The video no longer automatically loops (unused in-tree) and must have rewind() called manually
2012-08-12 08:43:32 -04:00
Tarek Soliman
edc5249772 JANITORIAL: Fix template definition whitespace 2012-02-10 21:17:27 -06:00
Gregory Montoir
65608952c2 TUCKER: remove duplicated logic branches in locations 48 and 66 (checked against the original) 2011-12-02 21:13:16 +01:00
Strangerke
bab4b6f729 LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE) 2011-11-16 22:38:58 +01:00
Filippos Karapetis
86387f1d70 TUCKER: Added FIXMEs for seemingly superfluous logic branches 2011-11-03 22:53:32 +02:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00