using System;
using System.Runtime.InteropServices;

namespace SharpQuake
{
	[StructLayout(LayoutKind.Sequential, Pack = 1)]
	internal struct entvars_t
	{
		public float modelindex;

		public v3f absmin;

		public v3f absmax;

		public float ltime;

		public float movetype;

		public float solid;

		public v3f origin;

		public v3f oldorigin;

		public v3f velocity;

		public v3f angles;

		public v3f avelocity;

		public v3f punchangle;

		public int classname;

		public int model;

		public float frame;

		public float skin;

		public float effects;

		public v3f mins;

		public v3f maxs;

		public v3f size;

		public int touch;

		public int use;

		public int think;

		public int blocked;

		public float nextthink;

		public int groundentity;

		public float health;

		public float frags;

		public float weapon;

		public int weaponmodel;

		public float weaponframe;

		public float currentammo;

		public float ammo_shells;

		public float ammo_nails;

		public float ammo_rockets;

		public float ammo_cells;

		public float items;

		public float takedamage;

		public int chain;

		public float deadflag;

		public v3f view_ofs;

		public float button0;

		public float button1;

		public float button2;

		public float impulse;

		public float fixangle;

		public v3f v_angle;

		public float idealpitch;

		public int netname;

		public int enemy;

		public float flags;

		public float colormap;

		public float team;

		public float max_health;

		public float teleport_time;

		public float armortype;

		public float armorvalue;

		public float waterlevel;

		public float watertype;

		public float ideal_yaw;

		public float yaw_speed;

		public int aiment;

		public int goalentity;

		public float spawnflags;

		public int target;

		public int targetname;

		public float dmg_take;

		public float dmg_save;

		public int dmg_inflictor;

		public int owner;

		public v3f movedir;

		public int message;

		public float sounds;

		public int noise;

		public int noise1;

		public int noise2;

		public int noise3;

		public static int SizeInBytes = Marshal.SizeOf(typeof(entvars_t));
	}
}
