Commit Graph
54649 Commits
Author SHA1 Message Date
Paul Gilbert 010c47bfe8 XEEN: Add World of Xeen logo to end of Dark Side intro 2018-03-02 19:28:47 -05:00
Adrian Frühwirth 3de1ba11b3 TUCKER: Use Verb enum in more places 2018-03-02 22:52:41 +01:00
Adrian Frühwirth 5b89fd7dab Add PanelState, PanelStyle and PanelType enums
The new _panelState tells if the panel is currently in the process
of being toggled between icon-style and text-style verbs and thus
animated.

The new _panelStyle tells wich verb-style the panel currently uses.

The new _panelType tells which mode the panel currently is in:
  - verbs + inventory (normal)
  - empty (used for dialogs)
  - save, load, play, quit buttons
  - save/load savegame

Also, switchPanelType() has been renamed to togglePanelStyle() and
kInputKeyToggleInventory to kInputKeyTogglePanelStyle to better
match the above changes.
_switchPanelFlag has been dropped in favor of using the new _panelState.

TODO: Store _panelStyle in savegames.
2018-03-02 19:41:45 +01:00
Adrian Frühwirth 7aee8f4e42 TUCKER: Add Part enum 2018-03-02 17:38:04 +01:00
Adrian Frühwirth dce8a98a18 TUCKER: Add CursorStyle and CursorState enums 2018-03-02 17:26:12 +01:00
Paul Gilbert 487baf6f8e XEEN: Fixes for Dark Side intro 2018-03-01 22:04:44 -05:00
Paul Gilbert 0ef3cded21 XEEN: Implemented remaining code for Dark Side intro 2018-03-01 19:19:49 -05:00
Paul Gilbert a3c8840dcc XEEN: In progress implementing Dark Side intro 2018-02-28 22:07:00 -05:00
Paul Gilbert 29b8812af3 XEEN: Don't show game intro if it's already been seen perviously 2018-02-26 20:46:39 -05:00
Paul Gilbert dab044edb0 XEEN: Minor cleanups to outer engine 2018-02-26 19:20:34 -05:00
Paul Gilbert 0fc11aef63 XEEN: Cleanup of the game title, intro, and menu launching code 2018-02-26 19:15:00 -05:00
Paul Gilbert 724c4e57ad XEEN: Defer creating new game state until needed
This fixes a bug with the startup menu where, after finishing the
game, starting a new one would simply re-show the prior game
2018-02-26 18:24:24 -05:00
Peter Kohaut 62b75b9990 BLADERUNNER: Added Generic Walker actors
Fixed isseue of duplicating items in world
Fixed fog issue with incorrect rendering in special occasions
Added basic debugger console
Refactored looping code for better readability
2018-02-25 22:38:52 +01:00
Adrian Frühwirth 842c67fc34 TUCKER: Allow skipping speech
Escape, period or right mouse click skips one sentence at a time.
2018-02-25 20:15:25 +01:00
Adrian Frühwirth c55ee3f967 TUCKER: Confine Bud to walkable area when entering club
When Bud is walked to specific coordinates using the 'buw' opcode the
walkable area is not enforced (_locationMaskIgnore == true).
This is usually not a problem because the player is not allowed to click,
however, when entering the club, this allows the player to move Bud to
coordinates from which he can never return, leaving him stuck there.
As a workaround, do not ignore the location mask during this specific
action when entering the club.

Fixes Trac#5838.
2018-02-25 20:07:21 +01:00
Adrian Frühwirth 9f1f5057c9 TUCKER: Fix theoretical out-of-bounds read 2018-02-25 16:21:37 +01:00
Paul Gilbert ce48271a59 XEEN: Fix freeze on the Confirm dialog 2018-02-24 22:02:48 -05:00
Paul Gilbert d9ab653052 XEEN: Remove old stubbed Screen::draw method 2018-02-24 21:38:20 -05:00
Paul Gilbert 8ae340d847 XEEN: Remove debug code and unneeded variables 2018-02-24 21:34:54 -05:00
Paul Gilbert da65468c47 XEEN: Set correct starting date for each game 2018-02-24 21:18:07 -05:00
Paul Gilbert 72e540e203 XEEN: Add difficulty selection dialog to WOX starting menu 2018-02-24 21:17:44 -05:00
Paul Gilbert 18235e4ab0 XEEN: Properly redraw Char Items dialog after leaving Quest dialog 2018-02-24 20:20:01 -05:00
Paul Gilbert 16bae6f314 XEEN: Fix getting items from combat and displaying them in Items dialog 2018-02-24 20:12:24 -05:00
Paul Gilbert 1cedc605ee XEEN: Fix format string for items dialog weapon lines 2018-02-24 19:02:05 -05:00
Paul Gilbert 5d4bc20d62 XEEN: Fix resetting wall sprites between maps 2018-02-24 18:32:07 -05:00
Adrian Frühwirth 394fcc8c84 TUCKER: Work around background pixels being drawn in the foreground
Some backgrounds use colors in the reserved range [0xE0-0xF8] in a
walkable area which results in a number of pixels being falsely drawn
in the foreground (on top of Bud).

