Commit Graph

89021 Commits

Author SHA1 Message Date
Le Philousophe
4e955c4776 CRYOMNI3D: Remove outdated TODOs 2019-06-01 22:43:48 +02:00
Le Philousophe
e791122c59 CRYOMNI3D: Implement (final) level 7 2019-06-01 22:43:48 +02:00
Le Philousophe
f7c7707d15 CRYOMNI3D: Fix objects order to keep savegame compat
That's easier to debug
2019-06-01 22:43:48 +02:00
Le Philousophe
48ad952e50 CRYOMNI3D: Save some space 2019-06-01 22:43:48 +02:00
Le Philousophe
01f6e2db12 CRYOMNI3D: Implement countdown 2019-06-01 22:43:48 +02:00
Le Philousophe
edf2fdb128 CRYOMNI3D: Add hook to video playing
That will be used for countdown
2019-06-01 22:43:48 +02:00
Le Philousophe
1c4d0d87ec CRYOMNI3D: Use existing palette to init video one
This is useful when there will be hooks on video plays which use a
palette entry not defined in video
2019-06-01 22:43:48 +02:00
Le Philousophe
cba0ee7296 CRYOMNI3D: Implement level 6 2019-06-01 22:43:48 +02:00
Le Philousophe
93bc6cf02b CRYOMNI3D: Fix incorrect dialog shows 2019-06-01 22:43:48 +02:00
Le Philousophe
3413768f8e CRYOMNI3D: Don't skip videos (debug leftover) 2019-06-01 22:43:48 +02:00
Le Philousophe
c6999b091e CRYOMNI3D: Number objects to help mangling of saves 2019-06-01 22:43:48 +02:00
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