2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
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
10 * $Logfile: /Freespace2/code/Ship/Afterburner.h $
15 * Header file for managing the afterburners
18 * Revision 1.2 2002/06/09 04:41:12 relnev
19 * added copyright header
21 * Revision 1.1.1.1 2002/05/03 03:28:12 root
25 * 3 11/05/98 5:55p Dave
26 * Big pass at reducing #includes
28 * 2 10/07/98 10:53a Dave
31 * 1 10/07/98 10:51a Dave
33 * 6 2/26/98 10:07p Hoffoss
34 * Rewrote state saving and restoring to fix bugs and simplify the code.
36 * 5 8/05/97 10:48a Lawrance
37 * save afterburner data for the player
39 * 4 7/27/97 5:14p Lawrance
40 * add afterburners to the player control info
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.
47 * 2 7/11/97 8:57a Lawrance
48 * make afterburner work same for player and AI ships
50 * 1 7/10/97 2:24p Lawrance
55 #ifndef __AFTERBURNER_H__
56 #define __AFTERBURNER_H__
58 #define AFTERBURNER_MIN_DELAY 1000
59 #define ABURN_DECAY_TIME 1500 // time in ms ship shakes after afterburner pressed
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();
70 #endif /* __AFTERBURNER_H__ */