]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
restructured LDFLAGS a bit to make sure libraries come last (especially -lm as the...
[xonotic/darkplaces.git] / client.h
index 1168ba8630807f2d4970d55b01c5b0b5b86427c9..08c98223478cba7c306f968c7665e836cfb2bb6b 100644 (file)
--- 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;