Commit Graph
586 Commits
Author SHA1 Message Date
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
Matthew Hoops 9539017ee3 ALL: initialise -> initialize 2011-05-25 11:17:11 -04:00
Thierry Crozat d2a55b42c9 ENGINES: Further unify engine names 2011-05-22 12:47:35 +01:00
Max Horn 4cbe4ede66 COMMON: Registers RandomSources in constructor with the event recorder
This also removes the dependency of engines on the event recorder header
and API, and will make it easier to RandomSources that are not properly
registered.
2011-05-17 12:17:26 +02:00
Thierry Crozat 3c59e37035 ENGINES: Unify engine names
This unifies the engine names in MetaEngine::getName() and the
credits. In particular drop "Engine" or "engine" from the names when
it was present and use expanded names in credits when the
MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-16 00:11:32 +01:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel 71bdb86e02 Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16

Conflicts:
	graphics/png.cpp
2011-05-01 16:54:45 +02:00
Ori Avtalion 9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Ori Avtalion cd6ee0589d JANITORIAL: Format forward declarations to follow convention 2011-04-28 12:20:34 +03:00
D G Turner 1d93c80c14 DRACI: Fix VS2010 Code Analysis Warnings Reported in Bug #3290634
Minor correction to use integer value, rather than boolean.
2011-04-22 03:55:22 +01:00
Johannes Schickel 7b4a4d9fa6 Merge pull request "New mixer mute handling."
See https://github.com/scummvm/scummvm/pull/12 for more information.
2011-04-18 15:59:34 +02:00