Compare commits

...

3 Commits

Author SHA1 Message Date
Tristan 'Natrist' Cormier
0157c04b13
Merge e391f966bb into 06186d1251 2026-02-19 12:48:15 -05:00
fallenoak
06186d1251
feat(ui): call CGCamera::SetupWorldProjection from CGWorldFrame::OnWorldUpdate
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-02-19 06:56:43 -06:00
Tristan Cormier
e391f966bb feat(glue): implement Script_TerminationWithoutNoticeAccepted 2026-01-11 16:57:43 -05:00
2 changed files with 12 additions and 1 deletions

View File

@ -204,7 +204,14 @@ int32_t Script_ShowTerminationWithoutNoticeNotice(lua_State* L) {
} }
int32_t Script_TerminationWithoutNoticeAccepted(lua_State* L) { int32_t Script_TerminationWithoutNoticeAccepted(lua_State* L) {
WHOA_UNIMPLEMENTED(0); if (CGlueMgr::m_acceptedTerminationWithoutNotice) {
lua_pushnumber(L, 1.0);
}
else {
lua_pushnil(L);
}
return 1;
} }
int32_t Script_AcceptTerminationWithoutNotice(lua_State* L) { int32_t Script_AcceptTerminationWithoutNotice(lua_State* L) {

View File

@ -91,4 +91,8 @@ void CGWorldFrame::OnWorldRender() {
void CGWorldFrame::OnWorldUpdate() { void CGWorldFrame::OnWorldUpdate() {
// TODO // TODO
this->m_camera->SetupWorldProjection(this->m_screenRect);
// TODO
} }