Colobot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Functions
cmdtoken.h File Reference

Functions to parse commands from level files. More...

#include "graphics/engine/water.h"
#include "graphics/engine/engine.h"
#include "graphics/engine/pyro.h"
Include dependency graph for cmdtoken.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)
 

Detailed Description

Functions to parse commands from level files.