Commit Graph
178 Commits
Author SHA1 Message Date
Simon Delamarre 5d519ed33b GOB: be more conservative about possible regressions in Adibou2 changes 2022-12-02 11:44:35 +01:00
Simon Delamarre 988d4882a2 GOB: fix a few cursor glitches in Adibou2
Try to mimic more closely what is done in the executable.

Fixes black squares sometimes blinking around the cursor (just after selecting the character, when hoovering seeds bags in the vegetable garden...), and fix a temporarily disappearing "waiting" cursor in some "change CD" screens.
2022-12-02 11:44:34 +01:00
Simon Delamarre 2d0ee1ffa1 GOB: fix some parasite sprites issues in Adibou2
Some sprite cleaning was missing when destroying objects.
2022-12-02 11:44:32 +01:00
Simon Delamarre bc18fc6361 GOB: workaround to handle application CD changes in some Adibou2 versions
Some versions of Adibou2 are only able to handle one CD at a time. This workaround enable to add Adibou2 applications by copying them as a subdirectory of the game directory, just like in multi-cd-aware versions.
2022-12-02 11:44:32 +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 8a08d6470b GOB: o7_deleteFile, allow to delete all files matching a pattern
Fixes the "delete character" button in Adibou2

We cannot strip paths for this opcode, as scripts sometimes delete all files in a directory (e.g. "TEMP\*.*", that would have been simplified as "*.*" with path stripping).

Use also full path match for read/write/copy/move operations, to allow distinguishing savegames with same filename under different directories, with a fallback to simple filename matching.
2022-12-02 11:44:31 +01:00
Simon Delamarre 283fd1b103 GOB: more cursor resizing fixes for Adibou2
This fixes remaining cursor issues in an English version of Adibou2.
2022-12-02 11:44:31 +01:00
Simon Delamarre 4e77480374 GOB: cursors can now be loaded from NE executables
Some Adibou2 versions use NE executables instead of PE, and rely on the "name table" feature for map the cursor name the cursor data.
2022-12-02 11:44:31 +01:00
Simon Delamarre 5d66b9a200 GOB: add some Adibou1 stubs 2022-12-02 11:44:30 +01:00
Simon Delamarre 656cc44dfe GOB: use oPlaytoons_printText in Adibou2
Partially fix the "text" tool in paint game, font spacing is now correct (there is still a key listening issue, though).
2022-12-02 11:44:29 +01:00
Simon Delamarre 46f23e34bf GOB: another fillRect mode in Adibou2 (replace a specific color)
Fixes choice highlighting in "Adibou station" game
2022-12-02 11:44:28 +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 40f834fd7c GOB: implement copyFile and moveFile 2022-12-02 11:44:26 +01:00
Simon Delamarre 964133c415 GOB: misc file path related adjustments in Adibou2 2022-12-02 11:44:26 +01:00
Simon Delamarre 27e5234e17 GOB: disable "split" surface for Adibou2
The "split" logic seems to have disappeared in recent versions of the engine (it was triggered by mistake in some situation, resulting in bad draws).
o7_initScreen still need to be fully adapted.
2022-12-02 11:44:26 +01:00
Simon Delamarre 444a0586eb GOB: implement o7_loadMultObject
Special behaviour when x == -1234 and y == -4321 (close video, isStatic = 1).
2022-12-02 11:44:25 +01:00
Simon Delamarre 24b6eeb0a0 GOB: Adibou2 characters animations 2022-12-02 11:44:24 +01:00
Simon Delamarre 0f95ad760f GOB: save children personal data and completed exercises in Adibou2
child personal data: name, birth date, face sprite
2022-12-02 11:44:23 +01:00
Simon Delamarre 8cf57d9d4a GOB: add stub for o7_moveFile (op draw 0x62) 2022-12-02 11:44:23 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Bastien Bouclet 0ee30278fc GOB: Add override keywords 2020-02-09 12:43:15 +01:00
Johannes Schickel ea21bc939a GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
Sven Hesse edacb7ada7 GOB: Move getTotTextItemPart() from Inter_v3 to Inter_v2 2014-01-31 11:54:44 +01:00
Tomas Jakobsson b85d51c4a3 GOB: Update to new IFFDecoder for ILBM images 2013-01-06 20:04:42 +01:00
Sven Hesse a24cb57c9d GOB: Loop the Little Red title music 2012-06-16 02:58:53 +02:00
Sven Hesse 7632246264 GOB: Implement Util::getKeyState() for Little Red
This makes the bees level playable, removing the "lock-up".
Collision detection between Little Red and the bees and butterflies
doesn't work yet though, so they're just flying through her.

