Commit graph

114 commits

Author SHA1 Message Date
Paul Gilbert
560f10c346 XEEN: Fix Coverity warnings 2018-07-26 18:54:17 -07:00
Paul Gilbert
d5444f2dd7 XEEN: Fix accumulation of gold & gems from defeated enemies 2018-05-14 19:43:41 -04:00
Paul Gilbert
a23216fbfc XEEN: Further fix for movement checks when strafing indoors 2018-04-29 16:44:36 -04:00
Paul Gilbert
030582af00 XEEN: Ignore monster moves outside map rather than asserting 2018-04-20 21:00:15 -04:00
Paul Gilbert
fb5c464572 XEEN: Fix crash attacking enemies with an Elder weapon 2018-04-20 19:59:35 -04:00
Paul Gilbert
8d577f4916 XEEN: Alter quest flag handling to accomodate Swords 2018-04-19 21:21:59 -04:00
Paul Gilbert
caba188569 XEEN: Mode renamings, fix loading savegame during script dragging party 2018-04-15 09:51:18 -04:00
Paul Gilbert
a189f2c7d2 XEEN: Fix aborting combat loop prematurely via bad sleeping check
Previously combat was being aborted prematurely, though it wasn't
noticeable in most casees since the next turn combat started up
again seamlessly. But there were a few edge cases, such as
defeating monsters in a single turn, but having more to the side,
where it resulted in the list of active monsters being fought
being redrawn with no contents
2018-04-14 11:05:11 -04:00
Paul Gilbert
882b7182f3 XEEN: Fix for resetting speed table after monsters have died 2018-04-12 22:00:50 -04:00
Paul Gilbert
8fdd055bf1 XEEN: Fix monster attacks that target the entire party 2018-04-11 21:04:51 -04:00
Paul Gilbert
a42ca33a1c XEEN: Add 'strength' debugger command 2018-04-07 16:30:04 -04:00
Paul Gilbert
c1ae848818 XEEN: Allow loading savegames during combat using GMM
The original didn't allow loading during combat from it's
options dialog, and I'll leave that untouched, but the ability
to load out of a unwinnable combat is too convenient to not
allow in some form.
2018-04-07 15:53:27 -04:00
Paul Gilbert
569833b4ca XEEN: Reset combat data when loading a new savegame 2018-04-07 15:41:16 -04:00
Paul Gilbert
37b9de6d25 XEEN: Cleanup of monster move check method 2018-04-06 19:11:26 -04:00
Paul Gilbert
8648a48080 XEEN: Move check code for nearby monsters to it's own method 2018-04-05 20:06:14 -04:00
Paul Gilbert
0f82830778 XEEN: Simplify original's code for monsters picking targets 2018-04-03 19:57:03 -04:00
Paul Gilbert
326533ab9b XEEN: Cleanup of class hates switch 2018-04-03 19:31:32 -04:00
Paul Gilbert
27bbc7e5a9 XEEN: Fix crash using ranged spells during combat 2018-03-31 22:17:41 -04:00
Paul Gilbert
b6fc3fd991 XEEN: Change many item Id checks to use empty() function 2018-03-31 18:39:42 -04:00
Paul Gilbert
3951c6d2f7 XEEN: Fixes for enchanting items 2018-03-31 17:04:07 -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
7608792937 XEEN: Fix non-physical monster attacks causing damage 2018-03-26 20:35:45 -04:00
Paul Gilbert
a613f4ff22 XEEN: Handle weapon elemental category like original does 2018-03-24 22:54:37 -04:00
Paul Gilbert
e06ff763ab XEEN: Fix crash in Mine 3 due to out of bounds monster 2018-03-24 15:13:11 -04:00
Paul Gilbert
0a20df9259 XEEN: Fix setSpeedTable crash after missed ranged attack 2018-03-19 21:00:37 -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
902c984cf5 XEEN: Fix crash setting up combat speed table for new games 2018-03-17 07:12:01 -04:00
Paul Gilbert
fe80dcb4fe XEEN: Don't add monsters in setSpeedTable if they're dead
I think this should fix a crash I rarely got in doMonsterTurn
2018-03-16 20:23:22 -04:00
Paul Gilbert
ac7a9224fe XEEN: Fix text colors during intro/exit cutscenes 2018-03-13 18:17:02 -04:00
Paul Gilbert
aaee877250 XEEN: Cleanup up usage of RangeType enum 2018-03-10 07:14:43 -05:00
Paul Gilbert
44ea691154 XEEN: Cleanup and comments for Combat class 2018-03-10 07:08:05 -05:00
Paul Gilbert
8ae340d847 XEEN: Remove debug code and unneeded variables 2018-02-24 21:34:54 -05:00
Paul Gilbert
72e540e203 XEEN: Add difficulty selection dialog to WOX starting menu 2018-02-24 21:17:44 -05:00
Paul Gilbert
16bae6f314 XEEN: Fix getting items from combat and displaying them in Items dialog 2018-02-24 20:12:24 -05:00
Paul Gilbert
ad7206ea38 XEEN: Don't show blood spatter for hits beyond the first row 2018-02-24 14:12:16 -05:00
Paul Gilbert
36d474db1f XEEN: Merge various pow/hit arrays into a single array of structures 2018-02-24 11:11:04 -05:00
Paul Gilbert
10a82b2718 XEEN: Fix reduction of damage from physical resistence 2018-02-24 07:16:16 -05:00
Paul Gilbert
519f52a635 XEEN: Fix Valgrind reported issues 2018-02-12 21:20:45 -05:00
Paul Gilbert
8559be1598 XEEN: Properly pause when listing treasure post-combat 2018-02-12 20:19:42 -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
2ac361782c XEEN: Fix experience doubling calculation
Thanks to dtgreene in the GOG forums for pointing out the incorrect
calculation, and that it isn't present in Clouds of Xeen only
2018-02-09 19:36:49 -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
cb022f3911 XEEN: Explicitly use DT_PHYSICAL in DamageType field comparisons 2018-01-30 19:12:55 -05:00
Paul Gilbert
12eacafe0e XEEN: Implement screen shaking 2018-01-27 17:12:23 -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
c74700e2f7 XEEN: Fix giving entire party damage in giveCharDamage 2018-01-27 15:10:11 -05:00
Paul Gilbert
644ef043fb XEEN: Further fixes for starting falls 2018-01-25 21:47:30 -05:00
Paul Gilbert
a06bf756c6 XEEN: Fixes for speed table calculation, RT_HIT range type cleanup 2018-01-21 21:27:30 -05:00