mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- copied anim fix to RR.
This commit is contained in:
parent
6c55d8ed69
commit
e2d64a1c4a
1 changed files with 6 additions and 6 deletions
|
@ -26,18 +26,18 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
BEGIN_RR_NS
|
BEGIN_RR_NS
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint16_t frame;
|
uint16_t frame = 0;
|
||||||
int16_t sound;
|
int16_t sound = 0;
|
||||||
} animsound_t;
|
} animsound_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
FString name;
|
FString name;
|
||||||
double frameaspect1, frameaspect2;
|
double frameaspect1 = 0, frameaspect2 = 0;
|
||||||
uint8_t* animbuf;
|
uint8_t* animbuf = nullptr;
|
||||||
TArray<animsound_t> Sounds;
|
TArray<animsound_t> Sounds;
|
||||||
uint8_t framedelay;
|
uint8_t framedelay = 0;
|
||||||
uint8_t frameflags;
|
uint8_t frameflags = 0;
|
||||||
} dukeanim_t;
|
} dukeanim_t;
|
||||||
|
|
||||||
extern dukeanim_t* g_animPtr;
|
extern dukeanim_t* g_animPtr;
|
||||||
|
|
Loading…
Reference in a new issue