summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Remove option plain_descriptionsBardur Arantsson2015-02-23
|
* Remove depth_in_feet option; always use levelBardur Arantsson2015-02-23
|
* Fix problem with pseudo-ID not kicking in on inventoryBardur Arantsson2015-02-23
|
* Remove exp_need option; behave as if always setBardur Arantsson2015-02-23
|
* Fix buffer overflow in AutomatizerBardur Arantsson2015-02-23
|
* Fix buffer overflow in askfor_aux()Bardur Arantsson2015-02-23
|
* Limit scope of set_stick_mode/unset_stick_modeBardur Arantsson2015-02-23
|
* Use explicit list of test files to avoid "forgot-to-regenerate"Bardur Arantsson2015-02-23
|
* Fix school assignment for musical instrumentsBardur Arantsson2015-02-23
|
* Fix prompt for Thaumaturgy spellsBardur Arantsson2015-02-23
|
* Remove unused music_extra2 flagBardur Arantsson2015-02-23
|
* Remove last remnants of the Merchant classBardur Arantsson2015-02-23
| | | | | | - Merchant's guild removed, it was unusable anyway - Removed "loan" code - Removed PWR_MERCHANT code
* Remove unused classes from p_info.txtBardur Arantsson2015-02-23
|
* Clean up warnings about signed/unsigned comparisonsBardur Arantsson2015-02-23
|
* Apply trivial warning cleanupsBardur Arantsson2015-02-23
|
* Restrict stringstream to ostringstream in spell_school_nameBardur Arantsson2015-02-23
| | | | No need for a full stringstream, just need the output portion.
* Rework MONSTER_EXP into a functionBardur Arantsson2015-02-23
|
* Simplify spell_type_for_each to spell_type_get_schoolsBardur Arantsson2015-02-23
|
* Remove now-unused object parameter from spellcasting functionsBardur Arantsson2015-02-23
|
* Remove "HARDCORE=" and "SPELL=" handling for txt filesBardur Arantsson2015-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.ccBardur Arantsson2015-02-23
|
* Change "activation spells" to use the old styleBardur Arantsson2015-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 activationsBardur Arantsson2015-02-23
|
* CMake: Move common compilation flags to a variable to reduce duplicationBardur Arantsson2015-02-23
|
* channel_the_elements() on sand should use *Fire* skill levelBardur Arantsson2015-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 Arantsson2015-02-23
|
* Fix bug where Horns of Ylmir would use Shake's spell levelBardur Arantsson2015-02-23
|
* Fix bug related to God spellbooksBardur Arantsson2015-02-23
|
* Revert "Limit scope of {set,unset}_stick_mode for readability"Bardur Arantsson2015-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.ccBardur Arantsson2015-02-23
|
* Consolide the two spell_type headersBardur Arantsson2015-02-23
|
* Fix header inclusion order problem in spells3.ccBardur Arantsson2015-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.hppBardur Arantsson2015-02-23
|
* Remove unused/unnecessary bits of types_fwd.hBardur Arantsson2015-02-23
|
* Replace all empty "spell_info" functions with a single functionBardur Arantsson2015-02-23
|
* Reformat spell_type ctorBardur Arantsson2015-02-23
|
* Inline get_target() into the one extant callerBardur Arantsson2015-02-23
|
* Change spell_chance_device parameter to use spell_type pointerBardur Arantsson2015-02-23
| | | | There's no need to go through the extra indirection of the spell list.
* Inline static overload of spell_chance_deviceBardur Arantsson2015-02-23
|
* Split spell_chance into device and book variantsBardur Arantsson2015-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 indexBardur Arantsson2015-02-23
|
* Add tests for get_level_deviceBardur Arantsson2015-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 staticBardur Arantsson2015-02-23
| | | | There was exactly one usage outside of spells3.cc, so inline that.
* Make device skill a parameter of get_level_device()Bardur Arantsson2015-02-23
| | | | This uncouples get_level_device() from s_info for easier testing.
* Limit scope of {set,unset}_stick_mode for readabilityBardur Arantsson2015-02-23
|
* Change get_level_school() to use direct spell_type pointer instead of indexBardur Arantsson2015-02-23
|
* Use get_level_school explicitly in is_ok_spellBardur Arantsson2015-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 canBardur Arantsson2015-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 functionsBardur Arantsson2015-02-23
|
* Remove unnecessary do_cmd_cast() extern declBardur Arantsson2015-02-23
|