Colobot
|
Functions to parse commands from level files. More...
#include "graphics/engine/water.h"
#include "graphics/engine/engine.h"
#include "graphics/engine/pyro.h"
Go to the source code of this file.
Functions | |
std::string | GetCmd (char *line) |
bool | Cmd (char *line, const char *token) |
char * | SearchOp (char *line, const char *op) |
int | GetInt (char *line, int rank, int def) |
float | GetFloat (char *line, int rank, float def) |
void | GetString (char *line, int rank, char *buffer) |
ObjectType | GetTypeObject (char *line, int rank, ObjectType def) |
const char * | GetTypeObject (ObjectType type) |
Gfx::WaterType | GetTypeWater (char *line, int rank, Gfx::WaterType def) |
Gfx::EngineObjectType | GetTypeTerrain (char *line, int rank, Gfx::EngineObjectType def) |
int | GetBuild (char *line, int rank) |
int | GetResearch (char *line, int rank) |
Gfx::PyroType | GetPyro (char *line, int rank) |
Gfx::CameraType | GetCamera (char *line, int rank) |
const char * | GetCamera (Gfx::CameraType type) |
DriveType | GetDrive (char *line, int rank) |
const char * | GetDrive (DriveType type) |
ToolType | GetTool (char *line, int rank) |
const char * | GetTool (ToolType type) |
int | OpInt (char *line, const char *op, int def) |
float | OpFloat (char *line, const char *op, float def) |
void | OpString (char *line, const char *op, char *buffer) |
ObjectType | OpTypeObject (char *line, const char *op, ObjectType def) |
Gfx::WaterType | OpTypeWater (char *line, const char *op, Gfx::WaterType def) |
Gfx::EngineObjectType | OpTypeTerrain (char *line, const char *op, Gfx::EngineObjectType def) |
int | OpResearch (char *line, const char *op) |
Gfx::PyroType | OpPyro (char *line, const char *op) |
Gfx::CameraType | OpCamera (char *line, const char *op) |
DriveType | OpDrive (char *line, const char *op) |
ToolType | OpTool (char *line, const char *op) |
int | OpBuild (char *line, const char *op) |
Math::Vector | OpPos (char *line, const char *op) |
Math::Vector | OpDir (char *line, const char *op) |
Gfx::Color | OpColor (char *line, const char *op, Gfx::Color def) |
Functions to parse commands from level files.