Providers
Debian Linux
SDF
MinGW-W64
Verizon
Research
Faqs and RFCs
FileSearching
Google
Google Groups
W3Schools Online Web Tutorials
Wikipedia
Multimedia
CTIS
For the Pigs Among Us
Family Photos
My House
My Photos (1999-2002?)
My Photos (2005)
Retro Computers
Minions of Mirth
Main
Criticals
Criticals (Single Player)
Ghaqua
Maps and Points of Interest
Miscellaneous
Monster Templates
Miscellaneous
Area Codes
Bard’s Tale
Dungeons & Dragons Online
My Blog
Quote of the Day
RogueBasin
Slashdot
The Adventuer’s Guild
Weather
GitHub:eprive/Z80-MBC3
Programming
Main
Across
Biorhythm
BMP Chips
Complex Roots
Magic Square
Magic Square(js)
Matrix(js)
More DOS Programs
Roll
Strip Dups (bash)
Wacky Wood-Worker
How To
Enlightenment 0.16.7.2 Startup Patch
How to Create an OS X Iconset
My RedHat Howto
SSH to VMS (Deathrow OpenVMS Cluster)
Tools
Allowable Mortgage Interest
Dates and Mileage
Day of the Year
Fun With Time
Downloads
Educational
Utilities
CHAR.H
/* Bard's Tale Character Definition */ #if !Defined(_BARDCHAR) #define _BARDCHAR #define BT_DEAD 0x02 #define BT_OLD 0x04 #define BT_POISONED 0x08 #define BT_STONED 0x10 #define BT_PARALYZED 0x20 #define BT_POSSESSED 0x40 #define BT_NUTS 0x80 struct CHARITEM { char code; char status; }; enum CLASS { Warrior, Paladin, Rogue, Bard, Hunter, Monk, Conjurer, Magician, Sorceror, Wizard }; enum RACE { Human, Elf, Dwarf, Hobbit, Half_elf, Half_orc, Gnome }; struct BARDCHAR { /*00*/ int status; /* bitfield: 0x02: dead; 0x04: old; 0x08: poisoned; 0x10: stoned; 0x20: paralyzed; 0x40: possessed; 0x80: nuts; */ /*02*/ enum RACE race; /* races in order: human, elf, dwarf, hobbit, half-elf, half-orc, gnome */ /*04*/ enum CLASS class; /* classes in order: warrior, paladin, rogue, bard, hunter, monk, conjurer, magician, sorceror, wizard */ /*06*/ int strength; /*08*/ int iq; /*10*/ int dexterity; /*12*/ int constitution; /*14*/ int luck; /*16*/ int mstrength; /*18*/ int miq; /*20*/ int mdexterity; /*22*/ int mconstitution; /*24*/ int mluck; /*26*/ char skip26[2]; /*28*/ int hp; /*30*/ int condition; /*32*/ int sppt; /*34*/ int msppt; /*36*/ struct CHARITEM item[8]; /*52*/ unsigned long experience; /*56*/ unsigned long gold; /*60*/ int level; /*62*/ int mlevel; /*64*/ char sorclevel; /*65*/ char conjlevel; /*66*/ char magilevel; /*67*/ char wizdlevel; /*68*/ char hide; /*0-255 rogue chance to hide*/ /*69*/ char skip69[5]; /*74*/ int crit; /*0-255 hunter odds of crit*/ /*76*/ int songs; /*78*/ char skip78[6]; /*84*/ int attacks; /*86*/ char skip86[2]; /*88*/ unsigned battles; /* battles survived */ /*90*/ char skip90[2]; }; int printStatus(); int printClass(); int printRace(); int fgetBardCharacter(); int fputBardCharacter(); int dumpcharacter(); int shortDumpChar(); int csvDumpChar(); int csvDumpHeader(); int isBard(); int isMage(); int isRogue(); int isHunter(); int getsExtraAttacks(); #endif
This source has been viewed 16 times.
Friday, 6 December 2024
Michael J. Chappell
Contact me at:
mcsuper5@freeshell.org