Formatting

This commit is contained in:
zvon 2020-11-22 23:48:45 +01:00
parent a5bcb3f547
commit 346b8ce384
2 changed files with 12 additions and 7 deletions

View File

@ -37,8 +37,8 @@ protected:
}; };
SDLPPSCOPE bool infinityIntersection( const SDLPP::CollisionPolygon &infinite, SDLPPSCOPE bool infinityIntersection( const SDLPP::CollisionPolygon &infinite,
const SDLPP::CollisionPolygon &other ); const SDLPP::CollisionPolygon &other );
SDLPPSCOPE bool intersects( const SDLPP::CollisionPolygon &p1, SDLPPSCOPE bool intersects( const SDLPP::CollisionPolygon &p1,
const SDLPP::CollisionPolygon &p2 ); const SDLPP::CollisionPolygon &p2 );
} // namespace SDLPP } // namespace SDLPP
#endif #endif

View File

@ -10,7 +10,6 @@
#endif #endif
#endif #endif
#ifndef SDLPP_HPP_COMMON #ifndef SDLPP_HPP_COMMON
#define 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 );
SDLPPSCOPE bool init( uint32_t SDL_OPTIONS, int IMAGE_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 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 ); SDLPPSCOPE bool getSDLEvent( SDL_Event &e );
} // end of namespace SDLPP } // end of namespace SDLPP