mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(gameui): add skeletons of Game UI classes
This commit is contained in:
parent
0a0c327c46
commit
8c442f5a82
26 changed files with 700 additions and 9 deletions
|
|
@ -1,6 +1,12 @@
|
|||
#include "gameui/GameScriptFunctions.hpp"
|
||||
#include "gameui/CGGameUI.hpp"
|
||||
#include "gameui/CGTooltip.hpp"
|
||||
#include "gameui/CGCooldown.hpp"
|
||||
#include "gameui/CGMinimapFrame.hpp"
|
||||
#include "gameui/CGCharacterModelBase.hpp"
|
||||
#include "gameui/CGDressUpModelFrame.hpp"
|
||||
#include "gameui/CGTabardModelFrame.hpp"
|
||||
#include "gameui/CGQuestPOIFrame.hpp"
|
||||
#include "ui/FrameXML.hpp"
|
||||
#include "ui/FrameScript.hpp"
|
||||
#include "util/Lua.hpp"
|
||||
|
|
@ -1609,8 +1615,12 @@ FrameScript_Method GameScript::s_ScriptFunctions_Game[NUM_SCRIPT_FUNCTIONS_GAME]
|
|||
void LoadScriptFunctions() {
|
||||
RegisterSimpleFrameScriptMethods();
|
||||
CGTooltip::CreateScriptMetaTable();
|
||||
|
||||
// TODO
|
||||
CGCooldown::CreateScriptMetaTable();
|
||||
CGMinimapFrame::CreateScriptMetaTable();
|
||||
CGCharacterModelBase::CreateScriptMetaTable();
|
||||
CGDressUpModelFrame::CreateScriptMetaTable();
|
||||
CGTabardModelFrame::CreateScriptMetaTable();
|
||||
CGQuestPOIFrame::CreateScriptMetaTable();
|
||||
|
||||
for (int32_t i = 0; i < NUM_SCRIPT_FUNCTIONS_GAME; ++i) {
|
||||
FrameScript_RegisterFunction(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue