Commit Graph

277 Commits

Author SHA1 Message Date
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
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
Filippos Karapetis
c48a7ee0e3 SKY: Fix double scene init when the intro is skipped (bug #3512069) 2013-06-17 21:14:59 +03:00
Alyssa Milburn
b16f2d8405 SKY: Try to avoid deadlocks with the mixer mutex.
See bug #3512069.
2013-05-29 09:05:20 +02:00
Johannes Schickel
b27736fc3f SKY: Silence C++11 narrowing warnings. 2013-01-09 07:24:37 +01: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
Filippos Karapetis
6a49d3eadd ENGINES: Return all available custom GUI options if no target is specified
This is used to set default settings for all custom game options when an
engine starts
2012-03-31 13:55:03 +03:00
D G Turner
3acc3837e1 SKY: Minor formatting fix. 2012-03-30 01:57:56 +01:00
Eric Culp
2fe60082e8 SKY: Allow game to be loaded from main menu dialog while in-game control panel is open. Fixes bug #3448294 2012-03-28 19:09:12 -04:00
Filippos Karapetis
24d758e5ef SKY: Only show the option for the alternative intro in the CD version 2012-03-25 16:24:31 +03:00
Torbjörn Andersson
1c124d5079 SKY: Add gui-option for alt-intro
Ideally, this should only be added for the CD version but I don't
think we have any mechanism for telling the CD and floppy versions
apart.
2012-03-25 11:58:47 +02:00
Torbjörn Andersson
c29fa80f5c SKY: Fix comment typos 2012-03-06 20:00:15 +01:00
Willem Jan Palenstijn
9ffe3e11d9 Merge pull request #182 from fingolfin/forbid-ctype
ALL: Avoid using is* macros from ctype.h
2012-02-21 11:33:32 -08:00
Max Horn
4f8665fc83 COMMON: Move isFoo functions to namespace Common, add doxygen comments 2012-02-20 16:18:27 +01: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
Max Horn
658080deed ALL: Avoid using is* macros from ctype.h
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00
Willem Jan Palenstijn
54ede63fcc BASS: Reduce code duplication in autosave code 2012-02-13 21:31:41 +01:00
Willem Jan Palenstijn
87e85e17cb BASS: Fix savegame corruption
When using the GMM or autosaves, _savedMouse and _savedCharSet were
never set. See bug #3487117.
2012-02-13 21:28:32 +01:00
Willem Jan Palenstijn
c7a5d31f05 BASS: Report savegame errors when saving by pressing enter
This makes error handling consistent between mouse and keyboard.
2012-02-13 21:21:42 +01:00
Alyssa Milburn
b9a93f354b Revert "SKY: Map the floppy intro track."
This reverts commit 0599145ecf.
This mapping was incorrect, 503 is the outro.
2012-02-07 13:20:50 +01:00
Willem Jan Palenstijn
d2375c86eb SKY: Fix warning 2011-12-19 23:58:55 +01:00
D G Turner
e5d6801c99 SKY: Replace usage of 'goto'. 2011-12-08 20:36:16 +00:00
Alyssa Milburn
0599145ecf SKY: Map the floppy intro track. 2011-11-22 14:57:25 +01:00
Alyssa Milburn
9abc601e53 SKY: Don't loop the floppy intro track.
This isn't relevant at present, so this is "just in case".
2011-11-22 14:21:47 +01:00
Strangerke
bab4b6f729 LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE) 2011-11-16 22:38:58 +01:00
Alyssa Milburn
7a12796bba SKY: Support external digital music tracks.
This allows replacement of the supplied MIDI music with tracks from
the Music Enhancement Project.
2011-11-14 20:45:00 +01:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Joost Peters
2eb624b229 SKY: fix bug #3149412: Invalid Mode when giving shades to travel agent 2011-09-12 13:56:28 +02:00
Johannes Schickel
2b3da93a95 SKY: Made some more static data const. 2011-09-08 19:58:28 +02:00
Johannes Schickel
07ec50224e SKY: Made some static data const. 2011-09-08 00:36:42 +02:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Littleboy
b694a78f62 ANALYSIS: Add static casts to is* functions
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results.
See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-23 08:52:52 -04:00
Thierry Crozat
06bbb57ad7 I18N: Make many more GUI MessageDialog strings translatable 2011-06-13 22:19:18 +01:00
D G Turner
bd58c9459d SKY: Replace snprintf() usage with Common::String::format()
Safer and less portability issues.
2011-06-02 21:14:58 +01:00
Max Horn
477d6233c3 ENGINES: Change 2nd param of Engine::saveGameState to Common::String 2011-06-02 18:31:59 +02:00
Matthew Hoops
9539017ee3 ALL: initialise -> initialize 2011-05-25 11:17:11 -04:00
Matthew Hoops
e18401a07c ALL: armour -> armor 2011-05-25 10:50:47 -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
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +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
3e01d35281 JANITORIAL: Format more forward declarations to follow convention 2011-04-28 12:32:01 +03:00
Ori Avtalion
cd6ee0589d JANITORIAL: Format forward declarations to follow convention 2011-04-28 12:20:34 +03:00
Max Horn
73f04118f3 COMMON: Rename Error to ErrorCode, introduce new Error class 2011-04-18 18:22:02 +02:00
Max Horn
2e095e25f2 ALL: centre -> center 2011-04-14 14:34:28 +02:00
Max Horn
84184aabc0 ALL: colour -> color 2011-04-14 14:12:35 +02:00