Commit Graph
181 Commits
Author SHA1 Message Date
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 4c64e1607b XEEN: Properly remove river bottles when opened 2018-03-31 15:11:31 -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 494fd3bb52 XEEN: Fixes for giving items via scripts 2018-03-30 23:03:15 -04:00
Paul Gilbert 2bd81bac81 XEEN: Improvements for trip to Rivercity
This slightly slows down movement to more closely match the original,
and stops a turn pass from occurring when Rivercity is reached
2018-03-29 22:41:02 -04:00
Paul Gilbert 5b5abd4743 XEEN: Change Map _loadDarkSide bool to int _loadCcNum 2018-03-27 21:45:17 -04:00
Paul Gilbert c3d6dcfae0 XEEN: Remove duplicated party dead flag 2018-03-23 22:29:55 -04:00
Paul Gilbert 5cb68f2603 XEEN: Fix crash getting experience from Vertigo mayor 2018-03-23 07:31:02 -04:00
Paul Gilbert 27ef37b400 XEEN: Add original copy protection dialog 2018-03-22 20:22:52 -04:00
Paul Gilbert 9504ecd74e XEEN: Fix whether events are checked after openGrate calls 2018-03-19 21:25:59 -04:00
Paul Gilbert 500ed10658 XEEN: Add an enum SpellsCategory enum, code simplification using it 2018-03-18 20:02:45 -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 46dc048c38 XEEN: Fix damaging characters from poisoned well 2018-03-17 18:35:21 -04:00
Paul Gilbert ac7a9224fe XEEN: Fix text colors during intro/exit cutscenes 2018-03-13 18:17:02 -04:00
Paul Gilbert 546059408f XEEN: Added Other Options dialog for Dark Side and World 2018-03-04 22:40:43 -05:00
Paul Gilbert f2b574d647 XEEN: Move all the dialog classes to their own sub-folder 2018-03-04 22:40:42 -05:00
Paul Gilbert 50630efde6 XEEN: Fix loading saves from main menus and launcher 2018-03-04 22:40:42 -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 cd6e5eef48 XEEN: Fix restarting scripts after script teleports 2018-02-23 18:26:23 -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 900ef91aca XEEN: Creation of create_xeen tool 2018-02-23 15:23:20 -05:00
Paul Gilbert 7f50c50401 XEEN: Fix exiting to main menu after playing ending cutscenes 2018-02-11 21:16:23 -05:00
Paul Gilbert 255aa972c6 XEEN: Implement final score calculation 2018-02-06 21:42:41 -05:00
Paul Gilbert eb50364c2d XEEN: More of Clouds endgame 2018-02-06 09:12:51 -05:00
Paul Gilbert 39b2a2f137 XEEN: Implemented remainder of World of Xeen ending 2018-02-01 20:15:09 -05:00
Paul Gilbert 104c01f85a XEEN: Hook up script opcodes to show ending cutscenes 2018-01-29 19:10:38 -05:00
Paul Gilbert 86c084cf9a XEEN: Implemented cmdDisplayLarge opcode 2018-01-28 21:41:59 -05:00
Paul Gilbert 540f47294a XEEN: Move Scripts _v2 to Combat _damageTarget
The _damageTarget field is wonky. In most places, such as in
giveCharDamage, it's treated like an enum. But in the if opcode
logic (cmdIf), it's definitely treated a character index
2018-01-27 16:27:03 -05:00
Paul Gilbert e20a463165 XEEN: Fix display of text in bottom screen dialogs 2018-01-17 18:05:24 -05:00
Paul Gilbert 531467581f XEEN: Further savegame logic 2018-01-12 21:22:06 -05:00
Paul Gilbert 02aaff2a9f XEEN: REplace award values with descriptive constants 2017-12-29 22:39:04 -05:00
Paul Gilbert d0c04053dd XEEN: Fix intermittant crash leaving Dwarf Mine 2017-12-29 21:16:11 -05:00
Paul Gilbert 9d336539b7 XEEN: Close open windows after opcode calls to cmdGiveMulti 2017-12-29 20:57:21 -05:00
Paul Gilbert 4e11d05f76 XEEN: Cleanup of give opcode and methods 2017-12-29 16:08:11 -05:00
Paul Gilbert 47d95c6bcd XEEN: Implemented giveExt method 2017-12-29 04:59:34 -05:00
Paul Gilbert e28f2a75bc XEEN: Properly implement cmdGiveExtended opcode 2017-12-29 03:33:59 -05:00
Paul Gilbert 45891aed91 XEEN: Implement sets & checks for _questItems 2017-12-29 00:41:55 -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 80dd7b2c0d XEEN: Fix updating party icons after drinking HP fountain 2017-12-25 00:03:50 -05:00
D G Turner a9281724a7 XEEN: Fix Unused Variable Compiler Warning. 2017-12-24 05:37:23 +00:00
Paul Gilbert a2eb11f464 XEEN: Renamings of endgame methods for better clarity 2017-12-18 19:32:08 -05:00
Paul Gilbert 46b0101af4 XEEN: Cleanup, formatting, and comments for scripts.cpp 2017-12-18 18:10:50 -05:00
Paul Gilbert b612bc3c23 XEEN: Rename Town to LocationManager, added Locations namespace 2017-12-12 20:29:47 -05:00
Paul Gilbert 3f293e8985 XEEN: Implemented awards listing dialog 2017-12-10 21:40:58 -05:00
Paul Gilbert 140f575c70 XEEN: Fix several malformed string constants 2017-12-10 13:46:58 -05:00
Paul Gilbert f0a87ed8ad XEEN: Objectifying town locations code 2017-12-10 07:17:36 -05:00
Paul Gilbert 7ed6b9cdfa XEEN: Fix restoring UI movement buttons after showing dialog 2017-12-09 15:14:17 -05:00
Paul Gilbert e8fb9920a9 XEEN: Cleanup of window opening & closing 2017-12-03 20:08:11 -05:00
Paul Gilbert 2ca0235f44 XEEN: Refactor FontSurface as ancestors of Window, not Screen
This refactoring allowed Screen to now simply derive from
Graphics::Screen, and several duplicated methods could be removed.
2017-11-29 21:34:28 -05:00