reworked penalties flags. now a single bitfield instead of separate booleans. added 'blind' penalty.
tweaked portals again. no longer wrongly impacting against the portal's front/back planes, even with speed. reworked PEXT_LIGHTSTYLECOL, now uses a vector instead of a channel mask. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4699 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
957e9b494c
commit
ceb32ec494
27 changed files with 378 additions and 370 deletions
|
@ -658,7 +658,9 @@ static int bi_lua_precache_sound(lua_State *L)
|
|||
}
|
||||
static int bi_lua_lightstyle(lua_State *L)
|
||||
{
|
||||
PF_applylightstyle(lua.tointegerx(L, 1, NULL), lua.tolstring(L, 2, NULL), 7);
|
||||
vec3_t rgb;
|
||||
lua_readvector(L, 3, rgb);
|
||||
PF_applylightstyle(lua.tointegerx(L, 1, NULL), lua.tolstring(L, 2, NULL), rgb);
|
||||
return 0;
|
||||
}
|
||||
static int bi_lua_spawn(lua_State *L)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue