mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 22:51:50 +00:00
- Exhumed: renamed disassembly variable.
This commit is contained in:
parent
f7a475aa94
commit
d82b7ff51c
1 changed files with 6 additions and 6 deletions
|
@ -126,7 +126,7 @@ struct slideData
|
||||||
short nChannel;
|
short nChannel;
|
||||||
short field_2a;
|
short field_2a;
|
||||||
short field_4a;
|
short field_4a;
|
||||||
short field_6a;
|
short nSprite;
|
||||||
short field_8a;
|
short field_8a;
|
||||||
|
|
||||||
int field_0;
|
int field_0;
|
||||||
|
@ -328,7 +328,7 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, slideData& w, slid
|
||||||
("channel", w.nChannel)
|
("channel", w.nChannel)
|
||||||
("at2a", w.field_2a)
|
("at2a", w.field_2a)
|
||||||
("at4a", w.field_4a)
|
("at4a", w.field_4a)
|
||||||
("at6a", w.field_6a)
|
("at6a", w.nSprite)
|
||||||
("at8a", w.field_8a)
|
("at8a", w.field_8a)
|
||||||
.EndObject();
|
.EndObject();
|
||||||
}
|
}
|
||||||
|
@ -1112,7 +1112,7 @@ int BuildSlide(int nChannel, int nStartWall, int nWall1, int ecx, int nWall2, in
|
||||||
|
|
||||||
int nSprite = insertsprite(nSector, 899);
|
int nSprite = insertsprite(nSector, 899);
|
||||||
|
|
||||||
SlideData[nSlide].field_6a = nSprite;
|
SlideData[nSlide].nSprite = nSprite;
|
||||||
sprite[nSprite].cstat = 0x8000;
|
sprite[nSprite].cstat = 0x8000;
|
||||||
sprite[nSprite].x = wall[nStartWall].x;
|
sprite[nSprite].x = wall[nStartWall].x;
|
||||||
sprite[nSprite].y = wall[nStartWall].y;
|
sprite[nSprite].y = wall[nStartWall].y;
|
||||||
|
@ -1155,7 +1155,7 @@ void FuncSlide(int a, int, int nRun)
|
||||||
|
|
||||||
if (SlideData[nSlide].field_8a != sRunChannels[nChannel].c)
|
if (SlideData[nSlide].field_8a != sRunChannels[nChannel].c)
|
||||||
{
|
{
|
||||||
D3PlayFX(StaticSound[kSound23], SlideData[nSlide].field_6a);
|
D3PlayFX(StaticSound[kSound23], SlideData[nSlide].nSprite);
|
||||||
SlideData[nSlide].field_8a = sRunChannels[nChannel].c;
|
SlideData[nSlide].field_8a = sRunChannels[nChannel].c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1181,7 +1181,7 @@ void FuncSlide(int a, int, int nRun)
|
||||||
int var_24 = nSeekB;
|
int var_24 = nSeekB;
|
||||||
|
|
||||||
dragpoint(SlideData[nSlide].field_4, x, y, 0);
|
dragpoint(SlideData[nSlide].field_4, x, y, 0);
|
||||||
movesprite(SlideData[nSlide].field_6a, var_34 << 14, var_2C << 14, 0, 0, 0, CLIPMASK1);
|
movesprite(SlideData[nSlide].nSprite, var_34 << 14, var_2C << 14, 0, 0, 0, CLIPMASK1);
|
||||||
|
|
||||||
if (var_34 == 0)
|
if (var_34 == 0)
|
||||||
{
|
{
|
||||||
|
@ -1284,7 +1284,7 @@ void FuncSlide(int a, int, int nRun)
|
||||||
runlist_SubRunRec(SlideData[nSlide].field_4a);
|
runlist_SubRunRec(SlideData[nSlide].field_4a);
|
||||||
|
|
||||||
SlideData[nSlide].field_4a = -1;
|
SlideData[nSlide].field_4a = -1;
|
||||||
D3PlayFX(StaticSound[nStopSound], SlideData[nSlide].field_6a);
|
D3PlayFX(StaticSound[nStopSound], SlideData[nSlide].nSprite);
|
||||||
|
|
||||||
runlist_ReadyChannel(nChannel);
|
runlist_ReadyChannel(nChannel);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue