]> icculus.org git repositories - taylor/freespace2.git/blob - include/afterburner.h
rendering functions mostly done; more complete shader setup
[taylor/freespace2.git] / include / afterburner.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/Ship/Afterburner.h $
11  * $Revision$
12  * $Date$
13  * $Author$
14  *
15  * Header file for managing the afterburners
16  *
17  * $Log$
18  * Revision 1.2  2002/06/09 04:41:12  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  * 3     11/05/98 5:55p Dave
26  * Big pass at reducing #includes
27  * 
28  * 2     10/07/98 10:53a Dave
29  * Initial checkin.
30  * 
31  * 1     10/07/98 10:51a Dave
32  * 
33  * 6     2/26/98 10:07p Hoffoss
34  * Rewrote state saving and restoring to fix bugs and simplify the code.
35  * 
36  * 5     8/05/97 10:48a Lawrance
37  * save afterburner data for the player
38  * 
39  * 4     7/27/97 5:14p Lawrance
40  * add afterburners to the player control info
41  * 
42  * 3     7/16/97 4:42p Mike
43  * Make afterburner shake viewer, not ship.
44  * Shake for limited time.
45  * Add timestamp_until() function to timer library.
46  * 
47  * 2     7/11/97 8:57a Lawrance
48  * make afterburner work same for player and AI ships
49  * 
50  * 1     7/10/97 2:24p Lawrance
51  *
52  * $NoKeywords: $
53  */
54
55 #ifndef __AFTERBURNER_H__
56 #define __AFTERBURNER_H__
57
58 #define AFTERBURNER_MIN_DELAY   1000
59 #define ABURN_DECAY_TIME                        1500            // time in ms ship shakes after afterburner pressed
60
61 #include "cfile.h"
62 #include "object.h"
63
64 void afterburners_start(object *objp);
65 void afterburners_stop(object *objp, int key_released = 0);
66 void afterburner_stop_sounds();
67 void afterburners_update(object *objp, float fl_frametime);
68 void afterburner_level_init();
69
70 #endif /* __AFTERBURNER_H__ */
71