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/common/px_common.h"
29 #include "engines/icb/p4_generic.h"
30 #include "engines/icb/direct_input.h"
31 #include "engines/icb/keyboard.h"
32 #include "engines/icb/debug.h"
33 #include "engines/icb/global_objects.h"
34 #include "engines/icb/global_switches.h"
35 #include "engines/icb/session.h"
36 #include "engines/icb/p4_generic.h"
37 #include "engines/icb/mouse.h"
38 #include "engines/icb/p4.h"
39
40 #include "common/textconsole.h"
41
42 namespace ICB {
43
44 bool8 zdebug = false;
45
46 // For the overloads of new & delete
47 extern uint32 newMemAlloc;
48 extern uint32 newMemUsed;
49 extern uint32 newNptrs;
50
Fatal_error(const char * format...)51 void Fatal_error(const char *format...) {
52 char buf[256];
53 va_list args;
54 va_start(args, format);
55 vsnprintf(buf, 256, const_cast<char *>(format), args);
56 error("%s", buf);
57 }
Message_box(const char *,...)58 void Message_box(const char *, ...) { ; }
Zdebug(const char *,...)59 void Zdebug(const char *, ...) { ; }
Zdebug(uint32,const char *,...)60 void Zdebug(uint32, const char *, ...) { ; }
Tdebug(const char *,const char *,...)61 void Tdebug(const char *, const char *, ...) { ; }
Whap_test()62 void Whap_test() { ; }
Display_prop_stats()63 void Display_prop_stats() { ; }
Headup_debug_switcher()64 void Headup_debug_switcher() { ; }
Reset_headup_switcher()65 void Reset_headup_switcher() { ; }
Display_mega_times()66 void _game_session::Display_mega_times() { ; }
67
68 } // End of namespace ICB
69