|
GameApi 28
Library used by GameApi Builder tool
|
#include "Effect.hh"#include "Effect2.hh"#include "VectorTools.hh"#include "Bitmap.hh"#include "Shader.hh"#include "Event.hh"#include "Graph.hh"#include "GameApi_low.hh"#include "GameApi.hh"
Classes | |
| struct | DisplayListPriv |
| class | VBOStatePriv |
| struct | VBOStatePriv::State |
| class | DeltaFloatBitmap |
| class | DeltaPosBitmap |
| class | CircleHeightMap |
| class | TrueBitmap |
| class | HeightMapPolygons |
| class | SumBitmap |
| struct | SDLArrayRenderImpl |
Macros | |
| #define | NO_SDL_GLEXT |
| #define | _SCL_SECURE_NO_WARNINGS |
| #define | VAO 1 |
| #define | DISPLAY_LISTS |
Functions | |
| IMPORT void | ProgressBar (int num, int val, int max, std::string label) |
| IMPORT void | InstallProgress (int num, std::string label, int max=15) |
| std::ostream & | operator<< (std::ostream &o, const ObjectData &od) |
| void | AttachBoxes (const BoxCollection &c, const std::vector< Boxable * > &v) |
| void | RenderOpenGl (const FaceCollection &col, const BoxCollection &b, Boxable &elem) |
| void | RenderOpenGl (const FaceCollection &col, const BoxCollection &b, Boxable &elem, const TextureCoords &tex) |
| void | RenderOpenGl (const FaceCollection &col, ElementCollection &nums) |
| void | RenderOpenGl (const FaceCollection &col, ElementCollection &nums, const TextureCoords &tex) |
| void | RenderOpenGlTextures (const FaceCollection &col) |
| void | RenderOpenGl (const FaceCollection &col) |
| void | RenderOpenGl (const LineCollection &col) |
| void | RenderOpenGl (const PointCollection &col) |
| void | RenderOpenGl (const FaceCollection &col, Function< int, bool > &removepolys) |
| void | RenderOpenGlLines (const LineCollection &col, ElementCollection &nums) |
| void | RenderOpenGlLines (const LineCollection &col, const BoxCollection &b, Boxable &elem) |
| void | RenderOpenGlLines (const LineCollection &lines) |
| void | RenderOpenGlPoly (const PointCollection &col) |
| void | RenderOpenGl (const FaceCollection &col, const TextureCoords &coords) |
| void | RenderOpenGlObjects (const BoxCollectionWithObject &coll, VBOState &vbostate, VBOUpdate u) |
| void | RenderOpenGlObjects (const ObjectDataArray &arr, VBOState &vbostate, VBOUpdate u, ShaderUse *use) |
| float | Solve (const Function< float, float > &func, float t_0, float t_1) |
| float | SolveWithFailure (const Function< float, float > &func, float t_0, float t_1, bool &success) |
| void | UpdateVBO (const FaceCollection &faces, VBOState &state, VBOUpdate u, const std::vector< Attrib > &attribs) |
| void | UpdateVBO (const FaceCollectionVBO &faces, VBOState &state, VBOUpdate u, const std::vector< Attrib > &attribs) |
| void | UpdateVBO (const FaceCollectionVBO &faces, int obj, VBOState &state, VBOUpdate u, const std::vector< Attrib > &attribs) |
| void | DrawVBO (VBOState &state, VBOUpdate u, const std::vector< Attrib > &attribs) |
| void | DrawVBO (int obj, VBOState &state, VBOUpdate u, const std::vector< Attrib > &attribs) |
| void | PrecalcCmds (OpenGlCommands &cmds) |
| void | RenderCmds (OpenGlCommands &cmds) |
| void | PrecalcRenderCmds (OpenGlCommands &cmds) |
| void | HeightMapEffect (FaceStore &s, float time, float repeat_length) |
| float | Mult (float x) |
| void | InterpolateFaceCollection (void(*fptr)(FaceStore &s, float time, float repeat_length), float value) |
| void | PreCalcMesh (Mesh &mesh, ArrayRender &r, PrecalcStore &prestore) |
| void | PreCalcFaceStore (void(*fptr)(FaceStore &s, float time, float repeat_length), float repeat_duration, int repeat_framecount, ArrayRender &r, PrecalcStore &prestore) |
| void | ExecuteFaceStore (ArrayRender &r, PrecalcStore &prestore, int frame) |
| void | TextureGeneration (FaceCollection &coll, FrameAnimPlugins &plugins) |
| int | my_getline (LoadStream *stream, int index, std::string &line) |
Variables | |
| Color2 | colors [] |
| Low_GLfloat | light_position1 [] = { 100.0, 1.0, 0.0, -200.0 } |
| Low_GLfloat | light_position3 [] = { 1.0, 100.0, 0.0, -200.0 } |
| Low_GLfloat | mat_ambient1 [] = { 0.8, 0.8, 0.8, 1.0 } |
| Low_GLfloat | mat_diffuse1 [] = { 0.9, 0.7, 0.1, 1.0 } |
| Low_GLfloat | mat_specular1 [] = { 1.0, 1.0, 1.0, 1.0 } |
| Low_GLfloat | mat_shininess1 [] = { 50.0 } |
| #define _SCL_SECURE_NO_WARNINGS |
| #define DISPLAY_LISTS |
| #define NO_SDL_GLEXT |
| #define VAO 1 |
| void AttachBoxes | ( | const BoxCollection & | c, |
| const std::vector< Boxable * > & | v ) |


