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,
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

View File

@ -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