Classes | |
| class | AnimationFrame |
| Represents a single frame in an animated image. More... | |
| class | Context |
| Retains the current graphics context. More... | |
| class | EffectParameters |
| when we change a property of an effect, it affects all of the systems contained within that effect. So, this structure contains any relevant parameters that particle systems need to know about. More... | |
| class | FixedImageNode |
| Used by the fixed-size texture manager to keep track of which blocks are owned by which images. More... | |
| class | FixedTexMemMgr |
| Used to manage textures which are designated for fixed image sizes. More... | |
| class | GUIControl |
| GUIControl is a type of GUI element, specifically for controls. This is for functions that controls have, but menu windows don't have, such as the SetOwner() function. More... | |
| class | GUIElement |
| An abstract base class for all GUI elements (windows + controls). This class contains basic functions such as Draw(), Update(), etc. More... | |
| class | GUISupervisor |
| A helper class to the video engine to manage all of the GUI functionality. More... | |
| class | Image |
| Represents a single image that is loaded and stored in a texture sheet. All the existing images will be stored in a map at the video engine. That way they can be shared among objects. More... | |
| class | ImageElement |
| Represents a single image within an ImageDescriptor object. Compound images are formed of multiple ImageElements. More... | |
| class | ImageLoadInfo |
| A container to store information about an image being loaded. This class is used to pass information between image loader code and OpenGL texture creation. It can also be used sometimes as a temporary holder for pixel data. More... | |
| class | MenuSkin |
| A container class for a menu skin, consisting of border images and an interior. More... | |
| struct | MultiImageInfo |
| Temporal struct for holding a multiimage information. More... | |
| class | Option |
| Represents one particular option in a list and all its elements. More... | |
| class | OptionCellBounds |
| Holds the bound coordinates for a particular "cell" in an option box. More... | |
| class | OptionElement |
| A class which encapsulates the various contents of an option. More... | |
| class | Particle |
| this is the structure we use to represent a particle More... | |
| class | ParticleKeyframe |
| Keyframes, consist of a _time, plus various properties. These are used to specify how the properties of a particle vary over time. For example, in most systems, we'll want particles to fade out over their lifetime, so this could be done by creating 2 keyframes, where the alpha component of the 2nd keyframe's _color is zero. More... | |
| class | ParticleManager |
| ParticleManager, used internally by video engine to store/update/draw all particle effects. More... | |
| class | ParticleSystem |
| class | ParticleSystemDef |
| class | ParticleTexCoord |
| this is used in texture coordinate array for DrawArrays() Unless animated particles are used, this can be generated just once More... | |
| class | ParticleVertex |
| this is used in the vertex array for DrawArrays(). Every time the particle system is rendered, we need to iterate through all the particles in the system, and use the position, size, and rotation to generate 4 ParticleVertex's. This is pretty expensive, but unfortunately it's necessary since the positions change every frame. More... | |
| class | ScreenFader |
| Used to monitor progress for a fading screen. More... | |
| class | ShakeForce |
| every time ShakeScreen() is called, a new ShakeForce is created to represent the force of that particular shake More... | |
| class | TexMemMgr |
| Base class for texture memory managers. More... | |
| class | TexSheet |
| An actual OpenGL texture which can be used for storing multiple smaller images in it. More... | |
| class | VariableImageNode |
| This is how we keep track of which images are used/freed in the variable texture mem manager. More... | |
| class | VariableTexMemMgr |
| Used to manage a texture sheet where the size of the images it will contain are unknown. More... | |
Enumerations | |
| enum | TexSheetType { VIDEO_TEXSHEET_INVALID = -1, VIDEO_TEXSHEET_32x32 = 0, VIDEO_TEXSHEET_32x64 = 1, VIDEO_TEXSHEET_64x64 = 2, VIDEO_TEXSHEET_ANY = 3, VIDEO_TEXSHEET_TOTAL = 4 } |
| Represents the different image sizes that a texture sheet can hold. More... | |
Functions | |
| bool | TEMP_LoadEffectHelper (const string &filename, lua_State *L, ParticleEffectDef *def) |
Variables | |
| const uint32 | CHARS_PER_LINE = 30 |
| Assume this many characters per line of text when calculating display speed for textboxes. | |
| const uint32 | FPS_CATCHUP = 20 |
| The number of samples to take if we need to play catchup with the current FPS. | |
| const uint32 | FPS_SAMPLES = 250 |
| The number of FPS samples to retain across frames. | |
| GUISupervisor * | GUIManager |
| The singleton pointer for the GUI manager. | |
| GUISupervisor * | GUIManager = NULL |
| The singleton pointer for the GUI manager. | |
| const uint32 | MAX_FTIME_DIFF = 5 |
| Maximum milliseconds that the current frame time and our averaged frame time must vary before we begin trying to catch up. | |
| const uint16 | NEWLINE_CHARACTER = static_cast<uint16>('\n') |
| The unicode version of the newline character, used for string parsing. | |
Option Tag Constants | |
These constants are used in option format strings to parse the text and construct the options from that text. | |
| const uint16 | CENTER_TAG1 = static_cast<uint16>('c') |
| const uint16 | CENTER_TAG2 = static_cast<uint16>('C') |
| const uint16 | END_TAG = static_cast<uint16>('>') |
| const uint16 | LEFT_TAG1 = static_cast<uint16>('l') |
| const uint16 | LEFT_TAG2 = static_cast<uint16>('L') |
| const uint16 | OPEN_TAG = static_cast<uint16>('<') |
| const uint16 | RIGHT_TAG1 = static_cast<uint16>('r') |
| const uint16 | RIGHT_TAG2 = static_cast<uint16>('R') |
Represents the different image sizes that a texture sheet can hold.
| VIDEO_TEXSHEET_INVALID | |
| VIDEO_TEXSHEET_32x32 | |
| VIDEO_TEXSHEET_32x64 | |
| VIDEO_TEXSHEET_64x64 | |
| VIDEO_TEXSHEET_ANY | |
| VIDEO_TEXSHEET_TOTAL |
Definition at line 71 of file tex_mgmt.h.
| bool hoa_video::private_video::TEMP_LoadEffectHelper | ( | const string & | filename, | |
| lua_State * | L, | |||
| ParticleEffectDef * | def | |||
| ) |
Definition at line 136 of file particle_manager.cpp.
References hoa_video::ParticleEmitter::_center_x, hoa_video::ParticleEmitter::_center_y, hoa_video::ParticleEmitter::_emission_rate, hoa_video::ParticleEmitter::_emitter_mode, hoa_video::ParticleEmitter::_initial_speed, hoa_video::ParticleEmitter::_initial_speed_variation, hoa_video::ParticleEmitter::_inner_cone, hoa_video::ParticleEmitter::_omnidirectional, hoa_video::ParticleEmitter::_orientation, hoa_video::ParticleEmitter::_outer_cone, hoa_video::ParticleEmitter::_radius, hoa_video::ParticleEmitter::_shape, hoa_video::ParticleEmitter::_spin, hoa_video::ParticleEmitter::_start_time, hoa_video::ParticleEffectDef::_systems, hoa_video::ParticleEmitter::_x, hoa_video::ParticleEmitter::_x2, hoa_video::ParticleEmitter::_x_variation, hoa_video::ParticleEmitter::_y, hoa_video::ParticleEmitter::_y2, hoa_video::ParticleEmitter::_y_variation, hoa_video::private_video::ParticleSystemDef::acceleration_variation_x, hoa_video::private_video::ParticleSystemDef::acceleration_variation_y, hoa_video::private_video::ParticleSystemDef::acceleration_x, hoa_video::private_video::ParticleSystemDef::acceleration_y, hoa_video::private_video::ParticleSystemDef::animation_frame_filenames, hoa_video::private_video::ParticleSystemDef::animation_frame_times, hoa_video::private_video::ParticleSystemDef::attractor_falloff, hoa_video::private_video::ParticleSystemDef::blend_mode, hoa_video::private_video::ParticleSystemDef::damping, hoa_video::private_video::ParticleSystemDef::damping_variation, hoa_video::private_video::ParticleSystemDef::emitter, hoa_video::EMITTER_MODE_ALWAYS, hoa_video::EMITTER_MODE_BURST, hoa_video::EMITTER_MODE_LOOPING, hoa_video::EMITTER_MODE_ONE_SHOT, hoa_video::EMITTER_SHAPE_CIRCLE, hoa_video::EMITTER_SHAPE_FILLED_CIRCLE, hoa_video::EMITTER_SHAPE_FILLED_RECTANGLE, hoa_video::EMITTER_SHAPE_LINE, hoa_video::EMITTER_SHAPE_POINT, hoa_video::EMITTER_SPIN_CLOCKWISE, hoa_video::EMITTER_SPIN_COUNTERCLOCKWISE, hoa_video::EMITTER_SPIN_RANDOM, hoa_video::private_video::ParticleSystemDef::enabled, hoa_video::private_video::ParticleSystemDef::keyframes, LOAD_BOOL, LOAD_COLOR, LOAD_FLOAT, LOAD_INT, LOAD_STRING, hoa_video::private_video::ParticleSystemDef::max_particles, hoa_video::private_video::ParticleSystemDef::max_speed_scale, hoa_video::private_video::ParticleSystemDef::min_speed_scale, hoa_video::private_video::ParticleSystemDef::modify_stencil, hoa_video::private_video::ParticleSystemDef::particle_lifetime, hoa_video::private_video::ParticleSystemDef::particle_lifetime_variation, hoa_video::private_video::ParticleSystemDef::radial_acceleration, hoa_video::private_video::ParticleSystemDef::radial_acceleration_variation, hoa_video::private_video::ParticleSystemDef::random_initial_angle, hoa_video::private_video::ParticleSystemDef::rotate_to_velocity, hoa_video::private_video::ParticleSystemDef::rotation_used, hoa_video::private_video::ParticleSystemDef::scene_lighting, hoa_video::private_video::ParticleSystemDef::smooth_animation, hoa_video::private_video::ParticleSystemDef::speed_scale, hoa_video::private_video::ParticleSystemDef::speed_scale_used, hoa_video::private_video::ParticleSystemDef::stencil_op, hoa_video::private_video::ParticleSystemDef::system_lifetime, hoa_video::private_video::ParticleSystemDef::tangential_acceleration, hoa_video::private_video::ParticleSystemDef::tangential_acceleration_variation, hoa_video::private_video::ParticleSystemDef::use_stencil, hoa_video::private_video::ParticleSystemDef::user_defined_attractor, hoa_video::VIDEO_DEBUG, hoa_video::VIDEO_STENCIL_OP_DECREASE, hoa_video::VIDEO_STENCIL_OP_INCREASE, hoa_video::VIDEO_STENCIL_OP_ONE, hoa_video::VIDEO_STENCIL_OP_ZERO, hoa_video::private_video::ParticleSystemDef::wave_amplitude, hoa_video::private_video::ParticleSystemDef::wave_amplitude_variation, hoa_video::private_video::ParticleSystemDef::wave_length, hoa_video::private_video::ParticleSystemDef::wave_length_variation, hoa_video::private_video::ParticleSystemDef::wave_motion_used, hoa_video::private_video::ParticleSystemDef::wind_velocity_variation_x, hoa_video::private_video::ParticleSystemDef::wind_velocity_variation_y, hoa_video::private_video::ParticleSystemDef::wind_velocity_x, and hoa_video::private_video::ParticleSystemDef::wind_velocity_y.
Referenced by hoa_video::private_video::ParticleManager::LoadEffect().
| const uint16 hoa_video::private_video::CENTER_TAG1 = static_cast<uint16>('c') |
| const uint16 hoa_video::private_video::CENTER_TAG2 = static_cast<uint16>('C') |
| const uint32 hoa_video::private_video::CHARS_PER_LINE = 30 |
Assume this many characters per line of text when calculating display speed for textboxes.
Definition at line 35 of file textbox.h.
Referenced by hoa_video::TextBox::SetDisplayText().
| const uint16 hoa_video::private_video::END_TAG = static_cast<uint16>('>') |
| const uint32 hoa_video::private_video::FPS_CATCHUP = 20 |
The number of samples to take if we need to play catchup with the current FPS.
Definition at line 38 of file gui.h.
Referenced by hoa_video::private_video::GUISupervisor::DrawFPS().
| const uint32 hoa_video::private_video::FPS_SAMPLES = 250 |
The number of FPS samples to retain across frames.
Definition at line 32 of file gui.h.
Referenced by hoa_video::private_video::GUISupervisor::DrawFPS(), and hoa_video::private_video::GUISupervisor::GUISupervisor().
The singleton pointer for the GUI manager.
Definition at line 23 of file gui.cpp.
Referenced by hoa_video::MenuWindow::Create(), hoa_video::GameVideo::DeleteMenuSkin(), hoa_video::MenuWindow::Destroy(), hoa_video::GameVideo::DrawFPS(), hoa_video::GameVideo::IsMenuSkinAvailable(), hoa_video::GameVideo::LoadMenuSkin(), hoa_video::MenuWindow::MenuWindow(), hoa_video::GameVideo::SetDefaultMenuSkin(), hoa_video::GameVideo::SingletonInitialize(), and hoa_video::GameVideo::~GameVideo().
The singleton pointer for the GUI manager.
Definition at line 23 of file gui.cpp.
Referenced by hoa_video::MenuWindow::Create(), hoa_video::GameVideo::DeleteMenuSkin(), hoa_video::MenuWindow::Destroy(), hoa_video::GameVideo::DrawFPS(), hoa_video::GameVideo::IsMenuSkinAvailable(), hoa_video::GameVideo::LoadMenuSkin(), hoa_video::MenuWindow::MenuWindow(), hoa_video::GameVideo::SetDefaultMenuSkin(), hoa_video::GameVideo::SingletonInitialize(), and hoa_video::GameVideo::~GameVideo().
| const uint16 hoa_video::private_video::LEFT_TAG1 = static_cast<uint16>('l') |
| const uint16 hoa_video::private_video::LEFT_TAG2 = static_cast<uint16>('L') |
Maximum milliseconds that the current frame time and our averaged frame time must vary before we begin trying to catch up.
Definition at line 35 of file gui.h.
Referenced by hoa_video::private_video::GUISupervisor::DrawFPS().
| const uint16 hoa_video::private_video::NEWLINE_CHARACTER = static_cast<uint16>('\n') |
The unicode version of the newline character, used for string parsing.
Definition at line 32 of file textbox.h.
Referenced by hoa_video::TextBox::_ReformatText().
| const uint16 hoa_video::private_video::OPEN_TAG = static_cast<uint16>('<') |
| const uint16 hoa_video::private_video::RIGHT_TAG1 = static_cast<uint16>('r') |
| const uint16 hoa_video::private_video::RIGHT_TAG2 = static_cast<uint16>('R') |
1.5.1