1 #ifndef EQUATES_INCLUDED 2 #define EQUATES_INCLUDED 3 4 /* 5 6 Equates & Enums for AVP 7 8 */ 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 #define MaxObjectLights 50 /* Sources attached to the object */ 15 16 #define maxlightblocks 100 /* This ought to be MORE than enough */ 17 18 #define MaxLightsPerObject 100 /* Sources lighting the object */ 19 20 21 /* 22 23 3d Texture Scan Subdivision limits 24 25 */ 26 27 #if 0 /* only used by krender.c */ 28 #define lin_s_max 5 29 30 #if 0 31 32 #define lin_s_zthr 320 /* 1.25 */ 33 34 #else 35 36 #if 1 37 38 #define lin_s_zthr 281 /* 1.1 */ 39 40 #else 41 42 #define lin_s_zthr 260 /* 1.01 */ 43 44 #endif 45 46 #endif 47 #endif 48 49 50 #define GlobalScale 1 51 52 /* 53 Scenes and View Types 54 */ 55 56 /* not really used */ 57 typedef enum { 58 AVP_Scene0 59 } SCENE; 60 61 62 /* 63 64 View Handler Function Array Indices 65 66 */ 67 68 /* VIEWSTATES isn't really used either */ 69 typedef enum { 70 71 VState_Inside, 72 VState_RelativeRemote, 73 VState_RelativeYRemote, 74 VState_FixedRemote, 75 VState_FlyBy, 76 VState_LagRelRemote, 77 VState_TrackingRemote, 78 VState_LagRelYRemote, 79 80 VState_Last 81 82 } VIEWSTATES; 83 84 85 /* 86 87 View Interior Types 88 89 */ 90 91 /* ITYPES isn't really used either */ 92 typedef enum { 93 94 IType_Default, 95 IType_Body, 96 IType_Car, 97 IType_Aircraft, 98 99 IType_Last 100 101 } ITYPES; 102 103 104 /* Map Types */ 105 106 typedef enum { 107 108 MapType_Default, 109 MapType_Player, 110 MapType_PlayerShipCamera, 111 MapType_Sprite, 112 MapType_Term 113 114 } AVP_MAP_TYPES; 115 116 117 /* Strategies */ 118 119 typedef enum { 120 121 StrategyI_Null, 122 StrategyI_Camera, 123 StrategyI_Player, 124 StrategyI_Test, 125 StrategyI_NewtonTest, 126 StrategyI_HomingTest, 127 StrategyI_MissileTest, 128 StrategyI_GravityOnly, 129 StrategyI_Database, 130 StrategyI_DoorPROX, 131 StrategyI_Terminal, 132 StrategyI_Last /* Always the last */ 133 134 } AVP_STRATEGIES; 135 136 /***********end for C++************/ 137 138 #ifdef __cplusplus 139 }; 140 #endif 141 142 #endif 143