|
|
1.1 ! root 1: /************************************************************************** ! 2: ! 3: Witchaven ! 4: ! 5: RAF.H ! 6: ! 7: Rafael Paiz ! 8: ! 9: **************************************************************************/ ! 10: #define WHAVENDEMO ! 11: ! 12: #define EASY 0 ! 13: #define NORMAL 1 ! 14: #define BITCHAVEN 2 ! 15: ! 16: #define LOW 1 ! 17: #define HIGH 2 ! 18: ! 19: #define TOP 1 ! 20: #define BOTTOM 2 ! 21: ! 22: #define INACTIVE 0 ! 23: #define PATROL 1 ! 24: #define CHASE 2 ! 25: #define AMBUSH 3 ! 26: ! 27: #define BIRTH 4 ! 28: #define DODGE 5 ! 29: #define ATTACK 6 ! 30: #define DEATH 7 ! 31: #define STAND 8 ! 32: ! 33: #define MISSILE 100 ! 34: #define FX 101 ! 35: #define HEATSEEKER 102 ! 36: #define YELL 103 ! 37: #define CAST 104 ! 38: #define PUSH 105 ! 39: #define FALL 106 ! 40: #define DIE 107 ! 41: #define DEAD 108 ! 42: #define FACE 109 ! 43: #define SHOVE 110 ! 44: #define SHATTER 111 ! 45: #define FIRE 112 ! 46: #define LIFTUP 113 ! 47: #define LIFTDN 114 ! 48: #define PENDULUM 115 ! 49: #define RESURECT 116 ! 50: #define BOB 117 ! 51: #define SHOVER 118 ! 52: #define TORCHER 119 ! 53: #define MASPLASH 120 ! 54: #define CHUNKOMEAT 121 ! 55: #define FLEE 122 ! 56: #define DORMANT 123 ! 57: #define ACTIVE 124 ! 58: #define ATTACK2 125 ! 59: #define WITCHSIT 126 ! 60: #define CHILL 127 ! 61: #define SKIRMISH 128 ! 62: #define FLOCK 129 ! 63: #define FLOCKSPAWN 130 ! 64: #define PAIN 131 ! 65: #define WAR 132 ! 66: #define TORCHLIGHT 133 ! 67: #define GLOWLIGHT 134 ! 68: #define BLOOD 135 ! 69: #define DRIP 136 ! 70: #define DEVILFIRE 137 ! 71: #define FROZEN 138 ! 72: #define PULLTHECHAIN 139 ! 73: #define FLOCKCHIRP 140 ! 74: #define CHUNKOWALL 141 ! 75: #define FINDME 142 ! 76: #define DRAIN 143 ! 77: #define RATRACE 144 ! 78: #define SMOKE 145 ! 79: #define EXPLO 146 ! 80: #define JAVLIN 147 ! 81: #define ANIMLEVERUP 148 ! 82: #define ANIMLEVERDN 149 ! 83: #define BROKENVASE 150 ! 84: #define CHARCOAL 151 ! 85: #define WARPFX 152 ! 86: ! 87: #define MAXRAINDROPS 100 ! 88: ! 89: #define WITCHAVEN ! 90: ! 91: extern short ironbarscnt; ! 92: extern short ironbarsdone[16]; ! 93: extern long ironbarsgoal1[16]; ! 94: extern long ironbarsgoal2[16]; ! 95: extern short ironbarsector[16]; ! 96: extern short ironbarsanim[16]; ! 97: extern long ironbarsgoal[16]; ! 98: ! 99: #define MAXKEYS 4 ! 100: ! 101: #define MAXTREASURES 18 ! 102: ! 103: #define GRATESPEED 16L ! 104: ! 105: #define PLAYERHEIGHT 48 ! 106: #define MAXNUMORBS 8 ! 107: #define MAXHEALTH 100 ! 108: ! 109: // ! 110: // KEYDEFINES ! 111: // ! 112: #define FN1 0x3b ! 113: #define FN2 0x3c ! 114: #define FN3 0x3d ! 115: #define FN4 0x3e ! 116: #define FN5 0x3f ! 117: #define FN6 0x40 ! 118: #define FN7 0x41 ! 119: #define FN8 0x42 ! 120: #define FN9 0x43 ! 121: #define FN10 0x44 ! 122: #define FN11 0x57 ! 123: #define FN12 0x58 ! 124: ! 125: #define WEAPONONE 0x02 ! 126: #define WEAPONTWO 0x03 ! 127: #define WEAPONTHREE 0x04 ! 128: #define WEAPONFOUR 0x05 ! 129: #define WEAPONFIVE 0x06 ! 130: #define WEAPONSIX 0x07 ! 131: #define WEAPONSEVEN 0x08 ! 132: #define WEAPONEIGHT 0x09 ! 133: #define WEAPONNINE 0x0a ! 134: #define WEAPONTEN 0x0b ! 135: ! 136: #define LMINUS 0x0c ! 137: #define LPLUS 0x0d ! 138: #define BKSPC 0x0e ! 139: ! 140: #define RUP 0x48 ! 141: #define RDN 0x50 ! 142: #define RRIGHT 0x4d ! 143: #define RLEFT 0x4b ! 144: #define RSHIFT 0x36 ! 145: ! 146: #define LALT 0x38 ! 147: #define RALT 0xb8 ! 148: ! 149: #define KILLSECTOR 4444 ! 150: ! 151: ! 152: typedef struct ! 153: { ! 154: long x, y, z; ! 155: } point3d; ! 156: ! 157: //point3d osprite[MAXSPRITESONSCREEN]; ! 158:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.