Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Remove redundant optimization | Bardur Arantsson | 2019-02-15 |
| | | | | | Term_resize() already checks whether a resize is really necessary, so there's no need for the extra check. | ||
* | Avoid unnecessary uses of the Term global | Bardur Arantsson | 2019-02-15 |
| | |||
* | Extract key queue logic out of struct term | Bardur Arantsson | 2019-02-15 |
| | |||
* | Remove unused return values from Term_* functions | Bardur Arantsson | 2019-02-15 |
| | |||
* | Rewrite struct term and struct term_win to classes | Bardur Arantsson | 2019-02-15 |
| | |||
* | Migrate z-term.c to C++ | Bardur Arantsson | 2019-02-15 |
| | |||
* | Move #include outside of "extern C" block | Bardur Arantsson | 2019-02-15 |
| | |||
* | Make 'struct term' opaque | Bardur Arantsson | 2019-02-15 |
| | |||
* | Change term_init to a constructor-like function | Bardur Arantsson | 2019-02-15 |
| | | | | | This will leak the instances, but it should be tolerable for now since there's only a small fixed number of instances. | ||
* | Set Term->resize hook via a function | Bardur Arantsson | 2019-02-15 |
| | |||
* | Avoid accessing Term->data directly | Bardur Arantsson | 2019-02-15 |
| | |||
* | Set term->data during term_init() | Bardur Arantsson | 2019-02-15 |
| | |||
* | Explicitly pass Term->data to UI hooks | Bardur Arantsson | 2019-02-15 |
| | | | | This removes the need to reach into the global Term from UI hooks. | ||
* | main-x11: Remove the "selection" handling | Bardur Arantsson | 2019-02-15 |
| | | | | It seems like a lot of code for a strange and mostly useless feature. | ||
* | Remove unused return value of {text,curs,xtra}_hook_t | Bardur Arantsson | 2019-02-15 |
| | |||
* | Move initialization of term UI hooks to function | Bardur Arantsson | 2019-02-15 |
| | |||
* | Avoid 'circular' reference from term to itself in {init,nuke}_hook | Bardur Arantsson | 2019-02-15 |
| | |||
* | Avoid accessing Term soft_cursor | Bardur Arantsson | 2019-02-15 |
| | |||
* | Avoid accessing Term mapped_flag directly | Bardur Arantsson | 2019-02-15 |
| | |||
* | Avoid direct access to Term->icky_corner | Bardur Arantsson | 2019-02-15 |
| | |||
* | Move Term_queue_space() to z-term.c | Bardur Arantsson | 2019-02-15 |
| | | | | This means we can avoid accessing "private" members of Term. | ||
* | Avoid accessing Term->{wid,hgt} directly | Bardur Arantsson | 2019-02-15 |
| | |||
* | Make struct term_win opaque | Bardur Arantsson | 2019-02-15 |
| | |||
* | Change NULL to nullptr | Bardur Arantsson | 2019-02-15 |
| | |||
* | Add boost::optional<> Arbitrary instances for CppCheck | Bardur Arantsson | 2019-02-15 |
| | |||
* | Add CppQuickCheck as a dependency for property-based testing | Bardur Arantsson | 2019-02-15 |
| | |||
* | Add asserts to uniform_element() | Bardur Arantsson | 2019-02-15 |
| | | | | | This will make attempts to use it on empty containers fail in a more obvious way. | ||
* | Change feature_type::name to a std::string | Bardur Arantsson | 2019-02-15 |
| | | | | Introduce a singular_prefix formatting modifier while we're at it. | ||
* | Use std::string and std::array for player_class::titles[] | Bardur Arantsson | 2019-02-15 |
| | |||
* | Fix a small memory leak | Bardur Arantsson | 2019-02-15 |
| | |||
* | Restrict loop variable scopes in evolve_level() | Bardur Arantsson | 2019-02-15 |
| | |||
* | Avoid deprecated jsoncons features | Bardur Arantsson | 2019-02-15 |
| | |||
* | Move 'effects' global into Game struct | Bardur Arantsson | 2019-02-15 |
| | | | | | We change the type to std::vector<> while we're at it and make cave_type::effect to a boost::optional<> | ||
* | Move 'dungeon_flags' global to Game struct | Bardur Arantsson | 2019-02-15 |
| | | | | | We can get rid of a couple of icky macros, and at least it's a little bit less global now. | ||
* | Fix GCC compiler warnings | Bardur Arantsson | 2019-02-15 |
| | |||
* | Apply a clang-tidy modernize-use-bool fix | Bardur Arantsson | 2019-02-15 |
| | |||
* | Remove superfluous match_type::STATE | Bardur Arantsson | 2019-02-15 |
| | | | | It was only partially removed when removing identification. | ||
* | Extract handling of lasting effects into its own function | Bardur Arantsson | 2019-02-15 |
| | |||
* | Rework scope for i,j in process_world() | Bardur Arantsson | 2019-02-15 |
| | |||
* | Use std::array<> and bool | Bardur Arantsson | 2019-02-15 |
| | |||
* | Avoid use of global for force_module | Bardur Arantsson | 2019-02-15 |
| | | | | Signed-off-by: Bardur Arantsson <bardur@scientician.net> | ||
* | Avoid "C" linkage for init_file_paths() and init_angband() | Bardur Arantsson | 2019-02-15 |
| | |||
* | Remove arg_* globals | Bardur Arantsson | 2019-02-15 |
| | |||
* | Avoid modifying global state during argument parsing | Bardur Arantsson | 2019-02-15 |
| | |||
* | Avoid bool_ for "args" in main() | Bardur Arantsson | 2019-02-15 |
| | |||
* | Drop C linkage for play_game() | Bardur Arantsson | 2019-02-15 |
| | |||
* | Add set_player_base() | Bardur Arantsson | 2019-02-15 |
| | | | | | This replaces the "set" + "mutate-in-place" approach to player_base with a saner approach. | ||
* | Add name_file_dungeon_save() | Bardur Arantsson | 2019-02-15 |
| | | | | This reduces the amount of direct access to game->player_base. | ||
* | Add a non-mutating process_player_name() | Bardur Arantsson | 2019-02-15 |
| | |||
* | Remove the "savefile" variable | Bardur Arantsson | 2019-02-15 |
| | | | | | Computing as needed means that we can avoid intricately tracking exactly when it should be updated, etc. |