Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Remove option plain_descriptions | Bardur Arantsson | 2015-02-23 |
| | |||
* | Remove depth_in_feet option; always use level | Bardur Arantsson | 2015-02-23 |
| | |||
* | Fix problem with pseudo-ID not kicking in on inventory | Bardur Arantsson | 2015-02-23 |
| | |||
* | Remove exp_need option; behave as if always set | Bardur Arantsson | 2015-02-23 |
| | |||
* | Fix buffer overflow in Automatizer | Bardur Arantsson | 2015-02-23 |
| | |||
* | Fix buffer overflow in askfor_aux() | Bardur Arantsson | 2015-02-23 |
| | |||
* | Limit scope of set_stick_mode/unset_stick_mode | Bardur Arantsson | 2015-02-23 |
| | |||
* | Use explicit list of test files to avoid "forgot-to-regenerate" | Bardur Arantsson | 2015-02-23 |
| | |||
* | Fix school assignment for musical instruments | Bardur Arantsson | 2015-02-23 |
| | |||
* | Fix prompt for Thaumaturgy spells | Bardur Arantsson | 2015-02-23 |
| | |||
* | Remove unused music_extra2 flag | Bardur Arantsson | 2015-02-23 |
| | |||
* | Remove last remnants of the Merchant class | Bardur Arantsson | 2015-02-23 |
| | | | | | | - Merchant's guild removed, it was unusable anyway - Removed "loan" code - Removed PWR_MERCHANT code | ||
* | Remove unused classes from p_info.txt | Bardur Arantsson | 2015-02-23 |
| | |||
* | Clean up warnings about signed/unsigned comparisons | Bardur Arantsson | 2015-02-23 |
| | |||
* | Apply trivial warning cleanups | Bardur Arantsson | 2015-02-23 |
| | |||
* | Restrict stringstream to ostringstream in spell_school_name | Bardur Arantsson | 2015-02-23 |
| | | | | No need for a full stringstream, just need the output portion. | ||
* | Rework MONSTER_EXP into a function | Bardur Arantsson | 2015-02-23 |
| | |||
* | Simplify spell_type_for_each to spell_type_get_schools | Bardur Arantsson | 2015-02-23 |
| | |||
* | Remove now-unused object parameter from spellcasting functions | Bardur Arantsson | 2015-02-23 |
| | |||
* | Remove "HARDCORE=" and "SPELL=" handling for txt files | Bardur Arantsson | 2015-02-23 |
| | | | | | We no longer need the distinction between HARDCORE= and SPELL= any longer, so just get rid of the prefix. | ||
* | Unindent large region in cmd6.cc | Bardur Arantsson | 2015-02-23 |
| | |||
* | Change "activation spells" to use the old style | Bardur Arantsson | 2015-02-23 |
| | | | | | | | | This fits in better with the rest of the code and lets us clean up the spell handling a bit. Activation failure rate for the moved items may have changed slightly, but it doesn't seem like this would be much of an issue. | ||
* | Add missing "every" in activation text of a few activations | Bardur Arantsson | 2015-02-23 |
| | |||
* | CMake: Move common compilation flags to a variable to reduce duplication | Bardur Arantsson | 2015-02-23 |
| | |||
* | channel_the_elements() on sand should use *Fire* skill level | Bardur Arantsson | 2015-02-23 |
| | | | | | | | | It seems very weird that the sand-based variant of channel_the_elements uses a *spell* which is only related via the "Fire" skill to determine whether to use hellfire or regular fire. This change ensures that it is consistent with the rest of channel_the_elements and ensures that we're in line with the documentation of Geomancy. | ||
* | Reduce duplication slightly in channel_the_elements() | Bardur Arantsson | 2015-02-23 |
| | |||
* | Fix bug where Horns of Ylmir would use Shake's spell level | Bardur Arantsson | 2015-02-23 |
| | |||
* | Fix bug related to God spellbooks | Bardur Arantsson | 2015-02-23 |
| | |||
* | Revert "Limit scope of {set,unset}_stick_mode for readability" | Bardur Arantsson | 2015-02-23 |
| | | | | | | | | | Turns out I'd missed at least one case where the stick would be activated without "stick_mode" being set, this would have the effect of inadvertently reducing/increasing the effective spell level depending on Magic-Device vs. $SPELL_SCHOOL skill level. This reverts commit 427c432e6d2805c88e4639c61b32975ee01735f8. | ||
* | Move school_spells array to spells5.cc | Bardur Arantsson | 2015-02-23 |
| | |||
* | Consolide the two spell_type headers | Bardur Arantsson | 2015-02-23 |
| | |||
* | Fix header inclusion order problem in spells3.cc | Bardur Arantsson | 2015-02-23 |
| | | | | | We failed to include spells3.hpp first, which could cause spurious trouble for clients of spells3.hpp. | ||
* | Move spell forward declarations from externs.h to spells3.hpp | Bardur Arantsson | 2015-02-23 |
| | |||
* | Remove unused/unnecessary bits of types_fwd.h | Bardur Arantsson | 2015-02-23 |
| | |||
* | Replace all empty "spell_info" functions with a single function | Bardur Arantsson | 2015-02-23 |
| | |||
* | Reformat spell_type ctor | Bardur Arantsson | 2015-02-23 |
| | |||
* | Inline get_target() into the one extant caller | Bardur Arantsson | 2015-02-23 |
| | |||
* | Change spell_chance_device parameter to use spell_type pointer | Bardur Arantsson | 2015-02-23 |
| | | | | There's no need to go through the extra indirection of the spell list. | ||
* | Inline static overload of spell_chance_device | Bardur Arantsson | 2015-02-23 |
| | |||
* | Split spell_chance into device and book variants | Bardur Arantsson | 2015-02-23 |
| | | | | | The code calling spell_chance() always actually knows which kind of spell its looking at, so we might as well exploit that. | ||
* | Make get_level_device_1 take a spell_type instead of an index | Bardur Arantsson | 2015-02-23 |
| | |||
* | Add tests for get_level_device | Bardur Arantsson | 2015-02-23 |
| | | | | | This is just a very basic set of sanity checking tests based on empirical testing, but hopefully it'll all start to add up. | ||
* | Make get_level_s static | Bardur Arantsson | 2015-02-23 |
| | | | | There was exactly one usage outside of spells3.cc, so inline that. | ||
* | Make device skill a parameter of get_level_device() | Bardur Arantsson | 2015-02-23 |
| | | | | This uncouples get_level_device() from s_info for easier testing. | ||
* | Limit scope of {set,unset}_stick_mode for readability | Bardur Arantsson | 2015-02-23 |
| | |||
* | Change get_level_school() to use direct spell_type pointer instead of index | Bardur Arantsson | 2015-02-23 |
| | |||
* | Use get_level_school explicitly in is_ok_spell | Bardur Arantsson | 2015-02-23 |
| | | | | | We are guaranteed that is_ok_spell is only ever called on "school spells", so this should be behavior-preserving. | ||
* | Use get_level_{school,device}_1 explicitly where we can | Bardur Arantsson | 2015-02-23 |
| | | | | | This gets us a little further away from relying on the get_level_use_stick global variable. | ||
* | Extract the two branches of get_level() into separate functions | Bardur Arantsson | 2015-02-23 |
| | |||
* | Remove unnecessary do_cmd_cast() extern decl | Bardur Arantsson | 2015-02-23 |
| |