- first stage of converting actor angles to float complete
Patched up everything so that it compiles without errors again. This only addresses code related to some compile error. A large portion of the angle code still uses angle_t and converts back and forth.
This commit is contained in:
parent
c64eee5b15
commit
671291227e
112 changed files with 1132 additions and 1232 deletions
|
|
@ -1532,3 +1532,18 @@ FArchive &operator<< (FArchive &arc, side_t *&side)
|
|||
{
|
||||
return arc.SerializePointer (sides, (BYTE **)&side, sizeof(*sides));
|
||||
}
|
||||
|
||||
FArchive &operator<<(FArchive &arc, DAngle &ang)
|
||||
{
|
||||
if (SaveVersion >= 4534)
|
||||
{
|
||||
arc << ang.Degrees;
|
||||
}
|
||||
else
|
||||
{
|
||||
angle_t an;
|
||||
arc << an;
|
||||
ang.Degrees = ANGLE2DBL(an);
|
||||
}
|
||||
return arc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue