]> icculus.org git repositories - taylor/freespace2.git/blob - include/jumpnode.h
fix issue with looping audio streams
[taylor/freespace2.git] / include / jumpnode.h
1 /*
2  * Copyright (C) Volition, Inc. 1999.  All rights reserved.
3  *
4  * All source code herein is the property of Volition, Inc. You may not sell 
5  * or otherwise commercially exploit the source or things you created based on
6  * the source.
7  */
8
9 /*
10  * $Logfile: /Freespace2/code/JumpNode/JumpNode.h $
11  * $Revision$
12  * $Date$
13  * $Author$
14  *
15  * Header for everything to do with jump nodes
16  *
17  * $Log$
18  * Revision 1.2  2002/06/09 04:41:13  relnev
19  * added copyright header
20  *
21  * Revision 1.1.1.1  2002/05/03 03:28:12  root
22  * Initial import.
23  *
24  * 
25  * 2     10/07/98 10:53a Dave
26  * Initial checkin.
27  * 
28  * 1     10/07/98 10:49a Dave
29  * 
30  * 2     3/21/98 7:36p Lawrance
31  * Move jump nodes to own lib.
32  * 
33  * 1     3/21/98 3:53p Lawrance
34  *
35  * $NoKeywords: $
36  */
37
38 #ifndef __JUMPNODE_H__
39 #define __JUMPNODE_H__
40
41 #include "parselo.h"
42
43 #define MAX_JUMP_NODES  3
44
45 typedef struct {
46         int     modelnum;
47         int     objnum;                                         // objnum of this jump node
48         char    name[NAME_LENGTH];
49 } jump_node_struct;
50
51 extern int Num_jump_nodes;
52 extern jump_node_struct Jump_nodes[MAX_JUMP_NODES];
53
54 int     jumpnode_create(vector *pos);
55 void    jumpnode_render(object *jumpnode_objp, vector *pos, vector *view_pos = NULL);
56 void    jumpnode_render_all();  // called by FRED
57
58 #endif
59