C++03 Support & Partial Xbox 360 Support (#37)

* WIP C++03 + Xbox 360 Support

* math.h & _USE_MATH_DEFINES on Level.hpp
Updated Xenon vcxproj file for new file structure.

* * Fix bad GUI scale setup.

* * Gui: Use ratios instead of hardcoded sub-1 floating point values, to make the mechanism more clear.

* Add Direct Connect Button and Screen (#30)

* Add Direct Connect Button and Screen

* Remove accidental extra build directories for wasm

* Add DirectConnectScreen.cpp to the CMake

* Use Hungarian coding style notation

* * Fix errors caused by #30

* * Improve the Chat Screen

* * Improve the DirectConnectScreen, among other things.

* * Update the game title once again.

* * Add build-wasm.bat.

* * Add info about compiling for wasm

* * Fix send to specific GUID actually broadcasting to everyone

* * Add command manager.

* * Add writeable configuration.

* * Allow dynamic screen size change on windows

* * Allow the same thing on the emscripten version.

* WIP C++03 + Xbox 360 Support

* Fixed a possible merging issue that broke RakNet?

* Additional Xbox 360 compatability fixes

---------

Co-authored-by: Brent Da Mage <BrentDaMage@users.noreply.github.com>
Co-authored-by: iProgramInCpp <iprogramincpp@gmail.com>
Co-authored-by: ts <124226059+uniformization@users.noreply.github.com>
This commit is contained in:
Brent
2023-08-07 07:48:52 -05:00
committed by GitHub
parent 6c1a54e3f0
commit a0f71c7b27
179 changed files with 4969 additions and 918 deletions

View File

@@ -9,8 +9,57 @@
#include "TileRenderer.hpp"
#include "Minecraft.hpp"
void TileRenderer::_init()
{
m_textureOverride = -1;
field_8 = false;
m_bDisableCulling = false;
m_bAmbientOcclusion = false;
field_C = 0;
field_10 = 0;
field_14 = 0;
field_18 = 0;
field_1C = 0;
field_20 = 0;
field_24 = 0;
field_28 = 0;
field_2C = 0;
field_30 = 0;
field_34 = 0;
field_38 = 0;
field_3C = 0;
field_40 = 0;
field_44 = 0;
field_48 = 0;
field_4C = 0;
field_50 = 0;
field_54 = 0;
field_58 = 0;
field_5C = 0;
field_60 = 0;
field_64 = 0;
field_68 = 0;
field_6C = 0;
field_70 = 0;
field_74 = 0;
field_78 = 1;
field_AC = false;
field_AD = false;
field_AE = false;
field_AF = false;
field_B0 = false;
field_B1 = false;
field_B2 = false;
field_B3 = false;
field_B4 = false;
field_B5 = false;
field_B6 = false;
field_B7 = false;
}
TileRenderer::TileRenderer()
{
_init();
#ifndef ORIGINAL_CODE
// @BUG: Not initializing level source
m_pLevelSource = nullptr;
@@ -19,6 +68,7 @@ TileRenderer::TileRenderer()
TileRenderer::TileRenderer(LevelSource* pLevelSource)
{
_init();
m_pLevelSource = pLevelSource;
}