Commit Graph

24 Commits

Author SHA1 Message Date
Eugene Sandulenko
dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Thierry Crozat
90a86fd39c SWORD25: Add engine option to use English speech instead of German
When selecting non-English language, the scripts default to using
German voices. This commit edits the file path on the fly to use instead
English voices for all languages other than German. This implements bug
#6804 - SWORD25: add option to choose language speech.

If the English voice pack is not present it falls back to using German voices.

The way this is implemented here however does not allow to use German
voices with English text or English voices with German text. This could be
achieved with a slightly different implementation of the same idea.
2016-03-09 00:02:45 +00:00
Johannes Schickel
bad7cdd3a6 SWORD25: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Julien
e972c6cfd8 SWORD25: Add error checks after allocating memory with malloc 2011-06-23 15:15:57 +08: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
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Filippos Karapetis
5978d8f63d SWORD25: Marked several unused LUA callbacks as dummy functions. Some cleanup.
svn-id: r55597
2011-01-28 17:29:08 +00:00
Max Horn
a783285625 SWORD25: Simplify FS 'wrapper' code a bit, add FIXME comments
The save system of this engine currently partially bypasses the
SaveFileManager API, by (abusing) the fact that the Lua engine allows
creating files in arbitrary places (it exposes fopen, fread, fwrite
etc.). This is used to create a 'config.lua' configuration file. This makes it non-portable.

In addition, the filenames used for the savestates ("0.b25s") do not
comply with our naming conventions for engine savestates.

It should be possible to overcome all this, but it might require hacking
the Lua engine; or we could try to replace some of the BS2.5 script
functions with our own, dynamically.

svn-id: r53838
2010-10-25 23:19:39 +00:00
Eugene Sandulenko
8582c1ad57 SWORD25: Enforse code naming conventions in PackageManager and Sword25Engine
svn-id: r53380
2010-10-13 00:02:51 +00:00
Eugene Sandulenko
ccb1644568 SWORD25: Got rid of ScummVMPackageManager
svn-id: r53353
2010-10-12 23:49:42 +00:00
Paul Gilbert
3fc518cd0c SWORD25: Replaced some free's with delete[]
svn-id: r53325
2010-10-12 23:38:37 +00:00
Eugene Sandulenko
086f5961b6 SWORD25: unsigned int -> uint
svn-id: r53309
2010-10-12 23:30:00 +00:00
Eugene Sandulenko
384468c014 SWORD25: Started to hook TheoraDecoder. Crashes at startup.
svn-id: r53297
2010-10-12 23:22:01 +00:00
Paul Gilbert
2c62016838 SWORD25: Added GetXmlFile helper function
The XML files included with the game don't include an XML header line, which is required by the ScummVM XML parser. This helper function encapsulates the GetFile method to return a buffer that includes the required line at the start.

svn-id: r53276
2010-10-12 23:13:03 +00:00
Eugene Sandulenko
b01994a53b SWORD25: removed BS_ prefix from rest of the classes.
The things which are intentionally left with the prefix:
BS_LOG, BS_ASSERT, BS_Rect, BS_String.

svn-id: r53261
2010-10-12 22:59:01 +00:00
Eugene Sandulenko
be44216e5c SWORD25: eliminated BS_ prefix in all but kernel/
svn-id: r53259
2010-10-12 22:55:59 +00:00
Eugene Sandulenko
a1d22a063b SWORD25: Fix warnings
svn-id: r53254
2010-10-12 22:50:28 +00:00
Eugene Sandulenko
0cdab788ae SWORD25: Changed signature of FS searching method. Cleanup.
svn-id: r53248
2010-10-12 22:47:38 +00:00
Eugene Sandulenko
47904bc7b2 SWORD25: Mass-astyle.
svn-id: r53222
2010-10-12 22:35:55 +00:00
Paul Gilbert
ea29e41b86 SWORD25: Reimplemented package manager for ScummVM using Common::Archive
svn-id: r53194
2010-10-12 22:15:42 +00:00
Eugene Sandulenko
293bf95c01 SWORD25: Replacing headers with ScummVM ones plus original (C)
svn-id: r53188
2010-10-12 22:13:00 +00:00
Paul Gilbert
e78b19a650 SWORD25: Converted kernel/kernel.cpp to compile under ScummVM
This commit creates a skeleton detection and engine class, as well as code necessary to call the kernel initiation.
The kernel/kernel.cpp has been converted to compile under ScummVM, along with all dependant header files.

svn-id: r53184
2010-10-12 21:55:38 +00:00
Eugene Sandulenko
804cf1c4c7 SWORD25: Fix some includes
svn-id: r53175
2010-10-12 21:40:00 +00:00
Eugene Sandulenko
a683a420a9 SWORD25: Importing original sources
svn-id: r53171
2010-10-12 21:38:20 +00:00