|
OpenEnroth 39d87c6
|
#include "CodeGenOptions.h"#include <set>#include <unordered_map>#include <unordered_set>#include <vector>#include <utility>#include <map>#include <regex>#include <string>#include "Application/Startup/GameStarter.h"#include "Engine/Data/HouseEnumFunctions.h"#include "Engine/Components/Random/EngineRandomComponent.h"#include "Engine/Tables/ItemTable.h"#include "Engine/Tables/HouseTable.h"#include "Engine/Evt/EvtProgram.h"#include "Engine/Random/Random.h"#include "Engine/Objects/DecorationEnums.h"#include "Engine/Objects/DecorationList.h"#include "Engine/Objects/Monsters.h"#include "Engine/Objects/MonsterEnumFunctions.h"#include "Engine/Snapshots/TableSerialization.h"#include "Engine/Resources/ResourceManager.h"#include "Engine/MapInfo.h"#include "Engine/Resources/EngineFileSystem.h"#include "Engine/mm7_data.h"#include "GUI/UI/Houses/TownHall.h"#include "Library/Lod/LodReader.h"#include "Library/Serialization/EnumSerialization.h"#include "Utility/String/Ascii.h"#include "Utility/String/Format.h"#include "Utility/Exception.h"#include "Utility/UnicodeCrt.h"#include "Utility/String/Transformations.h"#include "CodeGenEnums.h"#include "CodeGenMap.h"Functions | |
| int | runItemIdCodeGen (const CodeGenOptions &options, ResourceManager *resourceManager) |
| std::string | mapIdEnumName (const MapInfo &mapInfo) |
| int | runMapIdCodeGen (const CodeGenOptions &options, ResourceManager *resourceManager) |
| const MapInfo & | mapInfoByFileName (const MapStats &mapStats, std::string_view fileName) |
| int | runBeaconsCodeGen (const CodeGenOptions &options, ResourceManager *resourceManager) |
| int | runHouseIdCodeGen (const CodeGenOptions &options, ResourceManager *resourceManager) |
| MonsterStats | loadMonsterStats (ResourceManager *resourceManager) |
| std::string | cleanupMonsterIdEnumName (std::string enumName) |
| int | runMonsterIdCodeGen (const CodeGenOptions &options, ResourceManager *resourceManager) |
| std::string | cleanupMonsterTypeEnumName (std::string enumName) |
| int | runMonsterTypeCodeGen (const CodeGenOptions &options, ResourceManager *resourceManager) |
| int | runBountyHuntCodeGen (const CodeGenOptions &options, ResourceManager *resourceManager) |
| int | runMusicCodeGen (const CodeGenOptions &options, ResourceManager *resourceManager) |
| int | runDecorationsCodegen (const CodeGenOptions &options, ResourceManager *resourceManager) |
| int | runSpeechPortraitsCodegen (const CodeGenOptions &options, ResourceManager *resourceManager) |
| int | runLstrCodegen (const CodeGenOptions &options, ResourceManager *resourceManager) |
| int | platformMain (int argc, char **argv) |
| std::string cleanupMonsterIdEnumName | ( | std::string | enumName | ) |
| std::string cleanupMonsterTypeEnumName | ( | std::string | enumName | ) |
| MonsterStats loadMonsterStats | ( | ResourceManager * | resourceManager | ) |
| std::string mapIdEnumName | ( | const MapInfo & | mapInfo | ) |
| int platformMain | ( | int | argc, |
| char ** | argv | ||
| ) |
Entrypoint for the program that uses the platform lib. Function definition should be provided in user code.
| argc | Total number of arguments passed. |
| argv | UTF8-encoded program arguments. Note that you're getting UTF8 on ALL platforms, including Windows. |
| int runBeaconsCodeGen | ( | const CodeGenOptions & | options, |
| ResourceManager * | resourceManager | ||
| ) |
| int runBountyHuntCodeGen | ( | const CodeGenOptions & | options, |
| ResourceManager * | resourceManager | ||
| ) |
| int runDecorationsCodegen | ( | const CodeGenOptions & | options, |
| ResourceManager * | resourceManager | ||
| ) |
| int runHouseIdCodeGen | ( | const CodeGenOptions & | options, |
| ResourceManager * | resourceManager | ||
| ) |
| int runItemIdCodeGen | ( | const CodeGenOptions & | options, |
| ResourceManager * | resourceManager | ||
| ) |
| int runLstrCodegen | ( | const CodeGenOptions & | options, |
| ResourceManager * | resourceManager | ||
| ) |
| int runMapIdCodeGen | ( | const CodeGenOptions & | options, |
| ResourceManager * | resourceManager | ||
| ) |
| int runMonsterIdCodeGen | ( | const CodeGenOptions & | options, |
| ResourceManager * | resourceManager | ||
| ) |
| int runMonsterTypeCodeGen | ( | const CodeGenOptions & | options, |
| ResourceManager * | resourceManager | ||
| ) |
| int runMusicCodeGen | ( | const CodeGenOptions & | options, |
| ResourceManager * | resourceManager | ||
| ) |
| int runSpeechPortraitsCodegen | ( | const CodeGenOptions & | options, |
| ResourceManager * | resourceManager | ||
| ) |