progdefs.q2 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. /* file generated by qcc, do not modify */
  2. typedef struct
  3. { int pad[28];
  4. int self;
  5. int other;
  6. int world;
  7. float time;
  8. float frametime;
  9. float force_retouch;
  10. string_t mapname;
  11. string_t startspot;
  12. float deathmatch;
  13. float coop;
  14. float teamplay;
  15. float serverflags;
  16. float total_secrets;
  17. float total_monsters;
  18. float found_secrets;
  19. float killed_monsters;
  20. float parm1;
  21. float parm2;
  22. float parm3;
  23. float parm4;
  24. float parm5;
  25. float parm6;
  26. float parm7;
  27. float parm8;
  28. float parm9;
  29. float parm10;
  30. float parm11;
  31. float parm12;
  32. float parm13;
  33. float parm14;
  34. float parm15;
  35. float parm16;
  36. vec3_t v_forward;
  37. vec3_t v_up;
  38. vec3_t v_right;
  39. float trace_allsolid;
  40. float trace_startsolid;
  41. float trace_fraction;
  42. vec3_t trace_endpos;
  43. vec3_t trace_plane_normal;
  44. float trace_plane_dist;
  45. int trace_ent;
  46. float trace_inopen;
  47. float trace_inwater;
  48. int msg_entity;
  49. string_t null;
  50. func_t main;
  51. func_t StartFrame;
  52. func_t PlayerPreThink;
  53. func_t PlayerPostThink;
  54. func_t ClientKill;
  55. func_t ClientConnect;
  56. func_t PutClientInServer;
  57. func_t ClientDisconnect;
  58. func_t SetNewParms;
  59. func_t SetChangeParms;
  60. } globalvars_t;
  61. typedef struct
  62. {
  63. float modelindex;
  64. vec3_t absmin;
  65. vec3_t absmax;
  66. float ltime;
  67. float movetype;
  68. float solid;
  69. vec3_t origin;
  70. vec3_t oldorigin;
  71. vec3_t velocity;
  72. vec3_t angles;
  73. vec3_t avelocity;
  74. vec3_t basevelocity;
  75. vec3_t punchangle;
  76. string_t classname;
  77. string_t model;
  78. float frame;
  79. float skin;
  80. float effects;
  81. float drawPercent;
  82. float gravity;
  83. float mass;
  84. float light_level;
  85. vec3_t mins;
  86. vec3_t maxs;
  87. vec3_t size;
  88. func_t touch;
  89. func_t use;
  90. func_t think;
  91. func_t blocked;
  92. float nextthink;
  93. int groundentity;
  94. float health;
  95. float frags;
  96. float weapon;
  97. string_t weaponmodel;
  98. float weaponframe;
  99. float currentammo;
  100. float ammo_shells;
  101. float ammo_nails;
  102. float ammo_rockets;
  103. float ammo_cells;
  104. float items;
  105. float items2;
  106. float takedamage;
  107. int chain;
  108. float deadflag;
  109. vec3_t view_ofs;
  110. float button0;
  111. float button1;
  112. float button2;
  113. float impulse;
  114. float fixangle;
  115. vec3_t v_angle;
  116. float idealpitch;
  117. float pitch_speed;
  118. string_t netname;
  119. int enemy;
  120. float flags;
  121. float colormap;
  122. float team;
  123. float max_health;
  124. float teleport_time;
  125. float armortype;
  126. float armorvalue;
  127. float waterlevel;
  128. float watertype;
  129. float ideal_yaw;
  130. float yaw_speed;
  131. int aiment;
  132. int goalentity;
  133. float spawnflags;
  134. string_t target;
  135. string_t targetname;
  136. float dmg_take;
  137. float dmg_save;
  138. int dmg_inflictor;
  139. int owner;
  140. vec3_t movedir;
  141. string_t message;
  142. float sounds;
  143. string_t noise;
  144. string_t noise1;
  145. string_t noise2;
  146. string_t noise3;
  147. float dmg;
  148. float dmgtime;
  149. float air_finished;
  150. float pain_finished;
  151. float radsuit_finished;
  152. float speed;
  153. } entvars_t;
  154. #define PROGHEADER_CRC 31586