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,38 @@
#include "../../../../../Minecraft.World/Header Files/stdafx.h"
#include "ReceivingLevelScreen.h"
#include "ClientConnection.h"
#include "../../../../../Minecraft.World/net/minecraft/locale/net.minecraft.locale.h"
ReceivingLevelScreen::ReceivingLevelScreen(ClientConnection* connection) {
tickCount = 0;
this->connection = connection;
}
void ReceivingLevelScreen::keyPressed(char eventCharacter, int eventKey) {}
void ReceivingLevelScreen::init() { buttons.clear(); }
void ReceivingLevelScreen::tick() {
tickCount++;
if (tickCount % 20 == 0) {
connection->send(
std::shared_ptr<KeepAlivePacket>(new KeepAlivePacket()));
}
if (connection != nullptr) {
connection->tick();
}
}
void ReceivingLevelScreen::buttonClicked(Button* button) {}
void ReceivingLevelScreen::render(int xm, int ym, float a) {
renderDirtBackground(0);
Language* language = Language::getInstance();
drawCenteredString(font,
language->getElement(L"multiplayer.downloadingTerrain"),
width / 2, height / 2 - 50, 0xffffff);
Screen::render(xm, ym, a);
}