Compare commits

...
3 Commits
Author SHA1 Message Date
Tristan 'Natrist' Cormier aea4f39cf7 Merge 44bee4cbd7 into 6923b07f6c 2026-09-19 21:06:14 +03:00
Marco Tylus 6923b07f6c feat(ui): implement Script_IsDebugBuild (#171)
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-09-18 21:41:19 -05:00
Tristan Cormier 44bee4cbd7 feat(net): add CHARACTER_CREATE_INFO struct 2026-02-14 21:03:36 -05:00
2 changed files with 20 additions and 1 deletions

No files matched your search

+13
View File
@@ -1214,4 +1214,17 @@ struct CHARACTER_INFO {
uint8_t firstLogin;
};
struct CHARACTER_CREATE_INFO {
char name[48];
uint8_t raceID;
uint8_t classID;
uint8_t sexID;
uint8_t skinID;
uint8_t faceID;
uint8_t hairStyleID;
uint8_t hairColorID;
uint8_t facialHairStyleID;
uint8_t outfitID;
};
#endif
+7 -1
View File
@@ -120,7 +120,13 @@ int32_t Script_GetDebugStats(lua_State* L) {
}
int32_t Script_IsDebugBuild(lua_State* L) {
WHOA_UNIMPLEMENTED(0);
#if defined(NDEBUG)
lua_pushboolean(L, 0);
#else
lua_pushboolean(L, 1);
#endif
return 1;
}
int32_t Script_RegisterCVar(lua_State* L) {