#include <collide.H>
Inheritance diagram for Gravity:
Public Member Functions | |
Gravity () | |
virtual | ~Gravity () |
bool | set_grav (GEOMptr g, mlib::CWvec &d, int t) |
void | set_globe (GEOMptr) |
void | set_landscape (GEOMptr) |
void | set_world (mlib::Wvec) |
Static Public Member Functions | |
static mlib::Wvec | get_dir (mlib::CWpt &p) |
static BaseGravity * | instance () |
Protected Types | |
enum | _gtypes { GLOBE = 0, LANDSCAPE, WORLD } |
Protected Member Functions | |
virtual mlib::CWvec | _get_dir (mlib::CWpt &p) |
Protected Attributes | |
GEOMptr | _ground |
mlib::Wvec | _world_dir |
double | _strength |
int | _currentGrav |
bool | _globe |
bool | _landscape |
bool | _world |
Static Protected Attributes | |
static BaseGravity * | _instance = 0 |
Definition at line 78 of file collide.H.
|
|
|
Definition at line 81 of file collide.H. References _currentGrav, _globe, _ground, BaseGravity::_instance, _landscape, _strength, and _world. |
|
|
|
Reimplemented from BaseGravity. |
|
Reimplemented from BaseGravity. |
|
Definition at line 53 of file base_collide.H. References BaseGravity::_instance. Referenced by CamCruise::tick(). |
|
Definition at line 292 of file collide.C. References _globe, _ground, _landscape, and _world. |
|
Definition at line 281 of file collide.C. References _currentGrav, and _ground. Referenced by Cam_int_fp::cruise_down(). |
|
Definition at line 301 of file collide.C. References _globe, _ground, _landscape, and _world. |
|
Definition at line 308 of file collide.C. References _globe, _landscape, and _world. |
|
Definition at line 116 of file collide.H. Referenced by Gravity(), and set_grav(). |
|
Definition at line 117 of file collide.H. Referenced by Gravity(), set_globe(), set_landscape(), and set_world(). |
|
Definition at line 113 of file collide.H. Referenced by Gravity(), set_globe(), set_grav(), and set_landscape(). |
|
Definition at line 61 of file base_collide.H. Referenced by BaseGravity::get_dir(), Gravity(), and BaseGravity::instance(). |
|
Definition at line 118 of file collide.H. Referenced by Gravity(), set_globe(), set_landscape(), and set_world(). |
|
Definition at line 115 of file collide.H. Referenced by Gravity(). |
|
Definition at line 119 of file collide.H. Referenced by Gravity(), set_globe(), set_landscape(), and set_world(). |
|
|