This fixes Trac#10423 to work around these original game bugs and
also removes the workaround for location 14 which does not seem to be
needed anymore.
2018-02-24 23:16:15 +01:00
Paul Gilbert c577f6dba4 XEEN: Don't save prior map state when loading new saves 2018-02-24 16:14:59 -05:00
Paul Gilbert 1b96899afc XEEN: Swords of Xeen doesn't have any dreams 2018-02-24 15:50:23 -05:00
Paul Gilbert 2fe8c94180 XEEN: Implemented Swords of Xeen death screen 2018-02-24 15:42:58 -05:00
Paul Gilbert ad7206ea38 XEEN: Don't show blood spatter for hits beyond the first row 2018-02-24 14:12:16 -05:00
Paul Gilbert 36d474db1f XEEN: Merge various pow/hit arrays into a single array of structures 2018-02-24 11:11:04 -05:00
Paul Gilbert 10a82b2718 XEEN: Fix reduction of damage from physical resistence 2018-02-24 07:16:16 -05:00
Paul Gilbert e5a3f5b7e1 XEEN: Add custom minimap logo for Swords of Xeen 2018-02-23 20:19:09 -05:00
Paul Gilbert d5deec56c8 XEEN: Simplify showPharaohEndText method to use const char * 2018-02-23 19:01:20 -05:00
Thierry Crozat b5df2f8ec7 SUPERNOVA: Add strings for quit game prompt 2018-02-23 23:51:39 +00:00
Paul Gilbert cd6e5eef48 XEEN: Fix restarting scripts after script teleports 2018-02-23 18:26:23 -05:00
Paul Gilbert 6b4d3f70dd XEEN: Add data to create_xeen for Clouds of Xeen on it's own 2018-02-23 15:23:21 -05:00
Paul Gilbert d132d66c28 XEEN: Add Clouds of Xeen MAE and Spells to xeen.ccs
The later games stored them in resources, but Clouds of Xeen had
them hardcoded. So this adds them under the same resource names
as the later games, so the existing code can load them
2018-02-23 15:23:20 -05:00
Paul Gilbert 6b523a1d04 XEEN: Properly erase items dialog when exited 2018-02-23 15:23:20 -05:00
Paul Gilbert 7dde659bf6 XEEN: Fix some incorrect string arrays in create_xeen 2018-02-23 15:23:20 -05:00
Paul Gilbert 6614d8df17 XEEN: Remove un-needed initialization of monsters list in code
The original had a static monsters list in the executable, but
it then goes ahead and loads in the list from a resource anyway
2018-02-23 15:23:20 -05:00
Paul Gilbert bb19a6c771 XEEN: Add custom maze to the create_xeen tool
This could be used as an example of how other new maps could be
added in the future, and it also gives people a cool result if
they try typing 'ScummVM' into the teleport mirror
2018-02-23 15:23:20 -05:00
Paul Gilbert 2f6ca8f45e XEEN: Fix exiting ScummVM when 'Nothing here' dialog is active 2018-02-23 15:23:20 -05:00
Paul Gilbert eca55e500c XEEN: Make mirror text entry matching case insensitive 2018-02-23 15:23:20 -05:00
Paul Gilbert a8961fc145 XEEN: Fix saving maps with no objects and/or monsters 2018-02-23 15:23:20 -05:00
Paul Gilbert 81b9f9b0fc XEEN: Add _filename field to SpriteResource
This will be useful for debug purposes, so it be determined where
a given sprite resource was loaded from
2018-02-23 15:23:20 -05:00
Paul Gilbert 5e0782c8da XEEN: Fix loading maps with no monsters 2018-02-23 15:23:20 -05:00
Paul Gilbert ad7b947da3 XEEN: Change Resource String fields to const char *
All too many of the resource strings are used as parameters in
Common::String::format calls, and it proved too laborious trying
to add .c_str() suffixes everywhere it'd be appropriate. Easier
to simply change all the Reosucre fields back to being const char *
2018-02-23 15:23:20 -05:00
Paul Gilbert 900ef91aca XEEN: Creation of create_xeen tool 2018-02-23 15:23:20 -05:00
Eugene Sandulenko 8809149b3c DREAMWEB: Added detection for Russian fan-made translation 2018-02-21 22:44:13 +01:00