|
GameApi 28
Library used by GameApi Builder tool
|
#include <vector>#include <utility>#include <functional>#include <cstdint>#include "VectorTools.hh"#include "Buffer.hh"#include <memory>#include "tiny_gltf.h"#include "GameApi_low.hh"

Go to the source code of this file.
Namespaces | |
| namespace | GameApi |
| namespace | chaiscript |
| Namespace chaiscript contains every API call that the average user will be concerned with. | |
Macros | |
| #define | IMPORT |
| #define | EXPORT |
| #define | PAT_DEFINED 1 |
| #define | MAC(name) |
| #define | NOT_REDEFINE_ALLOCATOR 1 |
Typedefs | |
| typedef Bitmap< Color > | ColorBitmap |
| typedef Bitmap< Point > | PointBitmap |
| typedef Bitmap< Quad > | QuadBitmap |
| typedef Voxel< int > *(* | VoxelFunc) (void *) |
Enumerations | |
| enum | DSFlags { DSDisableNormal =0x1 , DSDisableColor =0x2 , DSDisableTexCoord =0x4 , DSDisableTexCoord3 =0x8 , DSDisableObjects =0x10 } |
| enum | PieceUserDataIds |
| enum | FrameBufferFormat { F_Mono1 , F_Mono8 , F_RGB565 , F_RGB888 , F_RGBA8888 } |
| enum | DrawBufferFormat { D_Mono1 , D_RGBA8888 } |
| enum | ArrayTypesInUse { E_BM =1 , E_P } |
Functions | |
| void | recreate_block (int id) |
| template<class T> | |
| void | add_b (T *ptr) |
| std::string | use_path3 (GameApi::Env &e, GameApi::PAT val, PathHandler::Situation s) |
| std::string | use_path4 (GameApi::PAT pat) |
| void | stackTrace () |
| PosSpec | opt_get_pos (int x, int y, int z) |
| SizeSpec | opt_get_size (int sx, int sy, int sz) |
| ShapeSpec | opt_get_shape (unsigned int color, float border_width, unsigned int border_color) |
| CubeSpec | opt_get_cube (const ShapeSizeSpec &s) |
| OptCacheId | opt_get_id (int id) |
| WorldBlocks * | GetWorld () |
| void | SetWorld (WorldBlocks *w) |
| bool | is_inside_extends (Point p, Extends e) |
| GCBitmap * | to_gcbitmap (Bitmap< Color > *bm) |
Variables | |
| CachedFileService * | g_cached_serv |
| G_BLOCK | g_blocks |
| Rest | g_rest |
| int | g_current_block |
| IMPORT PathHandler * | g_path_handler |
| template<class T> | |
| uint32_t | GameApiAllocator< T >::m_free_mem = std::numeric_limits<uint32_t>::max() |
| template<class T> | |
| uint32_t | GameApiAllocator< T >::m_changed_mem = 0 |
| template<class T> | |
| uint32_t | GameApiAllocator< T >::m_used_mem = 0 |
| AllFunctionsServiceInterface * | g_all_functions_service |
| const int | Pos_E = -16384 |
| std::vector< V_Voxel_Type_Array * > | g_voxel_types |
| std::vector< V_Object_Pos > | g_object_pos |
| std::vector< V_Object_Type_Array * > | g_object_types |
| std::vector< V_Wall_Array * > | g_walls |
| std::vector< V_Area_Type > | g_area_type_array |
| std::vector< V_Area_Pos > | g_areas |
| #define EXPORT |
| #define IMPORT |
| #define MAC | ( | name | ) |
| #define NOT_REDEFINE_ALLOCATOR 1 |
| #define PAT_DEFINED 1 |
| typedef Bitmap<Color> ColorBitmap |
| typedef Bitmap<Point> PointBitmap |
| typedef Bitmap<Quad> QuadBitmap |
| typedef Voxel< int > *(* VoxelFunc) (void *) |
| enum ArrayTypesInUse |
| enum DrawBufferFormat |
| enum DSFlags |
| enum FrameBufferFormat |
| enum PieceUserDataIds |
| WorldBlocks * GetWorld | ( | ) |

| CubeSpec opt_get_cube | ( | const ShapeSizeSpec & | s | ) |
| OptCacheId opt_get_id | ( | int | id | ) |
| PosSpec opt_get_pos | ( | int | x, |
| int | y, | ||
| int | z ) |
| ShapeSpec opt_get_shape | ( | unsigned int | color, |
| float | border_width, | ||
| unsigned int | border_color ) |
| SizeSpec opt_get_size | ( | int | sx, |
| int | sy, | ||
| int | sz ) |
| void recreate_block | ( | int | id | ) |

| void SetWorld | ( | WorldBlocks * | w | ) |

| void stackTrace | ( | ) |
|
inline |
| std::string use_path4 | ( | GameApi::PAT | pat | ) |

|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
| uint32_t GameApiAllocator< T >::m_changed_mem = 0 |
| uint32_t GameApiAllocator< T >::m_free_mem = std::numeric_limits<uint32_t>::max() |
| uint32_t GameApiAllocator< T >::m_used_mem = 0 |
| const int Pos_E = -16384 |