forked from github/server
old weapons code that is no longer needed since all weapons have been in XML for a long time.
This commit is contained in:
parent
1c2ed3aeda
commit
fde8e9bada
|
@ -31,18 +31,8 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
enum {
|
|
||||||
WP_NONE,
|
|
||||||
WP_MAX
|
|
||||||
};
|
|
||||||
|
|
||||||
/* damage types */
|
/* damage types */
|
||||||
|
|
||||||
#define CUT (1<<0)
|
|
||||||
#define PIERCE (1<<1)
|
|
||||||
#define BASH (1<<2)
|
|
||||||
#define ARMORPIERCING (1<<3)
|
|
||||||
|
|
||||||
static boolean
|
static boolean
|
||||||
attack_firesword(const troop * at, const struct weapon_type * wtype, int *casualties)
|
attack_firesword(const troop * at, const struct weapon_type * wtype, int *casualties)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue