Skip to content
  • NY00123's avatar
    SW: Add the currently-unused interpso.* files, enabling interpolation · d3c0b9e1
    NY00123 authored and Evan Ramos's avatar Evan Ramos committed
    of sector objects as whole groups of points and sprite angles.
    
    The following goals are intended to be achieved with this code:
    - Make it easy to let the user toggle sector object interpolation.
    - Interpolate the angles of sprites carried by sector objects.
    - Use the right amount of samples for interpolating a sector object,
    depending on the players' locations, as done in the checks within
    DoSector. Unfortunately, modifying DoSector itself to
    unconditionally call MoveSectorObjects(sop, synctics) technically
    changes the way sectors move (in the logical sense), and was
    found out to make a specifically constructed user map unbeatable.
    - Make it easy to disable interpolation of a whole sector object in
    case of a need. This is especially important if such an object
    is controlled by a player in multiplayer, mostly since this
    isn't compatible with the way player prediction is working.
    d3c0b9e1