Commit Graph

924 Commits

Author SHA1 Message Date
Arnaud Boutonné
dcf44e1bd8 gob detection
- Add preliminary Gobliiins 1 CD-i detection.cpp
- DOS CD is 2.01, not 1.02

svn-id: r45014
2009-10-13 14:26:42 +00:00
Max Horn
3399c3aeb6 Change doxygen inline comments from "//!" to "///" as proposed on -devel
svn-id: r44802
2009-10-08 21:28:57 +00:00
Max Horn
42120ed626 Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
svn-id: r44793
2009-10-08 19:41:38 +00:00
Arnaud Boutonné
caaba2ae95 Add a hack that fixes bug #2858887 and #2859606
svn-id: r44785
2009-10-08 12:04:34 +00:00
Arnaud Boutonné
f1cb78673a gob - Fix a Valgrind warning occuring in CD games
svn-id: r44774
2009-10-08 08:10:57 +00:00
Arnaud Boutonné
be84af2603 Fix an assert in activeWin().
svn-id: r44746
2009-10-07 19:44:10 +00:00
Arnaud Boutonné
7601f1b14f gob - fix valgrind warning: invalid read when animKeysCount equals 0
svn-id: r44716
2009-10-06 19:57:17 +00:00
Arnaud Boutonné
66233031d7 revert r44542: the fix reopens another previous bug
svn-id: r44553
2009-10-03 13:40:55 +00:00
Arnaud Boutonné
f915a46e1f Fix for bug ref#2867294 (hopefully)
svn-id: r44542
2009-10-02 17:50:56 +00:00
Arnaud Boutonné
d90c60e879 Fix a regression in the first part of the intro (gitches when the paper and the rat are moving).
svn-id: r44518
2009-10-01 12:19:01 +00:00
Arnaud Boutonné
96a40e7712 Fascination - Suppress some warnings
svn-id: r44504
2009-09-30 22:54:30 +00:00
Arnaud Boutonné
f1c76e2dcb Fascination - Fix a regression in intro (fix of R42171)
svn-id: r44496
2009-09-30 19:14:46 +00:00
Max Horn
8ba75fc522 Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
2009-09-30 16:16:53 +00:00
Arnaud Boutonné
ff70b554ea Playtoons - implement some functions related to hotspot texts
Fascination - initial version of several 'Fascination Window' functions, proper naming of most of fascination OPCODEDRAW and OPCODEGOB functions

svn-id: r44472
2009-09-29 22:43:30 +00:00
Arnaud Boutonné
f6aaafae7c Gob - Silence a Valgrind warning by initializing a variable
svn-id: r44467
2009-09-29 16:56:30 +00:00
Filippos Karapetis
b4f1960318 Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44314
2009-09-24 17:52:53 +00:00
Filippos Karapetis
16d7d9ba23 Fixed some more warnings about unreachable code
svn-id: r44299
2009-09-24 10:02:13 +00:00
Andre Heider
a81ae427a5 Fixed warning about missing newline
svn-id: r44191
2009-09-18 21:34:34 +00:00
Arnaud Boutonné
6976bc87b7 Playtoons - Add patterns to drawCircle
svn-id: r44122
2009-09-16 22:19:54 +00:00
Arnaud Boutonné
ee48b944f7 Playtoons - Add 3 DRAW_PIXEL patterns, fix some conditions.
svn-id: r44120
2009-09-16 21:13:12 +00:00
Arnaud Boutonné
6a9cc3b1e0 - Implement _pattern variable
- Add oPlaytoons_putPixel and Playtoons specific spriteOperation (using _pattern)

