progdefs.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. /* Copyright (C) 1996-1997 Id Software, Inc.
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation; either version 2 of the License, or
  5. (at your option) any later version.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with this program; if not, write to the Free Software
  12. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  13. See file, 'COPYING', for details.
  14. */
  15. /* file generated by qcc, do not modify */
  16. typedef struct
  17. { int pad[28];
  18. int self;
  19. int other;
  20. int world;
  21. float time;
  22. float frametime;
  23. float force_retouch;
  24. string_t mapname;
  25. float deathmatch;
  26. float coop;
  27. float teamplay;
  28. float serverflags;
  29. float total_secrets;
  30. float total_monsters;
  31. float found_secrets;
  32. float killed_monsters;
  33. float parm1;
  34. float parm2;
  35. float parm3;
  36. float parm4;
  37. float parm5;
  38. float parm6;
  39. float parm7;
  40. float parm8;
  41. float parm9;
  42. float parm10;
  43. float parm11;
  44. float parm12;
  45. float parm13;
  46. float parm14;
  47. float parm15;
  48. float parm16;
  49. vec3_t v_forward;
  50. vec3_t v_up;
  51. vec3_t v_right;
  52. float trace_allsolid;
  53. float trace_startsolid;
  54. float trace_fraction;
  55. vec3_t trace_endpos;
  56. vec3_t trace_plane_normal;
  57. float trace_plane_dist;
  58. int trace_ent;
  59. float trace_inopen;
  60. float trace_inwater;
  61. int msg_entity;
  62. func_t main;
  63. func_t StartFrame;
  64. func_t PlayerPreThink;
  65. func_t PlayerPostThink;
  66. func_t ClientKill;
  67. func_t ClientConnect;
  68. func_t PutClientInServer;
  69. func_t ClientDisconnect;
  70. func_t SetNewParms;
  71. func_t SetChangeParms;
  72. } globalvars_t;
  73. typedef struct
  74. {
  75. float modelindex;
  76. vec3_t absmin;
  77. vec3_t absmax;
  78. float ltime;
  79. float movetype;
  80. float solid;
  81. vec3_t origin;
  82. vec3_t oldorigin;
  83. vec3_t velocity;
  84. vec3_t angles;
  85. vec3_t avelocity;
  86. vec3_t punchangle;
  87. string_t classname;
  88. string_t model;
  89. float frame;
  90. float skin;
  91. float effects;
  92. vec3_t mins;
  93. vec3_t maxs;
  94. vec3_t size;
  95. func_t touch;
  96. func_t use;
  97. func_t think;
  98. func_t blocked;
  99. float nextthink;
  100. int groundentity;
  101. float health;
  102. float frags;
  103. float weapon;
  104. string_t weaponmodel;
  105. float weaponframe;
  106. float currentammo;
  107. float ammo_shells;
  108. float ammo_nails;
  109. float ammo_rockets;
  110. float ammo_cells;
  111. float items;
  112. float takedamage;
  113. int chain;
  114. float deadflag;
  115. vec3_t view_ofs;
  116. float button0;
  117. float button1;
  118. float button2;
  119. float impulse;
  120. float fixangle;
  121. vec3_t v_angle;
  122. float idealpitch;
  123. string_t netname;
  124. int enemy;
  125. float flags;
  126. float colormap;
  127. float team;
  128. float max_health;
  129. float teleport_time;
  130. float armortype;
  131. float armorvalue;
  132. float waterlevel;
  133. float watertype;
  134. float ideal_yaw;
  135. float yaw_speed;
  136. int aiment;
  137. int goalentity;
  138. float spawnflags;
  139. string_t target;
  140. string_t targetname;
  141. float dmg_take;
  142. float dmg_save;
  143. int dmg_inflictor;
  144. int owner;
  145. vec3_t movedir;
  146. string_t message;
  147. float sounds;
  148. string_t noise;
  149. string_t noise1;
  150. string_t noise2;
  151. string_t noise3;
  152. } entvars_t;
  153. #define PROGHEADER_CRC 5927