diff options
Diffstat (limited to 'src/renderer.h')
-rw-r--r-- | src/renderer.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/renderer.h b/src/renderer.h index 0c38e6d..ce373df 100644 --- a/src/renderer.h +++ b/src/renderer.h @@ -49,12 +49,16 @@ typedef enum { typedef struct { SDL_Texture *texture; float aspect_ratio; + + r_xsection_type last_type; + float last_frac; + int64_t frame_index; } r_xsection; void r_xsection_create(r_xsection *xsection); void r_xsection_destroy(r_xsection *xsection); int r_xsection_update(r_window *rw, r_xsection *xsection, - phy_field_info *fi, float *field, + phy_field_info *fi, float *field, int64_t frame_index, r_xsection_type type, float frac); void r_xsection_draw(r_window *rw, r_xsection *xsection, float x, float y, float w, float h); |