summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Remove redundant optimizationBardur Arantsson2019-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 globalBardur Arantsson2019-02-15
|
* Extract key queue logic out of struct termBardur Arantsson2019-02-15
|
* Remove unused return values from Term_* functionsBardur Arantsson2019-02-15
|
* Rewrite struct term and struct term_win to classesBardur Arantsson2019-02-15
|
* Migrate z-term.c to C++Bardur Arantsson2019-02-15
|
* Move #include outside of "extern C" blockBardur Arantsson2019-02-15
|
* Make 'struct term' opaqueBardur Arantsson2019-02-15
|
* Change term_init to a constructor-like functionBardur Arantsson2019-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 functionBardur Arantsson2019-02-15
|
* Avoid accessing Term->data directlyBardur Arantsson2019-02-15
|
* Set term->data during term_init()Bardur Arantsson2019-02-15
|
* Explicitly pass Term->data to UI hooksBardur Arantsson2019-02-15
| | | | This removes the need to reach into the global Term from UI hooks.
* main-x11: Remove the "selection" handlingBardur Arantsson2019-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_tBardur Arantsson2019-02-15
|
* Move initialization of term UI hooks to functionBardur Arantsson2019-02-15
|
* Avoid 'circular' reference from term to itself in {init,nuke}_hookBardur Arantsson2019-02-15
|
* Avoid accessing Term soft_cursorBardur Arantsson2019-02-15
|
* Avoid accessing Term mapped_flag directlyBardur Arantsson2019-02-15
|
* Avoid direct access to Term->icky_cornerBardur Arantsson2019-02-15
|
* Move Term_queue_space() to z-term.cBardur Arantsson2019-02-15
| | | | This means we can avoid accessing "private" members of Term.
* Avoid accessing Term->{wid,hgt} directlyBardur Arantsson2019-02-15
|
* Make struct term_win opaqueBardur Arantsson2019-02-15
|
* Change NULL to nullptrBardur Arantsson2019-02-15
|
* Add boost::optional<> Arbitrary instances for CppCheckBardur Arantsson2019-02-15
|
* Add CppQuickCheck as a dependency for property-based testingBardur Arantsson2019-02-15
|
* Add asserts to uniform_element()Bardur Arantsson2019-02-15
| | | | | This will make attempts to use it on empty containers fail in a more obvious way.
* Remove "Research Item" building action from The Mirror/ThemeBardur Arantsson2019-02-15
| | | | It doesn't exist any more since *Identify* is automatic.
* Change feature_type::name to a std::stringBardur Arantsson2019-02-15
| | | | Introduce a singular_prefix formatting modifier while we're at it.
* Use std::string and std::array for player_class::titles[]Bardur Arantsson2019-02-15
|
* Fix a small memory leakBardur Arantsson2019-02-15
|
* Restrict loop variable scopes in evolve_level()Bardur Arantsson2019-02-15
|
* Avoid deprecated jsoncons featuresBardur Arantsson2019-02-15
|
* Upgrade to jsoncons-0.104.0Bardur Arantsson2019-02-15
|
* Move 'effects' global into Game structBardur Arantsson2019-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 structBardur Arantsson2019-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 warningsBardur Arantsson2019-02-15
|
* Apply a clang-tidy modernize-use-bool fixBardur Arantsson2019-02-15
|
* Remove superfluous match_type::STATEBardur Arantsson2019-02-15
| | | | It was only partially removed when removing identification.
* Extract handling of lasting effects into its own functionBardur Arantsson2019-02-15
|
* Rework scope for i,j in process_world()Bardur Arantsson2019-02-15
|
* Use std::array<> and boolBardur Arantsson2019-02-15
|
* Avoid use of global for force_moduleBardur Arantsson2019-02-15
| | | | Signed-off-by: Bardur Arantsson <bardur@scientician.net>
* Avoid "C" linkage for init_file_paths() and init_angband()Bardur Arantsson2019-02-15
|
* Remove arg_* globalsBardur Arantsson2019-02-15
|
* Avoid modifying global state during argument parsingBardur Arantsson2019-02-15
|
* Avoid bool_ for "args" in main()Bardur Arantsson2019-02-15
|
* Drop C linkage for play_game()Bardur Arantsson2019-02-15
|
* Add set_player_base()Bardur Arantsson2019-02-15
| | | | | This replaces the "set" + "mutate-in-place" approach to player_base with a saner approach.
* Add name_file_dungeon_save()Bardur Arantsson2019-02-15
| | | | This reduces the amount of direct access to game->player_base.