author | rubidium |
Wed, 07 May 2008 21:45:27 +0000 | |
changeset 10457 | ea18877d8eba |
parent 10225 | 8becb17444a7 |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
10225
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
3 |
/** @file cheat_type.h Types related to cheating. */ |
0 | 4 |
|
10225
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
5 |
#ifndef CHEAT_TYPE_H |
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
6 |
#define CHEAT_TYPE_H |
0 | 7 |
|
10225
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
8 |
/** |
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
9 |
* Info about each of the cheats. |
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
10 |
*/ |
6574
e1d1a12faaf7
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
rubidium
parents:
6417
diff
changeset
|
11 |
struct Cheat { |
10225
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
12 |
bool been_used; ///< has this cheat been used before? |
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
13 |
bool value; ///< tells if the bool cheat is active or not |
6574
e1d1a12faaf7
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
rubidium
parents:
6417
diff
changeset
|
14 |
}; |
0 | 15 |
|
10225
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
16 |
/** |
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
17 |
* WARNING! Do _not_ remove entries in Cheats struct or change the order |
6919
339210ecccd3
(svn r9559) -Documentation: doxygen and comment changes: 'U' and 'V' now. Almost done. Yeah. I know, I've already said that...
belugas
parents:
6670
diff
changeset
|
18 |
* of the existing ones! Would break downward compatibility. |
10225
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
19 |
* Only add new entries at the end of the struct! |
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
20 |
*/ |
6574
e1d1a12faaf7
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
rubidium
parents:
6417
diff
changeset
|
21 |
struct Cheats { |
10225
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
22 |
Cheat magic_bulldozer; ///< dynamite industries, unmovables |
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
23 |
Cheat switch_player; ///< change to another player |
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
24 |
Cheat money; ///< get rich or poor |
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
25 |
Cheat crossing_tunnels; ///< allow tunnels that cross each other |
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
26 |
Cheat build_in_pause; ///< build while in pause mode |
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
27 |
Cheat no_jetcrash; ///< no jet will crash on small airports anymore |
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
28 |
Cheat switch_climate; ///< change the climate of the map |
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
29 |
Cheat change_date; ///< changes date ingame |
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
30 |
Cheat setup_prod; ///< setup raw-material production in game |
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
31 |
Cheat dummy; ///< empty cheat (enable running el-engines on normal rail) |
6574
e1d1a12faaf7
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
rubidium
parents:
6417
diff
changeset
|
32 |
}; |
0 | 33 |
|
10225
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
34 |
extern Cheats _cheats; |
0 | 35 |
|
10225
8becb17444a7
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
rubidium
parents:
8771
diff
changeset
|
36 |
#endif /* CHEAT_TYPE_H */ |