progdefs.q1 2.4 KB

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