2{
4
5
6
8 {
9 return new MissionServer;
10 }
11
12#ifdef NO_GUI
13 return new MissionDummy;
14#endif
15 MissionMainMenu m;
16 if (
path.Contains(
"NoCutscene"))
17 {
18 m = new MissionMainMenu();
19 m.m_NoCutscene = true;
20 return m;
21 }
22
23 if (
path.Contains(
"intro"))
24 {
25 m = new MissionMainMenu();
26 m.m_NoCutscene = false;
27 return m;
28 }
29 else
30 {
32 {
33 return new MissionDummy;
34 }
35#ifndef NO_GUI_INGAME
36 return new MissionGameplay;
37#else
38 return new MissionDummy;
39#endif
40 }
41}
proto void Print(void var)
Prints content of variable to console/log.