head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.38 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.36 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.34 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.32 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.30 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.28 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.26 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.24 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.22 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.20 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.18 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.16 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.14 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.12 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.10 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.8 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.6 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.4 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.2 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.1.0.10 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.8 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.6 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.4 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.2 pkgsrc-2020Q2-base:1.1; locks; strict; comment @// @; 1.2 date 2021.07.12.20.54.02; author nia; state Exp; branches; next 1.1; commitid 2vGoqR8UT7DAZJ0D; 1.1 date 2020.04.30.14.57.30; author nia; state Exp; branches; next ; commitid UypoFwN6boXj6q6C; desc @@ 1.2 log @cataclysm-dda: update to 0.F ## Highlights Nested Containers rationalize inventory management and enable dropping and retrieving go-bags during fights. Achievements track your deeds and misdeeds across games. Proficiencies better represent deeper knowledge required for various endeavors, mostly crafting. Bleeding added to both the player and monsters as the first step toward a more comprehensive wound and wound treatment system. Weariness tracking added to represent longer-term physical exhaustion. Elevated bridges over navigable rivers added, allowing better navigability while using boats. Large-scale audit of weapon and armor values for better representativeness and consistency. Improved armor handling by separating ballistic damage into its own damage type. Pervasive performance enhancements throughout the game. Tileset vehicle support for more cohesive vehicle rendering. Aftershock changes direction to a total conversion mod with a new far-future setting on a frozen world. Dinomod added 238 dinosaurs, pterosaurs, mosasaurs, and dino-related NPCs with missions and dino locations. Added many dino features, including zombie, fungal, evolved, bionic, baby, and mutant dino variants. Dinomod added many dino interactions, including farming, riding, butchering, cooking, and special attacks. Magiclysm added a huge content update including many new traits called Attunements that switch up gameplay at the endgame. ## Statistics 3974 files changed, 5440251 insertions(+), 3904330 deletions(-) 10,463 commits ~454 contributors @ text @$NetBSD: patch-src_translations.cpp,v 1.1 2020/04/30 14:57:30 nia Exp $ Avoid overriding gettext functions with incompatible versions. --- src/translations.cpp.orig 2021-07-03 05:00:06.000000000 +0000 +++ src/translations.cpp @@@@ -75,45 +75,6 @@@@ static std::string getAppleSystemLanguag static std::string getAndroidSystemLanguage(); #endif -const char *pgettext( const char *context, const char *msgid ) -{ - // need to construct the string manually, - // to correctly handle strings loaded from json. - // could probably do this more efficiently without using std::string. - std::string context_id( context ); - context_id += '\004'; - context_id += msgid; - // null domain, uses global translation domain - const char *msg_ctxt_id = context_id.c_str(); -#if defined(__ANDROID__) - const char *translation = gettext( msg_ctxt_id ); -#else - const char *translation = dcgettext( nullptr, msg_ctxt_id, LC_MESSAGES ); -#endif - if( translation == msg_ctxt_id ) { - return msgid; - } else { - return translation; - } -} - -const char *npgettext( const char *const context, const char *const msgid, - const char *const msgid_plural, const unsigned long long n ) -{ - const std::string context_id = std::string( context ) + '\004' + msgid; - const char *const msg_ctxt_id = context_id.c_str(); -#if defined(__ANDROID__) - const char *const translation = ngettext( msg_ctxt_id, msgid_plural, n ); -#else - const char *const translation = dcngettext( nullptr, msg_ctxt_id, msgid_plural, n, LC_MESSAGES ); -#endif - if( translation == msg_ctxt_id ) { - return n == 1 ? msgid : msgid_plural; - } else { - return translation; - } -} - void select_language() { auto languages = get_options().get_option( "USE_LANG" ).getItems(); @ 1.1 log @cataclysm-dda: Update to 0.E Highlights: Long distance automove feature for walking, driving and boating. Extensive bugfixes to inter-level interactivity, on by default. Riding animals and animal-pulled vehicles. More flexible Basecamp construction options. Default starting date changed to mid-spring for better survivability. Time advancement is rationalized, a turn is now one second. Extensive river and lake systems, and boat support for navigating them. Expanded NPC usefulness and interactivity. Massive increases in location variety and consistency, especially rooftops. Expansion of mi-go faction with new enemies and locations. Batteries now store charge instead of being pseudo-items. Overhaul and rebalance of martial arts. Zombie grabbing and biting more manageable and predictable. Overhauled stamina and damage recovery for grittier gameplay. Crouching movement mode allows hiding. Magiclysm and Aftershock mods have first class support within the game. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- src/translations.cpp.orig 2020-04-01 05:39:38.000000000 +0000 d7 2 a8 2 @@@@ -59,45 +59,6 @@@@ static bool sanity_checked_genders = fal std::string getOSXSystemLang(); d50 1 a50 1 bool isValidLanguage( const std::string &lang ) d52 1 a52 1 const auto languages = get_options().get_option( "USE_LANG" ).getItems(); @