mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-17 17:51:11 +00:00
Change define to enum
This commit is contained in:
parent
48b4915f5b
commit
8ed66791e7
1 changed files with 3 additions and 3 deletions
|
@ -15,9 +15,6 @@
|
||||||
|
|
||||||
#include "r_visiblesprite.h"
|
#include "r_visiblesprite.h"
|
||||||
|
|
||||||
#define BASEXCENTER (160)
|
|
||||||
#define BASEYCENTER (100)
|
|
||||||
|
|
||||||
namespace swrenderer
|
namespace swrenderer
|
||||||
{
|
{
|
||||||
class RenderPlayerSprite
|
class RenderPlayerSprite
|
||||||
|
@ -31,6 +28,9 @@ namespace swrenderer
|
||||||
private:
|
private:
|
||||||
static void Render(DPSprite *pspr, AActor *owner, float bobx, float boby, double wx, double wy, double ticfrac, int spriteshade);
|
static void Render(DPSprite *pspr, AActor *owner, float bobx, float boby, double wx, double wy, double ticfrac, int spriteshade);
|
||||||
|
|
||||||
|
enum { BASEXCENTER = 160 };
|
||||||
|
enum { BASEYCENTER = 100 };
|
||||||
|
|
||||||
// Used to store a psprite's drawing information if it needs to be drawn later.
|
// Used to store a psprite's drawing information if it needs to be drawn later.
|
||||||
struct vispsp_t
|
struct vispsp_t
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue