Commit Graph
137148 Commits
Author SHA1 Message Date
Joseph-Eugene Winzer 6e7da43889 SUPERNOVA: Introduces INT32_MAX for eventTime 2018-01-23 02:15:44 +00:00
Joseph-Eugene Winzer b6bb1f9709 SUPERNOVA: Corrects max value for int32 2018-01-23 02:15:44 +00:00
Joseph-Eugene Winzer d90fa9d745 SUPERNOVA: Fixes setting of properies
resetProperty() clears the object's property flag compared to
setProperty().
2018-01-23 02:15:44 +00:00
Joseph-Eugene Winzer acfe2ab145 SUPERNOVA: Registers cmdButton clicks
Mouse clicks were consumed if a message was shown. This commit
introduces an exception for clicks on command buttons.
Also some refactoring.
2018-01-23 02:15:44 +00:00
Joseph-Eugene Winzer 639bc10906 SUPERNOVA: Disables OCCUPIED flag correctly 2018-01-23 02:15:44 +00:00
Joseph-Eugene Winzer dbb2632d1e SUPERNOVA: Rename kAudioUndef2 to kAudioSmash 2018-01-23 02:15:44 +00:00
Thierry Crozat 4a042c8465 SUPERNOVA: Save/restore _playerHidden flag in savegames 2018-01-23 02:15:44 +00:00
Joseph-Eugene Winzer bb8dbdfc68 SUPERNOVA: Fixes game freeze in bcorrdior
Most of the time _objectState[MAX_OBJECT - 1] was used for
showing/hiding the GUI, here it was to indicate if the player
is currently hidden behind a pillar though.
2018-01-23 02:15:44 +00:00
Joseph-Eugene Winzer b76ac8331f SUPERNOVA: Fixes turntable message
Do not show a message that the record is scratched when either
the turnable is unplugged or the cable cut.
2018-01-23 02:15:43 +00:00
Joseph-Eugene Winzer 8ccb752c33 SUPERNOVA: Puts on suit when leaving the restaurant
genericInteraction() has a special case when you take off your helmet
in the restaurant, it strips you completely.
Once you leave it's supposed to put on your suit, helmet and supply
but instead if flagged generic objects as worn.
2018-01-23 02:15:43 +00:00
Thierry Crozat ab6ae19ab3 SUPERNOVA: Fix calling onEntrance for new rooms
There was an issue when the onEntrance for one room changes
the current room. It would then fail to call onEntrance for
that new room. This happened at lest once at the start as the
Intro room onEntrance() changes to the first room at the end
if the intro cutscene.
2018-01-23 02:15:43 +00:00
Thierry Crozat bc78e613fd SUPERNOVA: Do not try to render INTRO room
This room has no image and this avoids getting a warning
about image file not found.
2018-01-23 02:15:43 +00:00
Thierry Crozat d8284756bb SUPERNOVA: Fix warning when not finding image file 2018-01-23 02:15:43 +00:00
Thierry Crozat 1d32c6ac25 SUPERNOVA: Only call onEntrace once after changing room 2018-01-23 02:15:43 +00:00
Thierry Crozat 3b36afc80f SUPERNOVA: Implement onEntrance for all corridors 2018-01-23 02:15:43 +00:00
Thierry Crozat f3e32d91a4 SUPERNOVA: Remove unused function variant 2018-01-23 02:15:43 +00:00
Thierry Crozat fa426e4dc3 SUPERNOVA: Fix clearing inventory when landing on Axacuss
If the player did pik up the discman earlier in the game,
it should be kept.

