X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=cgame_api.h;h=01eb847fb371765f22aa969c937164b648836b4c;hb=75ed014650cc6c57abc48b854fb60f78bc249eab;hp=a061818cf017b514bdbc6a546c6221923d05e684;hpb=ff5947f97081e10c4ce112d4d51c2d1fa14ebba8;p=xonotic%2Fdarkplaces.git diff --git a/cgame_api.h b/cgame_api.h index a061818c..01eb847f 100644 --- a/cgame_api.h +++ b/cgame_api.h @@ -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 +