86 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);
87 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);
88 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);
89 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);
90 void Enabled(
bool value,
bool EnableShaftDoors);
91 bool Cut(
bool relative,
const Vector3 &start,
const Vector3 &end,
bool cutwalls,
bool cutfloors,
int checkwallnumber = 0);
93 void RemoveLight(
Light *light);
94 void RemoveModel(
Model *model);
97 void RemoveControl(
Control *control);
98 void RemoveTrigger(
Trigger *trigger);
100 Light* AddLight(
const std::string &name,
int type);
101 Light* GetLight(
const std::string &name);
102 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);
103 void AddModel(
Model *model);
104 Primitive* AddPrimitive(
const std::string &name);
108 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);
109 Trigger* AddTrigger(
const std::string &name,
const std::string &sound_file,
Vector3 &area_min,
Vector3 &area_max, std::vector<std::string> &action_names);
110 void ReplaceTexture(
const std::string &oldtexture,
const std::string &newtexture);
111 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);
112 Door* CreateDoor(std::string name,
const std::string &open_sound,
const std::string &close_sound,
bool rotate);
113 Door* GetDoor(
const std::string &name);
114 void RemoveDoor(
Door *door);
115 Model* GetModel(std::string name);
116 Primitive* GetPrimitive(std::string name);