svn-id: r44103
2009-09-15 12:15:22 +00:00
Sven Hesse
ae3cc2ca5f Really fixing searchHotspot, syntax-wise at least. (Note: Hotspots::Hotspot::left is unsigned, so a comparison with -1 will always yield false. And for left == 0xFFFF a method already exists, Hotspots::Hotspot::isEnd())
svn-id: r44022
2009-09-09 23:10:53 +00:00
Arnaud Boutonné
686739fc5b Playtoons - Fix searchHotspot and suppress a forgotten debug warning
svn-id: r44020
2009-09-09 21:47:26 +00:00
Arnaud Boutonné
6f6d4df529 Playtoons - Add oPlaytoons_printText
svn-id: r44018
2009-09-09 20:10:16 +00:00
Max Horn
37e51f1575 Fixed some (pedantic) warnings
svn-id: r44015
2009-09-08 22:03:07 +00:00
Arnaud Boutonné
824ca7258c Playtoons - Add workaround in order to ignore hardcoded paths in oPlaytoons_checkData. Useful for playtoons sticks found on deutsch Addy4
svn-id: r43951
2009-09-04 21:43:06 +00:00
Sven Hesse
d46ca7a5e3 Some more int16->uint16 changes, to accommodate for Playtoons larger variable space
svn-id: r43950
2009-09-04 21:38:28 +00:00
Arnaud Boutonné
033bedd906 Gob/Adi2 - In playtoons and later, there are 50 more sprite pointers
svn-id: r43949
2009-09-04 21:22:09 +00:00
Arnaud Boutonné
88bde05828 Add oPlaytoons_getObjAnimSize. It's uncomplete, but it allows to use some functionalities of the construction mode
svn-id: r43948
2009-09-04 20:50:16 +00:00
Sven Hesse
20d93e494a Making another variable offset unsigned, since it overflows int16
svn-id: r43900
2009-09-01 21:16:12 +00:00
Sven Hesse
eaedf892e6 Fixing warnings and adding a warning should the ID be something yet unknown, just in case
svn-id: r43899
2009-09-01 21:08:42 +00:00
Arnaud Boutonné
76d60f3b5a Playtoons: Add support to IDs 65530, 65531, 65532, 65534, and renamed Id -1 into 65535 in Map_v2::loadMapObjects. This allows to start the contruction mode and "somehow" use it. (Thanks DrMcCoy for pointing out my errors)
svn-id: r43896
2009-09-01 20:36:03 +00:00
Arnaud Boutonné
dd569a1b7e Modify warning message for o5_deleteFile as it's not only used by Dynasty, and Add oPlaytoons_copyFile. The latest will need to be completed if a call requires it. For the moment, it only fixes the crash at the end of the 3rd video of the construction kit.
svn-id: r43841
2009-08-30 23:39:25 +00:00
Sven Hesse
7c32308349 Making the Windows version of Little Red Riding Hood display something
svn-id: r43826
2009-08-30 16:46:24 +00:00
Arnaud Boutonné
d2e2c03d2e Add detection strings for multi-lang Windows version of Little Red Riding Hood
svn-id: r43821
2009-08-30 09:55:13 +00:00
Arnaud Boutonné
af3e23b291 Playtoons - Add new freeSprite function for Playtoons & Bambou. This fixes the crash that occurred when exiting the game.
svn-id: r43783
2009-08-28 21:08:59 +00:00
Arnaud Boutonné
42848e1276 Playtoons - Save temp sprites. This fixes some of the Bambou graphical issues, and the Playtoons menu (history selection)
svn-id: r43782
2009-08-28 19:28:54 +00:00
Arnaud Boutonné
d8c1eb7992 Suppress useless game type for Playtoons CK
svn-id: r43781
2009-08-28 18:14:55 +00:00
Sven Hesse
7c9b9c657e Fixing a typo and copy-paste error
svn-id: r43773
2009-08-27 16:36:19 +00:00
Johannes Schickel
a502a7a365 Slight formatting and changed searchHotspot to be const.
svn-id: r43770
2009-08-27 12:31:42 +00:00
Arnaud Boutonné
3e0d3ed380 code formatting
svn-id: r43769
2009-08-27 12:20:21 +00:00
Joost Peters
3f8b961807 fix compilation
svn-id: r43768
2009-08-27 11:28:35 +00:00
Arnaud Boutonné
b8fed0dd69 Playtoons - Modify oPlaytoons_F_1B so that it only warns when the functions is supposed to /really/ do something
svn-id: r43767
2009-08-27 10:39:04 +00:00
Arnaud Boutonné
9078ee4e7f Playtoons/Adi2 - Add rudimentary Hotspots search function based on shortId. The long Id checked is ShortId plus 0xD000, 0xB000 or 0x4000.
svn-id: r43766
2009-08-27 10:37:48 +00:00
Arnaud Boutonné
6044cea5a0 Playtoons - delayed bgstop only when frame == -9
svn-id: r43765
2009-08-27 10:35:39 +00:00
Arnaud Boutonné
70a63a8dbd Add ADI 2.0 'for Math Teacher' special pack
svn-id: r43728
2009-08-25 12:49:16 +00:00
Arnaud Boutonné
fd6390a76d Fix game type for ADI2 games
svn-id: r43726
2009-08-25 09:21:28 +00:00
Sven Hesse
081fa85b14 Playtoons uses a variable space that exceeds 32767 bytes. Changing a few variables to unsigned makes the construction mode not crash anymore (though it now hangs in a loop)
svn-id: r43713
2009-08-24 22:37:09 +00:00
Arnaud Boutonné
cb20283026 Add ADI 2.6 FR detection
svn-id: r43712
2009-08-24 21:58:24 +00:00
Arnaud Boutonné
e845db8033 - Add game type ADI2
- Cleanup : suppress all the "not-so-gob" games referenced

svn-id: r43710
2009-08-24 21:54:16 +00:00