From 757096e7df15c14b9b10352fa91663483f9e34f8 Mon Sep 17 00:00:00 2001 From: xolatile Date: Sun, 10 Aug 2025 00:19:46 +0200 Subject: all --- src/shared/iengine.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/shared/iengine.h') diff --git a/src/shared/iengine.h b/src/shared/iengine.h index 3c52e1e..58698ab 100644 --- a/src/shared/iengine.h +++ b/src/shared/iengine.h @@ -26,7 +26,7 @@ enum { // cube empty-space materials { }; extern void lightent(extentity &e, float height = 8.0f); -extern void lightreaching(const vec &target, vec &color, vec &dir, bool fast = false, extentity *e = 0, float ambient = 0.4f); +extern void lightreaching(const vec &target, vec &color, vec &dir, extentity *e = 0, float ambient = 0.4f); extern entity *brightestlight(const vec &target, const vec &dir); enum { RAY_BB = 1, RAY_POLY = 3, RAY_ALPHAPOLY = 7, RAY_ENTS = 9, RAY_CLIPMAT = 16, RAY_SKIPFIRST = 32, RAY_EDITMAT = 64, RAY_SHADOW = 128, RAY_PASS = 256 }; @@ -259,10 +259,6 @@ enum { DL_FLASH = 1<<2 }; -extern void adddynlight(const vec &o, float radius, const vec &color, int fade = 0, int peak = 0, int flags = 0, float initradius = 0, const vec &initcolor = vec(0, 0, 0), physent *owner = NULL); -extern void dynlightreaching(const vec &target, vec &color, vec &dir, bool hud = false); -extern void removetrackeddynlights(physent *owner = NULL); - // rendergl extern physent *camera1; extern vec worldpos, camdir, camright, camup; @@ -363,8 +359,8 @@ enum { SND_USE_ALT = 1<<2 }; -extern int playsound(int n, const vec *loc = NULL, extentity *ent = NULL, int flags = 0, int loops = 0, int fade = 0, int chanid = -1, int radius = 0, int expire = -1); -extern int playsoundname(const char *s, const vec *loc = NULL, int vol = 0, int flags = 0, int loops = 0, int fade = 0, int chanid = -1, int radius = 0, int expire = -1); +extern int playsound(int n, const vec *loc = NULL, extentity *ent = NULL, int loops = 0, int fade = 0, int chanid = -1, int radius = 0, int expire = -1); +extern int playsoundname(const char *s, const vec *loc = NULL, int vol = 0, int loops = 0, int fade = 0, int chanid = -1, int radius = 0, int expire = -1); extern void preloadsound(int n); extern void preloadmapsound(int n); extern bool stopsound(int n, int chanid, int fade = 0); -- cgit v1.2.3