The guts of the Gel2D game engine. Everything is in this namespace. More...
Classes | |
class | GelAppBase |
Reimplementable base class for your Gel2D application. More... | |
class | GelBone |
A bone. More... | |
class | GelArmature |
2D bone system for character animation. More... | |
class | GelCamera |
Camera. More... | |
class | GelChar |
ASCII character. More... | |
class | GelUChar |
Unicode character. More... | |
class | GelCircle |
Bounding circle for collision testing. More... | |
class | GelAABB |
Axis-aligned bounding box for collision testing. More... | |
class | GelOBB |
Oriented bounding box for collision testing. More... | |
class | GelRay |
class | GelCdtPoint |
A point for collision testing. More... | |
class | GelCollision |
2D collision detection algorithms. More... | |
class | GelHWColor |
Hardware RGBA color class. More... | |
class | GelRGBA |
RGBA color class. More... | |
class | GelHSLA |
HSLA color class. More... | |
class | GelColor |
Scalar RGBA color class. More... | |
class | GelColorTool |
Common color operations. More... | |
class | GelCString |
Classic C style string abstraction. More... | |
class | GelFileStream |
File data stream. More... | |
class | GelMemoryStream |
Memory data stream. More... | |
class | GelTextStream |
Text data stream. More... | |
class | GelDir |
File directory manager. More... | |
class | GelEngine |
Used for starting up and shutting down the Gel2D game engine. More... | |
class | GelEvent |
Base event class. More... | |
class | GelResizeEvent |
Resize event. More... | |
class | GelKeyEvent |
Keyboard event. More... | |
class | GelMouseEvent |
Mouse event. More... | |
class | GelEventReceiver |
Event receiver. More... | |
class | GelEventDispatcher |
Event dispatcher. More... | |
struct | GelFontChar |
Font character structure. More... | |
class | GelFont |
Font class. More... | |
class | GelGameState |
Game state object. More... | |
class | GelGameStateManager |
Game state manager. More... | |
class | GelGUIWidget |
GUI base widget. More... | |
class | GelGUIText |
GUI text widget. More... | |
class | GelGUIButton |
GUI push button widget. More... | |
class | GelGUICheckBox |
GUI check box widget. More... | |
class | GelGUIManager |
GUI manager. More... | |
struct | GelImageData |
Image data structure. More... | |
class | GelImage |
class | GelInput |
Keyboard, mouse, and joystick input handling. More... | |
class | GelKeyFrame |
Key frame container for animation data. More... | |
class | GelAnimation |
class | GelLine |
class | GelListNode |
Doubly-linked list node. More... | |
class | GelLinkedList |
Doubly-linked list template. More... | |
class | GelMath |
Some useful mathematical functions. More... | |
class | Gel3x3Matrix |
Square matrix for 2-dimensional transformations. More... | |
class | Gel4x4Matrix |
Square matrix for 3-dimensional transformations. More... | |
class | GelObject |
Gel2D object base class. More... | |
class | GelTextureObject |
Gel2D texture object base class. More... | |
struct | GelParticle |
Particle data structure. More... | |
struct | GelParSysData |
Particle System data. More... | |
class | GelParticleSys |
Particle simulation / rendering. More... | |
class | GelQueue |
Queue template. More... | |
class | GelRect |
class | GelRectf |
class | GelRenderSystem |
Abstract render system. More... | |
class | GelResourceManager |
Resource manager. More... | |
class | GelResourcePack |
Resource packer. More... | |
class | GelSceneManager |
Scene manager. More... | |
class | GelSize |
class | GelPoint |
struct | GelVert |
Mesh vertex structure. More... | |
class | GelSprite |
Sprite. More... | |
class | GelAnimSprite |
Frame-based texture animated sprite. More... | |
class | GelStack |
Stack template. More... | |
class | GelString |
ASCII string. More... | |
class | GelSysInfo |
Obtains system information. More... | |
class | GelPowerInfo |
Obtains electrical power information. More... | |
class | GelText |
Text object. More... | |
class | GelTexture |
class | Gel2dVec |
2D vector class with lots of operators and a few useful functions. More... | |
class | Gel3dVec |
3D vector class with lots of operators and a few useful functions. More... | |
struct | GelVideoMode |
Video mode structure. More... | |
class | GelVideo |
Video mode handling. More... | |
class | GelViewport |
Viewport. More... | |
class | GelWindow |
Window handling. More... | |
Typedefs | |
typedef void(* | GelCallback )() |
typedef bool(* | GelCallbackB )() |
typedef signed char | GELbyte |
typedef unsigned char | GELubyte |
typedef unsigned short | GELushort |
typedef unsigned int | GELuint |
typedef unsigned long | GELulong |
typedef GELulong | GELDWORD |
typedef GELDWORD | GELCOLOR |
DWORD color value. | |
Enumerations | |
enum | Alignment { GEL_ALIGN_LEFT = 0x01, GEL_ALIGN_CENTER = 0x02, GEL_ALIGN_RIGHT = 0x03 } |
enum | Orientation { GEL_HORIZONTAL = 0x01, GEL_VERTICAL = 0x02 } |
enum | Interpolation { GEL_IM_CONSTANT, GEL_IM_LINEAR, GEL_IM_BEZIER } |
enum | Relations { GEL_ABSOLUTE = 0x01, GEL_RELATIVE = 0x02 } |
enum | BlendMode { GEL_BLEND_ALPHA = 0, GEL_BLEND_ADD = 1, GEL_BLEND_SUB = 2, GEL_BLEND_DIFF = 3, GEL_BLEND_SCREEN = 4, GEL_BLEND_CLIP = 5 } |
enum | ImageType { IMG_PNG, IMG_TGA } |
enum | PlayState { GEL_STOP = 0, GEL_PLAY = 1, GEL_PAUSE = 3 } |
enum | PlayMode { GEL_FWD = 0, GEL_REV = 1, GEL_PLAYSTOP = 0, GEL_LOOP = 2, GEL_PINGPONG = 4, GEL_FLIPPER = 8 } |
enum | KeyState { GEL_RELEASE = 0, GEL_PRESS = 1 } |
enum | CollisionBounds { GEL_BOUNDS_ALIGNED_BOX, GEL_BOUNDS_ORIENTED_BOX, GEL_BOUNDS_CIRCLE } |
enum | CheckState { GEL_UNCHECKED, GEL_SEMICHECKED, GEL_CHECKED } |
enum | TextureFilter { GEL_NEAREST, GEL_LINEAR } |
enum | TextureWrap { GEL_REPEAT, GEL_NO_REPEAT, GEL_CLAMP } |
enum | TextureFunction { GEL_DECAL, GEL_MODULATE, GEL_REPLACE } |
enum | ColorMode { GEL_RGB, GEL_RGBA, GEL_LUMINANCE, GEL_LUMINANCE_ALPHA } |
enum | LineMode { GEL_LINES, GEL_LINE_LOOP, GEL_LINE_STRIP } |
enum | RenderAPI { NullAPI, OpenGL, DirectX9, GelSR } |
enum | WindowMode { GEL_WINDOWED, GEL_FULLSCREEN, GEL_DYNAMIC } |
enum | WindowParam { GEL_WND_OPEN, GEL_WND_ACTIVE, GEL_WND_ICONIFIED, GEL_WND_FULLSCREEN } |
enum | WindowStyle { GEL_WND_SIZE = 0x40000, GEL_WND_MAX = 0x10000, GEL_WND_MIN = 0x20000 } |
enum | PowerSource { PowerAC, PowerACBackup, PowerBattery, PowerUnknown } |
enum | BatteryStatus { BatteryHigh, BatteryLow, BatteryCritical, BatteryCharging, BatteryNone, BatteryUnknown } |
enum | EventType { WindowClose, WindowResize, FocusInEvent, FocusOutEvent, KeyPressed, KeyReleased, MouseButtonPress, MouseButtonRelease, MouseButtonDblClick, MouseWheel, MouseMove } |
enum | SysCursorShape { GEL_CURSOR_ARROW, GEL_CURSOR_BUSY, GEL_CURSOR_CROSS, GEL_CURSOR_HAND, GEL_CURSOR_HELP, GEL_CURSOR_IBEAM, GEL_CURSOR_NO, GEL_CURSOR_SIZEALL, GEL_CURSOR_SIZEVER, GEL_CURSOR_SIZEHOR, GEL_CURSOR_SIZERDIAG, GEL_CURSOR_SIZELDIAG, GEL_CURSOR_UPARROW, GEL_CURSOR_WAIT } |
enum | DataSeek { GEL_SEEK_START, GEL_SEEK_CUR, GEL_SEEK_END } |
enum | FileMode { GEL_FILE_READ, GEL_FILE_WRITE, GEL_FILE_READ_WRITE, GEL_FILE_APPEND, GEL_FILE_READ_APPEND } |
enum | Key { GEL_KEY_0 = 0x30, GEL_KEY_1 = 0x31, GEL_KEY_2 = 0x32, GEL_KEY_3 = 0x33, GEL_KEY_4 = 0x34, GEL_KEY_5 = 0x35, GEL_KEY_6 = 0x36, GEL_KEY_7 = 0x37, GEL_KEY_8 = 0x38, GEL_KEY_9 = 0x39, GEL_KEY_A = 0x41, GEL_KEY_B = 0x42, GEL_KEY_C = 0x43, GEL_KEY_D = 0x44, GEL_KEY_E = 0x45, GEL_KEY_F = 0x46, GEL_KEY_G = 0x47, GEL_KEY_H = 0x48, GEL_KEY_I = 0x49, GEL_KEY_J = 0x4a, GEL_KEY_K = 0x4b, GEL_KEY_L = 0x4c, GEL_KEY_M = 0x4d, GEL_KEY_N = 0x4e, GEL_KEY_O = 0x4f, GEL_KEY_P = 0x50, GEL_KEY_Q = 0x51, GEL_KEY_R = 0x52, GEL_KEY_S = 0x53, GEL_KEY_T = 0x54, GEL_KEY_U = 0x55, GEL_KEY_V = 0x56, GEL_KEY_W = 0x57, GEL_KEY_X = 0x58, GEL_KEY_Y = 0x59, GEL_KEY_Z = 0x5a, GEL_KEY_MINUS = 0x2d, GEL_KEY_EQUAL = 0x3d, GEL_KEY_LBRACKET = 0x5b, GEL_KEY_RBRACKET = 0x5d, GEL_KEY_BACKSLASH = 0x5c, GEL_KEY_SEMICOLON = 0x3b, GEL_KEY_APOSTROPHE = 0x27, GEL_KEY_COMMA = 0x2c, GEL_KEY_PERIOD = 0x2e, GEL_KEY_SLASH = 0x2f, GEL_KEY_TILDE = 0x60, GEL_KEY_UNKNOWN = -1, GEL_KEY_SPACE = 32, GEL_KEY_SPECIAL = 256, GEL_KEY_ESC = GEL_KEY_SPECIAL+1, GEL_KEY_F1 = GEL_KEY_SPECIAL+2, GEL_KEY_F2 = GEL_KEY_SPECIAL+3, GEL_KEY_F3 = GEL_KEY_SPECIAL+4, GEL_KEY_F4 = GEL_KEY_SPECIAL+5, GEL_KEY_F5 = GEL_KEY_SPECIAL+6, GEL_KEY_F6 = GEL_KEY_SPECIAL+7, GEL_KEY_F7 = GEL_KEY_SPECIAL+8, GEL_KEY_F8 = GEL_KEY_SPECIAL+9, GEL_KEY_F9 = GEL_KEY_SPECIAL+10, GEL_KEY_F10 = GEL_KEY_SPECIAL+11, GEL_KEY_F11 = GEL_KEY_SPECIAL+12, GEL_KEY_F12 = GEL_KEY_SPECIAL+13, GEL_KEY_F13 = GEL_KEY_SPECIAL+14, GEL_KEY_F14 = GEL_KEY_SPECIAL+15, GEL_KEY_F15 = GEL_KEY_SPECIAL+16, GEL_KEY_F16 = GEL_KEY_SPECIAL+17, GEL_KEY_F17 = GEL_KEY_SPECIAL+18, GEL_KEY_F18 = GEL_KEY_SPECIAL+19, GEL_KEY_F19 = GEL_KEY_SPECIAL+20, GEL_KEY_F20 = GEL_KEY_SPECIAL+21, GEL_KEY_F21 = GEL_KEY_SPECIAL+22, GEL_KEY_F22 = GEL_KEY_SPECIAL+23, GEL_KEY_F23 = GEL_KEY_SPECIAL+24, GEL_KEY_F24 = GEL_KEY_SPECIAL+25, GEL_KEY_UP = GEL_KEY_SPECIAL+27, GEL_KEY_DOWN = GEL_KEY_SPECIAL+28, GEL_KEY_LEFT = GEL_KEY_SPECIAL+29, GEL_KEY_RIGHT = GEL_KEY_SPECIAL+30, GEL_KEY_LSHIFT = GEL_KEY_SPECIAL+31, GEL_KEY_RSHIFT = GEL_KEY_SPECIAL+32, GEL_KEY_LCTRL = GEL_KEY_SPECIAL+33, GEL_KEY_RCTRL = GEL_KEY_SPECIAL+34, GEL_KEY_LALT = GEL_KEY_SPECIAL+35, GEL_KEY_RALT = GEL_KEY_SPECIAL+36, GEL_KEY_TAB = GEL_KEY_SPECIAL+37, GEL_KEY_ENTER = GEL_KEY_SPECIAL+38, GEL_KEY_BACKSPACE = GEL_KEY_SPECIAL+39, GEL_KEY_INSERT = GEL_KEY_SPECIAL+40, GEL_KEY_DEL = GEL_KEY_SPECIAL+41, GEL_KEY_PAGEUP = GEL_KEY_SPECIAL+42, GEL_KEY_PAGEDOWN = GEL_KEY_SPECIAL+43, GEL_KEY_HOME = GEL_KEY_SPECIAL+44, GEL_KEY_END = GEL_KEY_SPECIAL+45, GEL_KEY_NUMPAD0 = GEL_KEY_SPECIAL+46, GEL_KEY_NUMPAD1 = GEL_KEY_SPECIAL+47, GEL_KEY_NUMPAD2 = GEL_KEY_SPECIAL+48, GEL_KEY_NUMPAD3 = GEL_KEY_SPECIAL+49, GEL_KEY_NUMPAD4 = GEL_KEY_SPECIAL+50, GEL_KEY_NUMPAD5 = GEL_KEY_SPECIAL+51, GEL_KEY_NUMPAD6 = GEL_KEY_SPECIAL+52, GEL_KEY_NUMPAD7 = GEL_KEY_SPECIAL+53, GEL_KEY_NUMPAD8 = GEL_KEY_SPECIAL+54, GEL_KEY_NUMPAD9 = GEL_KEY_SPECIAL+55, GEL_KEY_KP_DIVIDE = GEL_KEY_SPECIAL+56, GEL_KEY_KP_MULTIPLY = GEL_KEY_SPECIAL+57, GEL_KEY_KP_SUBTRACT = GEL_KEY_SPECIAL+58, GEL_KEY_KP_ADD = GEL_KEY_SPECIAL+59, GEL_KEY_KP_DECIMAL = GEL_KEY_SPECIAL+60, GEL_KEY_KP_EQUAL = GEL_KEY_SPECIAL+61, GEL_KEY_KP_ENTER = GEL_KEY_SPECIAL+62, GEL_KEY_NUMLOCK = GEL_KEY_SPECIAL+63, GEL_KEY_CAPSLOCK = GEL_KEY_SPECIAL+64, GEL_KEY_SCROLLLOCK = GEL_KEY_SPECIAL+65, GEL_KEY_PAUSE = GEL_KEY_SPECIAL+66, GEL_KEY_PRINT = GEL_KEY_SPECIAL+67, GEL_KEY_LSUPER = GEL_KEY_SPECIAL+68, GEL_KEY_RSUPER = GEL_KEY_SPECIAL+69, GEL_KEY_MENU = GEL_KEY_SPECIAL+70, GEL_KEY_VOL_MUTE = GEL_KEY_SPECIAL+71, GEL_KEY_VOL_DOWN = GEL_KEY_SPECIAL+72, GEL_KEY_VOL_UP = GEL_KEY_SPECIAL+73, GEL_KEY_ANY = GEL_KEY_SPECIAL+74, GEL_KEY_LAST = GEL_KEY_ANY } |
Keyboard keys. More... | |
enum | KeyModifier { ShiftModifier = 0x02, CtrlModifier = 0x04, AltModifier = 0x08 } |
enum | MouseBtn { GEL_MB_LEFT = 0, GEL_MB_RIGHT = 1, GEL_MB_MIDDLE = 2, GEL_MB_L_DBLCLK = 3, GEL_MB_R_DBLCLK = 4, GEL_MB_M_DBLCLK = 5, GEL_MB_LAST = GEL_MB_M_DBLCLK, GEL_MB_NONE } |
Mouse buttons. More... | |
enum | MouseButton { NoButton = 0, LeftButton = 0x01, RightButton = 0x02, MiddleButton = 0x04 } |
enum | Joystick { GEL_JOY_BTN_1 = 0, GEL_JOY_BTN_2 = 1, GEL_JOY_BTN_3 = 2, GEL_JOY_BTN_4 = 3, GEL_JOY_BTN_5 = 4, GEL_JOY_BTN_6 = 5, GEL_JOY_BTN_7 = 6, GEL_JOY_BTN_8 = 7, GEL_JOY_BTN_9 = 8, GEL_JOY_BTN_10 = 9, GEL_JOY_BTN_11 = 10, GEL_JOY_BTN_12 = 11, GEL_JOY_BTN_13 = 12, GEL_JOY_BTN_14 = 13, GEL_JOY_BTN_15 = 14, GEL_JOY_BTN_16 = 15, GEL_JOY_BTN_17 = 16, GEL_JOY_BTN_18 = 17, GEL_JOY_AXIS_1 = 0, GEL_JOY_AXIS_2 = 1, GEL_JOY_AXIS_3 = 2, GEL_JOY_AXIS_4 = 3, GEL_JOY_AXIS_5 = 4, GEL_JOY_AXIS_6 = 5, GEL_JOY_AXIS_7 = 6, GEL_JOY_AXIS_8 = 7, GEL_JOY_AXIS_9 = 8, GEL_JOY_AXIS_10 = 9, GEL_JOY_AXIS_11 = 10, GEL_JOY_AXIS_12 = 11, GEL_JOY_AXIS_13 = 12, GEL_JOY_AXIS_14 = 13, GEL_JOY_AXIS_15 = 14, GEL_JOY_AXIS_16 = 15, GEL_JOY_AXIS_X = GEL_JOY_AXIS_1, GEL_JOY_AXIS_Y = GEL_JOY_AXIS_2, GEL_JOY_HAT_CENTER = 0x00, GEL_JOY_HAT_UP = 0x01, GEL_JOY_HAT_DOWN = 0x02, GEL_JOY_HAT_LEFT = 0x04, GEL_JOY_HAT_RIGHT = 0x08, GEL_JOY_HAT_RIGHTUP = (GEL_JOY_HAT_RIGHT|GEL_JOY_HAT_UP), GEL_JOY_HAT_RIGHTDOWN = (GEL_JOY_HAT_RIGHT|GEL_JOY_HAT_DOWN), GEL_JOY_HAT_LEFTUP = (GEL_JOY_HAT_LEFT|GEL_JOY_HAT_UP), GEL_JOY_HAT_LEFTDOWN = (GEL_JOY_HAT_LEFT|GEL_JOY_HAT_DOWN), GEL_JOYSTICK_1 = 0, GEL_JOYSTICK_2 = 1, GEL_JOYSTICK_3 = 2, GEL_JOYSTICK_4 = 3, GEL_JOYSTICK_5 = 4, GEL_JOYSTICK_6 = 5, GEL_JOYSTICK_7 = 6, GEL_JOYSTICK_8 = 7, GEL_JOYSTICK_9 = 8, GEL_JOYSTICK_10 = 9, GEL_JOYSTICK_11 = 10, GEL_JOYSTICK_12 = 11, GEL_JOYSTICK_13 = 12, GEL_JOYSTICK_14 = 13, GEL_JOYSTICK_15 = 14, GEL_JOYSTICK_16 = 15 } |
The guts of the Gel2D game engine. Everything is in this namespace.
typedef void(* gel::GelCallback)() |
typedef bool(* gel::GelCallbackB)() |
typedef signed char gel::GELbyte |
typedef unsigned char gel::GELubyte |
typedef unsigned short gel::GELushort |
typedef unsigned int gel::GELuint |
typedef unsigned long gel::GELulong |
typedef GELulong gel::GELDWORD |
typedef GELDWORD gel::GELCOLOR |
DWORD color value.
enum gel::Alignment |
enum gel::Orientation |
enum gel::Interpolation |
enum gel::Relations |
enum gel::BlendMode |
enum gel::ImageType |
enum gel::PlayState |
enum gel::PlayMode |
enum gel::KeyState |
enum gel::CollisionBounds |
enum gel::CheckState |
enum gel::TextureFilter |
enum gel::TextureWrap |
enum gel::TextureFunction |
enum gel::ColorMode |
enum gel::LineMode |
enum gel::RenderAPI |
enum gel::WindowMode |
enum gel::WindowParam |
enum gel::WindowStyle |
enum gel::PowerSource |
enum gel::BatteryStatus |
enum gel::EventType |
enum gel::SysCursorShape |
enum gel::DataSeek |
enum gel::FileMode |
enum gel::Key |
Keyboard keys.
enum gel::KeyModifier |
enum gel::MouseBtn |
enum gel::MouseButton |
enum gel::Joystick |
API Documentation by Mark D. Procarione | Generated by |