Nevertheless, the game seems to be completable now.
2012-06-15 13:35:46 +02:00
Sven Hesse f16cc050e9 GOB: Add class Inter_LittleRed
This fixes the crash when selecting an animal in the "Languages"
screen.

Interestingly, the German names of the animals are partially
wrong... And for "Das Schmetterling" (sic!), even the recorded
speech sample is wrong.
2012-06-15 01:14:49 +02:00
Sven Hesse be25e31a0a GOB: Fix v7 cursors drawn by the scripts
When the cursor name is "", then that cursor is drawn by the scripts
instead of loaded from cursor32.dll. That cursor does not have its own
palette then.
Fixes the cursors in the "paint" game in Adibou2.
2012-05-29 17:12:06 +02:00
Sven Hesse aa7c44a070 GOB: Hook up the PE cursors to v7 loadCursor
Addy Junior / Adibou2 now shows proper cursors.
Thanks to clone2727 for the constant nagging. :P
2012-05-29 14:22:07 +02: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 7f5f9c9f91 GOB: Stub classes for Geisha's Diving and Penetration minigames 2011-09-03 18:00:09 +02:00
Sven Hesse 26dd2f5f60 GOB: Move keyPressed() to Util 2011-09-03 18:00:09 +02:00
Sven Hesse b516e4f440 GOB: Add a workaround for some of Geisha's textboxes
Geisha often displays text while it loads a new TOT.
Back in the days, this took long enough so that the text
could be read. Since this isn't the case anymore, we'll
wait for the user to press a key or click the mouse.
2011-08-29 14:10:10 +02:00
Sven Hesse dfe9fc05aa GOB: Implement saving/loading for Geisha 2011-08-29 01:37:57 +02:00
Sven Hesse cdc86c6f67 GOB: Add oGeisha_checkData 2011-08-26 09:17:51 +02:00
Sven Hesse 8fd8c913af GOB: Implement oGeisha_caress1 and oGeisha_caress2
Used in the Mastermind minigame in Chapter 2: Caress
2011-08-26 09:11:11 +02:00
Sven Hesse 3062bc1df6 GOB: Stub the Geisha minigame "Diving" 2011-08-26 08:20:19 +02:00
Sven Hesse e05e18d8bd GOB: Stub the Geisha minigame "Penetration" 2011-08-26 08:15:47 +02:00
Sven Hesse a3bc17296b GOB: Add Geisha AdLib music opcodes
adlibPlay() is commented out for now, until Strangerke fixes the
MDYPlayer. :P
2011-08-26 07:47:37 +02:00
Sven Hesse e20b90543d GOB: Fix the Geisha cursor 2011-08-26 06:09:56 +02:00
Sven Hesse 24929c9990 GOB: Add inter_geisha.cpp and implement oGeisha_loadSound
Geisha's intro shows now (with glitches, palette animation fail?) and
the game is playable.
2011-08-26 04:10:46 +02:00
Sven Hesse a852f30fb2 GOB: Add a workaround for bug #3376547 (gob3 footstep sound) 2011-07-25 18:47:31 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Sven Hesse b6d2e521c5 GOB: Add oPlaytoons_loadMultObject
svn-id: r55769
2011-02-04 15:55:20 +00:00
Sven Hesse 6a99b6f340 GOB: Add Inter::readValue()
svn-id: r55767
2011-02-04 15:54:21 +00:00
Sven Hesse 209f5bd77e GOB: Move storeValue/storeString to class Inter
svn-id: r55766
2011-02-04 15:53:44 +00:00
Sven Hesse c3e7b03b46 GOB: Add o7_findCDFile
Stubbing that for now

svn-id: r55738
2011-02-02 19:53:22 +00:00
Sven Hesse c1967c1a0a GOB: Add o7_gob0x201
svn-id: r55737
2011-02-02 19:52:47 +00:00
Sven Hesse 729be647a0 GOB: o7_draw0xA4 is o7_loadLBMPalette
Stubbing that one for now.

svn-id: r55731
2011-02-02 16:50:23 +00:00