Commit Graph

588 Commits

Author SHA1 Message Date
dddc508f2f Fix repetition count in transcript being off by one 2014-12-16 00:06:55 -05:00
c9456334d5 Fix priest spells only being castable in combat 2014-12-16 00:06:42 -05:00
a3edc5cba6 Spread out magic-names string list to make sure there's room for special spells 2014-12-15 23:35:31 -05:00
35d20e15da Fix monster avatar spell not blessing 2014-12-15 22:49:45 -05:00
65c6919b1d Organize talking strings rather than stuffing them all in one big array
(Note: This seems to break recording talking/encounter strings.)
2014-12-15 20:06:08 -05:00
c6d960d078 Remove the string forwarders that were introduced to allow use of the original string indices
(A few things might be broken, probably just related to recording talk/encounter notes.)
2014-12-15 13:55:00 -05:00
c90afdc013 Move Wand of Pyhrrus spell into main combat cast routine. 2014-12-15 11:16:45 -05:00
5af865368f Mass reformatting (braces from next line) 2014-12-15 11:09:56 -05:00
d7d08cbaa3 Mass reformatting (space after keywords) 2014-12-15 10:09:23 -05:00
140e0b58ef Mass re-indentation
(Also removes some trailing whitespace)
2014-12-15 09:59:43 -05:00
aaad894ccb Simplify tons of comparisons to true/false 2014-12-15 08:46:48 -05:00
a1c52d4e3c Make the special nodes appendix in the documentation readable
Note: This doesn't update the information in it to account for the various changes and new nodes.
2014-12-15 08:46:47 -05:00
02478da9d7 Lots of TODO comments, some noting things related to the Windows version 2014-12-15 08:46:47 -05:00
e511f5280d Refresh screen when pausing
- Seems to partially fix issue of monster moves not being shown
2014-12-15 08:46:47 -05:00
85e582f32e Fix transcript destroying the previous message if a message consisting solely of spaces is printed 2014-12-15 08:46:46 -05:00
1ad2cf85ac Fix typo 2014-12-15 08:46:46 -05:00
2ed3eca8d1 Remove the redundant combat_terrain array 2014-12-15 08:46:46 -05:00
9fd647b7d8 Remove relic of Pascal strings in the spell menus 2014-12-15 08:46:45 -05:00
54e1a5d981 Make use space cancellable by keyboard and reimplement the bash/lockpick keyboard shortcuts (allowing you to bypass the usual dialog) 2014-12-15 08:46:45 -05:00
d9698cc0e9 Make end scenario debug key actually work 2014-12-15 08:46:45 -05:00
3c802a1158 Support for stairways during talking or combat
(Adapted from Windows version; I don't allow it during outdoor combat, though.)
2014-12-15 08:46:45 -05:00
2cfe9640c7 Change town portal nodes so that ex2a specifies the type of flash
(0-normal, 1-none, 2-out only, 3-in only; forced to 1 if called while talking)
2014-12-15 08:46:45 -05:00
c5b1e9bdb3 Make it possible for stairways to be triggered when in combat and in other circumstances where they were previously disallowed
(Inspired by Windows code, but this version doesn't need a compatibility flag as it allows the designer to choose whether it's allowed)
2014-12-15 08:46:44 -05:00
179cce0819 Fix newly placed monsters always showing up as empties 2014-12-15 08:46:44 -05:00
fbe186f8b7 Stuff about force cages, stone blocks, move mountains
- Add all objects, fields, and sfx to place_spell_pattern
- Add move mountains effect to place_spell_pattern
- Most of the implementation for force cages and stone blocks is now done (still untested)
- Properly implement MOVE_MOUNTAINS_MASS spell
2014-12-15 08:46:44 -05:00
c8889a9989 Prevent party from getting a victory dialog if they die during special node processing in a chain that contains an end scenario node 2014-12-15 08:46:43 -05:00
402065fa80 Add a check to prevent entering boats in combat (from Windows version) 2014-12-15 08:46:43 -05:00
8cf5b3d04e Fix spellcasting in town not being cancellable by keyboard, as well as throwing/firing in combat 2014-12-15 08:46:43 -05:00
6926410ce3 Fix an issue with transcript not updating after cancelling a spell in town 2014-12-15 08:46:43 -05:00
0344cf2525 Introduce a spell enum, and use it everywhere for PC spellcasting
- Monster spellcasting is untouched
- Also updated the spells documentation, which had some old information from Exile III and omitted a lot of ranges.
2014-12-15 08:46:43 -05:00
1fbf8939b2 Move per-PC combat data into cPlayer class 2014-12-14 02:51:16 -05:00
a198c232bb Strictify skill enum 2014-12-14 02:51:01 -05:00
1200ff47d4 Strictify item ability enum 2014-12-12 15:18:43 -05:00
1d7342edc2 Flight items don't take charge if flight not possible 2014-12-12 13:34:47 -05:00
90bcdb9062 Fix typo 2014-12-12 13:31:04 -05:00
db2a7aa99b Strictify trait enum 2014-12-12 13:30:56 -05:00
f331d3d6db Allow placing low-level spells in shops 2014-12-12 13:26:26 -05:00
6151a24916 FIx linker error in editors 2014-12-12 13:25:39 -05:00
f1660cf7ed Fix the dialog flickering, and attempt to partially fix the issue of a dialog being momentarily drawn into the main window after it is closed 2014-12-12 12:15:39 -05:00
0b15937bb9 Clean up tons of commented fileio code 2014-12-12 11:11:36 -05:00
aabade3b85 Attempt to convert scenarios that used specials on boatable terrains, by inserting a "boat block" special in the front of each such chain
- This commit also introduces "boat block" and "horse block" specials as part of the IF_CONTEXT special node type.
2014-12-12 10:46:52 -05:00
24781b335d Allow timed specials and similar stuff to trigger while resting 2014-12-12 10:30:32 -05:00
2c2f824f4c Minor rewrite of the action handling routine, to break it into much smaller, bite-sized chunks. 2014-12-12 02:54:39 -05:00
2ec2de98e8 Add note to readme 2014-12-11 01:51:23 -05:00
23d9d2d487 Hard-wrap readme for easier diffing 2014-12-11 01:51:23 -05:00
5bfdb5eafa Misc little bits of housekeeping and stuff 2014-12-11 01:51:22 -05:00
7a7b7f27c3 Merge the huge loops in erase_out_specials 2014-12-11 01:51:22 -05:00
e4a4ed0427 Make sure a PC is selected when entering town combat 2014-12-11 01:51:22 -05:00
53c6188416 Improved error message when entering an invalid town 2014-12-11 01:51:21 -05:00
3286a4d56d Clean up draw_pc_effect, removing now-redundant code that used to draw the status effects in the spell dialog
- Also add function to calculate a the rect of a status given the icon index in the sheet; currently unused.
2014-12-11 01:51:06 -05:00