Simon Delamarre
5d519ed33b
GOB: be more conservative about possible regressions in Adibou2 changes
2022-12-02 11:44:35 +01:00
Simon Delamarre
6a1e2d5d21
GOB: misc format/style/typo fixes in Adibou2 changes
2022-12-02 11:44:35 +01:00
Simon Delamarre
0fcbc34266
GOB: fix regression in Adibou2 paths handling
...
We still need to call getFile() on paths to remove special tokens (@:, <ALLCD>...), but we do not strip paths anymore.
2022-12-02 11:44:32 +01:00
Simon Delamarre
d1793fb833
GOB: fix in oPlaytoons_printText
2022-12-02 11:44:29 +01:00
Simon Delamarre
e3e6c76923
GOB: handle saves for Adibou2 construction minigame
...
A few int16->utin16 were needed again.
2022-12-02 11:44:28 +01:00
Simon Delamarre
a31b588ad0
GOB: fix "paint" game in Adibou2
...
All tools now work correctly, except "text tool" which is still buggy.
Most missing graphical primitives had already stubs in "Inter_Playtoons", implement them there instead of "Inter_v7".
2022-12-02 11:44:28 +01:00
Simon Delamarre
b7349f8195
GOB: more save handlers for Adibou2
...
"TEMP01.CSA" is actually "weather" file for player1.
The first time, it needs to be copied from "TEMP.CSA" (copy file is now implemented, remove previous workaround)
2022-12-02 11:44:27 +01:00
Le Philousophe
4a82710bc0
GOB: Don't use unsafe sprintf and vsprintf
2022-10-23 22:46:19 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Orgad Shaneh
8d91d66a15
GOB: Use nullptr
...
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Paul Gilbert
005561d305
COMMON: Increase Stream pos, seek, size from int32 to int64
2021-07-08 18:24:28 -07:00
D G Turner
799a088b6e
GOB: Fix Missing Default Switch Cases
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-12 17:31:01 +00:00
Ben Castricum
6f38c1e55d
ALL: game state => saved game
2016-11-29 20:15:20 +01:00
Ori Avtalion
064df1ff27
GOB: Reduce audio header dependencies
2016-04-14 17:18:33 +03:00
Johannes Schickel
ea21bc939a
GOB: Make GPL headers consistent in themselves.
2014-02-18 02:39:34 +01:00
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