• newspaz's avatar
    These changes correct the positioning of many in-game animations. · fcd9bfa7
    newspaz authored
    anim.h, anim.cpp
    *) Frame by frame X-offsets are being shifted two bits up now.
    *) The animation-wide X-offset has been removed because it does not exist.
    
    levelload.cpp, bonus.cpp
    *) Due to the changes in anim.cpp and anim.h the animation loading code had to be changed.
    
    bridge.cpp
    *) Bridges should ignore an animation's Y-offset if it is zero.
    
    event.h, event.cpp
    *) Added a getAnim method to make life easier.
    *) Events with certain behaviors need some fiddling with Y-offsets so they can be drawn correctly.
    
    playerframe.cpp
    *) The invincibility animation should also ignore Y-offsets.
    fcd9bfa7
bonus.cpp 13.7 KB