Classes | |
| class | AnimatedImage |
| Represents an animated image with both frames and timing information. More... | |
| class | Color |
| Representation of a single RGBA color. More... | |
| class | CoordSys |
| Determines the drawing coordinates. More... | |
| class | FontGlyph |
| A structure to hold properties about a particular font glyph. More... | |
| class | FontProperties |
| A structure which holds properties about fonts. More... | |
| class | GameVideo |
| Manages all the video operations and serves as the API to the video engine. More... | |
| class | ImageDescriptor |
| The abstract base class for StillImage and AnimatedImage. More... | |
| class | Interpolator |
| class that lets you set up various kinds of interpolations. The basic way to use it is to set the interpolation method using SetMethod(), then call Start() with the values you want to interpolate between and the time to do it in. More... | |
| class | MenuWindow |
| Represents GUI menu windows and handles their operation. More... | |
| class | OptionBox |
| Represents rows and columns of options that the player may select. More... | |
| class | ParticleEffect |
| particle effect, basically one coherent "effect" like an explosion, or snow falling from the sky. Consists of one or more ParticleSystems. An example of using multiple systems to create one effect would be a campfire where you have fire + smoke + glowing embers. More... | |
| class | ParticleEffectDef |
| particle effect definition, just consists of each of its subsystems' definitions. This is basically just a struct, except it has a function to load the structure from a particle file (.lua/.hoa) More... | |
| class | ParticleEmitter |
| class | RenderedLine |
| A structure holding a single rendered line. More... | |
| class | RenderedString |
| A structure which a rendered string. More... | |
| class | ScreenRect |
| A structure used for storing rectangles with pixel coordinates This class is used in storing the current scissoring rectangles, viewport rectangles, etc. It is based on standard screen coordinates, where (0,0) is the top-left and the unit is 1 pixel (hence int32 coordinates instead of floats). More... | |
| class | StillImage |
| Represents a single or compound still image StillImages may be simple images or compound images. Compound images are created when you stitch together multiple smaller images to create a single large image (e.g. with TilesToObject() function). It's fine to think of compound images as just a single image. More... | |
| class | TextBox |
| Class for representing an invisible box for rendering text to. Although the video engine has an easy-to-use DrawText() function, for any non-trivial text display, the TextBox class must be used. This class provides a few things which aren't handled by DrawText(), namely word wrapping, and "gradual display", such as drawing one character at a time or fading each line of text in individually. More... | |
Namespaces | |
| namespace | private_video |
Enumerations | |
| enum | { VIDEO_STANDARD_RES_WIDTH = 1024, VIDEO_STANDARD_RES_HEIGHT = 768 } |
| Standard natural resolution sizes for allacrost images. More... | |
| enum | CursorState { VIDEO_CURSOR_STATE_INVALID = -1, VIDEO_CURSOR_STATE_HIDDEN = 0, VIDEO_CURSOR_STATE_VISIBLE = 1, VIDEO_CURSOR_STATE_BLINKING = 2, VIDEO_CURSOR_STATE_TOTAL = 3 } |
| For representing the visual state of the menu cursor. More... | |
| enum | EMITTER_MODE { EMITTER_MODE_INVALID = -1, EMITTER_MODE_LOOPING = 0, EMITTER_MODE_ONE_SHOT = 1, EMITTER_MODE_BURST = 2, EMITTER_MODE_ALWAYS = 3, EMITTER_MODE_TOTAL = 4 } |
| An enumeration of EMITTER modes for particles. More... | |
| enum | EMITTER_SHAPE { EMITTER_SHAPE_INVALID = -1, EMITTER_SHAPE_POINT = 0, EMITTER_SHAPE_LINE = 1, EMITTER_SHAPE_CIRCLE = 2, EMITTER_SHAPE_FILLED_CIRCLE = 3, EMITTER_SHAPE_FILLED_RECTANGLE = 4, EMITTER_SHAPE_TOTAL = 5 } |
| Shape of the emitter. A point emitter is the most simple- all particles come out from a point. Another example is a line emitter. This may be useful for a snow effect- you place the line at the top of the screen, and particles will be generated anywhere along that line. More... | |
| enum | EMITTER_SPIN { EMITTER_SPIN_INVALID = -1, EMITTER_SPIN_CLOCKWISE = 0, EMITTER_SPIN_COUNTERCLOCKWISE = 1, EMITTER_SPIN_RANDOM = 2, EMITTER_SPIN_TOTAL = 3 } |
| Specifies whether the orientation for particle rotations should be counterclockwise, clockwise, or random. More... | |
| enum | InterpolationMethod { VIDEO_INTERPOLATE_INVALID = -1, VIDEO_INTERPOLATE_EASE = 0, VIDEO_INTERPOLATE_SRCA = 1, VIDEO_INTERPOLATE_SRCB = 2, VIDEO_INTERPOLATE_FAST = 3, VIDEO_INTERPOLATE_SLOW = 4, VIDEO_INTERPOLATE_LINEAR = 5, VIDEO_INTERPOLATE_TOTAL = 6 } |
| Interpolation metods are various ways to create smoothed values between two numbers, e.g. linear interpolation. More... | |
| enum | OptionBoxEvent { VIDEO_OPTION_INVALID = -1, VIDEO_OPTION_SELECTION_CHANGE = 0, VIDEO_OPTION_CONFIRM = 1, VIDEO_OPTION_CANCEL = 2, VIDEO_OPTION_SWITCH = 3, VIDEO_OPTION_BOUNDS_UP = 4, VIDEO_OPTION_BOUNDS_DOWN = 5, VIDEO_OPTION_BOUNDS_LEFT = 6, VIDEO_OPTION_BOUNDS_RIGHT = 7, VIDEO_OPTION_TOTAL = 8 } |
| These are the types of events that an option box can generate. More... | |
| enum | OptionElementType { VIDEO_OPTION_ELEMENT_INVALID = -1, VIDEO_OPTION_ELEMENT_LEFT_ALIGN = 0, VIDEO_OPTION_ELEMENT_CENTER_ALIGN = 1, VIDEO_OPTION_ELEMENT_RIGHT_ALIGN = 2, VIDEO_OPTION_ELEMENT_POSITION = 3, VIDEO_OPTION_ELEMENT_IMAGE = 4, VIDEO_OPTION_ELEMENT_TEXT = 5, VIDEO_OPTION_ELEMENT_TOTAL = 6 } |
| Type identifiers for options, whether the option is text, an image, or an align flag. More... | |
| enum | SelectMode { VIDEO_SELECT_INVALID = -1, VIDEO_SELECT_SINGLE = 0, VIDEO_SELECT_DOUBLE = 1, VIDEO_SELECT_TOTAL = 2 } |
| These select modes control how confirming works when you choose options. More... | |
| enum | ShakeFalloff { VIDEO_FALLOFF_INVALID = -1, VIDEO_FALLOFF_NONE = 0, VIDEO_FALLOFF_EASE = 1, VIDEO_FALLOFF_LINEAR = 2, VIDEO_FALLOFF_GRADUAL = 3, VIDEO_FALLOFF_SUDDEN = 4, VIDEO_FALLOFF_TOTAL = 5 } |
| An enumeration of shake falloff modes.which controls how quickly the shaking dies down when you do a screen shake. More... | |
| enum | TEXT_DISPLAY_MODE { VIDEO_TEXT_INSTANT = 0, VIDEO_TEXT_CHAR = 1, VIDEO_TEXT_FADELINE = 2, VIDEO_TEXT_FADECHAR = 3, VIDEO_TEXT_REVEAL = 4, VIDEO_TEXT_TOTAL = 5 } |
These text display modes control how the text is rendered.
| |
| enum | TEXT_SHADOW_STYLE { VIDEO_TEXT_SHADOW_INVALID = -1, VIDEO_TEXT_SHADOW_NONE = 0, VIDEO_TEXT_SHADOW_DARK = 1, VIDEO_TEXT_SHADOW_LIGHT = 2, VIDEO_TEXT_SHADOW_BLACK = 3, VIDEO_TEXT_SHADOW_COLOR = 4, VIDEO_TEXT_SHADOW_INVCOLOR = 5, VIDEO_TEXT_SHADOW_TOTAL = 6 } |
| Styles for setting the type of text shadows. More... | |
| enum | VIDEO_DRAW_FLAGS { VIDEO_DRAW_FLAGS_INVALID = -1, VIDEO_X_LEFT = 1, VIDEO_X_CENTER = 2, VIDEO_X_RIGHT = 3, VIDEO_Y_TOP = 4, VIDEO_Y_CENTER = 5, VIDEO_Y_BOTTOM = 6, VIDEO_X_FLIP = 7, VIDEO_X_NOFLIP = 8, VIDEO_Y_FLIP = 9, VIDEO_Y_NOFLIP = 10, VIDEO_NO_BLEND = 11, VIDEO_BLEND = 12, VIDEO_BLEND_ADD = 13, VIDEO_DRAW_FLAGS_TOTAL = 14 } |
| Draw flags to control x and y alignment, flipping, and texture blending. More... | |
| enum | VIDEO_MENU_DISPLAY_MODE { VIDEO_MENU_INVALID = -1, VIDEO_MENU_INSTANT = 0, VIDEO_MENU_EXPAND_FROM_CENTER = 1, VIDEO_MENU_TOTAL = 2 } |
Menu display modes control how the menu window appears or disappears. The specific display modes include:
| |
| enum | VIDEO_MENU_STATE { VIDEO_MENU_STATE_INVALID = -1, VIDEO_MENU_STATE_SHOWN = 0, VIDEO_MENU_STATE_SHOWING = 1, VIDEO_MENU_STATE_HIDING = 2, VIDEO_MENU_STATE_HIDDEN = 3, VIDEO_MENU_STATE_TOTAL = 4 } |
These enums are used to tell the visiblity state of a menu window. The possible states and their meaning include:
| |
| enum | VIDEO_STENCIL_OP { VIDEO_STENCIL_OP_INVALID = -1, VIDEO_STENCIL_OP_ONE = 0, VIDEO_STENCIL_OP_ZERO = 1, VIDEO_STENCIL_OP_INCREASE = 2, VIDEO_STENCIL_OP_DECREASE = 3, VIDEO_STENCIL_OP_TOTAL = 4 } |
| Specifies the stencil operation to use and describes how stencil buffer is modified. More... | |
| enum | VIDEO_TARGET { VIDEO_TARGET_INVALID = -1, VIDEO_TARGET_SDL_WINDOW = 0, VIDEO_TARGET_QT_WIDGET = 1, VIDEO_TARGET_TOTAL = 2 } |
| This specifies whether the engine is to draw to an SDL window, a QT widget, etc. More... | |
| enum | WrapMode { VIDEO_WRAP_MODE_INVALID = -1, VIDEO_WRAP_MODE_NONE = 0, VIDEO_WRAP_MODE_STRAIGHT = 1, VIDEO_WRAP_MODE_SHIFTED = 2, VIDEO_WRAP_MODE_TOTAL = 3 } |
| Modes to control how the cursor wraps around when the cursor exceeds the list boundary. More... | |
Functions | |
| float | Lerp (float alpha, float initial, float final) |
| linearly interpolation, returns a value which is (alpha*100) percent between initial and final | |
| float | RandomFloat (float a, float b) |
| Creates a random float between a and b. | |
| void | RotatePoint (float &x, float &y, float angle) |
| Rotates a point (x,y) around the origin (0,0), by angle radians. | |
Variables | |
| const int32 | VIDEO_ANIMATION_FRAME_PERIOD = 10 |
| animation frame period: how many milliseconds 1 frame of animation lasts for | |
| const int32 | VIDEO_CURSOR_BLINK_RATE = 40 |
| The number of milliseconds that the menu cursor blinks when in the blinking state. | |
| bool | VIDEO_DEBUG |
| Determines whether the code in the hoa_video namespace should print. | |
| bool | VIDEO_DEBUG = false |
| Determines whether the code in the hoa_video namespace should print. | |
| bool | VIDEO_DEBUG |
| const float | VIDEO_FAST_TRANSFORM_POWER = 0.3f |
| const int32 | VIDEO_MENU_SCROLL_TIME = 200 |
| How many milliseconds it takes for a window to scroll in or out of view. | |
| const int32 | VIDEO_OPTION_SCROLL_TIME = 100 |
| The number of milliseconds it takes to scroll when the cursor goes past the end of an option box. | |
| const float | VIDEO_SLOW_TRANSFORM_POWER = 2.0f |
| const int32 | VIDEO_TIME_BETWEEN_SHAKE_UPDATES = 50 |
| GameVideo * | VideoManager |
| The singleton pointer for the engine, responsible for all video operations. | |
| GameVideo * | VideoManager = NULL |
| The singleton pointer for the engine, responsible for all video operations. | |
Menu Edge Bitflags | |
These flags control the presence/absence of each edge of the menu window. For example, if you want to show a menu with its left edge hidden, then you would pass in all the flags except VIDEO_MENU_EDGE_LEFT to the MenuWindow::Create() function, or alternatively you could pass the complement of that bit flag (~VIDEO_MENU_EDGE_LEFT). | |
| const int32 | VIDEO_MENU_EDGE_ALL = 0xF |
| const int32 | VIDEO_MENU_EDGE_BOTTOM = 0x8 |
| const int32 | VIDEO_MENU_EDGE_LEFT = 0x1 |
| const int32 | VIDEO_MENU_EDGE_RIGHT = 0x2 |
| const int32 | VIDEO_MENU_EDGE_TOP = 0x4 |
| anonymous enum |
For representing the visual state of the menu cursor.
An enumeration of EMITTER modes for particles.
***************************************************************************
Definition at line 79 of file particle_emitter.h.
Shape of the emitter. A point emitter is the most simple- all particles come out from a point. Another example is a line emitter. This may be useful for a snow effect- you place the line at the top of the screen, and particles will be generated anywhere along that line.
***************************************************************************
Definition at line 62 of file particle_emitter.h.
Specifies whether the orientation for particle rotations should be counterclockwise, clockwise, or random.
***************************************************************************
| EMITTER_SPIN_INVALID | |
| EMITTER_SPIN_CLOCKWISE | |
| EMITTER_SPIN_COUNTERCLOCKWISE | clockwise spin |
| EMITTER_SPIN_RANDOM | counterclockwise spin |
| EMITTER_SPIN_TOTAL | random spin |
Definition at line 43 of file particle_emitter.h.
Interpolation metods are various ways to create smoothed values between two numbers, e.g. linear interpolation.
***************************************************************************
Definition at line 34 of file interpolator.h.
These are the types of events that an option box can generate.
Type identifiers for options, whether the option is text, an image, or an align flag.
These select modes control how confirming works when you choose options.
An enumeration of shake falloff modes.which controls how quickly the shaking dies down when you do a screen shake.
***************************************************************************
These text display modes control how the text is rendered.
****************************************************************************
Styles for setting the type of text shadows.
Draw flags to control x and y alignment, flipping, and texture blending.
Menu display modes control how the menu window appears or disappears. The specific display modes include:
Definition at line 51 of file menu_window.h.
These enums are used to tell the visiblity state of a menu window. The possible states and their meaning include:
| VIDEO_MENU_STATE_INVALID | |
| VIDEO_MENU_STATE_SHOWN | |
| VIDEO_MENU_STATE_SHOWING | |
| VIDEO_MENU_STATE_HIDING | |
| VIDEO_MENU_STATE_HIDDEN | |
| VIDEO_MENU_STATE_TOTAL |
Definition at line 66 of file menu_window.h.
Specifies the stencil operation to use and describes how stencil buffer is modified.
This specifies whether the engine is to draw to an SDL window, a QT widget, etc.
| enum hoa_video::WrapMode |
Modes to control how the cursor wraps around when the cursor exceeds the list boundary.
| float hoa_video::Lerp | ( | float | alpha, | |
| float | initial, | |||
| float | final | |||
| ) |
linearly interpolation, returns a value which is (alpha*100) percent between initial and final
| alpha | controls the linear interpolation | |
| initial | initial value | |
| final | final value |
Definition at line 66 of file video.cpp.
Referenced by hoa_video::Interpolator::Update(), and hoa_video::private_video::ScreenFader::Update().
| float hoa_video::RandomFloat | ( | float | a, | |
| float | b | |||
| ) |
Creates a random float between a and b.
| a | lower bound of random selection | |
| b | upper bound of random selection |
Definition at line 76 of file video.cpp.
Referenced by hoa_video::private_video::ParticleSystem::_RespawnParticle(), hoa_video::private_video::ParticleSystem::_UpdateParticles(), hoa_video::GameVideo::_UpdateShake(), and hoa_map::private_map::EnemyZone::AddEnemy().
| void hoa_video::RotatePoint | ( | float & | x, | |
| float & | y, | |||
| float | angle | |||
| ) |
Rotates a point (x,y) around the origin (0,0), by angle radians.
| x | x coordinate of point to rotate | |
| y | y coordinate of point to rotate | |
| angle | amount to rotate by (in radians) |
Definition at line 98 of file video.cpp.
Referenced by hoa_video::private_video::ParticleSystem::_RespawnParticle(), and hoa_video::private_video::ParticleSystem::Draw().
| const int32 hoa_video::VIDEO_ANIMATION_FRAME_PERIOD = 10 |
animation frame period: how many milliseconds 1 frame of animation lasts for
Definition at line 114 of file video.h.
Referenced by hoa_video::GameVideo::Display().
| const int32 hoa_video::VIDEO_CURSOR_BLINK_RATE = 40 |
The number of milliseconds that the menu cursor blinks when in the blinking state.
Definition at line 31 of file option.h.
Referenced by hoa_video::OptionBox::Update().
| bool hoa_video::VIDEO_DEBUG = false |
Definition at line 42 of file video.cpp.
Referenced by hoa_video::GameVideo::_CacheGlyphs(), hoa_video::OptionBox::_ConstructOption(), hoa_video::GameVideo::_CreateBlankGLTexture(), hoa_video::private_video::ParticleManager::_CreateEffect(), hoa_video::GameVideo::_CreateTempFilename(), hoa_video::GameVideo::_CreateTexSheet(), hoa_video::GameVideo::_DEBUG_ShowTexSheet(), hoa_video::GameVideo::_DeleteImage(), hoa_video::ParticleEffect::_Draw(), hoa_video::GameVideo::_DrawElement(), hoa_video::GameVideo::_DrawStillImage(), hoa_video::GameVideo::_DrawTextHelper(), hoa_video::TextBox::_DrawTextLines(), hoa_video::GameVideo::_GenTexLine(), hoa_video::GameVideo::_GetTextShadowColor(), hoa_video::GameVideo::_InsertImageInTexSheet(), hoa_video::GameVideo::_LoadImage(), hoa_video::GameVideo::_LoadImageHelper(), hoa_video::GameVideo::_LoadMultiImage(), hoa_video::GameVideo::_LoadRawImageJpeg(), hoa_video::GameVideo::_LoadRawImagePng(), hoa_video::MenuWindow::_RecreateImage(), hoa_video::TextBox::_ReformatText(), hoa_video::GameVideo::_ReloadImagesToSheet(), hoa_video::GameVideo::_SaveJpeg(), hoa_video::ParticleEffect::_Update(), hoa_video::private_video::ParticleManager::AddEffect(), hoa_video::StillImage::AddImage(), hoa_video::private_video::GUISupervisor::AddMenuWindow(), hoa_video::GameVideo::ApplySettings(), hoa_video::GameVideo::CaptureScreen(), hoa_video::MenuWindow::Create(), hoa_video::private_video::GUISupervisor::DeleteMenuSkin(), hoa_video::StillImage::DisableGrayScale(), hoa_video::GameVideo::Display(), hoa_video::TextBox::Draw(), hoa_video::GameVideo::Draw(), hoa_video::private_video::ParticleManager::Draw(), hoa_video::MenuWindow::Draw(), hoa_video::private_video::GUISupervisor::DrawFPS(), hoa_video::GameVideo::DrawLight(), hoa_video::GameVideo::DrawText(), hoa_main::EnableDebugging(), hoa_video::GameVideo::EnableFog(), hoa_video::StillImage::EnableGrayScale(), hoa_video::OptionBox::EnableOption(), hoa_video::GameVideo::EnableSceneLighting(), hoa_video::GameVideo::GameVideo(), hoa_video::GameVideo::GetFontProperties(), hoa_video::GameVideo::GetImageInfo(), hoa_video::OptionBox::HandleConfirmKey(), hoa_video::MenuWindow::Hide(), hoa_video::GameVideo::LoadAnimatedImageFromNumberElements(), hoa_video::GameVideo::LoadMultiImageFromElementsSize(), hoa_video::GameVideo::LoadMultiImageFromNumberElements(), hoa_video::GameVideo::MakeScreenshot(), hoa_video::GameVideo::ReloadTextures(), hoa_video::private_video::GUISupervisor::RemoveMenuWindow(), hoa_video::GameVideo::RenderText(), hoa_video::GameVideo::SaveImage(), hoa_video::private_video::GUIElement::SetAlignment(), hoa_video::OptionBox::SetCursorState(), hoa_video::private_video::GUISupervisor::SetDefaultMenuSkin(), hoa_video::TextBox::SetDimensions(), hoa_video::MenuWindow::SetDisplayMode(), hoa_video::TextBox::SetDisplaySpeed(), hoa_video::TextBox::SetDisplayText(), hoa_video::GameVideo::SetDrawFlags(), hoa_video::OptionBox::SetFont(), hoa_video::GameVideo::SetFontShadowStyle(), hoa_video::GameVideo::SetFontShadowXOffset(), hoa_video::GameVideo::SetFontShadowYOffset(), hoa_video::GameVideo::SetGamma(), hoa_video::Interpolator::SetMethod(), hoa_video::OptionBox::SetOptionText(), hoa_video::GameVideo::SetResolution(), hoa_video::OptionBox::SetSelection(), hoa_video::GameVideo::SetTarget(), hoa_video::GameVideo::ShakeScreen(), hoa_video::MenuWindow::Show(), hoa_video::GameVideo::SingletonInitialize(), hoa_video::Interpolator::Start(), hoa_video::private_video::TEMP_LoadEffectHelper(), hoa_video::GameVideo::TilesToObject(), hoa_video::GameVideo::UnloadTextures(), hoa_video::private_video::ParticleManager::Update(), hoa_video::Interpolator::Update(), hoa_video::GameVideo::~GameVideo(), and hoa_video::private_video::GUISupervisor::~GUISupervisor().
| const float hoa_video::VIDEO_FAST_TRANSFORM_POWER = 0.3f |
Definition at line 28 of file interpolator.cpp.
Referenced by hoa_video::Interpolator::_FastTransform().
| const int32 hoa_video::VIDEO_MENU_EDGE_ALL = 0xF |
Definition at line 42 of file menu_window.h.
Referenced by hoa_shop::private_shop::ObjectListWindow::ObjectListWindow(), and hoa_shop::private_shop::ObjectSellListWindow::ObjectSellListWindow().
| const int32 hoa_video::VIDEO_MENU_EDGE_BOTTOM = 0x8 |
Definition at line 41 of file menu_window.h.
Referenced by hoa_video::MenuWindow::_RecreateImage(), hoa_shop::private_shop::ObjectListWindow::ObjectListWindow(), and hoa_shop::private_shop::ObjectSellListWindow::ObjectSellListWindow().
| const int32 hoa_video::VIDEO_MENU_EDGE_LEFT = 0x1 |
Definition at line 38 of file menu_window.h.
Referenced by hoa_video::MenuWindow::_RecreateImage(), hoa_shop::private_shop::ObjectListWindow::ObjectListWindow(), and hoa_shop::private_shop::ObjectSellListWindow::ObjectSellListWindow().
| const int32 hoa_video::VIDEO_MENU_EDGE_RIGHT = 0x2 |
Definition at line 39 of file menu_window.h.
Referenced by hoa_video::MenuWindow::_RecreateImage(), and hoa_shop::private_shop::ShopActionWindow::ShopActionWindow().
| const int32 hoa_video::VIDEO_MENU_EDGE_TOP = 0x4 |
Definition at line 40 of file menu_window.h.
Referenced by hoa_video::MenuWindow::_RecreateImage(), and hoa_shop::private_shop::ObjectInfoWindow::ObjectInfoWindow().
| const int32 hoa_video::VIDEO_MENU_SCROLL_TIME = 200 |
How many milliseconds it takes for a window to scroll in or out of view.
Definition at line 28 of file menu_window.h.
Referenced by hoa_video::MenuWindow::Update().
| const int32 hoa_video::VIDEO_OPTION_SCROLL_TIME = 100 |
The number of milliseconds it takes to scroll when the cursor goes past the end of an option box.
Definition at line 34 of file option.h.
Referenced by hoa_video::OptionBox::Draw(), and hoa_video::OptionBox::Update().
| const float hoa_video::VIDEO_SLOW_TRANSFORM_POWER = 2.0f |
Definition at line 25 of file interpolator.cpp.
Referenced by hoa_video::Interpolator::_SlowTransform().
| const int32 hoa_video::VIDEO_TIME_BETWEEN_SHAKE_UPDATES = 50 |
The singleton pointer for the engine, responsible for all video operations.
Definition at line 41 of file video.cpp.
Referenced by hoa_video::TextBox::_AddLine(), hoa_boot::BootMode::_AnimateLogo(), hoa_map::MapMode::_CalculateDrawInfo(), hoa_video::OptionBox::_ConstructOption(), hoa_video::GameVideo::_CreateBlankGLTexture(), hoa_video::ParticleEffect::_Draw(), hoa_battle::private_battle::ActionWindow::_DrawActionInformation(), hoa_battle::private_battle::ActionWindow::_DrawActionSelection(), hoa_boot::BootMode::_DrawBackgroundItems(), hoa_battle::BattleMode::_DrawBackgroundVisuals(), hoa_menu::MenuMode::_DrawBottomMenu(), hoa_battle::BattleMode::_DrawBottomMenu(), hoa_battle::private_battle::ActionWindow::_DrawTargetSelection(), hoa_video::TextBox::_DrawTextLines(), hoa_battle::BattleMode::_DrawTimeMeter(), hoa_boot::BootMode::_EndOpeningAnimation(), hoa_video::GameVideo::_GetBufferFromTexture(), hoa_menu::private_menu::InventoryWindow::_InitInventoryItems(), hoa_input::GameInput::_KeyEventHandler(), hoa_map::MapMode::_LoadTiles(), hoa_boot::BootMode::_OnBrightnessLeft(), hoa_boot::BootMode::_OnBrightnessRight(), hoa_boot::BootMode::_OnLoadGame(), hoa_boot::BootMode::_OnNewGame(), hoa_boot::BootMode::_OnResolution1024x768(), hoa_boot::BootMode::_OnResolution640x480(), hoa_boot::BootMode::_OnResolution800x600(), hoa_boot::BootMode::_OnVideoMode(), hoa_video::MenuWindow::_RecreateImage(), hoa_boot::BootMode::_SaveSettingsFile(), hoa_boot::BootMode::_SetResolution(), hoa_video::OptionBox::_SetupAlignment(), hoa_battle::BattleMode::_TEMP_LoadTestData(), hoa_menu::private_menu::EquipWindow::_UpdateEquipList(), hoa_boot::BootMode::_UpdateVideoOptions(), hoa_battle::private_battle::ActionWindow::ActionWindow(), hoa_battle::private_battle::BattleActor::BattleActor(), hoa_battle::private_battle::BattleCharacterActor::BattleCharacterActor(), hoa_battle::private_battle::BattleEnemyActor::BattleEnemyActor(), hoa_battle::BattleMode::BattleMode(), hoa_defs::BindEngineToLua(), hoa_boot::BootMode::BootMode(), hoa_video::private_video::GUIElement::CalculateAlignedRect(), hoa_video::private_video::GUIControl::CalculateAlignedRect(), hoa_video::OptionBox::ClearOptions(), hoa_video::private_video::ParticleSystem::Create(), hoa_video::MenuWindow::Destroy(), hoa_video::private_video::ParticleSystem::Destroy(), hoa_map::private_map::DialogueManager::DialogueManager(), hoa_video::StillImage::DisableGrayScale(), hoa_video::ImageDescriptor::Draw(), hoa_video::MenuWindow::Draw(), hoa_video::OptionBox::Draw(), hoa_video::private_video::ParticleManager::Draw(), hoa_video::private_video::ParticleSystem::Draw(), hoa_video::RenderedString::Draw(), hoa_video::TextBox::Draw(), hoa_shop::private_shop::ConfirmWindow::Draw(), hoa_shop::private_shop::ObjectInfoWindow::Draw(), hoa_shop::ShopMode::Draw(), hoa_quit::QuitMode::Draw(), hoa_pause::PauseMode::Draw(), hoa_menu::private_menu::EquipWindow::Draw(), hoa_menu::private_menu::SkillsWindow::Draw(), hoa_menu::private_menu::StatusWindow::Draw(), hoa_menu::private_menu::InventoryWindow::Draw(), hoa_menu::private_menu::CharacterWindow::Draw(), hoa_menu::MenuMode::Draw(), hoa_map::private_map::EnemySprite::Draw(), hoa_map::private_map::MapSprite::Draw(), hoa_map::private_map::VirtualSprite::Draw(), hoa_map::private_map::PhysicalObject::Draw(), hoa_map::private_map::DialogueManager::Draw(), hoa_map::MapMode::Draw(), hoa_boot::WelcomeScreen::Draw(), hoa_boot::BootMenu::Draw(), hoa_boot::CreditsScreen::Draw(), hoa_boot::BootMode::Draw(), hoa_battle::private_battle::FinishWindow::Draw(), hoa_battle::BattleMode::Draw(), hoa_video::private_video::GUISupervisor::DrawFPS(), hoa_map::private_map::MapObject::DrawHelper(), hoa_battle::private_battle::BattleCharacterActor::DrawPortrait(), hoa_video::GameVideo::DrawRectangle(), hoa_battle::private_battle::BattleEnemyActor::DrawSprite(), hoa_battle::private_battle::BattleCharacterActor::DrawSprite(), hoa_battle::private_battle::BattleEnemyActor::DrawStatus(), hoa_battle::private_battle::BattleCharacterActor::DrawStatus(), hoa_battle::private_battle::BattleActor::DrawTimePortrait(), hoa_video::StillImage::EnableGrayScale(), hoa_menu::private_menu::EquipWindow::EquipWindow(), hoa_global::GlobalCharacter::GlobalCharacter(), hoa_global::GlobalEnemy::GlobalEnemy(), hoa_editor::Grid::Grid(), hoa_boot::WelcomeScreen::Hide(), InitializeEngine(), hoa_editor::Grid::initializeGL(), hoa_video::ImageDescriptor::Load(), hoa_map::private_map::MapSprite::LoadStandardAnimations(), main(), hoa_editor::Grid::paintGL(), hoa_pause::PauseMode::PauseMode(), hoa_quit::QuitMode::QuitMode(), hoa_shop::ShopMode::Reset(), hoa_quit::QuitMode::Reset(), hoa_pause::PauseMode::Reset(), hoa_menu::MenuMode::Reset(), hoa_map::MapMode::Reset(), hoa_boot::BootMode::Reset(), hoa_battle::BattleMode::Reset(), hoa_editor::Grid::resizeGL(), hoa_video::ImageDescriptor::Save(), hoa_video::GameVideo::SaveImage(), hoa_menu::private_menu::CharacterWindow::SetCharacter(), hoa_map::private_map::VirtualSprite::SetFacePortrait(), hoa_video::OptionBox::SetFont(), hoa_global::GameGlobal::SetLocation(), hoa_shop::ShopMode::ShopMode(), hoa_boot::WelcomeScreen::Show(), hoa_boot::CreditsScreen::Show(), hoa_menu::private_menu::StatusWindow::StatusWindow(), hoa_editor::Tileset::Tileset(), hoa_video::AnimatedImage::Update(), hoa_video::MenuWindow::Update(), hoa_boot::BootMode::Update(), hoa_battle::private_battle::ActionWindow::~ActionWindow(), hoa_battle::private_battle::BattleActor::~BattleActor(), hoa_battle::private_battle::BattleCharacterActor::~BattleCharacterActor(), hoa_battle::private_battle::BattleEnemyActor::~BattleEnemyActor(), hoa_battle::BattleMode::~BattleMode(), hoa_boot::BootMode::~BootMode(), hoa_menu::private_menu::CharacterWindow::~CharacterWindow(), hoa_menu::private_menu::EquipWindow::~EquipWindow(), hoa_video::private_video::GUISupervisor::~GUISupervisor(), hoa_map::private_map::MapSprite::~MapSprite(), hoa_menu::MenuMode::~MenuMode(), hoa_pause::PauseMode::~PauseMode(), hoa_quit::QuitMode::~QuitMode(), hoa_video::RenderedString::~RenderedString(), hoa_shop::ShopMode::~ShopMode(), hoa_menu::private_menu::StatusWindow::~StatusWindow(), and hoa_map::private_map::VirtualSprite::~VirtualSprite().
| GameVideo* hoa_video::VideoManager = NULL |
The singleton pointer for the engine, responsible for all video operations.
Definition at line 41 of file video.cpp.
Referenced by hoa_video::TextBox::_AddLine(), hoa_boot::BootMode::_AnimateLogo(), hoa_map::MapMode::_CalculateDrawInfo(), hoa_video::OptionBox::_ConstructOption(), hoa_video::GameVideo::_CreateBlankGLTexture(), hoa_video::ParticleEffect::_Draw(), hoa_battle::private_battle::ActionWindow::_DrawActionInformation(), hoa_battle::private_battle::ActionWindow::_DrawActionSelection(), hoa_boot::BootMode::_DrawBackgroundItems(), hoa_battle::BattleMode::_DrawBackgroundVisuals(), hoa_battle::BattleMode::_DrawBottomMenu(), hoa_menu::MenuMode::_DrawBottomMenu(), hoa_battle::private_battle::ActionWindow::_DrawTargetSelection(), hoa_video::TextBox::_DrawTextLines(), hoa_battle::BattleMode::_DrawTimeMeter(), hoa_boot::BootMode::_EndOpeningAnimation(), hoa_video::GameVideo::_GetBufferFromTexture(), hoa_menu::private_menu::InventoryWindow::_InitInventoryItems(), hoa_input::GameInput::_KeyEventHandler(), hoa_map::MapMode::_LoadTiles(), hoa_boot::BootMode::_OnBrightnessLeft(), hoa_boot::BootMode::_OnBrightnessRight(), hoa_boot::BootMode::_OnLoadGame(), hoa_boot::BootMode::_OnNewGame(), hoa_boot::BootMode::_OnResolution1024x768(), hoa_boot::BootMode::_OnResolution640x480(), hoa_boot::BootMode::_OnResolution800x600(), hoa_boot::BootMode::_OnVideoMode(), hoa_video::MenuWindow::_RecreateImage(), hoa_boot::BootMode::_SaveSettingsFile(), hoa_boot::BootMode::_SetResolution(), hoa_video::OptionBox::_SetupAlignment(), hoa_battle::BattleMode::_TEMP_LoadTestData(), hoa_menu::private_menu::EquipWindow::_UpdateEquipList(), hoa_boot::BootMode::_UpdateVideoOptions(), hoa_battle::private_battle::ActionWindow::ActionWindow(), hoa_battle::private_battle::BattleActor::BattleActor(), hoa_battle::private_battle::BattleCharacterActor::BattleCharacterActor(), hoa_battle::private_battle::BattleEnemyActor::BattleEnemyActor(), hoa_battle::BattleMode::BattleMode(), hoa_defs::BindEngineToLua(), hoa_boot::BootMode::BootMode(), hoa_video::private_video::GUIControl::CalculateAlignedRect(), hoa_video::private_video::GUIElement::CalculateAlignedRect(), hoa_video::OptionBox::ClearOptions(), hoa_video::private_video::ParticleSystem::Create(), hoa_video::private_video::ParticleSystem::Destroy(), hoa_video::MenuWindow::Destroy(), hoa_map::private_map::DialogueManager::DialogueManager(), hoa_video::StillImage::DisableGrayScale(), hoa_battle::BattleMode::Draw(), hoa_battle::private_battle::FinishWindow::Draw(), hoa_boot::BootMode::Draw(), hoa_boot::CreditsScreen::Draw(), hoa_boot::BootMenu::Draw(), hoa_boot::WelcomeScreen::Draw(), hoa_map::MapMode::Draw(), hoa_map::private_map::DialogueManager::Draw(), hoa_map::private_map::PhysicalObject::Draw(), hoa_map::private_map::VirtualSprite::Draw(), hoa_map::private_map::MapSprite::Draw(), hoa_map::private_map::EnemySprite::Draw(), hoa_menu::MenuMode::Draw(), hoa_menu::private_menu::CharacterWindow::Draw(), hoa_menu::private_menu::InventoryWindow::Draw(), hoa_menu::private_menu::StatusWindow::Draw(), hoa_menu::private_menu::SkillsWindow::Draw(), hoa_menu::private_menu::EquipWindow::Draw(), hoa_pause::PauseMode::Draw(), hoa_quit::QuitMode::Draw(), hoa_shop::ShopMode::Draw(), hoa_shop::private_shop::ObjectInfoWindow::Draw(), hoa_shop::private_shop::ConfirmWindow::Draw(), hoa_video::TextBox::Draw(), hoa_video::RenderedString::Draw(), hoa_video::private_video::ParticleSystem::Draw(), hoa_video::private_video::ParticleManager::Draw(), hoa_video::OptionBox::Draw(), hoa_video::MenuWindow::Draw(), hoa_video::ImageDescriptor::Draw(), hoa_video::private_video::GUISupervisor::DrawFPS(), hoa_map::private_map::MapObject::DrawHelper(), hoa_battle::private_battle::BattleCharacterActor::DrawPortrait(), hoa_video::GameVideo::DrawRectangle(), hoa_battle::private_battle::BattleCharacterActor::DrawSprite(), hoa_battle::private_battle::BattleEnemyActor::DrawSprite(), hoa_battle::private_battle::BattleCharacterActor::DrawStatus(), hoa_battle::private_battle::BattleEnemyActor::DrawStatus(), hoa_battle::private_battle::BattleActor::DrawTimePortrait(), hoa_video::StillImage::EnableGrayScale(), hoa_menu::private_menu::EquipWindow::EquipWindow(), hoa_global::GlobalCharacter::GlobalCharacter(), hoa_global::GlobalEnemy::GlobalEnemy(), hoa_editor::Grid::Grid(), hoa_boot::WelcomeScreen::Hide(), InitializeEngine(), hoa_editor::Grid::initializeGL(), hoa_video::ImageDescriptor::Load(), hoa_map::private_map::MapSprite::LoadStandardAnimations(), main(), hoa_editor::Grid::paintGL(), hoa_pause::PauseMode::PauseMode(), hoa_quit::QuitMode::QuitMode(), hoa_battle::BattleMode::Reset(), hoa_boot::BootMode::Reset(), hoa_map::MapMode::Reset(), hoa_menu::MenuMode::Reset(), hoa_pause::PauseMode::Reset(), hoa_quit::QuitMode::Reset(), hoa_shop::ShopMode::Reset(), hoa_editor::Grid::resizeGL(), hoa_video::ImageDescriptor::Save(), hoa_video::GameVideo::SaveImage(), hoa_menu::private_menu::CharacterWindow::SetCharacter(), hoa_map::private_map::VirtualSprite::SetFacePortrait(), hoa_video::OptionBox::SetFont(), hoa_global::GameGlobal::SetLocation(), hoa_shop::ShopMode::ShopMode(), hoa_boot::CreditsScreen::Show(), hoa_boot::WelcomeScreen::Show(), hoa_menu::private_menu::StatusWindow::StatusWindow(), hoa_editor::Tileset::Tileset(), hoa_boot::BootMode::Update(), hoa_video::MenuWindow::Update(), hoa_video::AnimatedImage::Update(), hoa_battle::private_battle::ActionWindow::~ActionWindow(), hoa_battle::private_battle::BattleActor::~BattleActor(), hoa_battle::private_battle::BattleCharacterActor::~BattleCharacterActor(), hoa_battle::private_battle::BattleEnemyActor::~BattleEnemyActor(), hoa_battle::BattleMode::~BattleMode(), hoa_boot::BootMode::~BootMode(), hoa_menu::private_menu::CharacterWindow::~CharacterWindow(), hoa_menu::private_menu::EquipWindow::~EquipWindow(), hoa_video::private_video::GUISupervisor::~GUISupervisor(), hoa_map::private_map::MapSprite::~MapSprite(), hoa_menu::MenuMode::~MenuMode(), hoa_pause::PauseMode::~PauseMode(), hoa_quit::QuitMode::~QuitMode(), hoa_video::RenderedString::~RenderedString(), hoa_shop::ShopMode::~ShopMode(), hoa_menu::private_menu::StatusWindow::~StatusWindow(), and hoa_map::private_map::VirtualSprite::~VirtualSprite().
1.5.1