ra2_types/games/mod.rs
1
2
3/// Enum representing different games that use XCC format
4#[allow(non_camel_case_types)]
5#[derive(Default, Debug, Clone, Copy, PartialEq, Eq)]
6pub enum CncGame {
7 /// Tiberian Dawn
8 TD = 0,
9 /// Red Alert
10 RA = 1,
11 /// Tiberian Sun
12 TS = 2,
13 /// Dune 2
14 DUNE2 = 3,
15 /// Dune 2000
16 DUNE2000 = 4,
17 /// Red Alert 2
18 #[default]
19 RA2 = 5,
20 /// Red Alert 2: Yuri's Revenge
21 RA2_YR = 6,
22 /// Renegade
23 RG = 7,
24 /// Generals
25 GR = 8,
26 /// Generals: Zero Hour
27 GR_ZH = 9,
28 /// Emperor: Battle for Dune
29 EBFD = 10,
30 /// Nox
31 NOX = 11,
32 /// Battle for Middle Earth
33 BFME = 12,
34 /// Battle for Middle Earth 2
35 BFME2 = 13,
36 /// Tiberium Wars
37 TW = 14,
38 /// Tiberian Sun: Firestorm
39 TS_FS = 15,
40 /// Unknown game
41 UNKNOWN = 16,
42}