Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
OlympeEffectSystem::Implementation Struct Reference
+ Collaboration diagram for OlympeEffectSystem::Implementation:

Public Member Functions

 Implementation ()
 
void UpdateOrbs (float deltaTime)
 
void RenderBackground ()
 
void RenderPlasmaOrbs ()
 
void ApplyGaussianBlur ()
 
void ApplyBloom ()
 
void BounceOffEdges (GlowOrb &orb)
 
SDL_Color GeneratePlasmaColor (int index)
 

Public Attributes

SDL_TexturebackgroundTexture
 
SDL_TextureplasmaTexture
 
SDL_TextureblurTexture1
 
SDL_TextureblurTexture2
 
SDL_TexturebloomTexture
 
SDL_TexturelogoTexture
 
GlowOrb orbs [NUM_ORBS]
 
int width
 
int height
 

Detailed Description

Definition at line 58 of file OlympeEffectSystem.cpp.

Constructor & Destructor Documentation

◆ Implementation()

OlympeEffectSystem::Implementation::Implementation ( )
inline

Definition at line 76 of file OlympeEffectSystem.cpp.

Member Function Documentation

◆ ApplyBloom()

void OlympeEffectSystem::Implementation::ApplyBloom ( )

Definition at line 353 of file OlympeEffectSystem.cpp.

References BLOOM_ALPHA_LOGO, GetComponentTypeID_Static(), and GameEngine::renderer.

Referenced by OlympeEffectSystem::Process().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyGaussianBlur()

void OlympeEffectSystem::Implementation::ApplyGaussianBlur ( )

Definition at line 301 of file OlympeEffectSystem.cpp.

References BLUR_ALPHA_CENTER, BLUR_ALPHA_OFFSET, BLUR_PASSES, GetComponentTypeID_Static(), and GameEngine::renderer.

+ Here is the call graph for this function:

◆ BounceOffEdges()

void OlympeEffectSystem::Implementation::BounceOffEdges ( GlowOrb orb)

Definition at line 211 of file OlympeEffectSystem.cpp.

References GetComponentTypeID_Static().

+ Here is the call graph for this function:

◆ GeneratePlasmaColor()

SDL_Color OlympeEffectSystem::Implementation::GeneratePlasmaColor ( int  index)

Definition at line 177 of file OlympeEffectSystem.cpp.

References GetComponentTypeID_Static(), and NUM_ORBS.

Referenced by OlympeEffectSystem::Initialize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RenderBackground()

void OlympeEffectSystem::Implementation::RenderBackground ( )

Definition at line 241 of file OlympeEffectSystem.cpp.

References GetComponentTypeID_Static(), and GameEngine::renderer.

Referenced by OlympeEffectSystem::Process().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RenderPlasmaOrbs()

void OlympeEffectSystem::Implementation::RenderPlasmaOrbs ( )

Definition at line 263 of file OlympeEffectSystem.cpp.

References Draw_Circle(), GetComponentTypeID_Static(), NUM_ORBS, and GameEngine::renderer.

+ Here is the call graph for this function:

◆ UpdateOrbs()

void OlympeEffectSystem::Implementation::UpdateOrbs ( float  deltaTime)

Definition at line 190 of file OlympeEffectSystem.cpp.

References GetComponentTypeID_Static(), M_PI, NUM_ORBS, ORB_BASE_RADIUS, GlowOrb::position, and Vector::x.

Referenced by OlympeEffectSystem::Process().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ backgroundTexture

SDL_Texture* OlympeEffectSystem::Implementation::backgroundTexture

◆ bloomTexture

SDL_Texture* OlympeEffectSystem::Implementation::bloomTexture

◆ blurTexture1

SDL_Texture* OlympeEffectSystem::Implementation::blurTexture1

◆ blurTexture2

SDL_Texture* OlympeEffectSystem::Implementation::blurTexture2

◆ height

int OlympeEffectSystem::Implementation::height

◆ logoTexture

SDL_Texture* OlympeEffectSystem::Implementation::logoTexture

Definition at line 66 of file OlympeEffectSystem.cpp.

Referenced by OlympeEffectSystem::Initialize().

◆ orbs

GlowOrb OlympeEffectSystem::Implementation::orbs[NUM_ORBS]

Definition at line 69 of file OlympeEffectSystem.cpp.

Referenced by OlympeEffectSystem::Initialize().

◆ plasmaTexture

SDL_Texture* OlympeEffectSystem::Implementation::plasmaTexture

◆ width

int OlympeEffectSystem::Implementation::width

The documentation for this struct was generated from the following file: