36:b8fa9171be6e | 37:c82a86ea87be |
---|---|
1 /* | 1 /* |
2 * ZCinema: Zandronum demo launcher | 2 * ZCinema: Zandronum demo launcher |
3 * Copyright (C) 2013 Santeri Piippo | 3 * Copyright (C) 2013-2015 Teemu Piippo |
4 * | 4 * |
5 * This program is free software: you can redistribute it and/or modify | 5 * This program is free software: you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License as published by | 6 * it under the terms of the GNU General Public License as published by |
7 * the Free Software Foundation, either version 3 of the License, or | 7 * the Free Software Foundation, either version 3 of the License, or |
8 * (at your option) any later version. | 8 * (at your option) any later version. |
14 * | 14 * |
15 * You should have received a copy of the GNU General Public License | 15 * You should have received a copy of the GNU General Public License |
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 */ | 17 */ |
18 | 18 |
19 #ifndef ZCINEMA_DEMO_H | 19 #pragma once |
20 #define ZCINEMA_DEMO_H | |
21 | |
22 #include "types.h" | 20 #include "types.h" |
23 | 21 |
24 enum { | 22 enum |
23 { | |
25 DemoLength, | 24 DemoLength, |
26 DemoVersion, | 25 DemoVersion, |
27 DemoCVars, | 26 DemoCVars, |
28 DemoUserInfo, | 27 DemoUserInfo, |
29 DemoBodyStart, | 28 DemoBodyStart, |
33 DemoTaunt, | 32 DemoTaunt, |
34 DemoEnd, | 33 DemoEnd, |
35 DemoWads | 34 DemoWads |
36 }; | 35 }; |
37 | 36 |
38 enum BuildType { | 37 enum BuildType |
38 { | |
39 OtherBuild = 0, | 39 OtherBuild = 0, |
40 ReleaseBuild = 1, | 40 ReleaseBuild = 1, |
41 InternalBuild = 2, | 41 InternalBuild = 2, |
42 PrivateBuild = 3 | 42 PrivateBuild = 3 |
43 }; | 43 }; |
44 | 44 |
45 struct VersionInfo { | 45 struct VersionInfo |
46 str shortVersion; | 46 { |
47 str versionString; | 47 QString shortVersion; |
48 QString versionString; | |
48 bool release; | 49 bool release; |
49 }; | 50 }; |
50 | 51 |
51 int launchDemo (str path); | 52 int launchDemo (QString path); |
52 | |
53 #endif // ZCINEMA_DEMO_H |