301 Commits

Author SHA1 Message Date
D G Turner
a48e54c459 QUEEN: Improve parameter validation in debug console.
This fixes the issues reported in Feature Request #218 - "DEBUGGER:
Add parameter validation".
2014-04-22 03:40:51 +01:00
Matthew Hoops
740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Johannes Schickel
34552b9ee7 QUEEN: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
Strangerke
8df46608ad QUEEN: Silent some CppCheck warnings by reducing some variable scopes 2014-02-16 14:39:59 +01:00
Strangerke
9f4628c2ef QUEEN: Fix previous commit 2014-02-15 18:08:29 +01:00
Strangerke
e071136108 QUEEN: Add detection of French versions reported in bug #6534 2014-02-15 18:02:44 +01:00
David Turner
ae16c989ae Merge pull request #407 from digitall/advancedDetector_queen
Migration of Queen Engine to Advanced Detector
2014-02-10 15:05:20 +00:00
D G Turner
1348b82aaa QUEEN: Migrate extra gui options to AdvancedMetaEngine handling. 2014-02-10 15:02:36 +00:00
D G Turner
7d4c625c4e QUEEN: Switch all savegame usage back to "queen.sXX" format.
The target is not just a bare "queen", but is postfixed by language
variant (and CD if used).

Using this for the savegame naming would be good as it allows several
language variants to have different co-existing savegame sets without
causing conflicts. However, if the savegame format is the same across
all language variants, then using the same naming allows easier
switching between languages if testing.

Currently the queen engine uses a single set of savegames named in the
format "queen.sXX" which are used for all languages, as the format
appears to be compatible across language variants. This may require
changing in future, if a variant with incompatible savegame format
is discovered.
2014-02-10 14:59:44 +00:00
D G Turner
d1b7fd9b87 QUEEN: Migrate listSaves() function to game target for save naming. 2014-01-21 11:39:28 +00:00
D G Turner
7382fe0ba2 QUEEN: Fix missing GUIO_NOSPEECH flag on Demo and Floppy AD entries.
Also, add missing Spanish DOS CD entry in skeleton form.
2014-01-20 01:59:32 +00:00
D G Turner
6814ce68bf QUEEN: Disable detection entries with unknown MD5sums.
This forces detection of the entries with missing MD5sums via the
fallback detector. This triggers will then trigger a warning
with the associated md5sum for the user to report to the team.
2014-01-14 23:11:20 +00:00
D G Turner
be9833a43f QUEEN: Switch unknown md5sums in detection entries for NULL.
This tells the advanced detector to skip MD5 validation for this
detection entry, so only filename and size are used as per the
original detection code.
2014-01-14 23:07:54 +00:00
D G Turner
6db7b81d5c QUEEN: Restore previous detection code as fallback detector. 2013-12-10 02:04:25 +00:00
D G Turner
5dca63221d QUEEN: Add further detection entries for Advanced Detector.
These are based on queen.1 file lengths from qtable devtool.
2013-12-10 01:17:19 +00: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
D G Turner
4ad17f29ba QUEEN: Add detection entries for Advanced Detector.
Some of the uncompressed language variant entries are missing
currently.
2013-10-05 06:24:42 +01:00
D G Turner
54e44486b0 QUEEN: Initial work to migrate to Advanced Detector.
This breaks the detection until the required checksums for each version
are added and/or the fallback detection is fixed.
2013-10-05 06:24:42 +01:00
D G Turner
2c0ed5e252 QUEEN: Minor cleanup of detection code. 2013-10-05 06:24:42 +01:00
D G Turner
b61c770d0f QUEEN: Move current detection code into separate source file. 2013-10-05 06:24:42 +01: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
bdd131450f QUEEN: Fix bug #3612408 - "QUEEN: Can't quit from ScummVM while ending cutscene"
We now check if the engine should quit in the loop of the end credits animation
2013-05-11 17:20:57 +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
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
Johannes Schickel
b4d0a8ba66 JANITORIAL: Enforce "} // End of namespace" with a single space after }. 2013-01-26 19:38:02 +01:00
Johannes Schickel
5673dc1692 QUEEN: Rename override to overrideCmd.
This fixes compilation on pre-C++11 compilers.
2013-01-26 14:43:21 +01:00
Tomas Jakobsson
25752922ef QUEEN: Update to new IFFDecoder for ILBM images 2013-01-06 20:04:45 +01:00
Johannes Schickel
b0ba4b01a4 COMMON: Add wrapper for isprint.
This is done in the spirit of 658080deeda79d20ea40643569fbcb072573e7cf.
2012-12-13 21:08:47 +01:00
Thierry Crozat
90788da0fc QUEEN: Workaround a bug in the llvm-g++ compiler
That code made llvm-g++ 4.2.1 crash when compiling with
optimizations.
2012-12-02 22:57:15 +00:00
D G Turner
e9c3d14307 QUEEN: Fix compilation. 2012-11-19 23:14:30 +00:00
D G Turner
362e195a5f QUEEN: Remove unused, but set variable, personWalking from Talk::talk(). 2012-11-19 23:00:40 +00: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
d182fe0221 QUEEN: Switch to the common PCX decoder 2012-09-13 01:49:58 +03:00
Torbjörn Andersson
e21bd10749 QUEEN: Change description on the "alt_intro" option
It's not a floppy version intro, so call it "Alternative intro"
instead. It's too late to make this change in 1.5.0 because it
would need translation changes. (When the option was first added,
it *was* called "Alternative intro" but it got changed along the
way.)
2012-07-19 05:53: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
Filippos Karapetis
6a6831014c QUEEN: Implement saving/loading during runtime from the GMM 2012-03-26 01:02:04 +03:00
Filippos Karapetis
c12990d37f QUEEN: Only show the option for the alternative intro in the CD version 2012-03-25 16:24:04 +03:00
Torbjörn Andersson
ae102a2b54 QUEEN: Add GUI option for alt-intro
Ideally, this should only be added to the CD version but I don't think
we provide any mechanism for telling the CD and floppy versions apart.
2012-03-25 11:58:09 +02:00
Max Horn
367131ef0e COMMON: Move Language and Platform functionality into separate files 2012-02-26 15:21:36 +01:00
Max Horn
215b41b244 COMMON: Move RenderMode and GUIOptions functionality into separate files 2012-02-26 15:19:31 +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
Alyssa Milburn
9f8520fb81 QUEEN: Fix clicking at the pinnacle.
Check where the click was *before* scrolling the view, so that
it works with a touchscreen. Also, check shouldQuit() here.
2012-02-04 19:49:52 +01:00
Torbjörn Andersson
055260769c QUEEN: Remove unused variable
As far as I can tell, this 'canQuit' variable (originally 'CANTQUIT')
has been replaced by the _vm->input->canQuit() method in all other
cases. However, I'm not at all sure what effect this change will have.
2011-11-20 10:37:44 +01:00