ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
|
Namespaces | |
namespace | assets |
namespace | core |
namespace | display |
namespace | draw |
namespace | game |
namespace | input |
namespace | random |
namespace | scene |
namespace | sound |
namespace | util |
Classes | |
class | Quad |
A 2D rectangle in space. More... | |
class | Vec2 |
A 2D vector in space. More... | |
Typedefs | |
using | Texture = std::shared_ptr<SDL_Texture> |
Alias for a shared pointer to an SDL_Texture. | |
using | Font = std::shared_ptr<TTF_Font> |
Alias for a shared pointer to an TTF_Font. | |
using | Sample = std::shared_ptr<Mix_Chunk> |
Alias for a shared pointer to an Mix_Chunk. | |
using | Music = std::shared_ptr<Mix_Music> |
Alias for a shared pointer to an Mix_Music. | |
using | Renderer = SDL_Renderer |
Alias for a shared pointer to an SDL_Renderer. | |
using | Window = SDL_Window |
Alias for a shared pointer to an SDL_Window. | |
using | Color = SDL_Color |
Alias for an SDL_Color. | |
Enumerations | |
enum class | BlendMode { NONE = SDL_BLENDMODE_NONE , BLEND = SDL_BLENDMODE_BLEND , BLEND_PREMULTIPLIED = SDL_BLENDMODE_BLEND_PREMULTIPLIED , ADD = SDL_BLENDMODE_ADD , ADD_PREMULTIPLIED = SDL_BLENDMODE_ADD_PREMULTIPLIED , MODULATE = SDL_BLENDMODE_MOD , MULTIPLY = SDL_BLENDMODE_MUL } |
Mappings from SDL_BLENDMODE to ASW BlendMode. More... | |
using asw::Color = SDL_Color |
using asw::Font = std::shared_ptr<TTF_Font> |
using asw::Music = std::shared_ptr<Mix_Music> |
using asw::Renderer = SDL_Renderer |
using asw::Sample = std::shared_ptr<Mix_Chunk> |
using asw::Texture = std::shared_ptr<SDL_Texture> |
using asw::Window = SDL_Window |
|
strong |