]> icculus.org git repositories - taylor/freespace2.git/blob - include/joy_ff.h
rendering functions mostly done; more complete shader setup
[taylor/freespace2.git] / include / joy_ff.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/Io/Joy_ff.h $
11  * $Revision$
12  * $Date$
13  * $Author$
14  *
15  * Code for joystick Force Feedback.
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  * 4     5/08/98 5:31p Hoffoss
31  * Isolated the joystick force feedback code more from dependence on other
32  * libraries.
33  * 
34  * 3     5/07/98 12:24a Hoffoss
35  * Finished up sidewinder force feedback support.
36  * 
37  * 2     5/04/98 11:08p Hoffoss
38  * Expanded on Force Feedback code, and moved it all into Joy_ff.cpp.
39  * Updated references everywhere to it.
40  * 
41  * $NoKeywords: $
42  */
43
44 #ifndef __JOY_FF_H__
45 #define __JOY_FF_H__
46
47 int joy_ff_init();
48 void joy_ff_shutdown();
49 void joy_ff_stop_effects();
50 void joy_ff_mission_init(vector v);
51 void joy_reacquire_ff();
52 void joy_unacquire_ff();
53 void joy_ff_play_vector_effect(vector *v, float scaler);
54 void joy_ff_play_dir_effect(float x, float y);
55 void joy_ff_play_primary_shoot(int gain);
56 void joy_ff_play_secondary_shoot(int gain);
57 void joy_ff_adjust_handling(int speed);
58 void joy_ff_docked();
59 void joy_ff_play_reload_effect();
60 void joy_ff_afterburn_on();
61 void joy_ff_afterburn_off();
62 void joy_ff_explode();
63 void joy_ff_fly_by(int mag);
64 void joy_ff_deathroll();
65
66 #endif
67