summaryrefslogtreecommitdiff
path: root/src/lua_bind.cc
Commit message (Collapse)AuthorAge
* Remove formal "min" parameter to get_level()Bardur Arantsson2016-02-05
|
* Split types.h into separate header for each typeBardur Arantsson2015-06-07
|
* Rename miscellaneous .h headers to .hppBardur Arantsson2015-03-22
|
* Don't use default argument value equal to itselfBardur Arantsson2015-03-22
|
* Split variables.cc declarations to separate header filesBardur Arantsson2015-03-07
| | | | | - Can now remove externs.h. Yay! - Put a stray option variable into its rightful place in options.hpp
* Split tables.cc declarations into separate header filesBardur Arantsson2015-03-07
|
* Move lua_bind.cc declarations to separate header fileBardur Arantsson2015-03-07
|
* Moved lua_get_new_bounty_monster() to q_bounty.ccBardur Arantsson2015-03-07
| | | | | This is where it rightly belongs. Also remove the lua_ prefix and make it static.
* Split init1.cc declarations into separate header fileBardur Arantsson2015-03-07
|
* Split monster2.cc declarations into separate headerBardur Arantsson2015-03-07
|
* Split util.cc function declarations into separate header filesBardur Arantsson2015-02-23
| | | | | We need one .h file and one .hpp since some of the functions are being called from plain C code.
* Split spells2.cc function declarations to separate header fileBardur Arantsson2015-02-23
|
* Move cmd7.cc function declarations to separate header fileBardur Arantsson2015-02-23
| | | | Make a few of the functions static while we're at it.
* Move skills.cc function declarations to skills.hppBardur Arantsson2015-02-23
|
* Move corrupt.cc function declarations to separate headerBardur Arantsson2015-02-23
|
* 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