#include <objects.h>
Collaboration diagram for OBJECTS:

Public Member Functions | |
| OBJECTS () | |
| ~OBJECTS () | |
| void | Draw (bool cull) |
| void | UpdateSettings () |
| OBJECTNODE * | Add (VERTEX pos, float rotation, string modelname, string texname, bool mip, bool fullbright, bool skybox, bool drv, bool col, bool blend, JOEPACK *pack, float f1, float f2, float bl, float bm, float rr, float rd) |
| void | DeleteAll () |
| bool | Collide (VERTEX origin, VERTEX direction, VERTEX &outtri, bool closest, VERTEX &normal, float seglen, OBJECTNODE *&colnode) |
| bool | CollideD (VERTEXD origin, VERTEXD direction, VERTEXD &outtri, bool closest, VERTEXD &normal, double seglen) |
| bool | CollideDriveable (VERTEX origin, VERTEX direction, VERTEX &outtri, bool closest, VERTEX &normal) |
| bool | CollideModel (VERTEX *modelverts, int numfaces, AABB bbox, VERTEX &outtri, bool closest, VERTEX &normal, float &depth) |
| void | LoadObjectsFromFolder (string objectpath) |
| bool | GetCollideAndDriveTogether () |
| void | GetTrisInBBox (AABB bbox, list< OBJECTTRI > &trilist) |
Private Member Functions | |
| void | delmodel () |
| void | delobject () |
| void | DrawObject (OBJECTNODE *object) |
| OBJECTMODEL * | AddModel (string modelname, string texname, bool mip, bool fullbright, bool skybox, bool blend, JOEPACK *pack) |
| void | GroupObjectListByTexture () |
Private Attributes | |
| float | lod_far |
| int | display_x |
| int | display_y |
| ofstream | error_log |
| OBJECTMODEL * | model_list |
| OBJECTNODE * | object_list |
| string | path |
| OBJECTCOLLISION | collision |
| map< string, TEXTURE_HANDLE > | texture_db |
| TEXTURE_HANDLE | sphere_reflection |
| bool | sphere_reflection_loaded |
Definition at line 127 of file objects.h.
|
|
Definition at line 3 of file objects.cpp. References error_log, SETTINGS::GetSettingsDir(), model_list, NULL, object_list, settings, and sphere_reflection_loaded. |
|
|
Definition at line 14 of file objects.cpp. References DeleteAll(), and error_log. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
|
Definition at line 336 of file objects.cpp. References OBJECTMODEL::blend, OBJECTMODEL::fullbright, OBJECTMODEL::jmodel, JOEMODEL::Load(), model_list, OBJECTMODEL::name, OBJECTMODEL::next, path, OBJECTMODEL::skybox, texture_db, and JOEMODEL::TextureID(). Referenced by Add(). |
|
||||||||||||||||||||||||||||||||
|
Definition at line 517 of file objects.cpp. References OBJECTCOLLISION::CollideAABB(), and collision. Referenced by TRACK::Collide(), and LoadWorld(). |
|
||||||||||||||||||||||||||||
|
Definition at line 522 of file objects.cpp. References OBJECTCOLLISION::CollideAABB_double(), and collision. Referenced by TRACK::CollideD(). |
|
||||||||||||||||||||||||
|
Definition at line 527 of file objects.cpp. References OBJECTCOLLISION::CollideDriveable(), and collision. |
|
||||||||||||||||||||||||||||||||
|
Definition at line 532 of file objects.cpp. References OBJECTCOLLISION::CollideModelAABB(), and collision. Referenced by TRACK::CollideModel(). |
|
|
Definition at line 22 of file objects.cpp. References texture_db. Referenced by LoadObjectsFromFolder(), and ~OBJECTS(). |
|
|
Definition at line 56 of file objects.cpp. References model_list, OBJECTMODEL::next, and NULL. |
|
|
Definition at line 45 of file objects.cpp. References OBJECTNODE::next, NULL, and object_list. |
|
|
Definition at line 193 of file objects.cpp. References OBJECTMODEL::blend, DrawObject(), OBJECTNODE::model, NULL, object_list, and OBJECTMODEL::skybox. |
|
|
Definition at line 74 of file objects.cpp. References cam, CAMERA::frustum, JOEMODEL::GetBBOX(), AABB::GetCenter(), JOEMODEL::GetRadius(), OBJECTMODEL::jmodel, lod_far, OBJECTNODE::model, OBJECTNODE::pos, CAMERA::position, OBJECTMODEL::skybox, VERTEX::x, VERTEX::y, and VERTEX::z. Referenced by Draw(). |
|
|
Definition at line 170 of file objects.h. References COLLIDE_AND_DRIVE_TOGETHER. |
|
||||||||||||
|
Definition at line 1878 of file objects.cpp. References collision, and OBJECTCOLLISION::GetTrisInBBox(). |
|
|
Definition at line 1852 of file objects.cpp. References NULL, object_list, and OBJECTNODE::texture. |
|
|
Definition at line 372 of file objects.cpp. References OBJECTCOLLISION::Clear(), collision, DeleteAll(), JOEPACK::LoadPack(), and NULL. Referenced by LoadWorld(). |
|
|
Definition at line 67 of file objects.cpp. References display_x, display_y, SETTINGS::Get(), lod_far, and settings. Referenced by ReloadDisplay(). |
|
|
Definition at line 145 of file objects.h. Referenced by Collide(), CollideD(), CollideDriveable(), CollideModel(), GetTrisInBBox(), and LoadObjectsFromFolder(). |
|
|
Definition at line 131 of file objects.h. Referenced by UpdateSettings(). |
|
|
Definition at line 131 of file objects.h. Referenced by UpdateSettings(). |
|
|
Definition at line 132 of file objects.h. Referenced by OBJECTS(), and ~OBJECTS(). |
|
|
Definition at line 130 of file objects.h. Referenced by DrawObject(), and UpdateSettings(). |
|
|
Definition at line 133 of file objects.h. Referenced by Add(), AddModel(), delmodel(), and OBJECTS(). |
|
|
Definition at line 136 of file objects.h. Referenced by Add(), delobject(), Draw(), GroupObjectListByTexture(), and OBJECTS(). |
|
|
Definition at line 143 of file objects.h. Referenced by AddModel(). |
|
|
|
|
|
Definition at line 152 of file objects.h. Referenced by OBJECTS(). |
|
|
Definition at line 147 of file objects.h. Referenced by AddModel(), and DeleteAll(). |
1.4.6