133 Commits

Author SHA1 Message Date
Jonathan Phénix
921a318ab7 XEEN: Sprinkle 'static' where appropriate 2020-11-21 20:14:52 -08:00
Paul Gilbert
88cdad7f84 XEEN: Fix loading of wall items from savegame 2020-05-10 19:18:24 -07:00
Paul Gilbert
912b2f03eb XEEN: Bugfix for bad mob data, WOXCD top of witches tower 2020-05-06 17:42:29 -07:00
Paul Gilbert
5893672b80 XEEN: Mine Alpha fix needed to apply to non-CD version as well 2020-01-11 10:37:59 -08:00
Paul Gilbert
0bae299257 XEEN: Fix crash in WOXCD Deep Mine Alpha 2020-01-07 22:09:25 -08:00
Paul Gilbert
b0776c8f32 XEEN: Fix crash loading Great Pyramid Level 3 2019-09-01 15:29:33 -07:00
Paul Gilbert
87c3e6d5d3 XEEN: Fix removing Paladin rocks in Dark Side desert 2019-08-26 20:27:05 -07:00
Paul Gilbert
4b6578603d XEEN: Fix incorrect Throne sprites in Northern Sphinx
The Northern Sphinx used a list of object sprites that had
an empty entry mid-list. This commit fixes the problem by
allow such entries, but will only apply for new games
2019-08-24 20:33:22 -07:00
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 a37b0e8181f055d4778c53aa873816af4349aa9d.
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