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++.
Loading...
Searching...
No Matches
asw Namespace Reference

Namespaces

namespace  assets
 
namespace  color
 Color constants.
 
namespace  core
 
namespace  display
 
namespace  draw
 
namespace  easing
 
namespace  game
 
namespace  input
 
namespace  log
 
namespace  random
 
namespace  scene
 
namespace  sound
 
namespace  util
 

Classes

class  AssetManager
 Centralized asset manager with caching. More...
 
struct  Color
 RGBA color struct with 8-bit channels. More...
 
struct  ParticleConfig
 Configuration for particle emitters. More...
 
class  ParticleEmitter
 Particle emitter that integrates with the scene system. More...
 
class  Quad
 A 2D rectangle in space. More...
 
class  Vec2
 A 2D vector in space. More...
 
class  Vec3
 A 3D 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.
 

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

Typedef Documentation

◆ Font

using asw::Font = std::shared_ptr<TTF_Font>

Alias for a shared pointer to an TTF_Font.

Definition at line 34 of file types.h.

◆ Music

using asw::Music = std::shared_ptr<Mix_Music>

Alias for a shared pointer to an Mix_Music.

Definition at line 40 of file types.h.

◆ Renderer

using asw::Renderer = SDL_Renderer

Alias for a shared pointer to an SDL_Renderer.

Definition at line 43 of file types.h.

◆ Sample

using asw::Sample = std::shared_ptr<Mix_Chunk>

Alias for a shared pointer to an Mix_Chunk.

Definition at line 37 of file types.h.

◆ Texture

using asw::Texture = std::shared_ptr<SDL_Texture>

Alias for a shared pointer to an SDL_Texture.

Definition at line 31 of file types.h.

◆ Window

using asw::Window = SDL_Window

Alias for a shared pointer to an SDL_Window.

Definition at line 46 of file types.h.

Enumeration Type Documentation

◆ BlendMode

enum class asw::BlendMode
strong

Mappings from SDL_BLENDMODE to ASW BlendMode.

Enumerator
NONE 
BLEND 
BLEND_PREMULTIPLIED 
ADD 
ADD_PREMULTIPLIED 
MODULATE 
MULTIPLY 

Definition at line 20 of file types.h.