Commit Graph

1394 Commits

Author SHA1 Message Date
Matthew Hoops
740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Johannes Schickel
56a99b1d37 PARALLACTION: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +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
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
Strangerke
b603ea0223 PARALLACTION: Janitorial - Fix spacing errors 2013-11-24 01:40:35 +01:00
Eugene Sandulenko
38d02d1687 PARALLACTION: Initialize class. CID 1002753 2013-11-09 13:22:57 +02:00
Eugene Sandulenko
ee9b4c979a PARALLACTION: Initialize variable. CID 1002725 2013-11-09 13:21:25 +02:00
Eugene Sandulenko
234f3f3150 PARALLACTION: Initialize class variable. CID 1002724 2013-11-09 13:20:13 +02:00
Eugene Sandulenko
bcd65f854f PARALLACTION: Initialize class. CID 1002721 2013-11-09 13:18:54 +02:00
Eugene Sandulenko
4decd8c808 PARALLACTION: Initialize class variable. CID 1002715 2013-11-09 13:17:30 +02:00
Eugene Sandulenko
9cf199cb42 PARALLACTION: Initialize class variables. CID 1002708 2013-11-09 13:15:47 +02:00
Eugene Sandulenko
c9ae0a46dd PARALLACTION: Initialize class variables. CID 1002707 2013-11-09 13:13:56 +02:00
Eugene Sandulenko
d74585b344 PARALLACTION: Initialize class. CID 1002706 2013-11-09 13:12:06 +02:00
Eugene Sandulenko
918ae371a0 PARALLACTION: Initialize class. CID 1002705 2013-11-09 13:09:30 +02:00
Eugene Sandulenko
c7331eea02 PARALLACTION: Initialize class. CID 1002703 2013-11-09 13:06:55 +02:00
Eugene Sandulenko
8c21b5cdd4 PARALLACTION: Initialize class. CID 1002702 2013-11-09 13:05:42 +02:00
Eugene Sandulenko
c8bf090327 PARALLACTION: Initialize class. CID 1002701 2013-11-09 13:04:08 +02:00
Eugene Sandulenko
8484b4b148 PARALLACTION: Make sure overridden methods are not used. Fixes compiler warning 2013-11-03 12:20:40 +02:00
Eugene Sandulenko
18b7c5fd9c PARALLACTION: Pass big value by reference rather than copying. CID 1003923 2013-11-03 12:20:39 +02:00
Eugene Sandulenko
a7055e75d1 PARALLACTION: Comment out unused assignment. CID 1002508 2013-10-08 00:11:18 +03:00
Johannes Schickel
378387c903 I18N: Move specification of engine specific files to enginedir/POTFILES.
This allows to keep the engines to specfiy the files for translation close to
the engine sources itself.

Thanks to criezy for his suggestion on this approach.
2013-08-12 17:54:31 +02:00
Johannes Schickel
d06cbe9043 PARALLACTION: Do not set Surface::pixels directly anymore. 2013-08-03 04:14:08 +02:00
Johannes Schickel
ccaf4d865c PARALLACTION: Take advantage of Surface::getPixels. 2013-08-03 04:02:51 +02:00
Johannes Schickel
d82741a3c8 PARALLACTION: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:33 +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
b791edabf7 ENGINES: Remove a bunch of unused private member variables
All instances uncovered by clang warnings.
2013-04-18 23:50:20 +02:00
Alyssa Milburn
1dc58b0b2a PARALLACTION: Fix BRA amiga inventory item cursors. 2013-04-17 23:20:55 +02:00
Alyssa Milburn
1eefd6301b PARALLACTION: Don't use an invalid array index. 2013-04-17 23:20:31 +02:00
Alyssa Milburn
c9ccba01df PARALLACTION: Add some sanity checks to SoundMan_br::execute. 2013-04-17 23:20:13 +02:00
Alyssa Milburn
a514927381 PARALLACTION: Fix buffer size in unpackBackground. 2013-04-17 23:19:47 +02:00
Alyssa Milburn
98934898cf PARALLACTION: Use strlcpy instead of strncpy. 2013-04-17 23:17:22 +02:00
Willem Jan Palenstijn
e7b38a7c2a PARALLACTION: Cleanup 2013-04-15 20:35:43 +02:00
Johannes Schickel
98cfb57dd3 PARALLACTION: Fix a const cast warning. 2013-01-06 20:34:26 +01:00
Tomas Jakobsson
548b505b68 PARALLACTION: Update to new IFFDecoder for ILBM images 2013-01-06 20:04:45 +01:00
D G Turner
8bf5a61278 PARALLACTION: Mask unused, but set variable warning, by debug().
This variable is likely to be used in the future if the associated
TODO is implemented, so this warning is inhibited by adding a debug()
output statement.
2012-11-19 23:33:02 +00:00
Filippos Karapetis
a297ae6195 PARALLACTION: Add a workaround for the end credits of NS
The game scripts try to show a non-existing frame. We set it to an existing one
here. Part of the fixes for bug #5866
2012-09-28 01:49:37 +03:00
Filippos Karapetis
17b42b5570 PARALLACTION: Add a workaround for the end credits of NS
The end credits reference a version of Dino called "Dinor", which makes the
engine look for a non-existing file. We set the name to "dino", as it should be
in this case, so that the engine loads the correct file. Part of the fixes for
bug #5866
2012-09-28 01:47:38 +03:00
Filippos Karapetis
a1969ae268 PARALLACTION: Add a missing return statement
The final credits screen has no background, it just reuses the background of the
final scene. Part of the fixes for bug #5866
2012-09-28 01:44:06 +03:00
Filippos Karapetis
864b4acdf1 PARALLACTION: Fix a script bug in the end of the multilingual DOS version of NS
The mouse cursor is incorrectly hidden outside the final cave in NS because of
a script bug. A workaround is added to fix that screen and the final screen in
order to make it playable. Part of fixes for bug #5866
2012-09-28 01:40:43 +03:00
Alyssa Milburn
41d337c549 PARALLACTION: Clean up global variables a bit. 2012-09-27 22:41:51 +02:00
Alyssa Milburn
d7b74ed5b1 PARALLACTION: Remove unused function. 2012-09-27 22:33:04 +02:00
Alyssa Milburn
a081ae78ee PARALLACTION: Add custom Adlib driver for BRA.
Thanks to peres for working out how it works in the original engine.
Also, fix the length of MIDI events so it works properly.
2012-09-22 13:20:58 +02:00
Alyssa Milburn
f08978a075 JANITORIAL: Remove underscores from MidiParser variable names. 2012-09-07 23:04:34 +02:00
Johannes Schickel
d98b462190 PARALLACTION: Fix delete[] formatting. 2012-07-25 21:10:43 +02:00
Johannes Schickel
7c5cf1b400 GUI: Add helper to SaveLoadChooser, which uses the currently active target.
This reduces the code duplication in all client code, which formerly duplicated
the querying of the plugin, game id etc. and now simply calls the newly added
method runModalWithCurrentTarget() on a SaveLoadChooser object.
2012-06-10 04:53:17 +02:00
Johannes Schickel
9b05f4e103 PARALLACTION: Do not call close on a SaveLoadChooser. 2012-06-10 04:19:57 +02:00