progdefs.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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. int newmis;
  10. float force_retouch;
  11. string_t mapname;
  12. float serverflags;
  13. float total_secrets;
  14. float total_monsters;
  15. float found_secrets;
  16. float killed_monsters;
  17. float parm1;
  18. float parm2;
  19. float parm3;
  20. float parm4;
  21. float parm5;
  22. float parm6;
  23. float parm7;
  24. float parm8;
  25. float parm9;
  26. float parm10;
  27. float parm11;
  28. float parm12;
  29. float parm13;
  30. float parm14;
  31. float parm15;
  32. float parm16;
  33. vec3_t v_forward;
  34. vec3_t v_up;
  35. vec3_t v_right;
  36. float trace_allsolid;
  37. float trace_startsolid;
  38. float trace_fraction;
  39. vec3_t trace_endpos;
  40. vec3_t trace_plane_normal;
  41. float trace_plane_dist;
  42. int trace_ent;
  43. float trace_inopen;
  44. float trace_inwater;
  45. int msg_entity;
  46. func_t main;
  47. func_t StartFrame;
  48. func_t PlayerPreThink;
  49. func_t PlayerPostThink;
  50. func_t ClientKill;
  51. func_t ClientConnect;
  52. func_t PutClientInServer;
  53. func_t ClientDisconnect;
  54. func_t SetNewParms;
  55. func_t SetChangeParms;
  56. } globalvars_t;
  57. typedef struct
  58. {
  59. float modelindex;
  60. vec3_t absmin;
  61. vec3_t absmax;
  62. float ltime;
  63. float lastruntime;
  64. float movetype;
  65. float solid;
  66. vec3_t origin;
  67. vec3_t oldorigin;
  68. vec3_t velocity;
  69. vec3_t angles;
  70. vec3_t avelocity;
  71. string_t classname;
  72. string_t model;
  73. float frame;
  74. float skin;
  75. float effects;
  76. vec3_t mins;
  77. vec3_t maxs;
  78. vec3_t size;
  79. func_t touch;
  80. func_t use;
  81. func_t think;
  82. func_t blocked;
  83. float nextthink;
  84. int groundentity;
  85. float health;
  86. float frags;
  87. float weapon;
  88. string_t weaponmodel;
  89. float weaponframe;
  90. float currentammo;
  91. float ammo_shells;
  92. float ammo_nails;
  93. float ammo_rockets;
  94. float ammo_cells;
  95. float items;
  96. float takedamage;
  97. int chain;
  98. float deadflag;
  99. vec3_t view_ofs;
  100. float button0;
  101. float button1;
  102. float button2;
  103. float impulse;
  104. float fixangle;
  105. vec3_t v_angle;
  106. string_t netname;
  107. int enemy;
  108. float flags;
  109. float colormap;
  110. float team;
  111. float max_health;
  112. float teleport_time;
  113. float armortype;
  114. float armorvalue;
  115. float waterlevel;
  116. float watertype;
  117. float ideal_yaw;
  118. float yaw_speed;
  119. int aiment;
  120. int goalentity;
  121. float spawnflags;
  122. string_t target;
  123. string_t targetname;
  124. float dmg_take;
  125. float dmg_save;
  126. int dmg_inflictor;
  127. int owner;
  128. vec3_t movedir;
  129. string_t message;
  130. float sounds;
  131. string_t noise;
  132. string_t noise1;
  133. string_t noise2;
  134. string_t noise3;
  135. } entvars_t;
  136. #define PROGHEADER_CRC 54730