Commit Graph
170 Commits
Author SHA1 Message Date
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
Paul Gilbert 7c74f4f826 XEEN: Create Windows class to hold the windows array 2017-11-29 20:24:03 -05:00
Paul Gilbert 1b592b6ffe XEEN: Fixes to selection of mirror destinations 2017-11-26 12:45:07 -05:00
Paul Gilbert 8a8e16698b XEEN: Fix prompt text for teleport mirror 2017-11-25 18:09:03 -05:00
Paul Gilbert 63f1b310bb XEEN: Extra comments for trainer level caps 2017-11-24 14:33:12 -05:00
Paul Gilbert c5caf9825e XEEN: Load opcode messages needed by some opcodes 2017-11-24 07:01:55 -05:00
Paul Gilbert 48b5132c2c XEEN: Script opcode cleanup and fixes 2017-11-23 21:34:13 -05:00
Paul Gilbert 8d11a057a4 XEEN: Added a TownAction enum 2017-11-23 16:56:11 -05:00
Paul Gilbert c965fccab0 XEEN: Add a new iterator class for reading event parameters
This make things cleaner for reading in 16 and 32 bit parameters
in different opcodes. Also, it solves a crash in the give/take
opcode where the third mode/value pair isn't used for all sub-modes,
so the code was previously reading beyond the end of the parameters
2017-11-21 21:36:19 -05:00
Paul Gilbert fb9d813ef4 XEEN: Cleaner implementation of changing script line number 2017-11-19 15:29:51 -05:00
Paul Gilbert 0878d8f573 XEEN: Extra comments for script methods 2017-11-19 15:25:12 -05:00
Paul Gilbert d874208520 XEEN: Clean up script execution line changes 2017-11-19 13:31:15 -05:00