diff --git a/sdlpp/sdlpp_collision.hpp b/sdlpp/sdlpp_collision.hpp index 4edca47..a32c431 100644 --- a/sdlpp/sdlpp_collision.hpp +++ b/sdlpp/sdlpp_collision.hpp @@ -37,8 +37,8 @@ protected: }; SDLPPSCOPE bool infinityIntersection( const SDLPP::CollisionPolygon &infinite, - const SDLPP::CollisionPolygon &other ); + const SDLPP::CollisionPolygon &other ); SDLPPSCOPE bool intersects( const SDLPP::CollisionPolygon &p1, - const SDLPP::CollisionPolygon &p2 ); + const SDLPP::CollisionPolygon &p2 ); } // namespace SDLPP #endif diff --git a/sdlpp/sdlpp_common.hpp b/sdlpp/sdlpp_common.hpp index 451141f..f3b8a27 100644 --- a/sdlpp/sdlpp_common.hpp +++ b/sdlpp/sdlpp_common.hpp @@ -6,11 +6,10 @@ #define SDLPPSCOPE __declspec( dllimport ) #endif #else -#define SDLPPSCOPE +#define SDLPPSCOPE #endif #endif - #ifndef SDLPP_HPP_COMMON #define SDLPP_HPP_COMMON @@ -41,10 +40,16 @@ SDLPPSCOPE bool init(); SDLPPSCOPE bool init( uint32_t SDL_OPTIONS ); SDLPPSCOPE bool init( uint32_t SDL_OPTIONS, int IMAGE_OPTIONS ); -SDLPPSCOPE std::tuple< int, int, int, int > getColorsHEX( const std::string &color ); +SDLPPSCOPE std::tuple< int, int, int, int > +getColorsHEX( const std::string &color ); + SDLPPSCOPE SDL_Color getSDLColorHEX( const std::string &color ); -SDLPPSCOPE std::tuple< int, int, int, int > getColorsSDLColor( const SDL_Color &color ); -SDLPPSCOPE SDL_Color getSDLColorTuple( const std::tuple< int, int, int, int > &tuple ); + +SDLPPSCOPE std::tuple< int, int, int, int > +getColorsSDLColor( const SDL_Color &color ); + +SDLPPSCOPE SDL_Color +getSDLColorTuple( const std::tuple< int, int, int, int > &tuple ); SDLPPSCOPE bool getSDLEvent( SDL_Event &e ); } // end of namespace SDLPP