]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
Add -Wc++-compat flag and fix its sole warning. This *should* be safe.
[xonotic/darkplaces.git] / client.h
index ff96e4fe672d8f3308e7a17ad05af53c00c5137b..c154d991549294e47eb67063d979d3135a41320a 100644 (file)
--- a/client.h
+++ b/client.h
@@ -576,7 +576,8 @@ typedef struct entity_render_s
        // MATERIALFLAG_MODELLIGHT uses these parameters
        float render_modellight_ambient[3];
        float render_modellight_diffuse[3];
-       float render_modellight_lightdir[3];
+       float render_modellight_lightdir_world[3];
+       float render_modellight_lightdir_local[3];
        float render_modellight_specular[3];
        // lightmap rendering (not MATERIALFLAG_MODELLIGHT)
        float render_lightmap_ambient[3];
@@ -1608,6 +1609,8 @@ void CL_Record_f(cmd_state_t *cmd);
 void CL_PlayDemo_f(cmd_state_t *cmd);
 void CL_TimeDemo_f(cmd_state_t *cmd);
 
+void CL_Demo_Init(void);
+
 //
 // cl_parse.c
 //