mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 04:51:41 +00:00
Move defines and enums to where they are used
This commit is contained in:
parent
72762e583f
commit
f288d589ff
4 changed files with 7 additions and 5 deletions
|
@ -29,9 +29,6 @@
|
|||
struct particle_t;
|
||||
struct FVoxel;
|
||||
|
||||
#define MINZ double((2048*4) / double(1 << 20))
|
||||
#define BASEXCENTER (160)
|
||||
#define BASEYCENTER (100)
|
||||
|
||||
EXTERN_CVAR(Bool, r_fullbrightignoresectorcolor);
|
||||
|
||||
|
@ -47,8 +44,6 @@ void R_DrawSprites ();
|
|||
void R_ClearSprites ();
|
||||
void R_DrawMasked ();
|
||||
|
||||
enum { DVF_OFFSCREEN = 1, DVF_SPANSONLY = 2, DVF_MIRRORED = 4 };
|
||||
|
||||
void R_ClipVisSprite (vissprite_t *vis, int xl, int xh);
|
||||
|
||||
extern bool DrewAVoxel;
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
|
||||
#include "r_visiblesprite.h"
|
||||
|
||||
#define BASEXCENTER (160)
|
||||
#define BASEYCENTER (100)
|
||||
|
||||
namespace swrenderer
|
||||
{
|
||||
void R_SetupPlayerSpriteScale();
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
#include "swrenderer/line/r_line.h"
|
||||
#include "swrenderer/scene/r_bsp.h"
|
||||
|
||||
#define MINZ double((2048*4) / double(1 << 20))
|
||||
|
||||
struct particle_t;
|
||||
struct FVoxel;
|
||||
|
||||
|
|
|
@ -29,6 +29,8 @@ namespace swrenderer
|
|||
{
|
||||
struct vissprite_t;
|
||||
|
||||
enum { DVF_OFFSCREEN = 1, DVF_SPANSONLY = 2, DVF_MIRRORED = 4 };
|
||||
|
||||
void R_DrawVisVoxel(vissprite_t *sprite, int minZ, int maxZ, short *cliptop, short *clipbottom);
|
||||
void R_FillBox(DVector3 origin, double extentX, double extentY, int color, short *cliptop, short *clipbottom, bool viewspace, bool pixelstretch);
|
||||
kvxslab_t *R_GetSlabStart(const FVoxelMipLevel &mip, int x, int y);
|
||||
|
|
Loading…
Reference in a new issue