typedef struct
{
	float	power;
} rturb_t;

typedef struct
{
	float	xspeed;
	float	yspeed;
} rscroll_t;

typedef struct
{
	float		srcmode;
	float		dstmode;
} rblend_t;

typedef struct
{
	float	alpha;
	BOOL	alphafunc;
	BOOL	blendfunc;
	BOOL	nolightmap;
} rflags_t;

typedef struct
{
	char				scriptname[56];
	char				texname[56];
	int					texnum;
	BOOL				useturb;
	BOOL				usescroll;
	BOOL				useblendmode;
	BOOL				usevturb;
	rturb_t				turb;
	rturb_t				vturb;
	rscroll_t			scroll;
	rblend_t			blendmode;
	rflags_t			flags;
	int					nextstage;
	char				nextname[56];
} rscript_t;
rscript_t	rscripts[500];