Arctic Engine
Designed to give you control and not take anything away.
Collaboration diagram for Advanced:

Classes

class  arctic::AudioDeviceInfo
 
struct  arctic::BmFontBinChars
 
struct  arctic::BmFontBinCommon
 
struct  arctic::BmFontBinHeader
 
struct  arctic::BmFontBinInfo
 
struct  arctic::BmFontBinKerningPair
 
struct  arctic::BmFontBinPages
 
class  arctic::Engine
 
class  arctic::GlBuffer
 
class  arctic::GlFramebuffer
 
class  arctic::GlProgram
 
class  arctic::GlState
 
class  arctic::GlTexture2D
 
struct  arctic::Glyph
 
class  arctic::HwSpriteInstance
 
struct  arctic::Letter
 
struct  arctic::MathTables
 
class  arctic::SoundInstance
 
class  arctic::SoundPlayer
 
struct  arctic::SpanSi32
 
class  arctic::SpriteInstance
 
class  arctic::UniformsTable
 

Enumerations

enum  BmFontBlockType {
  kBlockInfo = 1 , kBlockCommon = 2 , kBlockPages = 3 , kBlockChars = 4 ,
  kBlockKerningPairs = 5
}
 
enum  SoundDataFormat { kSoundDataWav , kSoundDataVorbis }
 

Functions

Enginearctic::GetEngine ()
 Returns a pointer to the Engine instance.
 
std::shared_ptr< SpriteInstancearctic::LoadTga (const Ui8 *data, const Si64 size, Vec2Si32 *out_origin=nullptr)
 Creates a sprite instance from *.tga file data.
 
std::shared_ptr< SoundInstancearctic::LoadWav (const Ui8 *data, const Si64 size)
 Creates a sound instance from the data.
 
bool arctic::PopInputMessage (InputMessage *out_message)
 Obtains the next available input message from the queue. More...
 
void arctic::PushInputMessage (const InputMessage &message)
 Pushes an input message to the queue as if it came from the user. More...
 
void arctic::SaveTga (std::shared_ptr< SpriteInstance > sprite, std::vector< Ui8 > *data)
 Creates a *.tga file data from a sprite instance.
 
void arctic::SetSoundListenerLocation (Transform3F location)
 
void arctic::SetSoundSourcePosition (const SoundHandle &handle, Vec3F position)
 
void arctic::SetSoundSourcePosition (Sound sound, Vec3F position)
 
SoundHandle arctic::StartSound (Sound sound, float volume)
 Starts playback of a sound. More...
 
SoundHandle arctic::StartSoundAtPosition (Sound sound, float volume, Vec3F position)
 
void arctic::StopSound (const SoundHandle &handle)
 
void arctic::StopSound (Sound sound)
 Stops playback of a sound. More...
 

Variables

Letter arctic::g_tiny_font_letters []
 

Detailed Description

Function Documentation

◆ PopInputMessage()

bool arctic::PopInputMessage ( InputMessage out_message)

Obtains the next available input message from the queue.

Parameters
[out]out_messageAddress to write the message to
Returns
true if the message is successfuly poped, false otherwise
Here is the call graph for this function:

◆ PushInputMessage()

void arctic::PushInputMessage ( const InputMessage message)

Pushes an input message to the queue as if it came from the user.

Parameters
[in]messageMessage to push

◆ StartSound()

SoundHandle arctic::StartSound ( Sound  sound,
float  volume 
)

Starts playback of a sound.

Parameters
soundSound to play
volumeVolume to play the sound at. 0.f is silent, 1.f is the original record level.

◆ StopSound()

void arctic::StopSound ( Sound  sound)

Stops playback of a sound.

Parameters
soundSound to play