vegastrike
0.5.1.r1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
10
class
vs_options
11
{
12
public
:
vs_options
() {}
13
~vs_options
() {}
14
void
init
();
15
16
/* General Options */
17
bool
write_savegame_on_exit
;
18
int
times_to_show_help_screen
;
19
bool
remember_savegame
;
20
std::string
new_game_save_name
;
21
int
quick_savegame_summaries_buffer
;
22
std::string
empty_mission
;
23
std::string
custompython
;
24
bool
quick_savegame_summaries
;
25
int
garbagecollectfrequency
;
26
uint
numoldsystems
;
27
bool
deleteoldsystems
;
28
char
vsdebug
;
29
30
/* Audio Options */
31
int
threadtime
;
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
;
42
int
compress_max
;
43
std::string
compress_loop
;
44
std::string
compress_change
;
45
std::string
compress_stop
;
46
int
compress_interval
;
47
48
bool
comm_preload
;
49
50
/* Unit Audio Options */
51
std::string
jumpleave
;
52
53
/* Graphics Options */
54
std::string
jumpgate
;
55
double
jumpanimationshrink
;
56
double
jumpgatesize
;
57
bool
switchToTargetModeOnKey
;
58
double
camera_pan_speed
;
59
bool
background
;
60
bool
cockpit
;
61
bool
disabled_cockpit_allowed
;
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
66
double
star_spreading
;
67
bool
usePlanetAtmosphere
;
68
bool
usePlanetFog
;
69
double
reflectivity
;
70
bool
hardware_cursor
;
71
bool
always_make_smooth_cam
;
//Not used Yet
72
double
precull_dist
;
73
bool
draw_near_stars_in_front_of_planets
;
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.
88
int
polling_rate
;
89
bool
force_use_of_joystick
;
90
bool
debug_digital_hatswitch
;
91
float
deadband
;
92
float
mouse_deadband
;
93
bool
warp_mouse
;
94
float
mouse_sensitivity
;
95
float
mouse_exponent
;
96
float
mouse_blur
;
97
bool
force_feedback
;
98
int
ff_device
;
99
100
/* AI Options */
101
bool
AllowCivilWar
;
102
bool
CappedFactionRating
;
103
bool
AllowNonplayerFactionChange
;
104
double
min_relationship
;
105
106
/* Physics Options */
107
std::string
Drone
;
108
int
max_missions
;
109
double
game_speed
;
110
double
runtime_compactness
;
111
double
autogen_compactness
;
112
double
AsteroidDifficulty
;
113
double
YearScale
;
114
bool
game_speed_affects_autogen_systems
;
115
double
star_system_scale
;
116
double
respawn_unit_size
;
117
float
auto_pilot_planet_radius_percent
;
118
std::string
campaigns
;
//WRONG SECTION ...change after 0.5
119
uint
NumRunningSystems
;
120
float
InactiveSystemTime
;
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 */
129
bool
PushValuesToMean
;
130
131
/* Cargo Options */
132
bool
news_from_cargolist
;
133
134
std::string
getCallsign
(
int
);
135
};
136
137
extern
vs_options
game_options
;
138
139
#endif
140
src
options.h
Generated on Fri Feb 14 2014 09:03:10 for vegastrike by
1.8.4