From 22475d6d94e96056d1550dca00b32d00e3821649 Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Thu, 25 Dec 2014 12:00:00 +0100 Subject: Import icculus.org release (2014-12-25) --- src/vdb.c | 39 +++++---------------------------------- 1 file changed, 5 insertions(+), 34 deletions(-) (limited to 'src/vdb.c') diff --git a/src/vdb.c b/src/vdb.c index 848497c..dc69000 100644 --- a/src/vdb.c +++ b/src/vdb.c @@ -19,7 +19,7 @@ extern int ScanDrawMode; */ -SCENE Global_Scene = 0; +SCENE Global_Scene/* = 0*/; @@ -386,37 +386,11 @@ static void CreateProjectorArray(VIEWDESCRIPTORBLOCK *vdb) SetVDB requires a VIEWDESCRIPTORBLOCK - See the actual function code for what each parameter is - */ -void SetVDB(vdb, fl, ty, d, cx,cy, prx,pry, mxp, cl,cr,cu,cd, h1,h2,hc, amb) - - VIEWDESCRIPTORBLOCK *vdb; - - int fl; - int ty; - - int d; - - int cx; - int cy; - - int prx; - int pry; - int mxp; - - int cl; - int cr; - int cu; - int cd; - - int h1; - int h2; - int hc; - - int amb; - +void SetVDB(VIEWDESCRIPTORBLOCK *vdb, int fl, int ty, int d, int cx, int cy, + int prx, int pry, int mxp, int cl, int cr, int cu, int cd, + int h1, int h2, int hc, int amb) { @@ -729,10 +703,7 @@ VIEWDESCRIPTORBLOCK* CreateActiveVDB(void) */ -int DestroyActiveVDB(dblockptr) - - VIEWDESCRIPTORBLOCK *dblockptr; - +int DestroyActiveVDB(VIEWDESCRIPTORBLOCK *dblockptr) { int j = -1; -- cgit v1.3