Variable UnitTypeCritter added.
This commit is contained in:
parent
2bf108eff2
commit
2674a77c05
2 changed files with 3 additions and 0 deletions
src
|
@ -228,6 +228,7 @@ extern UnitType*UnitTypeHumanWorkerWithWood; /// Human worker with wood.
|
|||
extern UnitType*UnitTypeOrcWorkerWithWood; /// Orc worker with wood.
|
||||
extern UnitType*UnitTypeHumanFarm; /// Human farm
|
||||
extern UnitType*UnitTypeOrcFarm; /// Orc farm
|
||||
extern UnitType*UnitTypeCritter; /// Critter unit type pointer
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
-- Functions
|
||||
|
|
|
@ -61,6 +61,7 @@ global UnitType*UnitTypeHumanWorkerWithWood; /// Human worker with wood.
|
|||
global UnitType*UnitTypeOrcWorkerWithWood; /// Orc worker with wood.
|
||||
global UnitType*UnitTypeHumanFarm; /// Human farm.
|
||||
global UnitType*UnitTypeOrcFarm; /// Orc farm.
|
||||
global UnitType*UnitTypeCritter; /// Critter unit type pointer
|
||||
|
||||
/**
|
||||
** Lookup table for unit-type names
|
||||
|
@ -1084,6 +1085,7 @@ global void InitUnitTypes(void)
|
|||
UnitTypeOrcWorkerWithWood=UnitTypeByIdent("unit-peon-with-wood");
|
||||
UnitTypeHumanFarm=UnitTypeByIdent("unit-farm");
|
||||
UnitTypeOrcFarm=UnitTypeByIdent("unit-pig-farm");
|
||||
UnitTypeCritter=UnitTypeByIdent("unit-critter");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue