2007-01-15 12:09:25 -08:00
|
|
|
/*
|
|
|
|
This file is part of Warzone 2100.
|
|
|
|
Copyright (C) 1999-2004 Eidos Interactive
|
2009-02-10 10:01:48 -08:00
|
|
|
Copyright (C) 2005-2009 Warzone Resurrection Project
|
2007-01-15 12:09:25 -08:00
|
|
|
|
|
|
|
Warzone 2100 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; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
Warzone 2100 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 Warzone 2100; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
2008-01-30 07:19:02 -08:00
|
|
|
/** \file
|
|
|
|
* Definitions for command droids.
|
2007-06-28 10:47:08 -07:00
|
|
|
*/
|
2008-01-30 07:19:02 -08:00
|
|
|
|
|
|
|
#ifndef __INCLUDED_CMDDROIDDEF_H__
|
|
|
|
#define __INCLUDED_CMDDROIDDEF_H__
|
2007-06-28 10:47:08 -07:00
|
|
|
|
2006-12-02 04:50:28 -08:00
|
|
|
#include "statsdef.h"
|
2008-01-30 13:09:55 -08:00
|
|
|
#include "droiddef.h"
|
2006-12-02 04:50:28 -08:00
|
|
|
|
2007-06-28 10:47:08 -07:00
|
|
|
// the maximum number of command droids per side
|
|
|
|
#define MAX_CMDDROIDS 5
|
|
|
|
|
|
|
|
typedef struct _command_droid
|
|
|
|
{
|
2008-01-30 13:09:55 -08:00
|
|
|
// define the command droid as a COMPONENT so it fits into the design screen
|
2008-07-11 08:37:46 -07:00
|
|
|
STATS_COMPONENT;
|
2008-01-30 13:09:55 -08:00
|
|
|
|
|
|
|
UDWORD died;
|
|
|
|
SWORD aggression;
|
|
|
|
SWORD survival;
|
|
|
|
SWORD nWeapStat;
|
|
|
|
UWORD kills;
|
|
|
|
DROID* psDroid;
|
2007-06-28 10:47:08 -07:00
|
|
|
} COMMAND_DROID;
|
|
|
|
|
2008-01-30 07:19:02 -08:00
|
|
|
#endif // __INCLUDED_CMDDROIDDEF_H__
|