|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Public Types | |
| typedef ParentTree | base |
| typedef GameObjectModel | Model |
| Public Types inherited from RegularGrid2D< GameObjectModel, BIHWrap< GameObjectModel > > | |
| enum | |
| typedef G3D::Table< const GameObjectModel *, BIHWrap< GameObjectModel > * > | MemberTable |
Public Member Functions | |
| void | balance () |
| DynTreeImpl () | |
| void | insert (const Model &mdl) |
| void | remove (const Model &mdl) |
| void | update (uint32 difftime) |
| Public Member Functions inherited from RegularGrid2D< GameObjectModel, BIHWrap< GameObjectModel > > | |
| void | balance () |
| bool | contains (const GameObjectModel &value) const |
| BIHWrap< GameObjectModel > & | getGrid (int x, int y) |
| BIHWrap< GameObjectModel > & | getGridFor (float fx, float fy) |
| void | insert (const GameObjectModel &value) |
| void | intersectPoint (const G3D::Vector3 &point, IsectCallback &intersectCallback) |
| void | intersectRay (const G3D::Ray &ray, RayCallback &intersectCallback, float &max_dist, const G3D::Vector3 &end) |
| void | intersectRay (const G3D::Ray &ray, RayCallback &intersectCallback, float max_dist) |
| void | intersectZAllignedRay (const G3D::Ray &ray, RayCallback &intersectCallback, float &max_dist) |
| RegularGrid2D () | |
| void | remove (const GameObjectModel &value) |
| int | size () const |
| ~RegularGrid2D () | |
Public Attributes | |
| TimeTrackerSmall | rebalance_timer |
| int | unbalanced_times |
| Public Attributes inherited from RegularGrid2D< GameObjectModel, BIHWrap< GameObjectModel > > | |
| MemberTable | memberTable |
| BIHWrap< GameObjectModel > * | nodes [CELL_NUMBER][CELL_NUMBER] |
Definition at line 50 of file DynamicTree.cpp.
| typedef ParentTree DynTreeImpl::base |
Definition at line 53 of file DynamicTree.cpp.
| typedef GameObjectModel DynTreeImpl::Model |
Definition at line 52 of file DynamicTree.cpp.
|
inline |
Definition at line 55 of file DynamicTree.cpp.
References rebalance_timer, and unbalanced_times.
|
inline |
Definition at line 73 of file DynamicTree.cpp.
References RegularGrid2D< GameObjectModel, BIHWrap< GameObjectModel > >::balance(), and unbalanced_times.
Referenced by update().
|
inline |
Definition at line 61 of file DynamicTree.cpp.
References RegularGrid2D< GameObjectModel, BIHWrap< GameObjectModel > >::insert(), and unbalanced_times.
|
inline |
Definition at line 67 of file DynamicTree.cpp.
References RegularGrid2D< GameObjectModel, BIHWrap< GameObjectModel > >::remove(), and unbalanced_times.
|
inline |
Definition at line 79 of file DynamicTree.cpp.
References balance(), rebalance_timer, RegularGrid2D< GameObjectModel, BIHWrap< GameObjectModel > >::size(), and unbalanced_times.
| TimeTrackerSmall DynTreeImpl::rebalance_timer |
Definition at line 93 of file DynamicTree.cpp.
Referenced by DynTreeImpl(), and update().
| int DynTreeImpl::unbalanced_times |
Definition at line 94 of file DynamicTree.cpp.
Referenced by balance(), DynTreeImpl(), insert(), remove(), and update().