00001 00002 /* 00003 * $Id: mech.combat.h,v 1.1.1.1 2005/01/11 21:18:13 kstevens Exp $ 00004 * 00005 * Author: Cord Awtry <kipsta@mediaone.net> 00006 * Copyright (c) 2000-2002 Cord Awtry 00007 * All rights reserved 00008 * 00009 * Based on work that was: 00010 * Copyright (c) 1997 Markus Stenberg 00011 * Copyright (c) 1998-2000 Thomas Wouters 00012 */ 00013 00014 #ifndef MECH_COMBAT_H 00015 #define MECH_COMBAT_H 00016 00017 #define Clustersize(weapindx) (((MechWeapons[weapindx].special & (IDF | MRM | ROCKET)) && (MechWeapons[weapindx].damage == 1))? 5 : 1) 00018 00019 #define Swap(val1,val2) { rtmp = val1 ; val1 = val2 ; val2 = rtmp; } 00020 00021 #endif /* MECH_COMBAT_H.ECM_H */