diff --git a/src/include/interface.h b/src/include/interface.h index c4fe867a5..41b43d27c 100644 --- a/src/include/interface.h +++ b/src/include/interface.h @@ -282,16 +282,6 @@ extern int HoldClickDelay; -- Functions ----------------------------------------------------------------------------*/ -// -// in console.c -// - /// Console clear -extern void ConsoleClear(void); - /// Console printf -extern void ConsolePrintf(const char*, ...); - /// Redraw the console -extern void DrawConsole(void); - // // in botpanel.c // diff --git a/src/stratagus/mainloop.cpp b/src/stratagus/mainloop.cpp index d6014dfb1..37b2f2cb8 100644 --- a/src/stratagus/mainloop.cpp +++ b/src/stratagus/mainloop.cpp @@ -493,7 +493,6 @@ local void DrawMapViewport(Viewport* vp) ShowOrder(Selected[i]); } } - DrawConsole(); SetClipping(0, 0, VideoWidth - 1, VideoHeight - 1); } diff --git a/src/ui/Module.make b/src/ui/Module.make index e47e4740b..25f114172 100644 --- a/src/ui/Module.make +++ b/src/ui/Module.make @@ -26,7 +26,7 @@ ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA MODULE = src/ui -MSRC = botpanel.c button_checks.c script_ui.c console.c icons.c interface.c \ +MSRC = botpanel.c button_checks.c script_ui.c icons.c interface.c \ mainscr.c menu_proc.c menus.c mouse.c ui.c SRC += $(addprefix $(MODULE)/,$(MSRC)) diff --git a/src/ui/console.cpp b/src/ui/console.cpp deleted file mode 100644 index 0e619092f..000000000 --- a/src/ui/console.cpp +++ /dev/null @@ -1,57 +0,0 @@ -// _________ __ __ -// / _____// |_____________ _/ |______ ____ __ __ ______ -// \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -// / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ | -// /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > -// \/ \/ \//_____/ \/ -// ______________________ ______________________ -// T H E W A R B E G I N S -// Stratagus - A free fantasy real time strategy game engine -// -/**@name console.c - The console overlay. */ -// -// (c) Copyright 1999-2001 by Lutz Sammer -// -// This program is free software; you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation; version 2 dated June, 1991. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -// 02111-1307, USA. -// -// $Id$ - -//@{ - -/*---------------------------------------------------------------------------- --- Includes -----------------------------------------------------------------------------*/ - -#include <stdio.h> -#include "stratagus.h" -#include "video.h" - -/*---------------------------------------------------------------------------- --- Variables -----------------------------------------------------------------------------*/ - -/*---------------------------------------------------------------------------- --- Functions -----------------------------------------------------------------------------*/ - -/** -** Draw the console overlay. -*/ -global void DrawConsole(void) -{ - DebugLevel3Fn("\n"); -} - -//@} diff --git a/src/ui/mainscr.cpp b/src/ui/mainscr.cpp index a6eb118cb..eac377f41 100644 --- a/src/ui/mainscr.cpp +++ b/src/ui/mainscr.cpp @@ -642,8 +642,6 @@ global void DrawResources(void) -- MESSAGE ----------------------------------------------------------------------------*/ -// FIXME: move messages to console code. - #define MESSAGES_TIMEOUT (FRAMES_PER_SECOND * 5)/// Message timeout 5 seconds local unsigned long MessagesFrameTimeout; /// Frame to expire message diff --git a/stratagus.dsp b/stratagus.dsp index 39bc72bc3..d89fb3b30 100644 --- a/stratagus.dsp +++ b/stratagus.dsp @@ -723,10 +723,6 @@ SOURCE=.\src\ui\button_checks.c # End Source File # Begin Source File -SOURCE=.\src\ui\console.c -# End Source File -# Begin Source File - SOURCE=.\src\ui\icons.c # End Source File # Begin Source File