FS2_Open
Open source remastering of the Freespace 2 engine
|
#include <jumpnode.h>
Public Member Functions | |
CJumpNode () | |
CJumpNode (vec3d *position) | |
CJumpNode (CJumpNode &&other) | |
CJumpNode & | operator= (CJumpNode &&) |
~CJumpNode () | |
char * | GetName () |
int | GetModelNumber () |
int | GetSCPObjectNumber () |
object * | GetSCPObject () |
color | GetColor () |
vec3d * | GetPosition () |
void | SetAlphaColor (int r, int g, int b, int alpha) |
void | SetModel (char *model_name, bool show_polys=false) |
void | SetName (const char *new_name) |
void | SetVisibility (bool enabled) |
bool | IsHidden () |
bool | IsColored () |
bool | IsSpecialModel () |
void | RenderDEPRECATED (vec3d *pos, vec3d *view_pos=NULL) |
void | Render (vec3d *pos, vec3d *view_pos=NULL) |
void | Render (draw_list *scene, vec3d *pos, vec3d *view_pos=NULL) |
Definition at line 31 of file jumpnode.h.
CJumpNode::CJumpNode | ( | ) |
Constructor for CJumpNode class, default
Definition at line 21 of file jumpnode.cpp.
CJumpNode::CJumpNode | ( | vec3d * | position | ) |
Constructor for CJumpNode class, with world position argument
Definition at line 35 of file jumpnode.cpp.
CJumpNode::CJumpNode | ( | CJumpNode && | other | ) |
Definition at line 59 of file jumpnode.cpp.
CJumpNode::~CJumpNode | ( | ) |
Destructor for CJumpNode class
Definition at line 99 of file jumpnode.cpp.
color CJumpNode::GetColor | ( | ) |
Definition at line 150 of file jumpnode.cpp.
int CJumpNode::GetModelNumber | ( | ) |
Definition at line 125 of file jumpnode.cpp.
char * CJumpNode::GetName | ( | ) |
Definition at line 117 of file jumpnode.cpp.
vec3d * CJumpNode::GetPosition | ( | ) |
Definition at line 158 of file jumpnode.cpp.
object * CJumpNode::GetSCPObject | ( | ) |
Definition at line 141 of file jumpnode.cpp.
int CJumpNode::GetSCPObjectNumber | ( | ) |
Definition at line 133 of file jumpnode.cpp.
bool CJumpNode::IsColored | ( | ) |
Definition at line 272 of file jumpnode.cpp.
bool CJumpNode::IsHidden | ( | ) |
Definition at line 261 of file jumpnode.cpp.
bool CJumpNode::IsSpecialModel | ( | ) |
Definition at line 280 of file jumpnode.cpp.
Definition at line 73 of file jumpnode.cpp.
Definition at line 347 of file jumpnode.cpp.
Definition at line 361 of file jumpnode.cpp.
Render jump node
pos | World position |
view_pos | Viewer's world position, can be NULL |
Definition at line 291 of file jumpnode.cpp.
Set jump node alpha and color
r | Red component |
g | Green component |
b | Blue component |
alpha | Alpha component |
Definition at line 173 of file jumpnode.cpp.
Set jump node model to render
model_name | Name of model file to load |
show_polys | Whether to render wireframe or not |
Definition at line 190 of file jumpnode.cpp.
void CJumpNode::SetName | ( | const char * | new_name | ) |
void CJumpNode::SetVisibility | ( | bool | enabled | ) |
Set appearance, hidden or not
enabled | Visibility to set |
Definition at line 241 of file jumpnode.cpp.