Commit Graph

51440 Commits

Author SHA1 Message Date
Torbjörn Andersson
54041675e5 TOLTECS: Some formatting fixes. 2012-01-29 21:41:16 +01:00
Johannes Schickel
f41bc8bd98 GUI: Slight formatting fix. 2012-01-29 21:17:01 +01:00
Johannes Schickel
6895ea9ea1 GUI: Fix compilation with --disable-translation. 2012-01-29 19:18:36 +01:00
Johannes Schickel
fa401a2d3d SCI: Remove unnecessary break after return statement. 2012-01-29 16:34:41 +01:00
Johannes Schickel
21fb4af154 SWORD25: Return 0 instead of false in Screenshot::createThumbnail.
This should "fix" a g++ warning.
2012-01-29 16:33:43 +01:00
Johannes Schickel
163d57ba93 AUDIO: Return 0 instead of false in Tfmx::loadSampleFile.
This should "fix" a g++ warning.
2012-01-29 16:32:44 +01:00
Johannes Schickel
db98fdab2b COMMON: Return 0 instead of false in FSNode::createReadStream.
This should "fix" some g++ warnings.
2012-01-29 16:31:52 +01:00
Johannes Schickel
f11b52a097 KYRA: Prevent unnecessary removal of const in some casts. 2012-01-29 16:26:20 +01:00
Johannes Schickel
00cc48f83d GUI: Add GNU FreeFont TTFs for use with our modern theme. 2012-01-29 16:26:20 +01:00
Johannes Schickel
b0dfd08ff9 GUI: Fix anti-aliased font drawing of checkbox/radio button texts.
Formerly the text background was not restored thus every time it got redrawn
the text got thicker.
2012-01-29 16:26:20 +01:00
Johannes Schickel
f63df3bf7b GRAPHICS/GUI: Implement charset mapping for TTF fonts.
The charsets used by the translations now need to have a "$(name).cp" file,
which contains an charset index => unicode mapping. Otherwise
create_translations will fail.
2012-01-29 16:26:20 +01:00
Johannes Schickel
9f3fbe1bd7 GRAPHICS/GUI: Implement kerning support for Font.
This adapts the related graphics code, which is the generic Font API and the
TTF font implementation.

It furthermore adapts the GUI to properly take care of kerning in text input
widgets.
2012-01-29 16:26:20 +01:00
Johannes Schickel
d21ae1aa40 GUI: Add support for loading TTF files with ISO-8859-1 charset. 2012-01-29 16:26:20 +01:00
Johannes Schickel
843b9f9665 GRAPHICS: Add a TTF font class using FreeType2. 2012-01-29 16:26:20 +01:00
Travis Howell
0ceeee8148 SCUMM: Add script number differences in SCUMM V0, for two work arounds in Maniac Mansion. 2012-01-29 17:07:38 +11:00
Sven Hesse
885a29a1de GOB: Fix a segfault 2012-01-29 00:12:11 +01:00
Sven Hesse
2f7ae1109b GOB: Add a cheat debug command
- Cheat the Diving minigame to a win
- Get the mastermind solution
2012-01-29 00:10:11 +01:00
Sven Hesse
caeae1a7d6 GOB: Pick the pearl at the right frame of the animation
And make the pearl picking a bit less...picky.
2012-01-28 23:29:47 +01:00
Sven Hesse
1eb7c7507b GOB: Minor cleanup 2012-01-28 22:55:12 +01:00
Sven Hesse
0627a4244d GOB: Play the lungs animation when breathing 2012-01-28 22:29:19 +01:00
Sven Hesse
9fba98415d GOB: Don't play a hurt animation right before Oko dies 2012-01-28 20:09:58 +01:00
Sven Hesse
c161cc1232 GOB: Fade the Diving minigame in 2012-01-28 20:08:13 +01:00
Sven Hesse
c0d0792ccf GOB: End the Diving minigame when Oko is dead 2012-01-28 19:55:55 +01:00
Sven Hesse
4b60a761a0 GOB: Explicitely set the Diving palette 2012-01-28 19:53:26 +01:00
Sven Hesse
3a95cdf961 GOB: Correct the variable value for the Diving result 2012-01-28 19:45:27 +01:00
Sven Hesse
0eeae6e59e GOB: Oko gets hurt by fish and dies if health == 0 2012-01-28 19:45:02 +01:00
Sven Hesse
60306c40ac GOB: If there's no air left, Oko dies 2012-01-28 18:03:00 +01:00
Sven Hesse
7650fca040 GOB: Air gets used up and is refilled by breathing 2012-01-28 17:46:38 +01:00
Sven Hesse
9dd7035327 GOB: Add the air and health meters in Geisha's Diving minigame 2012-01-28 17:46:38 +01:00
Klaus Reimer
7ee77cbd26 WEBOS: Renamed "Touchpad Mode" to "Trackpad Mode" to prevent confusion because one of the target devices is called the "HP Touchpad". 2012-01-28 11:44:31 +01:00
Klaus Reimer
9ee0526541 CREDITS: Added Tom Frost as contributor to WebOS port. 2012-01-28 11:19:39 +01:00
Thierry Crozat
c5b5f8844c CONFIGURE: Fix compilation on 32 bits MacOS X
The issue was that it cannot find a 64 bits type because 'long int' is
32 bits and compilation of the test program with 'long long' failed
due to the use of -pedantic flag (and 'long long' is not part of
ISO C++ 1998 standard). It nevertheless defined _UINT64
which subsequently told systems headers to not redefine uint64 and
caused many compilation error in system headers.
2012-01-27 22:09:53 +00:00
Johannes Schickel
ab2b020ff1 DOCS: Add missing dot in NEWS file. 2012-01-27 20:58:32 +01:00
Johannes Schickel
827cdbd22e AGOS: Make ArchiveMan a proper sub-type of SearchSet.
Now all of the Archive API is implemented to avoid possibly inconsistent
behavior when an ArchiveMan object is accessed via a class type higher in the
class hierachy.
2012-01-27 20:35:34 +01:00
Johannes Schickel
a231f9d5dd AGOS: Rename ArchiveMan's open to createReadStreamForMember to match our Archive API. 2012-01-27 20:30:02 +01:00
Johannes Schickel
a7cc5bd301 AGOS: Properly overwrite hasFile from SearchSet in ArchiveMan.
Formerly the hasFile method was non-const, thus did not overwrite the virtual
hasFile method of SearchSet. Since all accesses to this function have been
done through a ArchiveMan typed variable, the missing overwrite should not
have caused any trouble.

