Commit Graph

983 Commits

Author SHA1 Message Date
Matthew Hoops
740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Einar Johan Trøan Sømåen
cda0598047 WINTERMUTE: Use the correct field for dpi when loading FreeSans from scummmodern.zip 2014-02-21 16:35:47 +01:00
Strangerke
719f8f23ec WINTERMUTE: Some British to American English 2014-02-19 21:45:30 +01:00
Filippos Karapetis
a1dea147bb WME: Remove translation tags from names found by the fallback detector
Fixes cases like bug #6532
2014-02-19 00:42:12 +02:00
Filippos Karapetis
5d0ebad996 WME: Fix bug #6531 - "WME: Art of Murder - Assertion" 2014-02-19 00:42:10 +02:00
Johannes Schickel
fc5ef58fff WINTERMUTE: Make GPL headers consistent in themselves. 2014-02-18 02:39:40 +01:00
Johannes Schickel
3333084eaf WINTERMUTE: Indent REGISTER_PLUGIN_* for consistency. 2014-02-17 23:03:28 +01:00
Strangerke
81f0a5dc42 WINTERMUTE: Janitorial - Remove trailing spaces 2014-02-16 18:41:25 +01:00
Johannes Schickel
24d2e246b4 WINTERMUTE: Use game format for fallback font rendering.
BDF fonts got 32bit drawing support in ece8b7fb65
Thus it is not necessary to draw onto a 16bit surface.
2014-02-12 18:31:06 +01:00
Filippos Karapetis
867efd477c WINTERMUTE: Prevent scripts from setting invalid scroll times
Scroll times (ScrollSpeedX, ScrollSpeedY) can't be zero, as this leads
to a division by zero later on. This allows Dreamscape to start and
work properly.
2014-02-11 19:09:39 +02:00
Einar Johan Trøan Sømåen
2ad7625831 WINTERMUTE: Change the copyFrom-simplifications to depend on pitch instead of width. (Fix bug #6157) 2014-02-05 17:18:46 +01:00
Johannes Schickel
1fa74e355c WINTERMUTE: Two minor formatting fixes. 2014-01-22 17:33:04 +01:00
Einar Johan Trøan Sømåen
2e93f5aba2 WINTERMUTE: Enable Wintermute by default. 2014-01-21 18:45:23 +01:00
Einar Johan Trøan Sømåen
2dfbad8074 WINTERMUTE: Avoid using Graphics::copyFrom to copy FMV-frames.
copyFrom frees and reallocates the surface for every update, as long
as the dimensions and format stay the same, we can do with just a
memcpy.

This gives a tiny improvement in the update-part of the Theora-player
(on the order of a bit more than 1 second saved total in the 1:28 long
J.U.L.I.A.-intro)
2014-01-21 02:25:18 +01:00
Einar Johan Trøan Sømåen
0b76f66edc WINTERMUTE: Special-case FMV-handling to not fill the screen with background color.
If we have only one thing being drawn, and that is opaque, we can
skip filling the render surface with background color.
This shaves another few wasted cycles of the FMV playback. (Since we
now don’t have to write the entire render surface TWICE).

This reduces the time spent in drawTickets() to ~60% of what it was before.
2014-01-21 01:32:49 +01:00
Einar Johan Trøan Sømåen
4f4599b542 WINTERMUTE: Fix bug that prevented the opaque and binary blit speedups from working. 2014-01-21 01:32:40 +01:00
Einar Johan Trøan Sømåen
74282cd415 WINTERMUTE: Stop any playing FMV when loading a savegame. 2014-01-15 12:11:07 +01:00
Einar Johan Trøan Sømåen
0c0ed9fdd8 WINTERMUTE: Limit the range of the panning-variable to stay within [-1,1].
Also, store the panning state, so that the next playback starts with the same pan.
2014-01-14 00:24:28 +01:00
Einar Johan Trøan Sømåen
12c330c5b9 Merge pull request #418 from JenniBee/md5s
WINTERMUTE: Adding more detection entries.
2014-01-11 07:51:38 -08:00
Einar Johan Trøan Sømåen
7d2dc87df0 WINTERMUTE: Add detection for french, italian, spanish and czech versions of Dirty Split. 2014-01-11 11:37:21 +01:00
JenniBee
2c6102a9d4 WINTERMUTE: Adding more detection entries. 2013-12-30 18:34:30 -05:00
Eugene Sandulenko
4b2cd71956 WINTERMUTE: Fix new detection entries 2013-12-22 11:38:48 +02:00
Einar Johan Trøan Sømåen
56bbc9e796 WINTERMUTE: Fix build issues in previous commit. 2013-12-22 02:24:03 +01:00
Einar Johan Trøan Sømåen
7fe40098d1 Merge pull request #412 from JenniBee/md5s
WINTERMUTE: Adding detection for more games.
2013-12-21 16:05:00 -08:00
JenniBee
9bbe836b12 WINTERMUTE: Adding detection for more games. 2013-12-21 18:50:23 -05:00
Johannes Schickel
e180612ff5 WINTERMUTE: Skip Latvian language package if not selected. 2013-12-05 16:27:57 +01:00
Johannes Schickel
ba7bbe6b89 WINTERMUTE: Fix typo in Polish language filename in Reversion1. 2013-12-05 16:26:44 +01:00
Johannes Schickel
dce90064b9 WINTERMUTE: Add Reversion: The Escape 1.3.2369 release.
This release has different hashes and file sizes than the previous Reversion
1.3 entries but is marked as 1.3.2369 in the installer filename.
2013-12-05 16:26:44 +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
Johannes Schickel
a6fff7a805 WINTERMUTE: Switch WideString to U32String. 2013-11-23 21:34:54 +01:00
Johannes Schickel
67ce244567 WINTERMUTE: Use const_iterator in BaseFileManager::registerPackages. 2013-11-23 21:01:39 +01:00
Johannes Schickel
7409f3eb54 WINTERMUTE: Slight interator usage cleanup. 2013-11-23 21:00:39 +01:00
Johannes Schickel
5166fce2eb WINTERMUTE: Remove another unused variable. 2013-11-23 21:00:39 +01:00
Johannes Schickel
9a78ac265d WINTERMUTE: Make BaseFileManager::registerPackages case agnostic.
The old version did only work as expected when all the filenames were all
lowercase. This seems to be the case for most (or even all?) WME games.
However, we are better safe than sorry and make the code case agnostic.
2013-11-23 21:00:33 +01:00
Johannes Schickel
29fae3914e WINTERMUTE: Remove unused variables. 2013-11-23 20:45:13 +01:00
Einar Johan Trøan Sømåen
b1bcf12791 WINTERMUTE: Add a fake detection entry for Czech Dead City.
The language data for the Czech version are in data.dcp, but the pairs
of {language.dcp, data.dcp} get preference over just a match on data.dcp,
thus we need to detect Czech as one of these pairs, giving the user the
choice of language on detection. In this case I just copied the english-detection.
2013-11-18 12:05:21 +01:00
Einar Johan Trøan Sømåen
ff574579bb WINTERMUTE: Add quite a bit of hackery to allow Reversion 1.3 to select languages properly.
Reversion 1.3 seems to have one language file in it’s main-folder, and
a full set in languages/ (not language/ like a few other games), the names
of the language-files are also different from what we’ve seen earlier.
2013-11-18 12:00:34 +01:00
Einar Johan Trøan Sømåen
eceaf7f8cb WINTERMUTE: Add bold-font support for FreeSans.ttf (and only FreeSans for now).
This is mostly a quick fix to solve the rather common case of wanting
to use bold Arial. This will not handle the user adding the actual Arial.ttf
file to the folder yet, but atleast it solves the common case of having
to fallback to FreeSans.
2013-11-15 15:27:50 +01:00
Filippos Karapetis
4af998b96c WINTERMUTE: Move the isAscii() string changing code to another function 2013-11-08 12:17:48 +02:00
Filippos Karapetis
492cefacb6 WINTERMUTE: Allow utf8ToWide() and wideToUtf8() work with ASCII strings
This is needed for English versions of multilingual games, which use
UTF-8 strings, but we can treat them as plain ASCII, since wide and
UTF-8 strings are not yet supported in Wintermute. This allows at least
the English versions of these games to run.

This allows Reversion 2 and Shaban to start
2013-11-08 12:04:07 +02:00
Einar Johan Trøan Sømåen
1e6a37394f Merge pull request #396 from JenniBee/md5s
Adding detection for more fan games
2013-11-07 23:10:04 -08:00
Filippos Karapetis
eba0c0ff62 WINTERMUTE: Add the keycode for the ESC key
This is used by Looky
2013-11-07 13:47:38 +02:00
JenniBee
90481b6409 WINTERMUTE: Adding detection for more games. 2013-11-06 16:12:03 -05:00
Einar Johan Trøan Sømåen
c0f9455b28 WINTERMUTE: Remove unused transfer-function. (AnsiStringArray). 2013-11-05 14:02:54 +01:00
Einar Johan Trøan Sømåen
cc33cf74ae WINTERMUTE: Transfer Common::Strings explicitly when saving/loading. 2013-11-05 13:59:55 +01:00