#include "C4Include.h"
#include "landscape/C4MapScript.h"
#include "game/C4GameScript.h"
#include "landscape/C4Landscape.h"
#include "landscape/C4Texture.h"
#include "lib/C4Random.h"
#include "script/C4AulDefFunc.h"
Go to the source code of this file.
Functions | |
C4MapScriptAlgo * | FnParAlgo (C4PropList *algo_par) |
bool | TexColSingle (const char *mattex, uint8_t &col) |
bool | FnParTexCol (C4String *mattex, uint8_t &fg, uint8_t &bg) |
bool | FnParRect (C4MapScriptLayer *layer, C4ValueArray *rect, C4Rect *rc_bounds) |
Variables | |
C4MapScriptHost | MapScript |
C4MapScriptAlgo * FnParAlgo | ( | C4PropList * | algo_par | ) |
Definition at line 541 of file C4MapScriptAlgo.cpp.
Referenced by C4MapScriptAlgoModifier::C4MapScriptAlgoModifier().
bool FnParRect | ( | C4MapScriptLayer * | layer, |
C4ValueArray * | rect, | ||
C4Rect * | rc_bounds | ||
) |
Definition at line 221 of file C4MapScript.cpp.
References C4MapScriptLayer::GetBounds(), C4Value::getInt(), C4ValueArray::GetItem(), C4ValueArray::GetSize(), and C4Rect::Intersect().
bool FnParTexCol | ( | C4String * | mattex, |
uint8_t & | fg, | ||
uint8_t & | bg | ||
) |
Definition at line 48 of file C4MapScript.cpp.
References C4M_MaxTexIndex, C4TextureMap::DefaultBkgMatTex(), C4String::GetCStr(), MapScript, C4MapScriptHost::pTexMap, SCharPos(), and TexColSingle().
bool TexColSingle | ( | const char * | mattex, |
uint8_t & | col | ||
) |
Definition at line 37 of file C4MapScript.cpp.
References SEqual().
Referenced by FnParTexCol().
C4MapScriptHost MapScript |
Definition at line 767 of file C4MapScript.cpp.
Referenced by c4_mapgen_handle_deinit_script_engine(), c4_mapgen_handle_init_script_engine(), c4_mapgen_handle_new_script(), C4Game::Clear(), C4MapScriptMap::CreateLayer(), FnParTexCol(), and C4Game::InitScriptEngine().