-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding some unimplemented feats, sorting of feats in the code, and so…
…me minor bug fixes git-svn-id: svn+ssh://50.28.74.132/home/luminari/svn/luminari/myproject/trunk@2138 dda7f814-ccd3-4591-a6d7-1bd23e5e64af
- Loading branch information
luminari
committed
Apr 9, 2015
1 parent
ee9986a
commit ffb17e3
Showing
11 changed files
with
595 additions
and
547 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/* | ||
* File: assign_wpn_armor.h | ||
* Author: Zusuk | ||
*/ | ||
|
||
#ifndef ASSIGN_WPN_ARMOR_H | ||
#define ASSIGN_WPN_ARMOR_H | ||
|
||
|
||
struct weapon_table | ||
{ | ||
char *name; | ||
sbyte numDice; | ||
ubyte diceSize; | ||
sbyte critRange; | ||
sbyte critMult; | ||
ush_int weaponFlags; | ||
ush_int cost; | ||
ush_int damageTypes; | ||
ush_int weight; | ||
ubyte range; | ||
ush_int weaponFamily; | ||
byte size; | ||
ubyte material; | ||
ubyte handle_type; | ||
ubyte head_type; | ||
ubyte stunNumDice; | ||
ubyte stunSizeDice; | ||
ubyte availability; | ||
ush_int ammo; | ||
}; | ||
|
||
struct armor_table | ||
{ | ||
char *name; | ||
ubyte armorType; | ||
ush_int cost; | ||
ubyte armorBonus; | ||
ubyte dexBonus; | ||
byte armorCheck; | ||
ubyte spellFail; | ||
ubyte thirtyFoot; | ||
ubyte twentyFoot; | ||
ush_int weight; | ||
ubyte material; | ||
ubyte availability; | ||
ubyte fort_bonus; | ||
int wear; | ||
}; | ||
|
||
extern struct weapon_table weapon_list[NUM_WEAPON_TYPES]; | ||
extern const char *weapon_type[NUM_WEAPON_TYPES]; | ||
|
||
extern struct armor_table armor_list[NUM_SPEC_ARMOR_TYPES]; | ||
extern const char *armor_type[NUM_SPEC_ARMOR_TYPES]; | ||
|
||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
|
||
|
||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* ASSIGN_WPN_ARMOR_H */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.