diff options
Diffstat (limited to 'Week1-Pacman/src/demo.h')
-rw-r--r-- | Week1-Pacman/src/demo.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Week1-Pacman/src/demo.h b/Week1-Pacman/src/demo.h index b276027..427a577 100644 --- a/Week1-Pacman/src/demo.h +++ b/Week1-Pacman/src/demo.h @@ -18,7 +18,14 @@ struct demo { void update_demo(struct demo* demo); void demo_rendercopy(struct demo* demo, SDL_Texture* texture, - SDL_Rect* s_rect, - SDL_Rect* d_rect); + const SDL_Rect* s_rect, + const SDL_Rect* d_rect); +void demo_rendercopy_ex(struct demo* demo, + SDL_Texture* texture, + const SDL_Rect* s_rect, + const SDL_Rect* d_rect, + const double angle, + const SDL_Point* center, + const SDL_RendererFlip flip); #endif // DEMO_H_ |