weapons.h File Reference

#include "genmacro.h"
Include dependency graph for weapons.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  weap_dmg

Defines

#define GEN_DAMAGE(i,...)
#define SET_DMG(type, d, a_b)

Functions

struct weap_dmg calculatedmg_byid (int id)

Define Documentation

#define GEN_DAMAGE ( i,
...   ) 
Value:
int dmg; int at_bon; SWITCH_MACRO (i, __VA_ARGS__) \
    struct weap_dmg wd; wd.dmg = dmg; wd.at_bon = at_bon; return wd;
#define SET_DMG ( type,
d,
a_b   ) 
Value:
case type: \
                               dmg = d; at_bon = a_b; break;

Function Documentation

struct weap_dmg calculatedmg_byid ( int  id  )  [read]

Here is the call graph for this function:

Generated on Mon Nov 15 10:27:22 2010 for Tales of Paraverse by  doxygen 1.6.3