Commit Graph
142 Commits
Author SHA1 Message Date
Paul Gilbert ea29c2356f XEEN: Allow saving game after Clouds ending finishes 2018-04-07 17:23:13 -04:00
Paul Gilbert f1cfc9e696 XEEN: Cleanup of game completion flags 2018-04-07 16:55:07 -04:00
Paul Gilbert 6a32516490 XEEN: Cache mouse clicks as well as keyboard in EventsManager
This allows the well open door/gate, shoot at enemies, then close
to work with the mouse as well as the keyboard. The pending event
queue has also been limited to 5 pending events. Trust me, you
don't want to spent time spamming Shoot at a high level monster
that can't reach you, only for when it's killed to have to wait
several minutes whilst your party keeps shooting.
2018-04-07 11:02:09 -04:00
Paul Gilbert 9d94d97cc6 XEEN: Fix crash getting Scarab of Imaging 2018-04-06 21:05:40 -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 a54850cae0 XEEN: Fix getting multiple Northern Sphinx keys 2018-04-05 19:48:15 -04:00
Paul Gilbert 5b1f054133 XEEN: Fix entering password in Castle Basenji 2018-04-05 07:01:40 -04:00
Paul Gilbert 73d72f4fc8 XEEN: Fix cmdIfMapFlag crash when banging Winterkill gong 2018-04-03 22:58:17 -04:00
Paul Gilbert 847163aa5d XEEN: Fix crash entering Newcastle 2018-04-02 22:44:52 -04:00
Paul Gilbert 9f31bd7349 XEEN: Fix implementation of cmdReturn opcode 2018-04-02 07:23:24 -04:00
Paul Gilbert 6e85a17795 XEEN: Fix showing sign text at F4 2,3 2018-04-01 23:26:26 -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 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