progdefs.h 3.1 KB

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