Commit Graph

302 Commits

Author SHA1 Message Date
fallenoak
91a4afd976
feat(ui): add stubbed implementation of CSimpleStatusBar
Some checks are pending
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Waiting to run
2026-01-29 22:41:29 -06:00
fallenoak
1cddac296c
chore(ui): use boolean for unique flag in FrameXML_RegisterFactory calls 2026-01-29 22:19:08 -06:00
fallenoak
df177a40b0
chore(ui): use anonymous namespace consistently for script bindings 2026-01-29 22:16:25 -06:00
fallenoak
f19894ef12
feat(ui): add stub implementations of remaining game frame classes
Some checks are pending
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Waiting to run
2026-01-29 21:33:04 -06:00
fallenoak
26522016e0
feat(ui): implement Script_GetCVar
Some checks are pending
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Waiting to run
2026-01-29 12:46:31 -06:00
fallenoak
50a24e8564
feat(ui): implement Script_GetGameTime 2026-01-29 07:37:43 -06:00
fallenoak
cd167c54a3
feat(ui): store tooltip pointer in CGGameUI::Initialize
Some checks are pending
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Waiting to run
2026-01-27 19:31:19 -06:00
fallenoak
379cbf7e61
feat(ui): add UIBindingsRegisterScriptFunctions 2026-01-27 19:28:48 -06:00
fallenoak
6b916d56d1
feat(ui): add CGTooltip::GetScriptMetaTable 2026-01-27 19:12:52 -06:00
fallenoak
1334d1407c
feat(ui): add CGTooltip::CreateScriptMetaTable 2026-01-27 18:45:52 -06:00
fallenoak
ac0930497c
feat(ui): add CGTooltip::GetObjectType 2026-01-27 17:54:56 -06:00
fallenoak
501935ffc2
feat(ui): stub Script_GetGameTime 2026-01-27 17:49:22 -06:00
fallenoak
94731f53c3
feat(ui): add BattlefieldInfoRegisterScriptFunctions 2026-01-27 17:46:48 -06:00
fallenoak
8ee1586a14
feat(ui): add CharacterInfoRegisterScriptFunctions 2026-01-27 16:17:40 -06:00
fallenoak
1c1e4f5875
feat(ui): register GameTooltip factory 2026-01-27 12:25:49 -06:00
fallenoak
c4077daa3f
feat(ui): implement CSimpleFrame_EnableMouse
Some checks are pending
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Waiting to run
2026-01-27 10:39:50 -06:00
fallenoak
b9f2c60966
feat(ui): implement Script_GetCursorPosition 2026-01-27 09:01:17 -06:00
fallenoak
5f7bf8c95c
feat(ui): implement Script_GetCVarBool 2026-01-27 08:44:58 -06:00
fallenoak
7d9173b880
feat(ui): implement CSimpleTexture_IsShown 2026-01-27 08:26:08 -06:00
fallenoak
98ea309985
feat(ui): implement CSimpleTexture_IsVisible 2026-01-27 08:24:29 -06:00
fallenoak
ba5006a4d8
feat(ui): implement CSimpleFontString_IsVisible 2026-01-27 08:20:56 -06:00
fallenoak
e872450202
fix(ui): fix infinite loop in CSimpleFrame::SetBeingScrolled 2026-01-27 07:56:30 -06:00
fallenoak
bc1d7cbd66
feat(ui): add GameScriptRegisterFunctions 2026-01-27 05:28:39 -06:00
fallenoak
61b05eb366
feat(ui): add GMTicketInfoRegisterScriptFunctions
Some checks are pending
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Waiting to run
2026-01-26 21:11:36 -06:00
fallenoak
95a8f4287f
feat(ui): add SystemUnregisterFunctions 2026-01-26 16:37:50 -06:00
fallenoak
c0ec4aed44
chore(ui): tweak style 2026-01-26 16:36:15 -06:00
fallenoak
6dd15ed2cf
feat(ui): add FrameScript_UnregisterFunction 2026-01-26 16:35:15 -06:00
fallenoak
dc071210ca
chore(ui): clean up RegisterSimpleFrameScriptMethods 2026-01-26 15:54:06 -06:00
fallenoak
cbbf491620
chore(ui): clean up SystemRegisterFunctions
Some checks are pending
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Waiting to run
2026-01-26 12:24:17 -06:00
fallenoak
caf628145d
feat(ui): add ScriptEventsRegisterFunctions
Some checks are pending
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Waiting to run
2026-01-25 22:37:37 -06:00
fallenoak
f1b8f495b6
feat(ui): delete regions in CSimpleFrame dtor
Some checks are pending
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Waiting to run
2026-01-25 15:05:10 -06:00
fallenoak
c2eedc1d47
feat(ui): clean up draw layers and batches in CSimpleFrame dtor 2026-01-25 14:50:16 -06:00
fallenoak
daba2a1ffd
feat(ui): delete title region in CSimpleFrame dtor 2026-01-25 14:40:28 -06:00
fallenoak
cded0d86e7
feat(ui): clear top pointer in CSimpleFrame dtor 2026-01-25 14:37:15 -06:00
fallenoak
4e9ea8f5a1
feat(ui): delete frames in CSimpleTop dtor 2026-01-25 13:40:19 -06:00
fallenoak
23be35bed2
feat(ui): delete strata in CSimpleTop dtor 2026-01-25 12:45:10 -06:00
fallenoak
1589466076
feat(ui): add proper ScriptIx dtor
Some checks are pending
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Waiting to run
2026-01-24 22:48:09 -06:00
fallenoak
8d1316b163
chore: normalize signature checking logic between GlueXML and FrameXML 2026-01-24 20:58:04 -06:00
fallenoak
bdf0bd27a1
feat(ui): initialize game UI in ClientInitializeGame
Some checks failed
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Has been cancelled
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Has been cancelled
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Has been cancelled
2026-01-23 21:17:43 -06:00
fallenoak
1f7aa984b0
chore(ui): move interface key to ui
Some checks are pending
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Waiting to run
2026-01-23 15:23:55 -06:00
Tristan Cormier
4959fafac7 feat(ui): add CSimpleEditBox::OnLayerShow 2025-12-30 22:53:51 -06:00
fallenoak
2258267992
feat(ui): notify scroll parent in CSimpleFrame::OnLayerShow 2025-12-30 10:50:00 -06:00
fallenoak
4c8ee85266
feat(ui): implement CSimpleTexture_SetDesaturated 2025-12-30 10:18:12 -06:00
fallenoak
6b2ccd6735
feat(ui): add CSimpleTexture::SetShader 2025-12-30 10:13:55 -06:00
fallenoak
26093afe36
feat(ui): implement CSimpleButton_GetDisabledTexture 2025-12-29 23:09:02 -06:00
fallenoak
a5da23e61f
feat(ui): implement CSimpleButton_GetPushedTexture 2025-12-29 23:05:19 -06:00
fallenoak
73c6c6ed69
feat(ui): implement CSimpleButton_GetNormalTexture 2025-12-29 23:03:14 -06:00
fallenoak
ce301b6250
feat(ui): add CGLookingForGroup::GetClassRoles 2025-12-29 13:39:48 -06:00
Tristan Cormier
35941bb74c feat(ui): implement CSimpleEditBox_ClearFocus 2025-12-28 22:02:52 -06:00
Tristan Cormier
e09d67d02a feat(ui): add CSimpleEditBox::OnLayerHide 2025-12-28 22:00:49 -06:00
Tristan Cormier
844ccf348d feat(ui): add CSimpleEditBox::ClearKeyboardFocus 2025-12-28 21:39:06 -06:00
fallenoak
1eb0a4ffbb
chore(build): update common 2025-12-23 22:58:20 -06:00
fallenoak
6732199eab fix(ui): improve const correctness across xml loading functions in ui 2025-12-23 22:19:45 -06:00
fallenoak
e1efaf8ba9
feat(ui): load gradients in CSimpleTexture::LoadXML 2025-12-23 11:40:52 -06:00
fallenoak
2fba6413bc
feat(ui): add CSimpleRegion::SetVertexGradient 2025-12-23 11:40:24 -06:00
fallenoak
066a53e667
feat(ui): add LoadXML_Gradient 2025-12-23 11:39:55 -06:00
fallenoak
a6e93122a7
chore(ui): make ORIENTATION enum generic 2025-12-23 11:21:38 -06:00
fallenoak
44e4ca5f77
feat(ui): handle alpha in CSimpleFontString::AddShadow 2025-12-15 20:13:12 -06:00
fallenoak
213847d1a9
feat(ui): handle shadows in CSimpleFontString::LoadXML 2025-12-15 11:29:15 -06:00
fallenoak
e47edce5a3
chore(ui): add detail to comment in FrameScript_Sprintf 2025-12-11 08:20:53 -06:00
fallenoak
c8ab5e1f09
feat(ui): implement CSimpleFontString_SetFormattedText 2025-12-10 23:17:19 -06:00
fallenoak
d1b08b59b1
feat(ui): add FrameScript_Sprintf 2025-12-10 23:16:56 -06:00
fallenoak
d6e2a1dce9
fix(ui): clean up stack after signaling in FrameScript_SignalEvent 2025-12-08 00:18:41 -06:00
fallenoak
1a25ac6a8e
fix(ui): push correct arg value to stack in FrameScript_Execute 2025-12-07 23:53:05 -06:00
fallenoak
7b07cbd1f8
feat(ui): initialize CSimpleTop::m_mousePosition 2025-12-07 20:16:55 -06:00
Tristan 'Natrist' Cormier
25c21b5fbe
fix(ui): add missing return statement (#142) 2025-12-07 19:39:20 -06:00
fallenoak
e5fe93c1f3
feat(ui): add missing unlink to CLayoutFrame::DestroyLayout 2025-12-07 17:56:39 -06:00
fallenoak
492dc74392
fix(ui): check for this as relative should use frame points not this points 2025-12-07 17:55:15 -06:00
fallenoak
8e06d02632 chore(build): update target links 2025-12-06 22:58:16 -06:00
fallenoak
2f00e53993
chore(glue): move glue-related script handlers from ui to glue 2025-12-06 22:44:17 -06:00
fallenoak
fceaeef00d
chore(ui): clean up script function headers 2025-12-06 22:02:13 -06:00
fallenoak
060eb7e039 chore(ui): organize simple classes 2025-12-06 21:31:48 -06:00
fallenoak
5b4da3b123
feat(ui): unset style update flag in CSimpleHTML::AddText 2025-12-06 13:50:39 -06:00
fallenoak
0e727cd0e2
feat(ui): propagate alpha in CSimpleFrame::SetParent 2025-12-05 20:51:23 -06:00
fallenoak
cce548755a
fix(ui): add missing visible check in CSimpleFrame::PostLoadXML 2025-12-04 21:46:26 -06:00
fallenoak
45838c6897
feat(ui): handle HitRectInsets in CSimpleFrame::LoadXML 2025-12-04 20:01:30 -06:00
fallenoak
3dc6b4373e
fix(ui): correct flag check in CSimpleTop::RaiseFrame 2025-12-04 19:51:54 -06:00
fallenoak
1cd1b424e9
chore(ui): clean up node handling in FrameXML_ProcessFile 2025-12-04 19:23:41 -06:00
fallenoak
3a4ed7aafb
feat(ui): properly name and place CLayoutFrame::HasPoints 2025-12-04 16:00:10 -06:00
fallenoak
1c8e6262ca
feat(ui): add CSimpleFontString::SetHeight and CSimpleFontString::SetWidth 2025-12-04 15:45:43 -06:00
fallenoak
4aa67fc3dc
feat(ui): add CSimpleSlider::OnFrameSizeChanged 2025-12-03 22:33:39 -06:00
fallenoak
18f64ac439
fix(ui): correct retry logic in CLayoutFrame::GetFirstPointX and CLayoutFrame::GetFirstPointY 2025-12-03 20:42:47 -06:00
fallenoak
54313696ee
chore(ui): use inifinity value from limits for CFramePoint::UNDEFINED 2025-12-03 20:25:37 -06:00
fallenoak
db6a83bfb2
fix(ui): correct linking logic in CLayoutFrame::AddToResizeList 2025-12-03 20:03:20 -06:00
fallenoak
a6e6d36ac1
feat(ui): implement CSimpleFrame_SetScale 2025-12-03 00:16:54 -06:00
fallenoak
6c6e60e8f8
feat(ui): implement CLayoutFrame::SetProtectFlag 2025-12-02 22:51:57 -06:00
fallenoak
fd01435140
fix(ui): correct logic in CFramePoint ctor 2025-12-02 20:27:11 -06:00
fallenoak
0fe67635eb
chore(ui): correct validate end macros in CLayoutFrame 2025-12-02 16:52:38 -06:00
fallenoak
cfee992907
chore(ui): use appropriate validation macros in CLayoutFrame 2025-12-02 16:51:18 -06:00
fallenoak
beb9895092
feat(ui): add missing assert to CFramePoint ctor 2025-12-02 16:34:13 -06:00
fallenoak
0fcf129d02
chore(ui): remove irrelevant TODO 2025-12-02 16:33:34 -06:00
fallenoak
46b7dd926b
chore(ui): use uint32_t for bitpacked guard flags in CLayoutFrame 2025-12-02 16:26:29 -06:00
fallenoak
ae900a1b59
chore(ui): add FLAG_RESIZE_PENDING define to CLayoutFrame 2025-12-02 16:19:45 -06:00
fallenoak
1457703d8c
fix(ui): add missing linked check to CLayoutFrame::Resize 2025-12-01 22:18:14 -06:00
fallenoak
a9364386d8
fix(ui): avoid potential null pointer issue in CSimpleButton::SetFontString 2025-12-01 16:36:08 -06:00
fallenoak
25780ae857
fix(ui): correct wrong comparison in CSimpleSlider::SetValue 2025-12-01 00:16:59 -06:00
fallenoak
c91c86151b
feat(ui): implement Script_SetGamma 2025-11-30 23:52:50 -06:00
fallenoak
51e16dd5e3
fix(ui): correct logic in CSimpleSlider::SetValueStep 2025-11-30 21:02:45 -06:00
fallenoak
9bebe62243
feat(ui): implement Script_GetTerrainMip 2025-11-30 20:54:47 -06:00
fallenoak
0300d42061
feat(ui): implement CSimpleSlider::StepValue 2025-11-30 16:41:37 -06:00