Also the inventory scroll needs to be reset after removing
almost all the objects as otherwise we may see what seems
to be an empty inventory with no arrow (although we can
still scroll when clicking on the space where the up arrow
should be).
2018-01-23 02:15:43 +00:00
Thierry Crozat c09ecdb19c SUPERNOVA: Improve English translation 2018-01-23 02:15:43 +00:00
Thierry Crozat a996a31ab9 SUPERNOVA: Add engine data file 2018-01-23 02:15:43 +00:00
Joseph-Eugene Winzer c51f27f1d4 SUPERNOVA: Removes redundant comments 2018-01-23 02:15:43 +00:00
Joseph-Eugene Winzer 6a39148a30 SUPERNOVA: Sets sections in the correct room 2018-01-23 02:15:43 +00:00
Joseph-Eugene Winzer e8d50c3c1b SUPERNOVA: Removes Discman from inventory
After landing on Axacuss your items are removed, except for your knife
and watch.
2018-01-23 02:15:42 +00:00
Thierry Crozat 75e3568f06 SUPERNOVA: Implement dialogs with variable text
This was partially implemented but not finished. However I reverted
the changes already done to support that in order to use a different
approach.
2018-01-23 02:15:42 +00:00
Strangerke ef90759e92 SUPERNOVA: Some cleanup, simplify some code 2018-01-23 02:15:42 +00:00
Thierry Crozat 1b2e4f926c SUPERNOVA: Implement alarm 2018-01-23 02:15:42 +00:00
Thierry Crozat 0c5f02959f SUPERNOVA: Remove outdated comment and warning 2018-01-23 02:15:42 +00:00
Thierry Crozat 5f0709d66f SUPERNOVA: Silence warning about unhandled switch cases 2018-01-23 02:15:42 +00:00
Thierry Crozat b207fdf54d SUPERNOVA: Complete implementation of walking through the Jungle 2018-01-23 02:15:42 +00:00
Thierry Crozat 967efacae1 SUPERNOVA: Remove leftover function declaration 2018-01-23 02:15:42 +00:00
Strangerke 2e95c690d0 SUPERNOVA: Add 2 missing translation strings, handle variable dialogs in AxacussCorridor5 2018-01-23 02:15:42 +00:00
Strangerke b4d7a83c75 SUPERNOVA: Small cleanups 2018-01-23 02:15:42 +00:00
Thierry Crozat 8efc3a15c1 SUPERNOVA: Replace non-ASCII characters with actal values 2018-01-23 02:15:42 +00:00
Strangerke 13319458dc SUPERNOVA; Move some strings to game text file, 2018-01-23 02:15:42 +00:00
Strangerke 4810d514fe SUPERNOVA: Implement telomat, increase savegame version 2018-01-23 02:15:41 +00:00
Thierry Crozat 626e93e6f8 SUPERNOVA: Consume click event when hiding message 2018-01-23 02:15:41 +00:00
Strangerke 37706ade78 SUPERNOVA: Implement searchStartEvent, fix bug in corridor initialization 2018-01-23 02:15:41 +00:00
Strangerke e2b85ab741 SUPERNOVA: Update savegame version 2018-01-23 02:15:41 +00:00
Strangerke cccdcf9c26 SUPERNOVA: Implement guardWalkEvent 2018-01-23 02:15:41 +00:00
Thierry Crozat 4014f4efae SUPERNOVA: Fix timing of search events 2018-01-23 02:15:41 +00:00
Thierry Crozat 312f33af3a SUPERNOVA: Fix missing message when waking up from dream 2018-01-23 02:15:41 +00:00
Thierry Crozat deb6168ed1 SUPERNOVA: Make sure to exit bathroom to the same room from which it was entered 2018-01-23 02:15:41 +00:00
Thierry Crozat 55fc09571f SUPERNOVA: Fix handling of room brightness
There were several issues with the brighness due to the different
implementation between the original and the code in scummvm. The
code has now been modified to be much closer to the original, which
fixed those issues and allowed to remove workarounds that had been
added in various places to deal with those issues (but those
workarounds had their own issues such as fade in happening too
soon before switching to the new room).
2018-01-23 02:15:41 +00:00
Strangerke 1ff953b815 SUPERNOVA: Move 2 strings to the DAT file 2018-01-23 02:15:41 +00:00
Thierry Crozat 177539ba2e SUPERNOVA: Load images on demand 2018-01-23 02:15:41 +00:00
Strangerke cbfa0a0640 SUPERNOVA: Fix some TODOs 2018-01-23 02:15:41 +00:00
Thierry Crozat 87ab33a8aa SUPERNOVA: Fix several issues with savegames 2018-01-23 02:15:41 +00:00
Thierry Crozat 34658bc7d4 SUPERNOVA: Fix a german string 2018-01-23 02:15:40 +00:00
Thierry Crozat 96afb54cc6 SUPERNOVA: Fix listing saves
The code was only looking at the last two digits of the file name, and
as a result the game autosaved in slot 999 was listed in slot 99.
2018-01-23 02:15:40 +00:00
Strangerke 7d72ae0d0d SUPERNOVA: Implement errorTempSave() 2018-01-23 02:15:40 +00:00
Thierry Crozat 1759d1ffdd SUPERNOVA: Implement autosave used for dream sequence 2018-01-23 02:15:40 +00:00