📄 dndconst.h
字号:
#ifndef __DNDCONST_H__#define __DNDCONST_H__/* ---------------------------------------------------------------------- * * Constant definitions * ---------------------------------------------------------------------- *//* sizes */#define szFINE ( 1 )#define szDIMINUTIVE ( 2 )#define szTINY ( 3 )#define szSMALL ( 4 )#define szMEDIUM ( 5 )#define szLARGE ( 6 )#define szHUGE ( 7 )#define szGARGANTUAN ( 8 )#define szCOLOSSAL ( 9 )/* community types */#define ttANY ( 0 )#define ttTHORP ( 1 )#define ttHAMLET ( 2 )#define ttVILLAGE ( 3 )#define ttSMALLTOWN ( 4 )#define ttLARGETOWN ( 5 )#define ttSMALLCITY ( 6 )#define ttLARGECITY ( 7 )#define ttMETROPOLIS ( 8 )/* community authority types */#define caCONSTABLE ( 1 )#define caCAPTAINOFTHEGUARD ( 2 )#define caSHERIFF ( 3 )/* community power center types */#define pcCONVENTIONAL ( 1 )#define pcNONSTANDARD ( 2 )#define pcMAGICAL ( 3 )#define pcMONSTROUS ( 4 )/* alignments */#define alLAWFUL ( 0x0001 )#define alCHAOTIC ( 0x0002 )#define alLCNEUTRAL ( 0x0004 )#define alGOOD ( 0x0008 )#define alEVIL ( 0x0010 )#define alGENEUTRAL ( 0x0020 )/* character class types */#define cctPLAYER ( 1 )#define cctPRESTIGE ( 2 )#define cctNONPLAYER ( 3 )/* pc character classes */#define pcBARBARIAN ( 1 )#define pcBARD ( 2 )#define pcCLERIC ( 3 )#define pcDRUID ( 4 )#define pcFIGHTER ( 5 )#define pcMONK ( 6 )#define pcPALADIN ( 7 )#define pcRANGER ( 8 )#define pcROGUE ( 9 )#define pcSORCERER ( 10 )#define pcWIZARD ( 11 )/* prestige classes */#define prcARCANEARCHER ( 31 )#define prcASSASSIN ( 32 )#define prcBLACKGUARD ( 33 )#define prcDWARVENDEFENDER ( 34 )#define prcLOREMASTER ( 35 )#define prcSHADOWDANCER ( 36 )/* npc character classes */#define npcADEPT ( 61 )#define npcARISTOCRAT ( 62 )#define npcCOMMONER ( 63 )#define npcEXPERT ( 64 )#define npcWARRIOR ( 65 )/* gender types */#define gNONE ( 0 )#define gANY ( 0 )#define gMALE ( 1 )#define gFEMALE ( 2 )/* races */#define rcHUMAN ( 1 )#define rcHALFLING_LIGHTFOOT ( 2 )#define rcELF_HIGH ( 3 )#define rcDWARF_HILL ( 4 )#define rcGNOME_ROCK ( 5 )#define rcHALFELF ( 6 )#define rcHALFORC ( 7 )#define rcAASIMAR ( 8 )#define rcDWARF_DEEP ( 9 )#define rcDWARF_MOUNTAIN ( 10 )#define rcELF_GRAY ( 11 )#define rcELF_WILD ( 12 )#define rcELF_WOOD ( 13 )#define rcGNOME_FOREST ( 14 )#define rcHALFLING_DEEP ( 15 )#define rcHALFLING_TALLFELLOW ( 16 )#define rcGNOME_SVIRFNEBLIN ( 17 )#define rcLIZARDFOLK ( 18 )#define rcDOPPLEGANGER ( 19 )#define rcGOBLIN ( 20 )#define rcHOBGOBLIN ( 21 )#define rcKOBOLD ( 22 )#define rcORC ( 23 )#define rcTIEFLING ( 24 )#define rcELF_DROW ( 25 )#define rcDWARF_DUERGAR ( 26 )#define rcDWARF_DERRO ( 27 )#define rcGNOLL ( 28 )#define rcTROGLODYTE ( 29 )#define rcBUGBEAR ( 30 )#define rcOGRE ( 31 )#define rcMINOTAUR ( 32 )#define rcMINDFLAYER ( 33 )#define rcOGREMAGE ( 34 )#define rcARANEA ( 35 )#define rcAZER ( 36 )#define rcCENTAUR ( 37 )#define rcDRIDER ( 38 )#define rcETTIN ( 39 )#define rcGIANT_HILL ( 40 )#define rcGIANT_STONE ( 41 )#define rcGIANT_FROST ( 42 )#define rcGIANT_FIRE ( 43 )#define rcGIANT_CLOUD ( 44 )#define rcGIANT_STORM ( 45 )#define rcGRIMLOCK ( 46 )#define rcHAG_SEA ( 47 )#define rcHAG_ANNIS ( 48 )#define rcHAG_GREEN ( 49 )#define rcHARPY ( 50 )#define rcKUOTOA ( 51 )#define rcLOCATHAH ( 52 )#define rcMEDUSA ( 53 )#define rcMERFOLK ( 54 )#define rcSAHUAGIN ( 55 )#define rcTROLL ( 56 )#define rcYUANTI_PUREBLOOD ( 57 )#define rcYUANTI_HALFBLOOD ( 58 )#define rcYUANTI_ABOMINATION ( 59 )#define rcELF_AQUATIC ( 60 )/* races defined in Sword & Sorcery's "Creature Collection" */#define rcCC_ABANDONED ( 501 )#define rcCC_ASAATH ( 502 )#define rcCC_BATDEVIL ( 503 )#define rcCC_PLAGUEWRETCH ( 504 )#define rcCC_CHARDUNI ( 505 )#define rcCC_COALGOBLIN ( 506 )#define rcCC_DWARF_FORSAKEN ( 507 )#define rcCC_ELF_FORSAKEN ( 508 )#define rcCC_ICE_GHOUL ( 509 )#define rcCC_MANTICORA ( 510 )#define rcCC_MORGAUNT ( 511 )#define rcCC_PROUD ( 512 )#define rcCC_RATMAN ( 513 )#define rcCC_RATMAN_BROWNGORGER ( 514 )#define rcCC_RATMAN_DISEASED ( 515 )#define rcCC_RATMAN_FOAMER ( 516 )#define rcCC_RATMAN_REDWITCH ( 517 )#define rcCC_SKINDEVIL ( 518 )#define rcCC_SPIDEREYEGOBLIN ( 519 )#define rcCC_STEPPETROLL ( 520 )#define rcCC_STRIFEELEMENTAL ( 521 )#define rcCC_TOKALTRIBESMAN ( 522 )#define rcCC_UBANTUTRIBESMAN ( 523 )/* racial templates */#define rctNONE ( 0 )#define rctHALFCELESTIAL ( 1 )#define rctHALFDRAGON ( 2 )#define rctWEREBEAR ( 3 )#define rctWEREBOAR ( 4 )#define rctWERETIGER ( 5 )#define rctWERERAT ( 6 )#define rctWEREWOLF ( 7 )#define rctHALFFIEND ( 8 )/* abilities */#define abNONE ( 0 )#define abSTRENGTH ( 1 )#define abDEXTERITY ( 2 )#define abCONSTITUTION ( 3 )#define abINTELLIGENCE ( 4 )#define abWISDOM ( 5 )#define abCHARISMA ( 6 )/* skills */#define skALCHEMY ( 1 )#define skANIMALEMPATHY ( 2 )#define skAPPRAISE ( 3 )#define skBALANCE ( 4 )#define skBLUFF ( 5 )#define skCLIMB ( 6 )#define skCONCENTRATION ( 7 )#define skCRAFT ( 8 )#define skDECIPHERSCRIPT ( 9 )#define skDIPLOMACY ( 10 )#define skDISABLEDEVICE ( 11 )#define skDISGUISE ( 12 )#define skESCAPEARTIST ( 13 )#define skFORGERY ( 14 )#define skGATHERINFORMATION ( 15 )#define skHANDLEANIMAL ( 16 )#define skHEAL ( 17 )#define skHIDE ( 18 )#define skINNUENDO ( 19 )#define skINTIMIDATE ( 20 )#define skINTUITDIRECTION ( 21 )#define skJUMP ( 22 )#define skKNOWLEDGE_ARCANA ( 23 )#define skKNOWLEDGE_RELIGION ( 24 )#define skKNOWLEDGE_NATURE ( 25 )#define skKNOWLEDGE ( 26 )#define skLISTEN ( 27 )#define skMOVESILENTLY ( 28 )#define skOPENLOCK ( 29 )#define skPERFORM ( 30 )#define skPICKPOCKET ( 31 )#define skPROFESSION ( 32 )#define skREADLIPS ( 33 )#define skRIDE ( 34 )#define skSCRY ( 35 )#define skSEARCH ( 36 )#define skSENSEMOTIVE ( 37 )#define skSPEAKLANGUAGE ( 38 )#define skSPELLCRAFT ( 39 )#define skSPOT ( 40 )#define skSWIM ( 41 )#define skTUMBLE ( 42 )#define skUSEMAGICDEVICE ( 43 )#define skUSEROPE ( 44 )#define skWILDERNESSLORE ( 45 )/* skill types */#define sktCLASS ( 1 )#define sktCROSSCLASS ( 2 )#define sktEXCLUSIVE ( 3 )/* feats */#define ftALERTNESS ( 1 )#define ftAMBIDEXTERITY ( 2 )#define ftARMORPROFICIENCY_LIGHT ( 3 )#define ftARMORPROFICIENCY_MEDIUM ( 4 )#define ftARMORPROFICIENCY_HEAVY ( 5 )#define ftBLINDFIGHT ( 6 )#define ftCOMBATCASTING ( 7 )#define ftCOMBATREFLEXES ( 8 )#define ftDODGE ( 9 )#define ftMOBILITY ( 10 )#define ftSPRINGATTACK ( 11 )#define ftENDURANCE ( 12 )#define ftWEAPONPROFICIENCY_EXOTIC ( 13 )#define ftWEAPONPROFICIENCY_MARTIAL ( 14 )#define ftWEAPONPROFICIENCY_SIMPLE ( 15 )#define ftEXPERTISE ( 16 )#define ftIMPROVEDDISARM ( 17 )#define ftIMPROVEDTRIP ( 18 )
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -