[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src include/unittype.h unit/unittype.c
From: |
Russell Smith |
Subject: |
[Stratagus-CVS] stratagus/src include/unittype.h unit/unittype.c |
Date: |
Sun, 21 Sep 2003 08:16:43 -0400 |
CVSROOT: /cvsroot/stratagus
Module name: stratagus
Branch:
Changes by: Russell Smith <address@hidden> 03/09/21 08:16:43
Modified files:
src/include : unittype.h
src/unit : unittype.c
Log message:
Actually removed berserker type from code, it was unused
Patches:
Index: stratagus/src/include/unittype.h
diff -u stratagus/src/include/unittype.h:1.111
stratagus/src/include/unittype.h:1.112
--- stratagus/src/include/unittype.h:1.111 Sun Sep 21 08:13:42 2003
+++ stratagus/src/include/unittype.h Sun Sep 21 08:16:43 2003
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: unittype.h,v 1.111 2003/09/21 12:13:42 mr-russ Exp $
+// $Id: unittype.h,v 1.112 2003/09/21 12:16:43 mr-russ Exp $
#ifndef __UNITTYPE_H__
#define __UNITTYPE_H__
@@ -846,7 +846,6 @@
extern UnitType*UnitTypeHumanWall; /// Human wall
extern UnitType*UnitTypeOrcWall; /// Orc wall
extern UnitType*UnitTypeCritter; /// Critter unit-type pointer
-extern UnitType*UnitTypeBerserker; /// Berserker for berserker
regeneration
extern char** UnitTypeWcNames; /// Mapping wc-number 2 symbol
Index: stratagus/src/unit/unittype.c
diff -u stratagus/src/unit/unittype.c:1.102 stratagus/src/unit/unittype.c:1.103
--- stratagus/src/unit/unittype.c:1.102 Sun Sep 21 08:13:42 2003
+++ stratagus/src/unit/unittype.c Sun Sep 21 08:16:43 2003
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: unittype.c,v 1.102 2003/09/21 12:13:42 mr-russ Exp $
+// $Id: unittype.c,v 1.103 2003/09/21 12:16:43 mr-russ Exp $
//@{
@@ -79,7 +79,6 @@
global UnitType*UnitTypeHumanWall; /// Human wall
global UnitType*UnitTypeOrcWall; /// Orc wall
global UnitType*UnitTypeCritter; /// Critter unit type pointer
-global UnitType*UnitTypeBerserker; /// Berserker for berserker
regeneration
/**
** Mapping of W*rCr*ft number to our internal unit-type symbol.
@@ -1114,7 +1113,7 @@
char **sp;
CLprintf(file,"\n;;; -----------------------------------------\n");
- CLprintf(file,";;; MODULE: unittypes $Id: unittype.c,v 1.102 2003/09/21
12:13:42 mr-russ Exp $\n\n");
+ CLprintf(file,";;; MODULE: unittypes $Id: unittype.c,v 1.103 2003/09/21
12:16:43 mr-russ Exp $\n\n");
// Original number to internal unit-type name.
@@ -1273,7 +1272,6 @@
UnitTypeHumanWall=UnitTypeByIdent("unit-human-wall");
UnitTypeOrcWall=UnitTypeByIdent("unit-orc-wall");
UnitTypeCritter=UnitTypeByIdent("unit-critter");
- UnitTypeBerserker=UnitTypeByIdent("unit-berserker");
}
/**
@@ -1537,7 +1535,6 @@
UnitTypeHumanWall=NULL;
UnitTypeOrcWall=NULL;
UnitTypeCritter=NULL;
- UnitTypeBerserker=NULL;
}
//@}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Stratagus-CVS] stratagus/src include/unittype.h unit/unittype.c,
Russell Smith <=