Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Remove formal "min" parameter to get_level() | Bardur Arantsson | 2016-02-05 |
| | |||
* | Split types.h into separate header for each type | Bardur Arantsson | 2015-06-07 |
| | |||
* | Rename miscellaneous .h headers to .hpp | Bardur Arantsson | 2015-03-22 |
| | |||
* | Don't use default argument value equal to itself | Bardur Arantsson | 2015-03-22 |
| | |||
* | Split variables.cc declarations to separate header files | Bardur Arantsson | 2015-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 files | Bardur Arantsson | 2015-03-07 |
| | |||
* | Move lua_bind.cc declarations to separate header file | Bardur Arantsson | 2015-03-07 |
| | |||
* | Moved lua_get_new_bounty_monster() to q_bounty.cc | Bardur Arantsson | 2015-03-07 |
| | | | | | This is where it rightly belongs. Also remove the lua_ prefix and make it static. | ||
* | Split init1.cc declarations into separate header file | Bardur Arantsson | 2015-03-07 |
| | |||
* | Split monster2.cc declarations into separate header | Bardur Arantsson | 2015-03-07 |
| | |||
* | Split util.cc function declarations into separate header files | Bardur Arantsson | 2015-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 file | Bardur Arantsson | 2015-02-23 |
| | |||
* | Move cmd7.cc function declarations to separate header file | Bardur Arantsson | 2015-02-23 |
| | | | | Make a few of the functions static while we're at it. | ||
* | Move skills.cc function declarations to skills.hpp | Bardur Arantsson | 2015-02-23 |
| | |||
* | Move corrupt.cc function declarations to separate header | Bardur Arantsson | 2015-02-23 |
| | |||
* | 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 |