-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port DDA title screen update with BN-specific tweaks (#2519)
* Move get_holiday_from_time to cata_utility (cherry picked from commit 348d239ec08e1301b2f63477ec1351ed49b6e33b) * Fix symbol collision * Fix character name covering world name (cherry picked from commit 60b363d30853f94cde54e7f42a64791333b035ff) * Only use empty worlds when selecting "Play Now" (cherry picked from commit fdbe06d53a48e7a3191f7ffb23e5b49b6de7f146) * Clarify 'delete world?' message (cherry picked from commit aa08e09b1bd052a450d3f3986beae94f6a6259f1) * Reduce merge conflicts * Migrate g->add_msg_if_player -> add_msg (cherry picked from commit a2510c6d12be5e4efebec3219239ae36ae797a83) * Allow traversing main menu horizontally with TAB and SHIFT + TAB (cherry picked from commit 6847331) * Rename and make special_game_type a class enum (cherry picked from commit 09ab0494dfed16fa77292b2cf5c60b46737c6b2e) * (Partial) Global reference migration part 30 (cherry picked from commit f95326e8ad4dddc653f3e459d270f0947a61936a) * Add g->scen accessors * (Partial) Fix spelling issues (cherry picked from commit c380afc798df064ab76645a0a2f66358d425e3bc) * Enable clang-tidy check bugprone-unused-return-value * Fix bugprone-unused-return-value Biggest change here was to mapbuffer, which now stores submaps via unique_ptr rather than raw pointers, simplifying the destructor. Unfortunately, we have to retain the strange pointer-based API for mapbuffer, because the submap ownership logic in map is so convoluted. That can be fixed another day. Also, renamed mapbuffer::reset() to clear(), for consistency. In trait_group, removed a couple of calls to reset() that this warning was highlighting. They didn't do anything anyway. * Enable clang-tidy bugprone-unused-return-value (cherry picked from commit 1c4f47adc95c9a7e87aec501113a310ffab18cc5) * (Partial) Fix some cases of readability-isolate-declaration (cherry picked from commit a8f17b497e3fe255daadcd04e331a2d1dbfc21b6) * (Partial) Fox some cases of modernize-use-emplace (cherry picked from commit 8cc6378fc55bca9f7af06c623c70786de43df1ee) * (Partial) Fix some cases of cata-combine-locals-into-point (cherry picked from commit e067da4d920ab00662adc5319b8c2b4e37cb8d4a) * (Partial) Fix some cases of bugprone-branch-clone Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com> Co-authored-by: Kevin Granade <kevin.granade@gmail.com> (cherry picked from commit 159413daa279694aeaf7885edde67f496d61d473) * Refactor: isolate points_left (cherry picked from commit e0ad76e03960df71797752d1120e23f476fef727) * Decouple save file name from Character::name (cherry picked from commit f0c2c3b123ae44f3b2a6d5d29fc18350be0c4dfd) * (Reduce conflicts) (Partial) Remove ime.h/cpp (cherry picked from commit 722b94b7207c114cc6a34cd140e0619d01f180fd) * Fix compilation * Main menu overhaul (Part 1): Mouse controls + Vertical submenus (cherry picked from commit 369fc6fcf207ba30609eadd02ca4830950596c14) * Fix MOTD/Credits scrolling bug Co-authored-by: David Seguin <davidseguin@live.ca> (cherry picked from commit 293c808cb2c8d0891ca26e9580e17eabcab62e51) * Fix crash when pressing load button in main menu if there is no world (cherry picked from commit 5ac426dfe46f768910bf5354566393147e0a719a) * Add hotkeys for world interaction (cherry picked from commit b7142b23189354fa81a94e83920a0398f83af76b) * monologue messages return after the start of the new game Co-authored-by: EI IKao <you@example.com> (cherry picked from commit d291072370c32ea9027f4c40eaefce49dceec138) * Fix compilation * Fix JSON * Fix JSON style * Remove bits of mouse code * Fix functionality lost during merge * Redraw screen when confirming quitting * Merge 'Special' category into 'New Game' * Fix hotkeys mismatch in world menu * Mute colors a bit, use yellow hotkeys in lists * Fix lack of sound when moving in lists * Reorder entries in world menu * Revert color mute * Add quick return from lists * Make more space for hints at the bottom * Get rid of errflag, fix error when trying to load with no world * Fix uninitialized variable * Reduce code duplication * Auto-create world on "Play Now" * Fix tutorial and defence * Fix starting vehicle in character template --------- Co-authored-by: David Seguin <davidseguin@live.ca> Co-authored-by: Dylan Greer <greerd248@yahoo.com> Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com> Co-authored-by: Kevin Granade <kevin.granade@gmail.com> Co-authored-by: Simon Jansson <simonj12@hotmail.se> Co-authored-by: ZhilkinSerg <ZhilkinSerg@users.noreply.github.com> Co-authored-by: John Bytheway <jbytheway@gmail.com> Co-authored-by: Andrey Bienkowski <hexagon-recursion@posteo.net> Co-authored-by: eltank <8000047+eltank@users.noreply.github.com> Co-authored-by: Ezrashaw <Ezrasure@outlook.com> Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com> Co-authored-by: anothersimulacrum <anothersimulacrum@gmail.com> Co-authored-by: EI IKaO <109350502+EIIKaO@users.noreply.github.com>
- Loading branch information
1 parent
75f0a38
commit 09f67f8
Showing
29 changed files
with
948 additions
and
1,078 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.