fix a bunch of undefined refs

This commit is contained in:
Tropical 2026-03-22 15:27:46 -05:00
parent 9978311241
commit 59243889ad
5 changed files with 22 additions and 20 deletions

View file

@ -3,12 +3,14 @@
#include "LevelGenerators.h"
#include "LevelRules.h"
#include "../DLC/DLCGameRulesHeader.h"
class LevelGenerationOptions;
class RootGameRulesDefinition;
class LevelChunk;
class DLCPack;
class DLCGameRulesFile;
class DLCGameRulesHeader;
// class DLCGameRulesHeader;
class StringTable;
class GameRuleDefinition;
class DataInputStream;

View file

@ -1,11 +1,11 @@
#pragma once
#include "../Platform/stdafx.h"
#include "../Textures/Stitching/StitchedTexture.h"
#include "SimpleIcon.h"
// 4J Added this class to store the uv data that we have pre-calculated and
// loaded from a file
class SimpleIcon : public StitchedTexture {
public:
SimpleIcon(const std::wstring& name, const std::wstring& filename, float u0,
float v0, float u1, float v1);
};
SimpleIcon::SimpleIcon(const std::wstring& name, const std::wstring& filename,
float U0, float V0, float U1, float V1)
: StitchedTexture(name, filename) {
u0 = U0;
u1 = U1;
v0 = V0;
v1 = V1;
}

View file

@ -1,11 +1,11 @@
#pragma once
#include "../Platform/stdafx.h"
#include "SimpleIcon.h"
#include "../Textures/Stitching/StitchedTexture.h"
SimpleIcon::SimpleIcon(const std::wstring& name, const std::wstring& filename,
float U0, float V0, float U1, float V1)
: StitchedTexture(name, filename) {
u0 = U0;
u1 = U1;
v0 = V0;
v1 = V1;
}
// 4J Added this class to store the uv data that we have pre-calculated and
// loaded from a file
class SimpleIcon : public StitchedTexture {
public:
SimpleIcon(const std::wstring& name, const std::wstring& filename, float u0,
float v0, float u1, float v1);
};

View file

@ -4,7 +4,6 @@ exclude_sources = [
' ! -name "CreativeMode.cpp"',
' ! -name "GameMode.cpp"',
' ! -name "DemoMode.cpp"',
' ! -name "PreStitchedTextureMap.cpp"',
]
# all sources except ./Platform/*

View file

@ -11,6 +11,7 @@ exclude_sources = [
'! -name ZonedChunkStorage.cpp',
'! -name ZoneFile.cpp',
'! -name ZoneIO.cpp',
'! -name LevelConflictException.cpp',
]
# GET IT ALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL