Commit graph

153 commits

Author SHA1 Message Date
Le Philousophe
6e0e3bb6b1 CRYOMNI3D: Don't abort when there is no transition defined 2019-06-01 22:43:48 +02:00
Le Philousophe
2ed2d617c0 CRYOMNI3D: Fix errors in strings 2019-06-01 22:43:48 +02:00
Le Philousophe
8ad730260b CRYOMNI3D: Remove TODO as it's not needed anymore 2019-06-01 22:43:48 +02:00
Le Philousophe
bf123ad630 CRYOMNI3D: Implement level 5 2019-06-01 22:43:48 +02:00
Le Philousophe
07011e4fc7 CRYOMNI3D: Remove almost dumb images
There is no such thing, an image is either handled by template or by its
specific handler and in this case we don't store its name in the array
2019-06-01 22:43:48 +02:00
Le Philousophe
67e76c3b56 CRYOMNI3D: Forgot to deselect object after talking to Bontemps 2019-06-01 22:43:48 +02:00
Le Philousophe
995b10e71e CRYOMNI3D: Fix surface not reloaded after finished with safe 2019-06-01 22:43:48 +02:00
Le Philousophe
807c4c5247 CRYOMNI3D: Save savegames list offset in settings 2019-06-01 22:43:48 +02:00
Le Philousophe
96978b2079 CRYOMNI3D: Avoid LLVM warnings on the logic
The ifs should always be taken but better be safe
2019-06-01 22:43:48 +02:00
Le Philousophe
bdc6969ea4 CRYOMNI3D: Remove unused private members
This should remove LLVM warnings
2019-06-01 22:43:48 +02:00
Le Philousophe
adf6ab006c CRYOMNI3D: Use fabs instead of abs
This should correct LLVM warning
2019-06-01 22:43:48 +02:00
Le Philousophe
c18f209c90 CRYOMNI3D: Implement level 4 2019-06-01 22:43:48 +02:00
Le Philousophe
91d0f43cbf CRYOMNI3D: Add ability to choose ZON file
That's only used for workaround when an unused image file hasn't any ZON
file for it
2019-06-01 22:43:48 +02:00
Le Philousophe
17887c713e CRYOMNI3D: Reset key pressed
Without that we have spurious presses when there is no event
2019-06-01 22:43:48 +02:00
Le Philousophe
36405f483f CRYOMNI3D: Make placeStates array always the same size
Else we have some places not defined and errors with transitions
2019-06-01 22:43:48 +02:00
Le Philousophe
75e5339246 CRYOMNI3D: Fix comments 2019-06-01 22:43:48 +02:00
Le Philousophe
5eb8b19a9c CRYOMNI3D: If save name can't be read don't add it 2019-06-01 22:43:48 +02:00
Le Philousophe
ac5d392a76 CRYOMNI3D: Add a function to load a set of BMP files 2019-06-01 22:43:48 +02:00
Le Philousophe
349201ba15 CRYOMNI3D: Let callback modify displayed fixed image 2019-06-01 22:43:48 +02:00
Le Philousophe
5a0d511ebd CRYOMNI3D: Use typedef instead of repeating 2019-06-01 22:43:48 +02:00
Le Philousophe
c427cd9dca CRYOMNI3D: Implement level 3 2019-06-01 22:43:48 +02:00
Le Philousophe
9496c796bc CRYOMNI3D: Implement missing objects callbacks
Two callbacks quite special are still to be implemented
2019-06-01 22:43:48 +02:00
Le Philousophe
7cbf7095fc CRYOMNI3D: Fix messages 2019-06-01 22:43:48 +02:00
Le Philousophe
47908def70 CRYOMNI3D: Fix palette not applied when loading frame 2019-06-01 22:43:48 +02:00
Le Philousophe
7d6c3ee12b CRYOMNI3D: Fix some comments and order of callback 2019-06-01 22:43:48 +02:00
Le Philousophe
9bfc24eee3 CRYOMNI3D: Deselect object when removing from inventory 2019-06-01 22:43:48 +02:00
Le Philousophe
6d36bc3cca CRYOMNI3D: Fix style 2019-06-01 22:43:48 +02:00
Le Philousophe
c83f86a245 CRYOMNI3D: Fix file names for Macintosh version
Add a function to unify extensions handling.
That lets us substitute dashes by underscore on PC versions of
Versailles and fix dashes for Macintosh.
2019-06-01 22:43:48 +02:00
Le Philousophe
3a12d53ffc CRYOMNI3D: Implement level 2 2019-06-01 22:43:48 +02:00
Le Philousophe
0619120f3a CRYOMNI3D: Add a function to collect an Object * 2019-06-01 22:43:48 +02:00
Le Philousophe
6e692195c8 CRYOMNI3D: Let change individual color in main palette 2019-06-01 22:43:48 +02:00
Le Philousophe
812d75e4e4 CRYOMNI3D: Make objects functions names more consistent 2019-06-01 22:43:48 +02:00
Le Philousophe
d655fb5530 CRYOMNI3D: Add function to change sprite color 2019-06-01 22:43:48 +02:00
Le Philousophe
28702028a2 CRYOMNI3D: Add a function to not look for end of conversations 2019-06-01 22:43:48 +02:00
Le Philousophe
9e31e4dfb9 CRYOMNI3D: Mark clearly missing parts for next levels 2019-06-01 22:43:48 +02:00
Le Philousophe
f4d274c41e CRYOMNI3D: Add missing actions masks 2019-06-01 22:43:48 +02:00
Le Philousophe
cd9aefc425 CRYOMNI3D: Add a function to disable a zone in fixed images 2019-06-01 22:43:48 +02:00
Le Philousophe
49c90c74a6 CRYOMNI3D: Add a function to deselect object
In original Versailles game, there is such a function used to determine if an
object has just been deselected. We don't need it in this engine for now
but who knows that will may come handy.
2019-06-01 22:43:48 +02:00
Le Philousophe
4ceb3e4b07 CRYOMNI3D: Let user type spaces in save names 2019-06-01 22:43:48 +02:00
Le Philousophe
2860d5caac CRYOMNI3D: Apply sound settings at startup 2019-06-01 22:43:48 +02:00
Le Philousophe
84b60b92bd CRYOMNI3D: Fix appending of files extensions
We clear the previous extension and even if there is none, we must
append the new one
2019-06-01 22:43:48 +02:00
Le Philousophe
01234cd773 CRYOMNI3D: Fix cursor shown in transitions 2019-06-01 22:43:48 +02:00
Le Philousophe
769f8d46ef CRYOMNI3D: Fix cursor not shown in some events 2019-06-01 22:43:48 +02:00
Le Philousophe
92a306e56e CRYOMNI3D: Remove long delayMillis as they lower the framerate 2019-06-01 22:43:48 +02:00
Le Philousophe
f50d89841d CRYOMNI3D: Fix fonts for MacOS version 2019-06-01 22:43:48 +02:00
Le Philousophe
acb8349a91 CRYOMNI3D: Add Macintosh support to Versailles
There is still some work to do on fonts to make them match what it's
used by the original executable
2019-06-01 22:43:48 +02:00
Le Philousophe
db85320bcc CRYOMNI3D: Remove DATAS_V folder level for searching files
It's useless and Macintosh has a DATAV_HD folder which PC hasn't.
So let's put all folders directly at root with the Versailles program
2019-06-01 22:43:48 +02:00
Le Philousophe
6ef4fba3d1 CRYOMNI3D: Fix type of return to match prototype 2019-06-01 22:43:48 +02:00
Le Philousophe
ba6506d8d3 CRYOMNI3D: Fix struct declarations 2019-06-01 22:43:48 +02:00
Le Philousophe
a055268a08 CRYOMNI3D: remove debug define which skipped videos 2019-06-01 22:43:48 +02:00