Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Move school_spells array to spells5.cc | Bardur Arantsson | 2015-02-23 |
| | |||
* | Consolide the two spell_type headers | 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 device skill a parameter of get_level_device() | Bardur Arantsson | 2015-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 index | Bardur Arantsson | 2015-02-23 |
| | |||
* | 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 |
| | |||
* | Promote parameter of get_level_device() to spell_type * and make it static | Bardur Arantsson | 2014-12-23 |
| | |||
* | Inline set_target into convey_recall() in spells3.cc | Bardur Arantsson | 2014-12-23 |
| | |||
* | Move find_position() to spells3.cc | Bardur Arantsson | 2014-12-23 |
| | | | | Said file is the only place it's currently used. | ||
* | Simplify PR_* redraw code and remove direct references to Term members | Bardur Arantsson | 2014-06-26 |
| | |||
* | Switch almost everything over to C++ | Bardur Arantsson | 2013-09-27 |