It looks like this was forgotten in a6ec4f70da.
2012-01-27 20:10:31 +01:00
Sven Hesse
0fd9abfe01 GOB: Play the correct animation when Oko's picking up pearls 2012-01-27 15:07:26 +01:00
Sven Hesse
cf45f49f72 GOB: Picking up pearls 2012-01-27 14:55:32 +01:00
Sven Hesse
8414627216 GOB: Play Oko's breathing sound 2012-01-27 14:45:41 +01:00
Sven Hesse
9d348f46ad GOB: Add a controlable Oko to Geisha's Diving minigame
Still missing:
  - Air, constantly decreasing, fill up with breathing
  - Health, decreases by collision with evil fish
  - Death, when health == 0
  - Picking up pearls
2012-01-27 14:27:16 +01:00
Sven Hesse
e0209358b7 GOB: Add pearls scrolling by on the ocean floor 2012-01-26 21:13:38 +01:00
Sven Hesse
a19eb26485 GOB: Add the background plants in Geisha's Diving minigame 2012-01-26 19:47:03 +01:00
Ben Castricum
5db023646a SCUMM: Use regular detection algorithms for FMTOWNS demos. 2012-01-26 18:06:10 +01:00
Johannes Schickel
d1de75a6ca DOCS: Word the README section about kyra.dat a bit nicer. 2012-01-26 02:49:59 +01:00
Johannes Schickel
86a4bbbd9b AUDIO: Add more warnings in case invalid VOC data is encountered. 2012-01-26 02:43:58 +01:00
Johannes Schickel
d620dd90bd AUDIO: Fix missing sounds in Simon 1 Amiga CD32.
It seems the VOC files used by Simon 1 Amiga CD32 use 128 as terminator block.
Added this as a special case with a debug output when it's caught.
2012-01-26 02:36:51 +01:00
Johannes Schickel
9d426cecc1 DOCS: Update section about kyra.dat a bit. 2012-01-26 02:17:50 +01:00
Johannes Schickel
bfce8355dd DOCS: SCUMM FM-TOWNS Kanji games should not crash randomly anymore. 2012-01-26 02:05:16 +01:00
Johannes Schickel
dc4881ac5c DOCS: Remove lack of sound effect support of Kyra PC-98 from Known Issues section. 2012-01-26 02:02:43 +01:00
Johannes Schickel
58032b18f9 DOCS: Update engines supporting RTL in the README. 2012-01-26 01:55:26 +01:00