mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 02:01:31 +00:00
- renamed walltype::pos as preparation for refactoring.
no functional changes here
This commit is contained in:
parent
1d8a11601d
commit
89ef81da55
53 changed files with 433 additions and 433 deletions
|
@ -50,8 +50,8 @@ double Get(int index, DCoreActor* actor, int type)
|
|||
case Interp_Sect_CeilingPanX: return sector[index].ceilingxpan_;
|
||||
case Interp_Sect_CeilingPanY: return sector[index].ceilingypan_;
|
||||
|
||||
case Interp_Wall_X: return wall[index].pos.X;
|
||||
case Interp_Wall_Y: return wall[index].pos.Y;
|
||||
case Interp_Wall_X: return wall[index].wall_int_pos.X;
|
||||
case Interp_Wall_Y: return wall[index].wall_int_pos.Y;
|
||||
case Interp_Wall_PanX: return wall[index].xpan_;
|
||||
case Interp_Wall_PanY: return wall[index].ypan_;
|
||||
|
||||
|
@ -74,8 +74,8 @@ void Set(int index, DCoreActor* actor, int type, double val)
|
|||
case Interp_Sect_CeilingPanX: sector[index].ceilingxpan_ = float(val); break;
|
||||
case Interp_Sect_CeilingPanY: sector[index].ceilingypan_ = float(val); break;
|
||||
|
||||
case Interp_Wall_X: old = wall[index].pos.X; wall[index].pos.X = xs_CRoundToInt(val); if (wall[index].pos.X != old) wall[index].moved(); break;
|
||||
case Interp_Wall_Y: old = wall[index].pos.Y; wall[index].pos.Y = xs_CRoundToInt(val); if (wall[index].pos.Y != old) wall[index].moved(); break;
|
||||
case Interp_Wall_X: old = wall[index].wall_int_pos.X; wall[index].wall_int_pos.X = xs_CRoundToInt(val); if (wall[index].wall_int_pos.X != old) wall[index].moved(); break;
|
||||
case Interp_Wall_Y: old = wall[index].wall_int_pos.Y; wall[index].wall_int_pos.Y = xs_CRoundToInt(val); if (wall[index].wall_int_pos.Y != old) wall[index].moved(); break;
|
||||
case Interp_Wall_PanX: wall[index].xpan_ = float(val); break;
|
||||
case Interp_Wall_PanY: wall[index].ypan_ = float(val); break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue