Commit Graph

596 Commits

Author SHA1 Message Date
Strangerke
26d5c3507a DRACI: Initialize a variable, some rework on the initialization of pointers and booleans 2014-05-25 17:18:35 +02:00
D G Turner
fc8e00b17a DRACI: Add missing _isPositionLoaded initialization.
Fixes CID 1003405.
2014-05-20 16:17:25 +01:00
Matthew Hoops
159f2128bb DRACI: Silence warning 2014-05-03 14:47:04 -04:00
lukaslw
ad842e61da DRACI: Inventory opening after finished callback. 2014-04-28 21:49:34 +02:00
lukaslw
b3de0843a9 DRACI: Opening inventory during movements and actions. 2014-04-28 21:42:10 +02:00
lukaslw
43e3a58c2c DRACI: Hero postion in first new room after loading. 2014-03-11 16:42:53 +01:00
lukaslw
4128595360 DRACI: Fading out improvements. 2014-03-08 16:24:17 +01:00
lukaslw
579c343d13 DRACI: Saving improvements (item in hand and hero position). 2014-03-08 16:21:57 +01:00
Johannes Schickel
df777fee2a DRACI: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
Strangerke
c39f7d95c9 DRACI: Janitorial - Remove trailing spaces 2014-02-16 18:36:24 +01:00
Johannes Schickel
0e017f007a Merge pull request #375 from digitall/engineAutoPlug
RFC: Pluggable Engines #2 (No Python, just evolution of current configure shell and make code)
2013-11-26 02:27:11 -08:00
Strangerke
14cb73789e DRACI: Rework formatting of gplCommands 2013-11-24 02:40:38 +01:00
Strangerke
aa2371c3d8 DRACI: Janitorial - Fix spacing errors 2013-11-24 02:00:21 +01: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
Eugene Sandulenko
2a6a23e88a DRACI: Initialized class variables. CID 1003405 2013-10-18 15:59:22 +03:00
Eugene Sandulenko
834ff819df DRACI: Fix negative array index read. CID 1003548 2013-10-18 15:56:50 +03:00
Eugene Sandulenko
734abb5a53 DRACI: Fix potential sign extention. CID 1003514 2013-10-17 14:18:27 +03:00
Eugene Sandulenko
2a65976092 DRACI: Fix potential sign extention. CID 1003513 2013-10-17 14:16:23 +03:00
Eugene Sandulenko
78dc1c70d5 DRACI: Fix uninitialized variabled. CID 1003404 2013-10-17 14:14:19 +03:00
Eugene Sandulenko
ae38d943ae DRACI: Fix uninitalized variables. CID 1003406 2013-10-17 14:11:07 +03:00
Eugene Sandulenko
ae17206ce7 DRACI: Fix uninitalized variables. CID 1003405 2013-10-17 14:08:37 +03:00
Eugene Sandulenko
74172a7449 DRACI: Fix potential negative array index read. CID 1003548 2013-10-17 14:03:37 +03:00
Eugene Sandulenko
54ebfe7dde DRACI: Fix potential division by zero. CID 1003841 2013-10-17 14:01:49 +03:00
Johannes Schickel
f8ffe816d6 DRACI: Take advantage of Surface::getPixels. 2013-08-03 04:02:50 +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
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
Johannes Schickel
a513585358 DRACI: Slight cleanup in querySaveMetaInfos. 2012-07-03 18:39:50 +02:00
Tarek Soliman
921f602ab8 JANITORIAL: Fix whitespace in pointer template arg 2012-02-15 10:07:08 -06:00
Torbjörn Andersson
16f2c5cdb6 DRACI: Move readByte() and readUint32LE() out of assert() 2012-01-15 00:04:28 +01:00
D G Turner
d3a187c298 DRACI: Replace usage of 'goto'. 2011-12-08 03:31:29 +00:00
Strangerke
bab4b6f729 LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE) 2011-11-16 22:38:58 +01:00
Johannes Schickel
012367312d DRACI: Update comment regarding SharedPtr/ScopedPtr. 2011-11-16 20:31:22 +01:00
Eugene Sandulenko
7e57a87479 DRACI: Fix warning 2011-11-02 23:08:23 +00:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Paul Gilbert
9bb978486b COMMON: Fix multiple engines asserting in querySaveMetaInfos for empty save slots 2011-10-01 17:50:19 +10:00
Johannes Schickel
e4a94d865f DRACI: Made some static data const. 2011-09-08 19:59:36 +02:00
Christoph Mallon
e35b4f20c1 GRAPHICS: Simplify the interface of Graphics::loadThumbnail().
Now it returns the Surface, so the caller does not need to create one and pass it.
2011-08-07 15:19:09 +02:00
Julien
e610a17fc3 DRACI: Allocate no-sound buffer on the heap in LegacySoundArchive::openArchive() 2011-06-23 15:11:38 +08:00
Julien
1cc7faa242 DRACI: Replace abort() call by error() 2011-06-23 15:11:36 +08:00
Max Horn
7c992d6598 DETECTOR: Merge ADParams into AdvancedMetaEngine 2011-06-14 18:17:01 +02:00
Max Horn
8174f7d521 DRACI: Switch to alternate AdvancedMetaEngine, avoid ADParams 2011-06-10 22:15:41 +02:00
Max Horn
4827cc914a ENGINES: Change incorrect use of 'target' to 'gameid' 2011-06-10 22:15:40 +02:00
Max Horn
477d6233c3 ENGINES: Change 2nd param of Engine::saveGameState to Common::String 2011-06-02 18:31:59 +02:00
Max Horn
668ae0363e DRACI: Remove all instances of s(n)printf 2011-06-02 10:46:29 +02:00
D G Turner
4b6c1a0c2b DRACI: Replace snprintf() usage with Common::String::format()
Safer and less portability issues.
2011-06-02 03:27:44 +01:00