]> icculus.org git repositories - taylor/freespace2.git/blob - include/corkscrew.h
fix issue with looping audio streams
[taylor/freespace2.git] / include / corkscrew.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/Weapon/Corkscrew.h $
11  * $Revision$
12  * $Date$
13  * $Author$
14  *
15  * Header file for managing corkscrew missiles
16  *
17  * $NoKeywords: $
18  */
19
20
21 #ifndef __FREESPACE_CORKSCREW_H__
22 #define __FREESPACE_CORKSCREW_H__
23
24 #include "object.h"
25 #include "weapon.h"
26
27 extern int Corkscrew_num_missiles_fired;
28
29 void    cscrew_level_init();
30 void    cscrew_delete(int index);
31 int     cscrew_create(object *obj);
32
33 // pre process the corkscrew weapon by putting him in the "center" of his corkscrew
34 void  cscrew_process_pre(object *objp);
35
36 // post process the corkscrew weapon by putting him back to the right spot on his corkscrew
37 void    cscrew_process_post(object *objp);
38
39 // maybe fire another corkscrew-style missile
40 void    cscrew_maybe_fire_missile(int shipnum);
41
42 #endif /* __FREESPACE_CORKSCREW_H__ */
43