Commit graph

46 commits

Author SHA1 Message Date
Antonio Martinez
3a39399346 Control prompt localplayers cleanup 2025-06-01 16:04:14 -04:00
Eidolon
bd7646346b Use new containers and json 2025-03-16 18:45:11 -05:00
Eidolon
cb7f437e60 Merge public master 2025-02-13 15:48:11 -06:00
Eidolon
a4d304a1f5 Update copyright years to 2025 2025-02-13 15:32:26 -06:00
Antonio Martinez
89036e07eb big ol fucking fuck 2024-09-27 03:29:07 -07:00
Antonio Martinez
c6d3f78246 bring that enum in 2024-09-27 03:28:40 -07:00
Antonio Martinez
cad7273ff4 Controller type refactor 2024-09-27 03:28:40 -07:00
Antonio Martinez
80912b173c Descriptiveinput in profiles, various 6bt. modes 2024-09-27 03:28:40 -07:00
Antonio Martinez
d1798c80fe Descriptive input: expanded 6bt support 2024-09-27 03:28:40 -07:00
Antonio Martinez
5563a06827 Lua ABC -> Lua 123, move dpad to generic to make room for lua gamecontrol translation 2024-09-27 03:28:39 -07:00
Antonio Martinez
7573c7dac9 idk 2024-09-27 03:28:38 -07:00
Antonio Martinez
dfdd46d69f Something something large buttons 2024-09-27 03:28:38 -07:00
Antonio Martinez
43960d7a23 Animated keyboard, prelim large buttons 2024-09-27 03:28:38 -07:00
Antonio Martinez
735a792380 ABSTRACTION HELL 2024-09-27 03:28:38 -07:00
Antonio Martinez
512eb5ec67 Allow overriding stplyr in Srb2::Draw::Parse 2024-09-27 03:28:37 -07:00
Antonio Martinez
28221df0e9 Actually use the animation bits, dummy! 2024-09-27 03:28:37 -07:00
Antonio Martinez
7019c77b96 Generic input nightmare fuck 2024-09-27 03:28:37 -07:00
Antonio Martinez
31eb1a8f5d Descriptive input: visually box control legends, better bind search 2024-09-27 03:28:37 -07:00
Antonio Martinez
4921c42d4c Fix descriptive input rewriting color codes in Tutorial dialogue 2024-09-27 03:28:36 -07:00
Antonio Martinez
dbd43859fe Descriptive input: K_DrawGameControl rich text wrapper (WIP) 2024-09-27 03:28:36 -07:00
Antonio Martinez
0b9c5c7415 Move bind-search logic to g_input 2024-09-27 03:28:36 -07:00
Antonio Martinez
1c50c3510d Descriptive input: keyboard/gamepad split, improve display of directions 2024-09-27 03:28:36 -07:00
Antonio Martinez
7bf63f5217 Descriptive controls: respond to player input method 2024-09-27 03:28:36 -07:00
Antonio Martinez
511255216c WIP 2024-09-27 03:28:36 -07:00
Antonio Martinez
8c51bc235d "Use Button Names" option 2024-09-27 03:28:36 -07:00
Antonio Martinez
4bc2c576f0 WIP: Descriptive controls 2024-09-27 03:28:36 -07:00
AJ Martinez
c53bd19db0 Add dpad button graphic, trick reminder on failed trick 2024-05-01 01:23:09 -07:00
Sally Coolatta
7dfa597c7d SRB2 -> DRRR copyright in src, acs, android folder
Be consistent with toaster's recent changes to copyright
2024-04-05 02:08:23 -04:00
James R
9a7af6c592 srb2::Draw: add fonts kRollingNum and kRollingNum4P 2024-03-04 01:42:29 -08:00
Oni
bc80233f1f Merge branch 'vote-level-names' into 'master'
Vote level names

See merge request KartKrew/Kart!1873
2024-01-28 23:29:44 +00:00
Sally Coolatta
a7df7aa637 Add Medium Font
Monospaced in-between of Console & Thin
2024-01-27 20:38:52 -05:00
James R
510c82ca6d srb2::Draw: inherit global cliprect by default
- Let srb2::Draw be mixed seamlessly with C-style
  V_SetClipRect
2024-01-26 15:12:46 -08:00
James R
3a8a7f3cf5 Add thin timer font 2024-01-22 16:42:30 -08:00
James R
892d2c73a8 srb2::Draw: add sticker and small_sticker methods
- Can be aligned to place a wing on only the left or right
  sides, or both
- Width is adjustable
- Custom sticker support
2024-01-22 16:42:30 -08:00
James R
6347afb63f srb2::Draw: add cache_patch static class method 2024-01-22 16:42:30 -08:00
James R
3030f7c65b srb2::Draw::TextElement: add color codes to parsing
- <white>
- <purple>
- <yellow>
- <green>
- <blue>
- <red>
- <gray>
- <orange>
- <sky>
- <lavender>
- <gold>
- <aqua>
- <magenta>
- <pink>
- <brown>
- <tan>
2024-01-16 20:10:24 -08:00
James R
bfa6e4f401 srb2::Draw::TextElement: add parse method
- Parse and translate special characters
- Currently supported:
  - Button codes
    - <up>
    - <down>
    - <right>
    - <left>
    - <r>
    - <l>
    - <start>
    - <a>
    - <b>
    - <c>
    - <x>
    - <y>
    - <z>
  - All button codes can be suffixed with '_pressed' or
    '_animated'
    - E.g. <b_pressed> or <start_animated>
2024-01-16 06:21:13 -08:00
James R
1c056acc2c srb2::Draw: add menu font 2023-12-29 17:03:54 -08:00
toaster
676a1e3602 v_draw.cpp Chain::fill: Ensure flags are passed to V_DrawFill
Fixes non-green resolution for tutorial dialogue
2023-12-23 17:30:08 +00:00
toaster
00fdae8b52 srb2::Draw::Chain: Make the button function name different between public and private contexts
The author of this commit's compiler was overzealous and kept on matching the wrong one
2023-12-01 15:56:08 +00:00
James R
9fa2e3da5f srb2::Draw: add button and small_button methods 2023-10-09 18:52:02 -07:00
Sal
0675a4e527 Tally screen 2023-09-09 05:27:55 +00:00
toaster
c5dc430b50 V_6WIDTHSPACE no longer a pitfall for using V_DrawThinString
The bunched text behaviour is now the primary mode of operation for TINY_FONT.
2023-07-12 09:00:29 +01:00
toaster
a536f884ce V_ALLOWLOWERCASE --> V_FORCEUPPERCASE
Content of commit was originally written by Sal, but as a monolithic commit. The author of this commit is chunking it up for easier review.

Simple inversion on the face of things, but with a long tail of consequences, including 19 changed files.

Forced uppercase has been applied in a handful of locations where it was aesthetically imperative. Most menus will follow in another commit, so that that may be reverted if we change the default menu font.
2023-07-12 09:00:29 +01:00
James R
8c0f7d5757 Add Draw::Font::kZVote and Draw::Font::kPing
- OPPRF_FONT
- PINGF_FONT
2023-06-29 19:27:35 -07:00
James R
d2ca5d6506 v_draw.cpp, v_draw.hpp: add srb2::Draw, 2D drawing abstraction 2023-04-28 12:50:25 -07:00