#include "C4Include.h"
#include "C4ForbidLibraryCompilation.h"
#include "game/C4Game.h"
#include "C4Version.h"
#include "control/C4GameControl.h"
#include "control/C4GameParameters.h"
#include "control/C4GameSave.h"
#include "control/C4PlayerControl.h"
#include "control/C4PlayerInfo.h"
#include "control/C4Record.h"
#include "control/C4RoundResults.h"
#include "editor/C4Console.h"
#include "game/C4Application.h"
#include "game/C4FullScreen.h"
#include "game/C4GraphicsSystem.h"
#include "game/C4Viewport.h"
#include "graphics/C4GraphicsResource.h"
#include "gui/C4ChatDlg.h"
#include "gui/C4GameLobby.h"
#include "gui/C4GameMessage.h"
#include "gui/C4GameOverDlg.h"
#include "gui/C4LoaderScreen.h"
#include "gui/C4MessageInput.h"
#include "gui/C4MouseControl.h"
#include "gui/C4ScriptGuiWindow.h"
#include "gui/C4Startup.h"
#include "landscape/C4Landscape.h"
#include "landscape/C4MapScript.h"
#include "landscape/C4MassMover.h"
#include "landscape/C4Material.h"
#include "landscape/C4PXS.h"
#include "landscape/C4Particles.h"
#include "landscape/C4Sky.h"
#include "landscape/C4SolidMask.h"
#include "landscape/C4Texture.h"
#include "landscape/C4Weather.h"
#include "landscape/fow/C4FoW.h"
#include "lib/C4Random.h"
#include "lib/C4Stat.h"
#include "lib/StdMesh.h"
#include "network/C4League.h"
#include "network/C4Network2Dialogs.h"
#include "network/C4Network2Reference.h"
#include "network/C4Network2Stats.h"
#include "object/C4Command.h"
#include "object/C4Def.h"
#include "object/C4DefList.h"
#include "object/C4GameObjects.h"
#include "object/C4Object.h"
#include "object/C4ObjectCom.h"
#include "object/C4ObjectInfo.h"
#include "object/C4ObjectMenu.h"
#include "platform/C4FileMonitor.h"
#include "player/C4Player.h"
#include "player/C4PlayerList.h"
#include "player/C4RankSystem.h"
#include "script/C4AulDebug.h"
#include "script/C4AulExec.h"
#include "script/C4Effect.h"
#include <unordered_map>
Go to the source code of this file.
Classes | |
class | C4GameSec1Timer |
Macros | |
#define | EXEC_S(Expressions, Stat) { C4ST_START(Stat) Expressions C4ST_STOP(Stat) } |
#define | EXEC_S_DR(Expressions, Stat, DebugRecName) { if (Config.General.DebugRec) AddDbgRec(RCT_Block, DebugRecName, 6); EXEC_S(Expressions, Stat) } |
#define | EXEC_DR(Expressions, DebugRecName) { if (Config.General.DebugRec) AddDbgRec(RCT_Block, DebugRecName, 6); Expressions } |
Functions | |
C4ID | DefFileGetID (const char *filename) |
bool | LandscapeFree (int32_t x, int32_t y) |
int32_t | ListExpandValids (C4IDList &rlist, C4ID *idlist, int32_t maxidlist) |
bool | GetTextSpecFacet (const char *spec, C4Facet &facet) |
#define EXEC_DR | ( | Expressions, | |
DebugRecName | |||
) | { if (Config.General.DebugRec) AddDbgRec(RCT_Block, DebugRecName, 6); Expressions } |
Definition at line 866 of file C4Game.cpp.
#define EXEC_S | ( | Expressions, | |
Stat | |||
) | { C4ST_START(Stat) Expressions C4ST_STOP(Stat) } |
Definition at line 862 of file C4Game.cpp.
#define EXEC_S_DR | ( | Expressions, | |
Stat, | |||
DebugRecName | |||
) | { if (Config.General.DebugRec) AddDbgRec(RCT_Block, DebugRecName, 6); EXEC_S(Expressions, Stat) } |
Definition at line 865 of file C4Game.cpp.
C4ID DefFileGetID | ( | const char * | filename | ) |
Definition at line 1705 of file C4Game.cpp.
References C4Group::Close(), C4Def::id, C4Def::LoadDefCore(), C4ID::None, and C4Group::Open().
Referenced by C4Game::DropFile().
bool GetTextSpecFacet | ( | const char * | spec, |
C4Facet & | facet | ||
) |
Definition at line 4598 of file C4Game.cpp.
References SEqual2().
Referenced by C4Game::DrawTextSpecImage(), and C4Game::GetTextSpecImageAspect().
bool LandscapeFree | ( | int32_t | x, |
int32_t | y | ||
) |
Definition at line 2451 of file C4Game.cpp.
References DensitySolid(), GBackDensity(), C4Landscape::GetHeight(), C4Landscape::GetWidth(), and Landscape.
Definition at line 3250 of file C4Game.cpp.
References C4Id2Def(), and C4IDList::GetID().
Referenced by C4Game::InitInEarth(), and C4Game::InitVegetation().