summaryrefslogtreecommitdiff
path: root/src/lua_bind.cc
Commit message (Collapse)AuthorAge
* Move school_spells array to spells5.ccBardur Arantsson2015-02-23
|
* Consolide the two spell_type headersBardur 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 device skill a parameter of get_level_device()Bardur Arantsson2015-02-23
| | | | This uncouples get_level_device() from s_info for easier testing.
* Change get_level_school() to use direct spell_type pointer instead of indexBardur Arantsson2015-02-23
|
* 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
|
* Promote parameter of get_level_device() to spell_type * and make it staticBardur Arantsson2014-12-23
|
* Inline set_target into convey_recall() in spells3.ccBardur Arantsson2014-12-23
|
* Move find_position() to spells3.ccBardur Arantsson2014-12-23
| | | | Said file is the only place it's currently used.
* Simplify PR_* redraw code and remove direct references to Term membersBardur Arantsson2014-06-26
|
* Switch almost everything over to C++Bardur Arantsson2013-09-27