mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 04:51:41 +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"
|
||||
|
||||
#define BASEXCENTER (160)
|
||||
#define BASEYCENTER (100)
|
||||
|
||||
namespace swrenderer
|
||||
{
|
||||
class RenderPlayerSprite
|
||||
|
@ -31,6 +28,9 @@ namespace swrenderer
|
|||
private:
|
||||
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.
|
||||
struct vispsp_t
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue