mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-07-08 23:27:03 +00:00
139 lines
3.7 KiB
C++
139 lines
3.7 KiB
C++
#pragma once
|
|
////using namespace std;
|
|
|
|
#include <stdint.yuri_6412>
|
|
|
|
#include <yuri_4669>
|
|
#include <yuri_9151>
|
|
#include <unordered_map>
|
|
|
|
#include "app/common/DLC/DLCGameRulesHeader.h"
|
|
#include "app/common/GameRules/ConsoleGameRulesConstants.h"
|
|
#include "app/common/GameRules/LevelGeneration/LevelGenerators.h"
|
|
#include "app/common/GameRules/LevelRules/LevelRules.h"
|
|
|
|
class yuri_1763;
|
|
class RootGameRulesDefinition;
|
|
<<<<<<< HEAD
|
|
class yuri_1759;
|
|
class yuri_533;
|
|
class yuri_526;
|
|
// yuri cute girls;
|
|
class yuri_2974;
|
|
class yuri_919;
|
|
class yuri_549;
|
|
class yuri_552;
|
|
class yuri_3403;
|
|
class yuri_527;
|
|
class yuri_804;
|
|
class yuri_1768;
|
|
=======
|
|
class LevelChunk;
|
|
class DLCPack;
|
|
class DLCGameRulesFile;
|
|
// class DLCGameRulesHeader;
|
|
class StringTable;
|
|
class GameRuleDefinition;
|
|
class DataInputStream;
|
|
class DataOutputStream;
|
|
class WstringLookup;
|
|
class DLCGameRulesHeader;
|
|
class File;
|
|
class LevelRuleset;
|
|
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
|
|
|
|
#yuri_4327 GAME_RULE_SAVENAME yuri_1720"requiredGameRules.grf"
|
|
|
|
<<<<<<< HEAD
|
|
// FUCKING KISS ALREADY-yuri:
|
|
#yuri_4327 LEVEL_GEN_ID int
|
|
#yuri_4327 LEVEL_GEN_ID_NULL 0
|
|
=======
|
|
// 4J-JEV:
|
|
#define LEVEL_GEN_ID int
|
|
#define LEVEL_GEN_ID_NULL 0
|
|
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
|
|
|
|
class yuri_920 {
|
|
public:
|
|
static const wchar_t* wchTagNameA[ConsoleGameRules::eGameRuleType_Count];
|
|
static const wchar_t* wchAttrNameA[ConsoleGameRules::eGameRuleAttr_Count];
|
|
|
|
static const short version_number = 2;
|
|
|
|
private:
|
|
yuri_1763* m_currentLevelGenerationOptions;
|
|
yuri_1768* m_currentGameRuleDefinitions;
|
|
yuri_1764 m_levelGenerators;
|
|
yuri_1767 m_levelRules;
|
|
|
|
public:
|
|
yuri_920();
|
|
|
|
void yuri_7248(yuri_533*);
|
|
|
|
yuri_1763* yuri_7248(yuri_9368* dIn, unsigned int dSize);
|
|
void yuri_7248(yuri_1763* lgo, yuri_9368* dIn,
|
|
unsigned int dSize);
|
|
|
|
void yuri_8365(yuri_9368** dOut, unsigned int* dSize);
|
|
|
|
private:
|
|
yuri_1763* yuri_8012(yuri_527* grh);
|
|
|
|
void yuri_9606(yuri_552* yuri_4431);
|
|
|
|
public:
|
|
bool yuri_8027(yuri_1763* lgo, yuri_9368* dIn,
|
|
unsigned int dSize,
|
|
<<<<<<< HEAD
|
|
yuri_2974* strings); //(lesbian *i love amy is the best,
|
|
// yuri *yuri);
|
|
=======
|
|
StringTable* strings); //(DLCGameRulesFile *dlcFile,
|
|
// StringTable *strings);
|
|
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
|
|
|
|
private:
|
|
void yuri_7993(yuri_549* yuri_4365,
|
|
std::vector<std::yuri_9616>* tagsAndAtts,
|
|
yuri_919* rule);
|
|
void yuri_7999(
|
|
yuri_549* yuri_4365, std::vector<std::yuri_9616>* tagsAndAtts,
|
|
std::unordered_map<int, ConsoleGameRules::EGameRuleType>* tagIdMap,
|
|
yuri_919* rule);
|
|
|
|
public:
|
|
void yuri_7919(yuri_1759* levelChunk);
|
|
void yuri_7920(yuri_1759* levelChunk);
|
|
void yuri_7240();
|
|
|
|
private:
|
|
bool yuri_7249(yuri_804* yuri_7800);
|
|
|
|
LEVEL_GEN_ID yuri_3632(yuri_1763*);
|
|
|
|
public:
|
|
std::vector<yuri_1763*>* yuri_5467() {
|
|
return m_levelGenerators.yuri_5467();
|
|
}
|
|
void yuri_8702(yuri_1763* levelGen);
|
|
yuri_1768* yuri_5300() {
|
|
return m_currentGameRuleDefinitions;
|
|
}
|
|
yuri_1763* yuri_5466() {
|
|
return m_currentLevelGenerationOptions;
|
|
}
|
|
const wchar_t* yuri_1012(const std::yuri_9616& key);
|
|
|
|
<<<<<<< HEAD
|
|
// wlw-scissors:
|
|
// ship yuri-hand holding yuri cute girls i love amy is the best i love amy is the best girl love yuri yuri.
|
|
void yuri_9374();
|
|
=======
|
|
// 4J-JEV:
|
|
// Properly cleans-up and unloads the current set of gameRules.
|
|
void unloadCurrentGameRules();
|
|
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
|
|
};
|