Commit Graph

41 Commits

Author SHA1 Message Date
Matthew Hoops
0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Sven Hesse
c66afb213b GOB: Fix analyser warnings regarding sprintf() parameter signness 2011-11-03 17:01:54 +01:00
Thierry Crozat
06bbb57ad7 I18N: Make many more GUI MessageDialog strings translatable 2011-06-13 22:19:18 +01:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Sven Hesse
94b6d23d44 GOB: Silence a compiler warning
svn-id: r55771
2011-02-04 16:16:07 +00:00
Sven Hesse
b6d2e521c5 GOB: Add oPlaytoons_loadMultObject
svn-id: r55769
2011-02-04 15:55:20 +00:00
Sven Hesse
0efcd484ea GOB: Implement case -2 for oPlaytoons_getObjAnimSize
svn-id: r55768
2011-02-04 15:54:52 +00:00
Sven Hesse
812680d187 GOB: Rename Draw::kSpritesCount to Draw::kSpriteCount
svn-id: r55729
2011-02-02 16:49:20 +00:00
Sven Hesse
f8d61c9e55 GOB: Work around the unimplemented copyFile :P
svn-id: r55654
2011-01-30 13:14:54 +00:00
Sven Hesse
e4a9cafab8 GOB: Add a sanity check to the copyFile stub
svn-id: r55647
2011-01-30 00:03:35 +00:00
Sven Hesse
4588d4cc97 GOB: Add Inter_Playtoons::readSprite()
svn-id: r55646
2011-01-30 00:03:12 +00:00
Sven Hesse
993a543432 GOB: Add Inter_Playtoons::getFile()
svn-id: r55637
2011-01-29 22:49:15 +00:00
Sven Hesse
65bc46d3ab GOB: Add Script::evalInt() and Script::evalString()
svn-id: r55634
2011-01-29 22:47:53 +00:00
Sven Hesse
14678f059b GOB: Move OpcodeFunc's return flag into its parameter
To make the meaning of the flag more clear and make the func
opcodes more similar to draw and gob opcodes.

svn-id: r55627
2011-01-29 22:44:06 +00:00
Sven Hesse
efdcf921ea GOB: Another fake file path
svn-id: r55551
2011-01-26 19:04:42 +00:00
Sven Hesse
1a44ed588f GOB: Some more Addy stubs
svn-id: r55509
2011-01-25 01:28:31 +00:00
Sven Hesse
176e49975c GOB: Adding stubs for Addy
svn-id: r55508
2011-01-25 00:50:26 +00:00
Sven Hesse
283bec822d GOB: Add a sanity check in oPlaytoons_readData
svn-id: r55284
2011-01-18 04:19:33 +00:00
Sven Hesse
16a3cc8a84 GOB: Clean up class DataIO
Removing the need for class DataStream and that handle mess.

svn-id: r53984
2010-10-31 20:07:14 +00:00
Sven Hesse
835455798f GOB: Remove the now useless helper.h
svn-id: r53491
2010-10-15 13:55:18 +00:00
Sven Hesse
5c48c3fd2b GOB: Remove strncpy0()
Replacing it (and some strncpy + manual terminating) with
Common::strlcpy()

svn-id: r53490
2010-10-15 13:54:23 +00:00
Sven Hesse
4415953393 GOB: Add constants for different surfaces/sprites
Add
static const int kFrontSurface   = 20;
static const int kBackSurface    = 21;
static const int kAnimSurface    = 22;
static const int kCursorSurface  = 23;
static const int kCaptureSurface = 30;
to class Draw and substitute the raw numbers in other files with
those aliases, for readability.

svn-id: r51852
2010-08-08 00:35:18 +00:00
Torbjörn Andersson
30a92bec6b Removed unused variables.
svn-id: r50947
2010-07-16 23:02:17 +00:00
Arnaud Boutonné
8275b3e13b Fix warning using GCC 4.5
svn-id: r48819
2010-04-27 20:47:06 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +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é
6a9cc3b1e0 - Implement _pattern variable
- Add oPlaytoons_putPixel and Playtoons specific spriteOperation (using _pattern)

svn-id: r44103
2009-09-15 12:15:22 +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
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
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
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
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
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
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é
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é
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é
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
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