| void ExecuteFaceStore | ( | ArrayRender & | r, |
| PrecalcStore & | prestore, | ||
| int | frame ) |

| void HeightMapEffect | ( | FaceStore & | s, |
| float | time, | ||
| float | repeat_length ) |
| IMPORT void InstallProgress | ( | int | num, |
| std::string | label, | ||
| int | max = 15 ) |
| void InterpolateFaceCollection | ( | void(* | fptr )(FaceStore &s, float time, float repeat_length), |
| float | value ) |
| float Mult | ( | float | x | ) |

| int my_getline | ( | LoadStream * | stream, |
| int | index, | ||
| std::string & | line ) |

| std::ostream & operator<< | ( | std::ostream & | o, |
| const ObjectData & | od ) |
| void PrecalcCmds | ( | OpenGlCommands & | cmds | ) |

| void PreCalcFaceStore | ( | void(* | fptr )(FaceStore &s, float time, float repeat_length), |
| float | repeat_duration, | ||
| int | repeat_framecount, | ||
| ArrayRender & | r, | ||
| PrecalcStore & | prestore ) |

| void PreCalcMesh | ( | Mesh & | mesh, |
| ArrayRender & | r, | ||
| PrecalcStore & | prestore ) |

| void PrecalcRenderCmds | ( | OpenGlCommands & | cmds | ) |
| IMPORT void ProgressBar | ( | int | num, |
| int | val, | ||
| int | max, | ||
| std::string | label ) |
std::cout << "ProgressBar: '" << num << " " << label << " " << val << " " << max << "'" << std::endl;
| void RenderCmds | ( | OpenGlCommands & | cmds | ) |

| void RenderOpenGl | ( | const FaceCollection & | col | ) |

| void RenderOpenGl | ( | const FaceCollection & | col, |
| const BoxCollection & | b, | ||
| Boxable & | elem ) |

| void RenderOpenGl | ( | const FaceCollection & | col, |
| const BoxCollection & | b, | ||
| Boxable & | elem, | ||
| const TextureCoords & | tex ) |
| void RenderOpenGl | ( | const FaceCollection & | col, |
| const TextureCoords & | coords ) |
| void RenderOpenGl | ( | const FaceCollection & | col, |
| ElementCollection & | nums ) |
| void RenderOpenGl | ( | const FaceCollection & | col, |
| ElementCollection & | nums, | ||
| const TextureCoords & | tex ) |
| void RenderOpenGl | ( | const FaceCollection & | col, |
| Function< int, bool > & | removepolys ) |
| void RenderOpenGl | ( | const LineCollection & | col | ) |
| void RenderOpenGl | ( | const PointCollection & | col | ) |
| void RenderOpenGlLines | ( | const LineCollection & | col, |
| const BoxCollection & | b, | ||
| Boxable & | elem ) |
| void RenderOpenGlLines | ( | const LineCollection & | col, |
| ElementCollection & | nums ) |

| void RenderOpenGlLines | ( | const LineCollection & | lines | ) |

| void RenderOpenGlObjects | ( | const BoxCollectionWithObject & | coll, |
| VBOState & | vbostate, | ||
| VBOUpdate | u ) |

| void RenderOpenGlObjects | ( | const ObjectDataArray & | arr, |
| VBOState & | vbostate, | ||
| VBOUpdate | u, | ||
| ShaderUse * | use ) |
| void RenderOpenGlPoly | ( | const PointCollection & | col | ) |

| void RenderOpenGlTextures | ( | const FaceCollection & | col | ) |

| float Solve | ( | const Function< float, float > & | func, |
| float | t_0, | ||
| float | t_1 ) |

| float SolveWithFailure | ( | const Function< float, float > & | func, |
| float | t_0, | ||
| float | t_1, | ||
| bool & | success ) |

| void TextureGeneration | ( | FaceCollection & | coll, |
| FrameAnimPlugins & | plugins ) |

| void UpdateVBO | ( | const FaceCollection & | faces, |
| VBOState & | state, | ||
| VBOUpdate | u, | ||
| const std::vector< Attrib > & | attribs ) |

| void UpdateVBO | ( | const FaceCollectionVBO & | faces, |
| int | obj, | ||
| VBOState & | state, | ||
| VBOUpdate | u, | ||
| const std::vector< Attrib > & | attribs ) |

| void UpdateVBO | ( | const FaceCollectionVBO & | faces, |
| VBOState & | state, | ||
| VBOUpdate | u, | ||
| const std::vector< Attrib > & | attribs ) |
| Color2 colors[] |
| Low_GLfloat light_position1[] = { 100.0, 1.0, 0.0, -200.0 } |
| Low_GLfloat light_position3[] = { 1.0, 100.0, 0.0, -200.0 } |
| Low_GLfloat mat_ambient1[] = { 0.8, 0.8, 0.8, 1.0 } |
| Low_GLfloat mat_diffuse1[] = { 0.9, 0.7, 0.1, 1.0 } |
| Low_GLfloat mat_shininess1[] = { 50.0 } |
| Low_GLfloat mat_specular1[] = { 1.0, 1.0, 1.0, 1.0 } |