Commit Graph

335 Commits

Author SHA1 Message Date
Martin Kiewitz
cae493523c MADE: Music: initialize musicType variable
wasn't initialized in case milesAudio was disabled
2015-07-05 21:26:08 +02:00
Torbjörn Andersson
2b3553306d MADE: Delete AdLib instrument stream after driver initialization 2015-07-05 01:32:53 +02:00
Torbjörn Andersson
cc471ecd07 MADE: Cleanup AdLib driver initialization...
... as per m_kiewitz's suggestions.
2015-07-05 01:09:55 +02:00
Torbjörn Andersson
672bdeff1f MADE: Allow loading of sample.ad from rtzcd.red
At the moment, AdLib music doesn't work yet though. At least not
for this particular case.
2015-07-05 00:08:15 +02:00
Kirben
3ad35f760c MADE: Limit Miles audio to Return to Zork only, and enable Adlib support. 2015-07-02 23:05:50 +10:00
Kirben
46babcc3c4 MADE: Add Miles support for RTZ, currently disabled for Adlib due to known issues. 2015-07-02 20:30:49 +10:00
Strangerke
ae2ba18af3 MADE: Initialize some variables 2015-01-28 07:47:28 +01:00
Strangerke
a1a99745f6 MADE: Initialize some more variables, remove an useless variable 2015-01-27 07:21:52 +01:00
Strangerke
849f383169 MADE: Initialize some variables, remove a useless variable 2015-01-27 07:14:55 +01:00
Matthew Hoops
bf90d36024 MADE: Print v1 database debugging at level 1 instead of all the time 2014-07-11 23:35:38 -04:00
Matthew Hoops
9b282326aa MADE: Error out when a picture cannot be found 2014-07-11 23:32:44 -04:00
Matthew Hoops
3ddf04465e MADE: Error out when a blocks file fails to open 2014-07-11 23:29:37 -04:00
Johannes Schickel
5b70d34479 MADE: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +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
86231d14d5 MADE: Janitorial - Fix spacing errors 2013-11-24 19:17:18 +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
Johannes Schickel
233512fe10 MADE: Create MusicPlayer in run() instead of MadeEngine's constructor.
This fixes MT-32 emulator initialization. When the constructor is run the
paths like extrapath etc. are not yet set up. Thus, the MT-32 emulator would
not be able to find the necessary roms in case they are in the extrapath.
2013-11-03 19:17:13 +01:00
Johannes Schickel
66fe0181ff MADE: Take advantage of Surface::getPixels. 2013-08-03 04:02:51 +02:00
Johannes Schickel
8f73027d82 MADE: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:32 +02:00
Filippos Karapetis
de230b7696 MADE: Show version-related before size-related incompatibilities in savegames
This gives clearer errors when users use savegames saved with a different version
2013-05-15 21:48:32 +03: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
Eugene Sandulenko
e37bcb8884 MADE: Null terminate string. CID 1003874 2013-04-28 23:59:20 +03: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
57e0381b62 MADE: Get rid of casts on CursorManager::replaceCursor calls. 2012-06-16 03:28:43 +02:00
Johannes Schickel
79dfc7be97 MADE: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:38:59 +02:00
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Tarek Soliman
921f602ab8 JANITORIAL: Fix whitespace in pointer template arg 2012-02-15 10:07:08 -06:00
Tarek Soliman
edc5249772 JANITORIAL: Fix template definition whitespace 2012-02-10 21:17:27 -06:00
Strangerke
bab4b6f729 LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE) 2011-11-16 22:38:58 +01:00
Johannes Schickel
3b7867ec54 MADE: Silence a few gcc warnings. 2011-10-29 20:56:00 +02:00
Strangerke
abdcc530cc LAUNCHER: Add GUIO_NOASPECT to made 2011-10-23 22:39:36 +02:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Filippos Karapetis
63b3db2753 MADE: Graphics::Surface is a struct, not a class 2011-10-15 12:24:31 +03:00
Filippos Karapetis
a606312c22 MADE: Graphics::Surface is a struct, not a class 2011-10-15 01:16:17 +03:00
Filippos Karapetis
121bef4f79 MADE: Added missing finalize() calls to the game state saving code
Thanks to wjp for finding these
2011-10-10 01:48:47 +03:00
Johannes Schickel
7b126c5f24 MADE: Minimize #include usage. 2011-10-09 22:58:37 +02:00
Johannes Schickel
76bc3a97a6 MADE: Fix include guard of made.h. 2011-10-09 22:07:49 +02:00
Filippos Karapetis
8c431e13a6 MADE: Hopefully fixed bug #2957333 - "MADE: Screen effects sometimes look wrong/bad"
Applied johndoe's patch from that tracker item
2011-09-26 22:22:16 +03:00
Tarek Soliman
45fa59598e MADE: Flag CD titles with ADGF_CD 2011-08-06 23:32:52 -05:00
Ori Avtalion
eec84253f0 MADE: Fix hidden overloaded virtual function warning 2011-06-30 00:53:33 +03:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Max Horn
879c3c7817 DETECTOR: Pass allFiles to AdvancedMetaEngine::fallbackDetect()
Also reorder the parameters of composeFileHashMap, placing the "return value"
first.
2011-06-14 18:52:11 +02:00
Max Horn
7c992d6598 DETECTOR: Merge ADParams into AdvancedMetaEngine 2011-06-14 18:17:01 +02:00
Max Horn
97f82b5a93 MADE: Switch to alternate AdvancedMetaEngine, avoid ADParams 2011-06-10 22:15:43 +02:00
Max Horn
4827cc914a ENGINES: Change incorrect use of 'target' to 'gameid' 2011-06-10 22:15:40 +02:00