mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
Patch adding Wii support by tueidj, part 11: miscellaneous changes
- BIGX -> BIGX_, likely again because of a name clash - make a loop in animlib.c iterate in forward direction git-svn-id: https://svn.eduke32.com/eduke32@2631 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
68e6141c32
commit
1bb6fb5cd4
4 changed files with 7 additions and 6 deletions
|
@ -295,7 +295,7 @@ void ANIM_LoadAnim(char * buffer)
|
||||||
|
|
||||||
// theoretically we should be able to play files with more than 256 frames now
|
// theoretically we should be able to play files with more than 256 frames now
|
||||||
// assuming the utilities to create them can make them that way
|
// assuming the utilities to create them can make them that way
|
||||||
for (i = anim->lpheader->nLps-1; i != 0; i--)
|
for (i = 0; i < anim->lpheader->nLps; i++)
|
||||||
{
|
{
|
||||||
anim->LpArray[i].baseRecord = B_LITTLE16(anim->LpArray[i].baseRecord);
|
anim->LpArray[i].baseRecord = B_LITTLE16(anim->LpArray[i].baseRecord);
|
||||||
anim->LpArray[i].nRecords = B_LITTLE16(anim->LpArray[i].nRecords);
|
anim->LpArray[i].nRecords = B_LITTLE16(anim->LpArray[i].nRecords);
|
||||||
|
|
|
@ -306,7 +306,7 @@ int32_t menutext_(int32_t x,int32_t y,int32_t s,int32_t p,char *t,int32_t bits)
|
||||||
ac = BIGCOMMA;
|
ac = BIGCOMMA;
|
||||||
break;
|
break;
|
||||||
case '!':
|
case '!':
|
||||||
ac = BIGX;
|
ac = BIGX_;
|
||||||
break;
|
break;
|
||||||
case '?':
|
case '?':
|
||||||
ac = BIGQ;
|
ac = BIGQ;
|
||||||
|
@ -359,7 +359,7 @@ int32_t menutext_(int32_t x,int32_t y,int32_t s,int32_t p,char *t,int32_t bits)
|
||||||
ac = BIGCOMMA;
|
ac = BIGCOMMA;
|
||||||
break;
|
break;
|
||||||
case '!':
|
case '!':
|
||||||
ac = BIGX;
|
ac = BIGX_;
|
||||||
break;
|
break;
|
||||||
case '\'':
|
case '\'':
|
||||||
ac = BIGAPPOS;
|
ac = BIGAPPOS;
|
||||||
|
|
|
@ -620,7 +620,7 @@ static struct dynitem list[]=
|
||||||
{ "BIGALPHANUM", DVPTR(BIGALPHANUM), BIGALPHANUM__STATIC },
|
{ "BIGALPHANUM", DVPTR(BIGALPHANUM), BIGALPHANUM__STATIC },
|
||||||
{ "BIGPERIOD", DVPTR(BIGPERIOD), BIGPERIOD__STATIC },
|
{ "BIGPERIOD", DVPTR(BIGPERIOD), BIGPERIOD__STATIC },
|
||||||
{ "BIGCOMMA", DVPTR(BIGCOMMA), BIGCOMMA__STATIC },
|
{ "BIGCOMMA", DVPTR(BIGCOMMA), BIGCOMMA__STATIC },
|
||||||
{ "BIGX", DVPTR(BIGX), BIGX__STATIC },
|
{ "BIGX", DVPTR(BIGX_), BIGX__STATIC },
|
||||||
{ "BIGQ", DVPTR(BIGQ), BIGQ__STATIC },
|
{ "BIGQ", DVPTR(BIGQ), BIGQ__STATIC },
|
||||||
{ "BIGSEMI", DVPTR(BIGSEMI), BIGSEMI__STATIC },
|
{ "BIGSEMI", DVPTR(BIGSEMI), BIGSEMI__STATIC },
|
||||||
{ "BIGCOLIN", DVPTR(BIGCOLIN), BIGCOLIN__STATIC },
|
{ "BIGCOLIN", DVPTR(BIGCOLIN), BIGCOLIN__STATIC },
|
||||||
|
@ -1364,7 +1364,8 @@ int32_t ENDALPHANUM = ENDALPHANUM__STATIC;
|
||||||
int32_t BIGALPHANUM = BIGALPHANUM__STATIC;
|
int32_t BIGALPHANUM = BIGALPHANUM__STATIC;
|
||||||
int32_t BIGPERIOD = BIGPERIOD__STATIC;
|
int32_t BIGPERIOD = BIGPERIOD__STATIC;
|
||||||
int32_t BIGCOMMA = BIGCOMMA__STATIC;
|
int32_t BIGCOMMA = BIGCOMMA__STATIC;
|
||||||
int32_t BIGX = BIGX__STATIC;
|
// "BIGX" clashes on the Wii?
|
||||||
|
int32_t BIGX_ = BIGX__STATIC;
|
||||||
int32_t BIGQ = BIGQ__STATIC;
|
int32_t BIGQ = BIGQ__STATIC;
|
||||||
int32_t BIGSEMI = BIGSEMI__STATIC;
|
int32_t BIGSEMI = BIGSEMI__STATIC;
|
||||||
int32_t BIGCOLIN = BIGCOLIN__STATIC;
|
int32_t BIGCOLIN = BIGCOLIN__STATIC;
|
||||||
|
|
|
@ -1347,7 +1347,7 @@ extern int32_t ENDALPHANUM;
|
||||||
extern int32_t BIGALPHANUM;
|
extern int32_t BIGALPHANUM;
|
||||||
extern int32_t BIGPERIOD;
|
extern int32_t BIGPERIOD;
|
||||||
extern int32_t BIGCOMMA;
|
extern int32_t BIGCOMMA;
|
||||||
extern int32_t BIGX;
|
extern int32_t BIGX_;
|
||||||
extern int32_t BIGQ;
|
extern int32_t BIGQ;
|
||||||
extern int32_t BIGSEMI;
|
extern int32_t BIGSEMI;
|
||||||
extern int32_t BIGCOLIN;
|
extern int32_t BIGCOLIN;
|
||||||
|
|
Loading…
Reference in a new issue