1 /* ResidualVM - A 3D game interpreter
2 *
3 * ResidualVM is the legal property of its developers, whose names
4 * are too numerous to list here. Please refer to the AUTHORS
5 * file distributed with this source distribution.
6 *
7 * Additional copyright for this file:
8 * Copyright (C) 1999-2000 Revolution Software Ltd.
9 * This code is based on source code created by Revolution Software,
10 * used with permission.
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 *
26 */
27
28 #include "engines/icb/global_switches.h"
29
30 namespace ICB {
31
32 // projects x's global flags
33 c_global_switches *g_px;
34
c_global_switches()35 c_global_switches::c_global_switches() {
36 px_fps = 1; // 12
37 display_mode = THREED; // default display mode
38 nicos_displayed = FALSE8; // 3d nico display
39 frag_help = FALSE8; // set draw displays fragments
40 lighting = TRUE8; // set lighting manual overide
41
42 // have BASIC top-down shadows ON by default for the both platforms
43 actorShadows = -1; // = -1 for automatic top-down shadow
44 cross_hair = FALSE8;
45 prop_hilite = FALSE8;
46 mega_hilite = FALSE8;
47 game_completed = FALSE8;
48 los_enabled = TRUE8;
49 debugging_and_console = TRUE8; // head up switcher, headup info and console allowed - i.e. no in final game
50 shadow_los = TRUE8; // actors can stand in shadows and LOS takes account
51 recordingVideo = FALSE8; // true each frame is recorded, false no recording is done
52 on_screen_text = TRUE8;
53 texturedActors = TRUE8;
54 litActors = TRUE8;
55 polyActors = TRUE8;
56 wireframeActors = FALSE8;
57 speechLineNumbers = FALSE8;
58 current_cd = 1; // cd 1, 2, 3
59 missionTimeout = -1;
60 joystickVibration = FALSE8;
61 socket_watch = FALSE8;
62 semitransparencies = TRUE8;
63 mega_timer = FALSE8;
64 antialiasedActorLevel = 0;
65 logic_timing = 0;
66 }
67
68 } // End of namespace ICB
69