]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cgame_api.h
strlwr does not exist on Linux
[xonotic/darkplaces.git] / cgame_api.h
index a061818cf017b514bdbc6a546c6221923d05e684..01eb847fb371765f22aa969c937164b648836b4c 100644 (file)
@@ -24,7 +24,8 @@ cgdrawentity_t;
 typedef struct cgdrawlight_s
 {
        float origin[3];
-       float light[3];
+       float color[3];
+       float radius;
 }
 cgdrawlight_t;
 
@@ -57,6 +58,7 @@ int CGVM_GetCvarInt(const char *name);
 char *CGVM_GetCvarString(const char *name);
 double CGVM_Time(void);
 int CGVM_Model(const char *name);
+void CGVM_Stain(const float *origin, float radius, int cr1, int cg1, int cb1, int ca1, int cr2, int cg2, int cb2, int ca2);
 // more will be added
 
 // engine called functions
@@ -65,3 +67,4 @@ void CG_Frame(double time);
 // more might be added
 
 #endif
+