]> icculus.org git repositories - taylor/freespace2.git/blob - include/jumpnode.h
Initial revision
[taylor/freespace2.git] / include / jumpnode.h
1 /*
2  * $Logfile: /Freespace2/code/JumpNode/JumpNode.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Header for everything to do with jump nodes
8  *
9  * $Log$
10  * Revision 1.1  2002/05/03 03:28:12  root
11  * Initial revision
12  *
13  * 
14  * 2     10/07/98 10:53a Dave
15  * Initial checkin.
16  * 
17  * 1     10/07/98 10:49a Dave
18  * 
19  * 2     3/21/98 7:36p Lawrance
20  * Move jump nodes to own lib.
21  * 
22  * 1     3/21/98 3:53p Lawrance
23  *
24  * $NoKeywords: $
25  */
26
27 #ifndef __JUMPNODE_H__
28 #define __JUMPNODE_H__
29
30 #include "parselo.h"
31
32 #define MAX_JUMP_NODES  3
33
34 typedef struct {
35         int     modelnum;
36         int     objnum;                                         // objnum of this jump node
37         char    name[NAME_LENGTH];
38 } jump_node_struct;
39
40 extern int Num_jump_nodes;
41 extern jump_node_struct Jump_nodes[MAX_JUMP_NODES];
42
43 int     jumpnode_create(vector *pos);
44 void    jumpnode_render(object *jumpnode_objp, vector *pos, vector *view_pos = NULL);
45 void    jumpnode_render_all();  // called by FRED
46
47 #endif
48