Commit Graph
125 Commits
Author SHA1 Message Date
Paul Gilbert d53051760d XEEN: Fix entering the Southern Sphinx 2018-04-26 07:01:07 -04:00
Paul Gilbert beeddc8c7e XEEN: Fix loading of event text in Darkside southern skyroad 2018-04-25 21:19:00 -04:00
Paul Gilbert b13b00deb3 XEEN: Add Patcher class for doing on-the-fly map patches
The first patch is a script patch for Ellinger's Tower Level 2
on the Dark Side. It fixes an incorrect index for a wall item
of a curtain that's meant to be removed
2018-04-09 19:33:31 -04:00
Paul Gilbert f1cfc9e696 XEEN: Cleanup of game completion flags 2018-04-07 16:55:07 -04:00
Paul Gilbert c9460d1340 XEEN: Remove map load assert to allow Northern Sphinx map to load 2018-04-05 22:10:50 -04:00
Paul Gilbert fe88ea1092 XEEN: Draw proper sky tiles outside bounds of sky maps 2018-04-04 22:45:52 -04:00
Paul Gilbert 99799bca62 XEEN: Don't show space or sky tiles as obscured in the minimap 2018-04-04 22:16:16 -04:00
Paul Gilbert e5c4adb3c0 XEEN: Fixes for fighting in the Warzone 2018-04-03 21:13:44 -04:00
Paul Gilbert d621bf6816 XEEN: Fix object 0 not being removable, _objNumber cleanup
The original used 0 as "unset", and object index + 1 to indicate the
object at the current location. Given all the +1/-1 usages, I've
simplified the use of _objNumber to use -1 as unset, allowing the
direct object index to be used otherwise
2018-04-01 22:54:38 -04:00
Paul Gilbert 31bcb09619 XEEN: Cleanup of item bonus flags to a bitfield state structure 2018-03-31 12:37:36 -04:00
Paul Gilbert 09f67c83ce XEEN: Fix LLoyd's Beacon spell in Clouds of Xeen 2018-03-29 20:30:00 -04:00
Paul Gilbert 8c4f90893d XEEN: Add data for Swords of Xeen to create_xeen 2018-03-28 20:49:44 -04:00
Paul Gilbert 5b5abd4743 XEEN: Change Map _loadDarkSide bool to int _loadCcNum 2018-03-27 21:45:17 -04:00
Paul Gilbert 22456b345f XEEN: Change bool _isDarkCc to int _ccNum
Originally the flag was whether the party was on the Dark Side,
but as a bool I was having to cast it to an int side/cc number in
more and more places. So now I've converted it to _ccNum, and it
can be used directly as an int
2018-03-17 20:27:42 -04:00
Paul Gilbert 7efb8786eb XEEN: Western edge of Xeen was showing terrain rather than empty space 2018-03-15 22:03:00 -04:00
Paul Gilbert 67d4de1bb8 XEEN: Move Credits and Please Wait classes into their own files 2018-03-04 22:40:43 -05: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 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 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 a8961fc145 XEEN: Fix saving maps with no objects and/or monsters 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
Paul Gilbert a85a98b867 XEEN: Add detection for Clouds & Dark Side 2018-02-13 20:10:43 -05:00
Paul Gilbert 9adaaf9c94 XEEN: Correct loading of auxiliary map data for Swords of Xeen 2018-02-12 22:40:25 -05:00
Paul Gilbert 519f52a635 XEEN: Fix Valgrind reported issues 2018-02-12 21:20:45 -05:00
Paul Gilbert 549b90481a XEEN: Fix MonsterStruct _accuracy to be _armorClass
Thanks to Leprosy57 in the GOG forums for pointing it out
2018-02-09 19:17:19 -05:00
Paul Gilbert d76ba5a1c1 XEEN: Removal of redundant TODOs 2018-01-28 15:47:24 -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 6ac8c8288c XEEN: Renaming of MazeMonster _fieldA 2018-01-15 19:22:37 -05:00
Paul Gilbert 17d68b8bf9 XEEN: Centralize logic for finding map in _mazeData array 2018-01-13 16:20:49 -05:00
Paul Gilbert fb73c1a3cc XEEN: Revert "XEEN: Change _gameFlags to it's own class"
This reverts commit a37b0e8181.
Turns out the overlapping byte access was for the questItems
array, but using Ids which start at 82 rather than 0
2017-12-29 00:16:24 -05:00
Paul Gilbert a37b0e8181 XEEN: Change _gameFlags to it's own class
Byte 6 of the flags data, for flags 48 to 55, is directly used
in several places. I didn't think it was needed, but turns out
it is. So I've had to refactor the bool array I had previously
to have this as a bitset, so byte 6 can be accessed
2017-12-28 23:36:29 -05:00
Paul Gilbert 26c096d39d XEEN: Fix playing music when on Dark Side 2017-12-27 23:50:41 -05:00
Paul Gilbert 6bbfebdf0e XEEN: Fix loading Dark Side maps 2017-12-27 23:30:44 -05:00
Paul Gilbert 4f099a8fff XEEN: Fix saving of map stepped on tiles 2017-12-27 01:45:38 -05:00
Paul Gilbert 66e531c92b XEEN: Fix saving monster data to exactly match original 2017-12-27 01:12:04 -05:00
Paul Gilbert f8f2058d4c XEEN: Add saving of map/event data when the map is changed 2017-12-27 00:08:21 -05:00
Paul Gilbert eb067079bb XEEN: Fix Please Wait dialog not removing when changing maps
Technically, the dialog now doesn't even show up, since loading
the new maps are so fast these days. I've decided against adding
in an explicit delay, because it's less jarring for players to
now be able to walk transparently between maps without interruption
2017-12-25 00:03:37 -05:00
Paul Gilbert 7a8d99f332 XEEN: Fix transitioning to other maps in the overworld 2017-12-24 23:53:32 -05:00
Paul Gilbert 49de1602b0 XEEN: Create a separate current state saver for each side
Previously, I only had a single savefile, which maintains the
state of the party and mazes. But I've realised that I'll need
a separate archive for each side of Xeen. I'm still not entirely
happy with the cleanliness of the new structure, but it at least
is now functionally separating the sides.
2017-12-22 08:52:31 -05:00
Paul Gilbert b032b6ebb6 XEEN: Starting to do archive access more like the original
Previously the game wasn't paying much attention to the access of
dark.cc vs xeen.cc, which was causing problems when trying to
travel to Dark Side. This is the beginnings of a refactoring
to more closely work like the original does
2017-12-20 21:47:16 -05:00
Paul Gilbert 56642f213a XEEN: Fix loading correct sprites for wall items 2017-12-17 17:46:36 -05:00
Paul Gilbert 58fb6a4f8e XEEN: Fix loading correct sprites for map monsters 2017-12-16 21:47:38 -05:00
Paul Gilbert 94f52c9f2b XEEN: Fix teleporting to Asp via mirror 2017-12-16 21:21:13 -05:00