Antonio Martinez
1e9f3e67cc
Add Mayflash 6bt profile
2025-09-16 18:47:15 -04:00
toaster
1c6ca63933
K_DrawGameControl: Use _FONT enums instead of fragile laundered magic numbers
...
Fixes the Genesis font breaking all Menu font'd control visuals
2025-08-13 18:05:23 +01:00
toaster
e76262ae5b
Add Genesis font
2025-08-13 15:39:01 +01: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
Sally Coolatta
68eb4311f0
Fix osx pipeline being unhappy for unordered_map
...
- v_draw.hpp was simply missing the header entirely.
- r_debug_printer.cpp is the weird one -- unordered_set's definition uses unordered_map, but it seems like osx's standard library does not include it in their definition? wut?
2024-10-04 19:07:31 -04:00
Antonio Martinez
c96b96eb5f
Fix saturn type C
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
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
43960d7a23
Animated keyboard, prelim large buttons
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
7019c77b96
Generic input nightmare fuck
2024-09-27 03:28:37 -07:00
Antonio Martinez
8c51bc235d
"Use Button Names" option
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
James R
a198330357
srb2::Draw::patch: accept std::string argument
2024-02-24 17:35:02 -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
9adf6e9568
srb2::Draw: add clip method, optionally switch between draw chain's cliprect or global cliprect
2024-01-26 15:12:46 -08: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
45a9042650
srb2::Draw: relax type on colormap/colorize color argument
...
Lets you pass player_t.skincolor directly to the methods
without using static_cast<skincolornum_t>.
No, I don't want type safety on enums, this is SRB2.
2024-01-26 14:30:56 -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
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
0d765d9fd1
srb2::Draw: TextElement enhancements
...
- Add default constructor
- Add text method with no arguments: returns TextElement
that inherits font and flags from drawer
2024-01-16 06:20:22 -08:00
James R
1d1d1d8a27
srb2::Draw: add missing small_button method
2024-01-16 05:20:17 -08:00
James R
76b0639d78
v_draw.hpp: fix r_draw.h being included inside srb2 namespace
2024-01-12 05:01:12 -08:00
James R
1c056acc2c
srb2::Draw: add menu font
2023-12-29 17:03:54 -08: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
James R
c497dcaf49
srb2::Draw::Chain: make copy assignment private, make bruh moments a little more obvious
...
If you define a variable with type auto and initialize it
with the result of a builder chain -- e.g.
auto var = Draw().x(0)
-- the resulting variable will be an instance of
srb2::Draw::Chain, and calling builder methods on it will
modify the instance itself, instead of creating a
temporary, like an instance of srb2::Draw would.
Hiding the copy assignment can make this a little more
obvious by emitting an error if you try to reassign the
variable later. E.g.
var = var.x(0)
That's the best I can do to mitigate this.
2023-09-01 22:13:17 +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