- added polyobject serializer.

- added sanity checks to prevent a savegame from being loaded with an incompatible map
- refactored a few things to simplify serialization.
- started work on main level serializer function.
This commit is contained in:
Christoph Oelckers 2016-09-20 09:11:13 +02:00
commit daf43f9d35
13 changed files with 221 additions and 200 deletions

View file

@ -220,8 +220,8 @@ void DScroller::Tick ()
// [RH] Don't actually carry anything here. That happens later.
case EScroll::sc_carry:
level.Scrolls[m_Affectee].Scroll.X += dx;
level.Scrolls[m_Affectee].Scroll.Y += dy;
level.Scrolls[m_Affectee].X += dx;
level.Scrolls[m_Affectee].Y += dy;
break;
case EScroll::sc_carry_ceiling: // to be added later