X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=client.h;h=08c98223478cba7c306f968c7665e836cfb2bb6b;hb=b29b9e54dee7965354aede860e187c6f6276a758;hp=1168ba8630807f2d4970d55b01c5b0b5b86427c9;hpb=6521035efebc6902c1bcf97c171c456af2b719be;p=xonotic%2Fdarkplaces.git diff --git a/client.h b/client.h index 1168ba86..08c98223 100644 --- a/client.h +++ b/client.h @@ -56,9 +56,17 @@ cl_effect_t; typedef struct { int entity; + // draw this as lightning polygons, or a model? + int lightning; struct model_s *model; float endtime; vec3_t start, end; + // if this beam is owned by an entity, this is the beam start relative to + // that entity's matrix for per frame start updates + vec3_t relativestart; + vec3_t relativeend; + // indicates whether relativestart is valid + int relativestartvalid; } beam_t;