FS2_Open
Open source remastering of the Freespace 2 engine
jumpnode.h File Reference
#include <stdlib.h>
#include "globalincs/globals.h"
#include "graphics/2d.h"

Go to the source code of this file.

Classes

class  CJumpNode
 

Macros

#define JN_USE_DISPLAY_COLOR   (1<<0)
 
#define JN_SHOW_POLYS   (1<<1)
 
#define JN_HIDE   (1<<2)
 
#define JN_SPECIAL_MODEL   (1<<3)
 

Functions

CJumpNodejumpnode_get_by_name (const char *name)
 
CJumpNodejumpnode_get_which_in (object *objp)
 
void jumpnode_render_all ()
 
void jumpnode_level_close ()
 

Variables

SCP_list< CJumpNodeJump_nodes
 

Macro Definition Documentation

#define JN_HIDE   (1<<2)

Definition at line 28 of file jumpnode.h.

#define JN_SHOW_POLYS   (1<<1)

Definition at line 27 of file jumpnode.h.

#define JN_SPECIAL_MODEL   (1<<3)

Definition at line 29 of file jumpnode.h.

#define JN_USE_DISPLAY_COLOR   (1<<0)

Definition at line 26 of file jumpnode.h.

Function Documentation

CJumpNode* jumpnode_get_by_name ( const char *  name)

Get jump node by given name

Parameters
nameName of jump node
Returns
Jump node object

Definition at line 429 of file jumpnode.cpp.

CJumpNode* jumpnode_get_which_in ( object objp)

Given an object, returns which jump node it's inside (if any)

Parameters
objpObject
Returns
Jump node object or NULL if not in one

Definition at line 448 of file jumpnode.cpp.

void jumpnode_level_close ( )

Level cleanup

Definition at line 485 of file jumpnode.cpp.

void jumpnode_render_all ( )

Render all function

Note
Only called by FRED

Definition at line 473 of file jumpnode.cpp.

Variable Documentation

SCP_list<CJumpNode> Jump_nodes

Definition at line 16 of file jumpnode.cpp.