#include <world.h>
|
| | World (Vm &vm, PackageSet &packages) |
| void | load (const std::string &map, const std::string &default_game="") |
| void | begin_play (const std::string &options="") |
| void | tick (float dt) |
| Obj * | spawn (Obj *cls, Obj *spawner, Obj *owner, const std::string *tag, const Value *loc, const Value *rot) |
| bool | destroyed (Obj *o) const |
| const Model * | model () const |
| void | set_model (Model m) |
| Obj * | zone_at (Vec3 p, int *number, int *leaf) |
| void | update_region (Obj *o) |
| void | set_region (Obj *o, const char *var, Vec3 at, const char *event) |
| Obj * | login (const std::string &options, const std::string &player_class) |
| bool | player_view (Vec3 *location, int32_t rotation[3]) |
◆ World()
◆ begin_play()
| void ut::World::begin_play |
( |
const std::string & | options = "" | ) |
|
◆ destroyed()
| bool ut::World::destroyed |
( |
Obj * | o | ) |
const |
|
inline |
◆ load()
| void ut::World::load |
( |
const std::string & | map, |
|
|
const std::string & | default_game = "" ) |
◆ login()
| Obj * ut::World::login |
( |
const std::string & | options, |
|
|
const std::string & | player_class ) |
◆ model()
| const Model * ut::World::model |
( |
| ) |
const |
|
inline |
◆ player_view()
| bool ut::World::player_view |
( |
Vec3 * | location, |
|
|
int32_t | rotation[3] ) |
◆ set_model()
| void ut::World::set_model |
( |
Model | m | ) |
|
|
inline |
◆ set_region()
| void ut::World::set_region |
( |
Obj * | o, |
|
|
const char * | var, |
|
|
Vec3 | at, |
|
|
const char * | event ) |
◆ spawn()
| Obj * ut::World::spawn |
( |
Obj * | cls, |
|
|
Obj * | spawner, |
|
|
Obj * | owner, |
|
|
const std::string * | tag, |
|
|
const Value * | loc, |
|
|
const Value * | rot ) |
◆ tick()
| void ut::World::tick |
( |
float | dt | ) |
|
◆ update_region()
| void ut::World::update_region |
( |
Obj * | o | ) |
|
◆ zone_at()
| Obj * ut::World::zone_at |
( |
Vec3 | p, |
|
|
int * | number, |
|
|
int * | leaf ) |
◆ actors
| std::vector<Obj*> ut::World::actors |
◆ errors
| std::map<std::string, int> ut::World::errors |
◆ game
| Obj* ut::World::game = nullptr |
◆ input
◆ level_info
| Obj* ut::World::level_info = nullptr |
◆ player
| Obj* ut::World::player = nullptr |
◆ time
| float ut::World::time = 0 |
The documentation for this class was generated from the following files: