Commit Graph

266 Commits

Author SHA1 Message Date
Ben Castricum
b041618a42 ALL: Remove comma before the word 'instead' 2016-11-29 20:22:19 +01:00
Alexander Tkachev
b665fc933d ALL: Make simpleSaveNames() a MetaEngineFeature
Added it into hasFeature() of all engines which returned `true` in
simpleSaveNames() before.

As mentioned in #788, SCI is not always using simple names, so it
doesn't have such feature now.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
ab1d160ec8 ALL: Add MetaEngine::simpleSaveNames()
Engines with "simple" savenames would support "Run in background" in
save/load dialog and gradual save slots unlocking. Other engines
save/load feature would be locked until save sync is over.
2016-08-24 16:07:55 +06:00
Eugene Sandulenko
d94f40e3ce TOLTECS: Fix typo 2016-06-25 16:21:00 +02:00
Eugene Sandulenko
95b8e23992 TOLTECS: Clear dead end rects count. 2016-06-25 16:18:59 +02:00
Eugene Sandulenko
a7d18763ac TOLTECS: Initialized Animation class 2016-06-10 14:21:17 +02:00
Eugene Sandulenko
50868e9e10 TOLTECS: Initialize Menu class 2016-06-10 14:17:04 +02:00
Eugene Sandulenko
455d433afd TOLTECS: Initialize objects 2016-06-10 14:12:27 +02:00
Eugene Sandulenko
33abb6118f ALL: Change main engine header guard defines to <directory>_<engine>_H
Recently we started to use this as new semantics, although in the past
we used simly <engine>_H. Now these guard defines are consistent with
rest of the files which are used in the engines.
2016-05-17 18:21:30 +02:00
Eugene Sandulenko
35476908f0 TOLTECS: Initialize class variables 2016-05-02 17:32:43 +02:00
Ori Avtalion
3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Johannes Schickel
0b6befdcc5 ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.
_singleid   -> _singleId
_gameids    -> _gameIds
_guioptions -> _guiOptions
2016-03-08 19:01:13 +01:00
Eugene Sandulenko
23d74fddb4 CONFIGURE: Introduced new engine dependency: highres
Some backends like GCW0 do no support graphics >320x240 due to
the hardware limitation (downscaling is possible but it will ruin
the pixel hunting which is often part of the gameplay).

Instead of manually updating the list of engines, we now introduce
a new dependency.

I marked all relevant engines, but some, like tinsel, require more
work with putting their relevant high-res games under USE_HIGHRES
define.
2016-03-05 14:25:56 +01:00
Johannes Schickel
de609c0a92 TOLTECS: Let listSaves return list sorted on slot numbers. 2016-02-25 21:39:45 +01:00
Johannes Schickel
7a34596c29 TOLTECS: Only request actual save slots in listSaves. 2016-01-26 16:35:30 +01:00
Johannes Schickel
3ae3a497f2 TOLTECS: Remove superflous default value registration for extra GUI options. 2015-12-28 00:14:11 +01:00
Torbjörn Andersson
bfebfbc127 TOLTECS: Use the Miles audio drivers for AdLib and MT-32
There doesn't seem to be much music in the game, so I've only been
able to test it with the music when riding the trolley. The MT-32
music is just as bad as in DOSBox, and you should feel bad.
2015-06-28 11:56:58 +02:00
Filippos Karapetis
1f2db34042 TOLTECS: Blacklist a pirated CD-RIP version (bug #6690)
This is a known pirated version, where all the audio has been removed.
Thus, no support will be added for that version.
2014-08-06 15:07:31 +03:00
Johannes Schickel
ae4ffe01f0 ALL: Rename Debugger::DCmd_Register to Debugger::registerCmd. 2014-05-27 02:04:08 +02:00
Johannes Schickel
daa8d57a86 ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf. 2014-05-27 02:04:07 +02:00
Strangerke
fffb3db0a6 TOLTECS: Reduce the scope of one more variable 2014-03-02 18:10:31 +01:00
Strangerke
418de45d9c TOLTECS: Reduce a variable scope, move a variable to boolean 2014-03-02 11:43:46 +01:00
Strangerke
fd995fa449 TOLTECS: Apply CppCheck performance recommendations 2014-03-02 11:40:05 +01:00
Johannes Schickel
8b9afc9d92 TOLTECS: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
D G Turner
01365b62b9 TOLTECS: Add missing getDebugger() for engine API. 2013-12-07 02:28:42 +00: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
30441cc7c1 TOLTECS: Fix spacing errors 2013-11-24 18:52:45 +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
01dea8bd67 Merge pull request #378 from lordhoto/pluggable-engines-translations
RFC: Pluggable Engines: I18N: Move specification of engine specific files to enginedir/POTFILES
2013-09-12 15:38:13 -07:00
Filippos Karapetis
18b21c52c3 TOLTECS: Add an alternate English version (bug #3614933) 2013-09-02 13:58:46 +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
863ead081d TOLTECS: Take advantage of Surface::getPixels. 2013-08-03 04:02:53 +02:00
Johannes Schickel
76aa360112 TOLTECS: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:34 +02:00
Filippos Karapetis
247472624a TOLTECS: Fix operator order (pre-decrement instead of post-decrement)
A typo in commit 98fa064. Thanks to LordHoto for pointing that out
2013-05-14 02:11:59 +03:00
Filippos Karapetis
98fa064edf TOLTECS: Fix bug #3613032 - "TOLTECS: Crash during peace pipe coughing scene"
Check for the end of the movie resource before buffering more audio chunks.
This avoids reading past the end of the movie resource. Also, clean up some
movie related checks
2013-05-14 01:45:33 +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
Filippos Karapetis
14f1529976 TOLTECS: Ignore invalid script opcodes (script bugs) - bug #3604025
The original ignores invalid opcodes as well, according to johndoe
2013-04-26 18:21:23 +03:00
Filippos Karapetis
dfea40cc11 TOLTECS: Remove dead code
The clearSprites() method is a leftover from the older sprite drawing code
2013-04-26 18:21:23 +03:00
Torbjörn Andersson
4b0d0ecdda TOLTECS: Work around undefined subtitle behaviour at script loading
It may be because of an underlying bug, but there is at least one
case where a script is unloaded and replaced by another script while
that script slot still has an active subtitle. This causes it to
print random garbage for me, and may be causing crashes for others.

I've discussed this patch with johndoe, and he was ok with it, so
let's see how it works out.
2013-03-15 18:48:44 +01:00
Johannes Schickel
b4d0a8ba66 JANITORIAL: Enforce "} // End of namespace" with a single space after }. 2013-01-26 19:38:02 +01:00
Filippos Karapetis
93763acd32 TOLTECS: Don't change the archive position when loading a resource (bug #3601567) 2013-01-22 04:23:11 +02:00
Filippos Karapetis
63660cd019 TOLTECS: Whitespace fixes and explanation of some magic values 2013-01-22 04:21:00 +02:00
Filippos Karapetis
bbec4acff5 TOLTECS: Fix bug #3600166 - "TOLTECS: Parrot speech cuts off Fenimore's in Cemetery" 2013-01-13 16:29:25 +02:00
Filippos Karapetis
981bc20337 TOLTECS: Replace a magic value with its appropriate enum 2013-01-13 16:11:04 +02:00
Filippos Karapetis
e45950b966 TOLTECS: Whitespace fixes 2013-01-13 15:51:52 +02:00
Filippos Karapetis
b7bfff1bfa TOLTECS: Fix bug #3599370 - "TOLTECS: Text on intro video not shown as per original" 2013-01-13 15:39:00 +02:00