69 Wall* AddStairs(
const std::string &name,
const std::string &riser_texture,
const std::string &tread_texture,
const std::string &direction,
Real CenterX,
Real CenterZ,
Real width,
Real risersize,
Real treadsize,
int num_stairs,
Real voffset,
Real tw,
Real th);
70 Wall* AddWall(
const std::string &name,
const std::string &texture,
Real thickness,
Real x1,
Real z1,
Real x2,
Real z2,
Real height1,
Real height2,
Real voffset1,
Real voffset2,
Real tw,
Real th);
71 bool AddWall(
Wall *wall,
const std::string &name,
const std::string &texture,
Real thickness,
Real x1,
Real z1,
Real x2,
Real z2,
Real height1,
Real height2,
Real voffset1,
Real voffset2,
Real tw,
Real th);
72 Wall* AddFloor(
const std::string &name,
const std::string &texture,
Real thickness,
Real x1,
Real z1,
Real x2,
Real z2,
Real voffset1,
Real voffset2,
bool reverse_axis,
bool texture_direction,
Real tw,
Real th,
bool legacy_behavior =
false);
73 bool AddFloor(
Wall *wall,
const std::string &name,
const std::string &texture,
Real thickness,
Real x1,
Real z1,
Real x2,
Real z2,
Real voffset1,
Real voffset2,
bool reverse_axis,
bool texture_direction,
Real tw,
Real th,
bool legacy_behavior =
false);
74 void Enabled(
bool value);
75 Door* AddDoor(std::string name,
const std::string &open_sound,
const std::string &close_sound,
bool open_state,
const std::string &texture,
const std::string &side_texture,
Real thickness,
const std::string &face_direction,
const std::string &open_direction,
bool rotate,
Real open_speed,
Real close_speed,
Real CenterX,
Real CenterZ,
Real width,
Real height,
Real voffset,
Real tw,
Real th,
Real side_tw,
Real side_th);
76 Door* CreateDoor(std::string name,
const std::string &open_sound,
const std::string &close_sound,
bool rotate);
77 Door* GetDoor(
const std::string &name);
78 bool Cut(
bool relative,
const Vector3 &start,
const Vector3 &end,
bool cutwalls,
bool cutfloors,
int checkwallnumber = 0);
80 void RemoveDoor(
Door *door);
81 void RemoveLight(
Light *light);
82 void RemoveModel(
Model *model);
85 void RemoveControl(
Control *control);
86 void RemoveTrigger(
Trigger *trigger);
87 Light* AddLight(
const std::string &name,
int type);
88 Light* GetLight(
const std::string &name);
90 Model* AddModel(
const std::string &name,
const std::string &filename,
bool center,
Vector3 position,
Vector3 rotation,
Real max_render_distance = 0,
Real scale_multiplier = 1,
bool enable_physics =
false,
Real restitution = 0,
Real friction = 0,
Real mass = 0);
91 void AddModel(
Model *model);
92 Primitive* AddPrimitive(
const std::string &name);
96 Control* AddControl(
const std::string &name,
const std::string &sound,
const std::string &direction,
Real CenterX,
Real CenterZ,
Real width,
Real height,
Real voffset,
int selection_position, std::vector<std::string> &action_names, std::vector<std::string> &textures);
97 Trigger* AddTrigger(
const std::string &name,
const std::string &sound_file,
Vector3 &area_min,
Vector3 &area_max, std::vector<std::string> &action_names);
98 Model* GetModel(std::string name);
99 Primitive* GetPrimitive(std::string name);
101 void ReplaceTexture(
const std::string &oldtexture,
const std::string &newtexture);