|
GameApi 28
Library used by GameApi Builder tool
|
#include "Graph.hh"#include "Event.hh"#include "Shader.hh"#include "Effect2.hh"#include "Font.hh"#include "VertexArray.hh"#include "GameApi_low.hh"
Classes | |
| class | RectangleMesh |
| class | HexagonMesh |
| class | HexagonSteps |
| class | HexagonMeshTexCoords |
| class | RectangleMeshTexCoords |
| class | ColorFunction |
| class | BoolPos |
| struct | ThreadInfo_sprite |
| class | SpriteTexture |
Macros | |
| #define | _SCL_SECURE_NO_WARNINGS |
| #define | NO_SDL_GLEXT |
Functions | |
| void | RenderVoxel (VolumeObject &orv, int size, float wholesize, HandleValue< std::pair< Vector, unsigned int > > &hv) |
| Cube3 | CubeVoxelArea (Voxel< Cube3 > &cubes, PointI p1, PointI p2) |
| Point2d | IntersectLines (const Line2d &l1, const Line2d &l2) |
| float | AngleLines (const Point2d &intersect, const Point2d &l1, const Point2d &l2) |
| Quad | QuadIterpolation (const Quad &q1, const Quad &q2, float val) |
| void | BlitBitmap (BufferRef ref, int xx, int yy, Bitmap< Color > &color) |
| void | PrepareGrid (Bitmap< Color > &bm, int cellsx, int cellsy, ArrayRender &rend) |
| void | RenderGrid (Bitmap< Pos > &bm, float x, float y, int sx, int sy, ArrayRender &rend, int start_x, int start_y, int size_x, int size_y) |
| IMPORT void | ProgressBar (int num, int val, int max, std::string label) |
| IMPORT void | InstallProgress (int num, std::string label, int max=15) |
| void * | thread_func_sprite (void *data) |
| std::string | MB (long i) |
| void | TexturePrepare (const Sprite &s, ArrayRender &rend, bool progress, bool textrender) |
| void | TextureEnable (ArrayRender &rend, int frame, bool enable) |
| void | PrepareSprite (const Sprite &s, ArrayRender &rend) |
| void | PrepareSpriteToVA (const Sprite &s, VertexArraySet &vas) |
| void | RenderSprite (const Sprite &s, int frame, Point2d pos, float z, ArrayRender &rend, Program *prog) |
| void | RenderSprite (const Sprite &s, int frame, Point2d pos, float z, ArrayRender &rend, float mult_x, float mult_y, Program *prog) |
| std::string | WhiteSpace (std::string s) |
| void | DumpMem (const char *c, int size) |
| void | Write (Parser2 *p, char *c, int size, int type, std::string s, bool &success) |
| int | Find (std::string s, char c) |
Variables | |
| SuperParameters | odd_1 = { 1.00, 1.00, 7.00, 0.20, 1.70, 1.70 } |
| SuperParameters | odd_2 = {1.00, 1.00, 7.00, 0.20, 1.70, 1.70 } |
| SuperParameters | curved_1 = { 1.00, 1.00, 5.00, 60.0, 100, 30 } |
| SuperParameters | curved_2 = { 1.00, 2.00, 2.00, 10.0, 10, 10 } |
| int | g_sprite_count =0 |
| int | g_sprite_count2 = 0 |
| int | g_pthread_count |
| IMPORT int | sprite_screen_width =800 |
| IMPORT int | sprite_screen_height =600 |
| IMPORT int | sprite_target_width =800 |
| IMPORT int | sprite_target_height =600 |
| #define _SCL_SECURE_NO_WARNINGS |
| #define NO_SDL_GLEXT |

| void DumpMem | ( | const char * | c, |
| int | size ) |

| int Find | ( | std::string | s, |
| char | c ) |
| IMPORT void InstallProgress | ( | int | num, |
| std::string | label, | ||
| int | max = 15 ) |

| std::string MB | ( | long | i | ) |
| void PrepareGrid | ( | Bitmap< Color > & | bm, |
| int | cellsx, | ||
| int | cellsy, | ||
| ArrayRender & | rend ) |

| void PrepareSprite | ( | const Sprite & | s, |
| ArrayRender & | rend ) |

| void PrepareSpriteToVA | ( | const Sprite & | s, |
| VertexArraySet & | vas ) |

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

| void RenderGrid | ( | Bitmap< Pos > & | bm, |
| float | x, | ||
| float | y, | ||
| int | sx, | ||
| int | sy, | ||
| ArrayRender & | rend, | ||
| int | start_x, | ||
| int | start_y, | ||
| int | size_x, | ||
| int | size_y ) |

| void RenderSprite | ( | const Sprite & | s, |
| int | frame, | ||
| Point2d | pos, | ||
| float | z, | ||
| ArrayRender & | rend, | ||
| float | mult_x, | ||
| float | mult_y, | ||
| Program * | prog ) |
| void RenderSprite | ( | const Sprite & | s, |
| int | frame, | ||
| Point2d | pos, | ||
| float | z, | ||
| ArrayRender & | rend, | ||
| Program * | prog ) |

| void RenderVoxel | ( | VolumeObject & | orv, |
| int | size, | ||
| float | wholesize, | ||
| HandleValue< std::pair< Vector, unsigned int > > & | hv ) |

| void TextureEnable | ( | ArrayRender & | rend, |
| int | frame, | ||
| bool | enable ) |

| void TexturePrepare | ( | const Sprite & | s, |
| ArrayRender & | rend, | ||
| bool | progress, | ||
| bool | textrender ) |

| void * thread_func_sprite | ( | void * | data | ) |

| std::string WhiteSpace | ( | std::string | s | ) |
| void Write | ( | Parser2 * | p, |
| char * | c, | ||
| int | size, | ||
| int | type, | ||
| std::string | s, | ||
| bool & | success ) |
| SuperParameters curved_1 = { 1.00, 1.00, 5.00, 60.0, 100, 30 } |
| SuperParameters curved_2 = { 1.00, 2.00, 2.00, 10.0, 10, 10 } |
|
extern |
| int g_sprite_count =0 |
| int g_sprite_count2 = 0 |
| SuperParameters odd_1 = { 1.00, 1.00, 7.00, 0.20, 1.70, 1.70 } |
| SuperParameters odd_2 = {1.00, 1.00, 7.00, 0.20, 1.70, 1.70 } |
| IMPORT int sprite_screen_height =600 |
| IMPORT int sprite_screen_width =800 |
| IMPORT int sprite_target_height =600 |
| IMPORT int sprite_target_width =800 |