- bind item_location by const ref in zone drop debug log loop in activity_actor.cpp
- bind mission_type::get_all() result by const ref in mission-add debug menu
- bind selected dialogue topic by const ref in talk-topic debug menu
- NOLINT outfit_component copy near who.takeoff; takeoff can invalidate worn_item before force_insert_item runs
.. as suggested by the comment in cata_catch.h:
// To avoid ODR violations, it's important that whenever a file includes
// catch.hpp it also includes stringmaker.h, so that all specializations of
// StringMaker match. Therefore, all test code should include catch.hpp via
// this file.
Honestly, i'm not exactly sure how valuable this is, given that we've
been running with the current odr-violating(?) setup for a while nand
not had many issues, but sure, why not.
* Added UI element to select and return time point
+ utilized it in debug menu
* Reworked scenario calendar
- removed `random` calendar entries from scenarion definitions
- allowed free selection of cataclysm and game start dates in new character menu
- updated UI in new character menu
- fixed start date related tests
- updated docs
* Clarify start date keybinding descriptions
* Fix default start date values
* Add start date reset keybindings
* Refine start date display UI in new character menu
* Convert integer parsing test to use normal TEST_CASEs
* Rename test name too similar to another
* Test to enforce normalized test names
* Normalize TEST_CASE names (scripted)
Our string_id constants were a mixture of temporaries, locals, and
globals. Pull them all out as globals, for consistency and efficiency.
The efficiency comes from the fact that each string_id instance caches
its respective int_id, and sharing one instance means that value need
not be recomputed.
* docs: update TOC
* refactor scenario date
* limit initial date to first year
* limit initial date to first year
* renamed custom_start_date
* doc for defaults
* better randomness
* random scenario date tests
* finishing touches on tests
* reduce chance for date collision
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
Co-authored-by: TOC Generator <noreply@example.invalid>