UFO: Alien Invasion
Loading...
Searching...
No Matches
android_console.cpp
Go to the documentation of this file.
1
5
6/*
7Copyright (C) 1997-2001 Id Software, Inc.
8
9This program is free software; you can redistribute it and/or
10modify it under the terms of the GNU General Public License
11as published by the Free Software Foundation; either version 2
12of the License, or (at your option) any later version.
13
14This program is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17
18See the GNU General Public License for more details.
19
20You should have received a copy of the GNU General Public License
21along with this program; if not, write to the Free Software
22Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23
24*/
25
26#include "../../common/common.h"
27#include "../system.h"
28#include <unistd.h>
29#include <android/log.h>
30
31
32void Sys_ShowConsole (bool show)
33{
34}
35
37{
38}
39
43void Sys_ConsoleInit (void)
44{
45}
46
47const char *Sys_ConsoleInput (void)
48{
49 return nullptr;
50}
51
52void Sys_ConsoleOutput (const char *string)
53{
54 __android_log_print(ANDROID_LOG_INFO, "UFOAI", "%s", string);
55}
void Sys_ConsoleInit(void)
Initialize the console input (tty mode if possible).
const char * Sys_ConsoleInput(void)
void Sys_ShowConsole(bool show)
void Sys_ConsoleShutdown(void)
void Sys_ConsoleOutput(const char *string)
definitions common between client and server, but not game lib
System specific stuff.