954 Commits

Author SHA1 Message Date
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
Arnaud Boutonné
00857eabe1 Some modifications in o6_playVmdOrMusic: Less warnings in console Windows, and first animations on interface icons. still problematic : cursor should not disappear during animation, and animation should loop
svn-id: r43709
2009-08-24 21:53:15 +00:00
Arnaud Boutonné
833ff0ccb7 Add another extension: SMD
svn-id: r43707
2009-08-24 21:33:35 +00:00
Sven Hesse
40f1deae3a Properly initialize _autoDouble, fixing demos that don't set a video mode on their own (like the Inca II (bat)demo)
svn-id: r43665
2009-08-23 09:57:47 +00:00
Sven Hesse
c70a874506 Properly fixing the Lost in Time temp sprite issue
svn-id: r43654
2009-08-22 15:46:43 +00:00
Sven Hesse
401e54825f Hooking up the v2 spriteUncompressor into the v6 one
svn-id: r43642
2009-08-22 13:11:30 +00:00
Arnaud Boutonné
f9a3ca7db1 Add 31 title files to ignore (they are never present !)
svn-id: r43601
2009-08-21 16:50:30 +00:00
Sven Hesse
79c2dc7980 Fixing some signed/unsigned comparison warnings
svn-id: r43570
2009-08-20 20:59:22 +00:00
Arnaud Boutonné
e350e0b020 Replace magic numbers by constants : kPropsSize and kIndexSize
svn-id: r43562
2009-08-20 13:36:18 +00:00
Arnaud Boutonné
afabd2706b Add oPlaytoons_F_1B skeletton, and oPlaytoons_readData to avoid adding a playtoons workaround in inter_v2.
svn-id: r43561
2009-08-20 12:32:59 +00:00
Arnaud Boutonné
50d515c3df modify props size to avoid later error (Size is still temporary) and prepare the magic number => constant modification
svn-id: r43560
2009-08-20 12:30:37 +00:00
Johannes Schickel
b33b90ecd0 Made AGOS, DRASCULA, GOB, GROOVIE, MADE, SCUMM and TINSEL properly stop CD audio playback on engine quit. (This only problem affected playback from CD, not from ripped audio files)
svn-id: r43512
2009-08-18 15:31:26 +00:00
Arnaud Boutonné
90336c88ac Add back parenthesis (I wasn't aware of this convention, sorry) in saveload, and mimic this code in oPlaytoons_openItk
svn-id: r43464
2009-08-17 10:05:02 +00:00
Johannes Schickel
b8fd79486f Formatting.
svn-id: r43463
2009-08-17 09:57:09 +00:00
Arnaud Boutonné
e214755107 Suppress useless parentheses
svn-id: r43462
2009-08-17 09:54:49 +00:00
Arnaud Boutonné
f3918d14d6 Added OPCODEDRAW 0x85, with a specific workaround for Bambou hardcoded paths in scripts
svn-id: r43461
2009-08-17 09:50:35 +00:00
Torbjörn Andersson
762d2dc03a Removed unnecessary semi-colons.
svn-id: r43409
2009-08-15 14:13:48 +00:00
Sven Hesse
5e90ce3536 Setting gob3 save/load mode of the temporary sprite "intro.$$$" to ignore and remove the TempSpriteHandler.
Gob3 doesn't use it at all and Lost in Time only saves (with an invalid index) and never loads

svn-id: r43366
2009-08-14 15:22:43 +00:00
Arnaud Boutonné
e9767a80ce fix methods
svn-id: r43347
2009-08-13 10:08:07 +00:00
Arnaud Boutonné
f9560dc35a Suppress no longer needed Playtoons workaround
svn-id: r43346
2009-08-13 10:00:35 +00:00
Arnaud Boutonné
fc74ec8646 - Add a specific OPCODEFUNC checkData to avoid having a Playtoons workaround in working code
- Replace OPCODEDRAW 0x20,0x23 and 0x25

svn-id: r43345
2009-08-13 09:59:44 +00:00