Commit Graph
54649 Commits
Author SHA1 Message Date
Paul Gilbert c74700e2f7 XEEN: Fix giving entire party damage in giveCharDamage 2018-01-27 15:10:11 -05:00
Bastien Bouclet 5878c618c9 GUI: Remove Dialog::markAsDirty to expose full GUI redraws 2018-01-27 18:12:34 +01:00
Paul Gilbert d5d1229ae3 XEEN: Finish fall animation 2018-01-27 11:33:20 -05:00
Paul Gilbert e4ab945b41 XEEN: Added further enum values to make falling code clearer 2018-01-26 07:55:57 -05:00
Paul Gilbert 5b3526e587 XEEN: Implementing falling code 2018-01-26 07:52:29 -05:00
Paul Gilbert c5268f6363 XEEN: Further renaming for _falling enum 2018-01-26 07:52:28 -05:00
Paul Gilbert 644ef043fb XEEN: Further fixes for starting falls 2018-01-25 21:47:30 -05:00
Paul Gilbert b85d6101d3 XEEN: Change _falling to enum, properly implement startFalling 2018-01-25 20:59:37 -05:00
Paul Gilbert 22d1a6496c XEEN: Fix loading of desert map 2018-01-25 19:49:53 -05:00
Paul Gilbert f1170a4ab1 XEEN: Extra comments for map code 2018-01-24 22:04:01 -05:00
Paul Gilbert 101f7fb2b4 XEEN: Fix loading of Darzog's Tower 2018-01-24 21:55:21 -05:00
Paul Gilbert 35833695c0 XEEN: Fix hooking up monster data during map loading 2018-01-24 21:31:10 -05:00
Paul Gilbert 266c17ab8c XEEN: Fix map loading for Shangri-la 2018-01-24 08:03:32 -05:00
Paul Gilbert 91405a53f4 XEEN: Fix resetting HP for Medusa Sprites each combat turn 2018-01-23 20:37:43 -05:00
Paul Gilbert 770efbe803 XEEN: Don't give out treasure if party runs from combat 2018-01-23 20:28:11 -05:00
Paul Gilbert 534755fea1 XEEN: Fix drawing of combat icons during battle
This also refactors out the use of _mainList, which separately draws
the icons. Since the data needed is already added to the _buttons
array, I could dispense with _mainList and draw the buttons directly.
2018-01-23 19:46:03 -05:00
Joseph-Eugene Winzer ccd4e20e32 SUPERNOVA: Fixes destruction of SoundSample buffer 2018-01-23 02:15:47 +00:00
Joseph-Eugene Winzer 26b5522463 SUPERNOVA: Adds ModeList 2018-01-23 02:15:47 +00:00
Thierry Crozat eafd739c66 SUPERNOVA: Improve waiting until a sound has finished playing 2018-01-23 02:15:47 +00:00
Thierry Crozat ac609c91db SUPERNOVA: Make _event a local variable 2018-01-23 02:15:47 +00:00
Thierry Crozat 2a8cf41b33 SUPERNOVA: Handle RTL and Quit while editing text 2018-01-23 02:15:47 +00:00
Thierry Crozat d12b182450 SUPERNOVA: Remove declaration for unimplemented and unused function 2018-01-23 02:15:47 +00:00
Thierry Crozat ba51c37a5c SUPERNOVA: Fix cursor not shown if escaping during the intro snoring sequence 2018-01-23 02:15:47 +00:00
Thierry Crozat 963ad97e2a SUPERNOVA: Fix missing reset of object CARRIED flag when clearing inventory 2018-01-23 02:15:47 +00:00
Joseph-Eugene Winzer dd6df76b32 SUPERNOVA: Initializes RandomSource on stack 2018-01-23 02:15:46 +00:00
Joseph-Eugene Winzer b937268e61 SUPERNOVA: Renames INT32_MAX to kMaxTimerValue
Prevents collision with stdint.h INT32_MAX
2018-01-23 02:15:46 +00:00
Joseph-Eugene Winzer 32e8d22c14 SUPERNOVA: Corrects header guard name 2018-01-23 02:15:46 +00:00
Joseph-Eugene Winzer b8b0ae57cc SUPERNOVA: Fixes AudioStream leak 2018-01-23 02:15:46 +00:00
Joseph-Eugene Winzer d68ce6dc07 SUPERNOVA: Changes array to seperate variables 2018-01-23 02:15:46 +00:00
Joseph-Eugene Winzer e40a017962 SUPERNOVA: Fixes segfault if dat file not found 2018-01-23 02:15:46 +00:00
Joseph-Eugene Winzer c0f47712c2 SUPERNOVA: Changes message order
When taking off your helmet or life support in a room without oxygen, it
showed the death screen before the 'taking off helmet/life support'
message.
2018-01-23 02:15:46 +00:00
Joseph-Eugene Winzer fa1e93a15e SUPERNOVA: Removes global constructor call
Object() is redundant anyway as it instantiates an Object object and
copies it to nullObject, which was already default constructed.
2018-01-23 02:15:46 +00:00
Joseph-Eugene Winzer da3d145819 SUPERNOVA: Moves strings to GameManager class 2018-01-23 02:15:46 +00:00
Joseph-Eugene Winzer 6fe9af93f3 SUPERONVA: Sets uninitialized values to 0 2018-01-23 02:15:46 +00:00
Joseph-Eugene Winzer 8d79bbad9b SUPERNOVA: Removes comment
renderRoom() and later in the game loop executeRoom() does everything
that is explicitly called in the original.
2018-01-23 02:15:46 +00:00
Joseph-Eugene Winzer f5c2271ffd SUPERNOVA: Prevents paletteFadeIn() to be triggered 2018-01-23 02:15:45 +00:00
Joseph-Eugene Winzer 43709a59f3 SUPERNOVA: Reverts brightness change
If the brightness is 0, it is faded in at the end of the game loop.
In some instances, especially cutscenes, it makes the code harder to
understand as in somecases the code expects the brightness to be faded
in after having it faded out, set manually to 0 or when you leave a dark
room, set by roomBrightness().
Removing it now, would just lead to more confusion during the port of
Supernova part 2.
2018-01-23 02:15:45 +00:00
Joseph-Eugene Winzer 45b2c4ea28 SUPERNOVA: Hides cursor during snoring sequence 2018-01-23 02:15:45 +00:00
Joseph-Eugene Winzer 40b39b2b6d SUPERNOVA: Aborts intro if game should be closed 2018-01-23 02:15:45 +00:00
Joseph-Eugene Winzer 1fd7ea7c39 SUPERNOVA: Fixes object state update
In order to trigger a mouseField change in processInput(), we move the
cursor to 0,0 first before restoring its original position.
2018-01-23 02:15:45 +00:00
Joseph-Eugene Winzer f3f75da959 SUPERNOVA: Pushes a mousemove to update object state
If you click on an exit on the map and there is again an exit on the
same spot, it won't be recognized until the next mouse move/click.
This change fakes a mouse move and thus updates the object state.
2018-01-23 02:15:45 +00:00
Joseph-Eugene Winzer 6df88c5c46 SUPERNOVA: Fixes fading in intro 2018-01-23 02:15:45 +00:00
Joseph-Eugene Winzer 509edfd539 SUPERNOVA: Returns to launcher after outro 2018-01-23 02:15:45 +00:00
Joseph-Eugene Winzer 063962a583 SUPERNOVA: Updates palette when changing room brightness 2018-01-23 02:15:45 +00:00
Joseph-Eugene Winzer d69480b52e SUPERNOVA: Renames audio constants 2018-01-23 02:15:45 +00:00
Joseph-Eugene Winzer 7ba9d94a89 SUPERNOVA: Renames audio constants 2018-01-23 02:15:45 +00:00
Joseph-Eugene Winzer c1f6d41ce0 SUPERNOVA: Fixes outro cutscene 2018-01-23 02:15:45 +00:00
Joseph-Eugene Winzer 3ae3ee6978 SUPERNOVA: Fixes inventory scrolling
Correctly moves inventory view when items are added/removed/cleared
2018-01-23 02:15:44 +00:00
Joseph-Eugene Winzer 5861627602 SUPERNOVA: Implements money object for inventory 2018-01-23 02:15:44 +00:00
Joseph-Eugene Winzer 996d5c082e SUPERNOVA: Replaces TICKETS with MONEY 2018-01-23 02:15:44 +00:00