Removed console.c

This commit is contained in:
jsalmon3 2004-03-21 20:47:00 +00:00
parent 2d8df6362a
commit da8a6d8c16
6 changed files with 1 additions and 75 deletions

View file

@ -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
//

View file

@ -493,7 +493,6 @@ local void DrawMapViewport(Viewport* vp)
ShowOrder(Selected[i]);
}
}
DrawConsole();
SetClipping(0, 0, VideoWidth - 1, VideoHeight - 1);
}

View file

@ -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))

View file

@ -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");
}
//@}

View file

@ -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

View file

@ -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