From d2345f4922ea25758438981e5d5c731a3e233a4f Mon Sep 17 00:00:00 2001
From: jsalmon3 <>
Date: Sun, 21 Mar 2004 20:08:11 +0000
Subject: [PATCH] Removed unit_ai.c and unit_save.c

---
 src/unit/Module.make   |  4 ++--
 src/unit/unit_ai.cpp   | 49 ------------------------------------------
 src/unit/unit_save.cpp | 49 ------------------------------------------
 stratagus.dsp          |  8 -------
 4 files changed, 2 insertions(+), 108 deletions(-)
 delete mode 100644 src/unit/unit_ai.cpp
 delete mode 100644 src/unit/unit_save.cpp

diff --git a/src/unit/Module.make b/src/unit/Module.make
index d18fd0ebc..056324c37 100644
--- a/src/unit/Module.make
+++ b/src/unit/Module.make
@@ -26,7 +26,7 @@
 ##      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 MODULE = src/unit
-MSRC =   script_unit.c script_unittype.c depend.c unit_ai.c unit_save.c \
-         unittype.c upgrade.c unit.c unit_draw.c unit_find.c unit_cache.c
+MSRC =   depend.c script_unit.c script_unittype.c \
+         unit.c unit_cache.c unit_draw.c unit_find.c unittype.c upgrade.c
 
 SRC +=   $(addprefix $(MODULE)/,$(MSRC))
diff --git a/src/unit/unit_ai.cpp b/src/unit/unit_ai.cpp
deleted file mode 100644
index 1c919f176..000000000
--- a/src/unit/unit_ai.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-//       _________ __                 __
-//      /   _____//  |_____________ _/  |______     ____  __ __  ______
-//      \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
-//      /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ |
-//     /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
-//             \/                  \/          \//_____/            \/
-//  ______________________                           ______________________
-//			  T H E   W A R   B E G I N S
-//	   Stratagus - A free fantasy real time strategy game engine
-//
-/**@name unit_ai.c	-	The unit AI. */
-//
-//	(c) Copyright 2002 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"
-
-/*----------------------------------------------------------------------------
---		Variables
-----------------------------------------------------------------------------*/
-
-/*----------------------------------------------------------------------------
---		Functions
-----------------------------------------------------------------------------*/
-
-//@}
diff --git a/src/unit/unit_save.cpp b/src/unit/unit_save.cpp
deleted file mode 100644
index 9d04b1136..000000000
--- a/src/unit/unit_save.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-//       _________ __                 __
-//      /   _____//  |_____________ _/  |______     ____  __ __  ______
-//      \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
-//      /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ |
-//     /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
-//             \/                  \/          \//_____/            \/
-//  ______________________                           ______________________
-//			  T H E   W A R   B E G I N S
-//	   Stratagus - A free fantasy real time strategy game engine
-//
-/**@name unit_save.c	-	Save for the unit module. */
-//
-//	(c) Copyright 2002 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"
-
-/*----------------------------------------------------------------------------
---		Variables
-----------------------------------------------------------------------------*/
-
-/*----------------------------------------------------------------------------
---		Functions
-----------------------------------------------------------------------------*/
-
-//@}
diff --git a/stratagus.dsp b/stratagus.dsp
index 276299f2f..39bc72bc3 100644
--- a/stratagus.dsp
+++ b/stratagus.dsp
@@ -779,10 +779,6 @@ SOURCE=.\src\unit\unit.c
 # End Source File
 # Begin Source File
 
-SOURCE=.\src\unit\unit_ai.c
-# End Source File
-# Begin Source File
-
 SOURCE=.\src\unit\unit_cache.c
 # End Source File
 # Begin Source File
@@ -795,10 +791,6 @@ SOURCE=.\src\unit\unit_find.c
 # End Source File
 # Begin Source File
 
-SOURCE=.\src\unit\unit_save.c
-# End Source File
-# Begin Source File
-
 SOURCE=.\src\unit\unittype.c
 # End Source File
 # Begin Source File