mElite
1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
mElite
wrappDef.h
Go to the documentation of this file.
1
7
#pragma once
8
9
#include <string>
10
12
enum
govTypes
{
13
Anarchy
,
14
Feudal
,
15
MultiGov
,
16
Dictatorship
,
17
Communist
,
18
Confederacy
,
19
Democracy
,
20
CorporateState
21
};
22
24
enum
econTypes
{
25
RichInd
,
26
AverageInd
,
27
PoorInd
,
28
MainlyInd
,
29
MainlyAgri
,
30
RichAgri
,
31
AverageAgri
,
32
PoorAgri
33
};
34
36
struct
System
{
37
System
() :
posx
(0),
posy
(0),
government
(
Anarchy
),
economy
(
PoorAgri
),
38
techLevel
(0),
population
(0),
productivity
(0),
radius
(0),
39
systemnumber
(257) {}
40
41
unsigned
int
systemnumber
;
42
std::string
name
;
43
unsigned
int
posx
,
posy
;
44
govTypes
government
;
45
econTypes
economy
;
46
unsigned
int
techLevel
;
47
unsigned
int
population
;
48
unsigned
int
productivity
;
49
unsigned
int
radius
;
50
std::string
description
;
51
};
52
54
struct
MarketplaceItem
{
55
double
price
;
56
unsigned
int
amount
;
57
};
58
60
struct
Tradegood
{
61
std::string
name
;
62
std::string
unit
;
63
};
Generated on Tue Oct 2 2012 14:38:39 for mElite by
1.8.2