vegastrike  0.5.1.r1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
options.h
Go to the documentation of this file.
1 #ifndef _VS_OPTIONS_H
2 #define _VS_OPTIONS_H
3 
4 #include <string>
5 
6 #ifndef uint
7 typedef unsigned int uint;
8 #endif
9 
11 {
12 public: vs_options() {}
14  void init();
15 
16 /* General Options */
20  std::string new_game_save_name;
22  std::string empty_mission;
23  std::string custompython;
28  char vsdebug;
29 
30 /* Audio Options */
32  std::string missionvictorysong;
33 
34 /* Cockpit Audio Options */
35  std::string comm;
36  std::string scanning;
37  std::string objective;
38  std::string examine;
39  std::string view;
40  std::string repair;
41  std::string manifest;
43  std::string compress_loop;
44  std::string compress_change;
45  std::string compress_stop;
47 
49 
50 /* Unit Audio Options */
51  std::string jumpleave;
52 
53 /* Graphics Options */
54  std::string jumpgate;
56  double jumpgatesize;
59  bool background;
60  bool cockpit;
62  std::string splash_screen;
63  bool vbo;
64  int num_near_stars; //maybe need to be double
65  int num_far_stars; //maybe need to be double
69  double reflectivity;
71  bool always_make_smooth_cam; //Not used Yet
72  double precull_dist;
74  bool starblend;
75 
76 /* Terrain Options */
77  double xscale;
78  double yscale;
79  double zscale;
80  double mass;
81  double radius;
82 
83 /* Player Options */
84  std::string callsign;
85 
86 /* Joystick Options */
87  float joystick_exponent; //joystick axes are 32-bit floats.
91  float deadband;
93  bool warp_mouse;
96  float mouse_blur;
98  int ff_device;
99 
100 /* AI Options */
105 
106 /* Physics Options */
107  std::string Drone;
109  double game_speed;
113  double YearScale;
118  std::string campaigns; //WRONG SECTION ...change after 0.5
121 
122 /* Data Options */
123  std::string universe_path;
124  std::string sectors; //Not Used
125  std::string techniquesBasePath;
126  std::string techniquesSubPath;
127 
128 /* Galaxy Options */
130 
131 /* Cargo Options */
133 
134  std::string getCallsign( int );
135 };
136 
137 extern vs_options game_options;
138 
139 #endif
140