Arctic Engine
Designed to give you control and not take anything away.
|
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 | |
Engine * | arctic::GetEngine () |
Returns a pointer to the Engine instance. | |
std::shared_ptr< SpriteInstance > | arctic::LoadTga (const Ui8 *data, const Si64 size, Vec2Si32 *out_origin=nullptr) |
Creates a sprite instance from *.tga file data. | |
std::shared_ptr< SoundInstance > | arctic::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 [] |
bool arctic::PopInputMessage | ( | InputMessage * | out_message | ) |
Obtains the next available input message from the queue.
[out] | out_message | Address to write the message to |
void arctic::PushInputMessage | ( | const InputMessage & | message | ) |
Pushes an input message to the queue as if it came from the user.
[in] | message | Message to push |
SoundHandle arctic::StartSound | ( | Sound | sound, |
float | volume | ||
) |
Starts playback of a sound.
sound | Sound to play |
volume | Volume to play the sound at. 0.f is silent, 1.f is the original record level. |