ReC98/game/coords.hpp

18 lines
451 B
C++

#include "th01/math/subpixel.hpp"
// Coordinates that change from subpixel space to pixel space within the same
// variable...
// ZUN bloat: Just use separate variables.
union space_changing_pixel_t {
Subpixel sp;
pixel_t pixel;
};
// Points that change from subpixel screen space to pixel screen space within
// the same variable...
// ZUN bloat: Just use separate variables.
union space_changing_point_t {
SPPoint sp;
screen_point_t pixel;
};