From d314b8dd07f72d94724c3902258dfb2641d3435c Mon Sep 17 00:00:00 2001 From: Cerapter Date: Sun, 19 Aug 2018 09:37:34 +0200 Subject: Moved includes out of the CPP files into the header files. Reimplementation of `30a87d23c9c63bed072b3460e7482075dc530b2c` from the old origin. --- aocharmovie.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'aocharmovie.h') diff --git a/aocharmovie.h b/aocharmovie.h index 8bc0bc18..b26bada5 100644 --- a/aocharmovie.h +++ b/aocharmovie.h @@ -4,6 +4,8 @@ #include #include #include +#include +#include class AOApplication; -- cgit From 8138068d51cbff955de457c242c391bec5d0f163 Mon Sep 17 00:00:00 2001 From: Cerapter Date: Sun, 30 Sep 2018 00:11:42 +0200 Subject: I totally forgot this, it seems. --- aocharmovie.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'aocharmovie.h') diff --git a/aocharmovie.h b/aocharmovie.h index b26bada5..7ef7da3f 100644 --- a/aocharmovie.h +++ b/aocharmovie.h @@ -25,6 +25,8 @@ public: void stop(); + void move(int ax, int ay); + void combo_resize(int w, int h); private: @@ -36,6 +38,10 @@ private: const int time_mod = 62; + // These are the X and Y values before they are fixed based on the sprite's width. + int x = 0; + int y = 0; + bool m_flipped = false; bool play_once = true; -- cgit