00001 00002 00003 /* 00004 * $Id: artillery.h,v 1.1.1.1 2005/01/11 21:18:01 kstevens Exp $ 00005 * 00006 * Author: Markus Stenberg <fingon@iki.fi> 00007 * 00008 * Copyright (c) 1996 Markus Stenberg 00009 * Copyright (c) 1998-2002 Thomas Wouters 00010 * Copyright (c) 2000-2002 Cord Awtry 00011 * All rights reserved 00012 * 00013 * Created: Thu Sep 12 17:25:22 1996 fingon 00014 * Last modified: Sun Sep 15 20:35:39 1996 fingon 00015 * 00016 */ 00017 00018 #ifndef ARTILLERY_H 00019 #define ARTILLERY_H 00020 00021 typedef struct artillery_shot_type { 00022 int from_x, from_y; /* hex this is shot from */ 00023 int to_x, to_y; /* hex this lands in */ 00024 int type; /* weapon index in MechWeapons */ 00025 int mode; /* weapon mode */ 00026 int ishit; /* did we hit target hex? */ 00027 dbref shooter; /* nice to know type of information */ 00028 dbref map; /* map we're on */ 00029 struct artillery_shot_type *next; 00030 /* next in stack of unused things */ 00031 } artillery_shot; 00032 00033 /* Weapon values for artillery guns */ 00034 #define IS_LTOM 30 00035 #define IS_THUMPER 31 00036 #define IS_SNIPER 32 00037 #define IS_ARROW 27 00038 00039 #define CL_ARROW 71 00040 00041 #endif /* ARTILLERY_H */