restructure codebase according to vcproj filters

This commit is contained in:
Tropical
2026-03-30 09:50:58 -05:00
parent d5cf90c713
commit 451682693e
3015 changed files with 46858 additions and 54635 deletions

View File

@@ -0,0 +1,34 @@
#include "../../../../../Minecraft.World/Header Files/stdafx.h"
#include "../UI.h"
#include "UIComponent_DebugUIConsole.h"
UIComponent_DebugUIConsole::UIComponent_DebugUIConsole(int iPad, void* initData,
UILayer* parentLayer)
: UIScene(iPad, parentLayer) {
// Setup all the Iggy references we need for this scene
initialiseMovie();
m_bTextChanged = false;
}
std::wstring UIComponent_DebugUIConsole::getMoviePath() {
return L"DebugUIConsoleComponent";
}
void UIComponent_DebugUIConsole::tick() {
UIScene::tick();
if (m_bTextChanged) {
m_bTextChanged = false;
for (unsigned int i = 0; i < 10 && i < m_textList.size(); ++i) {
m_labels[i].setLabel(m_textList[i]);
}
}
}
void UIComponent_DebugUIConsole::addText(const std::string& text) {
if (!text.empty() && text.compare("\n") != 0) {
if (m_textList.size() >= 10) m_textList.pop_front();
m_textList.push_back(text);
m_bTextChanged = true;
}
}