GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GraphI.hh File Reference
#include <vector>
#include <utility>
#include <functional>
#include <cstdint>
#include "VectorTools.hh"
#include "Buffer.hh"
#include <memory>
#include "tiny_gltf.h"
#include "GameApi_low.hh"
Include dependency graph for GraphI.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CachedFileService
class  BlockBase
struct  Block2
struct  G_BLOCK
struct  Rest
class  BlockImpl< T >
class  ConversionTableInterface
class  GltfMaterialParams
class  GltfMaterialParams_impl
class  Path
class  PathHandler
struct  PathHandler::PathConfig
struct  PathHandler::SituationConfig
class  ByteStore
class  GameApiAllocator< T >
struct  GameApi::FloatExprEnv
struct  GameApi::IntExprEnv
struct  GameApi::BoolExprEnv
struct  GameApi::ColorExprEnv
struct  GameApi::PointExprEnv
struct  GameApi::ExprEnv
class  Pipeline
class  CollectInterface
class  CollectVisitor
class  FloatRay
class  FloatScene
class  OpenGlNode
class  OGLVisitor
class  GameApi::GlobalIlluminationData
class  GameApi::ASyncVec
struct  Quad
struct  Tex
struct  QuadNormal
struct  QuadColor
class  SimpleShape< C >
class  Filler< C, I >
class  LineShape< C >
class  DFunction< I, T >
class  CompactBitmap
class  LazyAlloc< AllocData, T >
class  Bitmap< C >
class  MemoryBlock
class  UrlMemoryMap
class  VertexArray
class  BitmapArray2< C >
struct  PosSpec
struct  SizeSpec
struct  ShapeSpec
struct  ShapeSizeSpec
struct  OptCacheId
struct  ElemSpec
struct  CubeSpec
class  OctTreePath
struct  OctTreeColor
class  OctTreeBase
class  OctTreeLeaf
class  OctTreeSplit
struct  DynamicCursor
class  OptVoxel
class  OptCubes
class  OptCubeCache
class  Voxel< C >
struct  VoxelPos
class  NDim< I, B >
class  ContinuousBitmap< C >
class  ContinuousBitmap2< Z, C >
class  ContinuousVoxel< C >
class  HandleValue< T >
class  Graph
class  GraphData< V, E >
class  Sprite
struct  Size
struct  Pos
struct  TRect
class  Samples
struct  Wavs
class  Tracker
class  ShaderModule
class  GuiWidget
struct  GameApiParam
struct  ASyncData
class  GameApiItem
class  AllFunctionsServiceInterface
struct  GameApiLine
struct  GameApiFunction
struct  GameApiModule
struct  WorldPiece
struct  PlayerPiece
struct  EnemyPiece
struct  WorldElement
struct  CollisionData
class  CollisionAction
struct  World
struct  ContentPiece
struct  ContentCollection
struct  MainLoopEnv
struct  FaceID
struct  MainLoopEvent
class  MainLoopItemWGPU
class  MainLoopItem
class  MainLoopItemForward
class  Timing
class  TimingForward
struct  FrameLoopEvent
class  SourceBitmap
struct  Dot
struct  SourceDots
class  FrameBuffer
struct  DrawLoopEnv
class  FrameBufferLoop
class  ExprNode
class  PhysicsNode
class  ForwardPhysics
class  TriStrip
class  TriStripForward
class  Cutter
class  Collision
class  Movement
class  ColorChange
class  ImplicitFunction2d
class  ImplicitFunction3d
class  ImplicitFunction4d
class  ImplicitFunction3dArray
class  TreeLevel
class  TreeStack
class  Material
class  ScreenSpaceMaterial
class  ShaderCall
class  MatrixArray
class  Frame
class  PlaneShape
class  SkeletalNode
class  GameApi::EditNode
class  MixedI
class  Event3
class  Action
class  Blocker
class  Splitter
class  PointTransform
class  VertexAnimNode
class  CurvePos
struct  ArrayType
class  Fetcher< T >
class  ASyncLoader
class  BuilderValue< T >
class  RefBuilderValue< T >
class  BuilderArray< T >
class  BuilderArrImpl< T >
class  FontInterface
class  GlyphInterface
class  StringDisplay
class  CmdExecute
class  CurvePatch
class  PointsApiPoints
class  Space3d
class  PropertyArray
class  EnableArray
class  PointsInPlane
class  LinesInPlane
class  FacesInPlane
class  PathValues< T >
class  AreaValues< T >
class  VolumeValues< T >
class  TextureID
class  WorldSpec
class  ShaderI
class  DynamicChange
class  ShaderBitmap
class  DiskStore
class  InputForMoving
class  Glyph
class  CurveGroup
class  MeshAnim
class  IStateMachine
class  BitmapCollection< C >
class  WorldBlocks
class  HeavyOperation
class  QMLLoop
class  QMLData
class  SkeletalData
class  FrmWidget
struct  PosDelta
struct  PosOption
class  FrmContainerWidget
class  FrmRootWidget
class  ColorBool
class  VoxelArray
struct  VoxelArray::Pos
struct  Vertex
struct  Extends
class  QuadNode
class  QuadTree
struct  Prop3d
class  Object3d
class  Html
struct  V_Voxel
struct  V_Voxel_Type
struct  V_Voxel_Type_Array
struct  V_Object
struct  V_Object_Pos
struct  V_Object_Type
struct  V_Object_Type_Array
struct  V_Wall
struct  V_Wall_Array
struct  V_Area_Type
struct  V_Area
struct  V_Area_Pos
struct  Rect5
class  RectangleArray
class  LoadStream
class  PlayerStrings
class  DynMainLoop
class  FloatArray2
class  FloatField
class  VelocityField
struct  InEventData
class  EventSource
class  BitmapRange
class  GameState
class  GCBitmap
class  GraphicsContext
class  TimeAnim
class  GLTFModelInterface
class  ForwardGLTF
struct  BBox
class  ShaderBlock
class  Scalar
class  Vec2
class  Vec3
class  Vec4
class  Mat2_a
class  Mat3_a
class  Mat4_a
class  CollectInterface2
class  CollectVisitor2
struct  FloatBinding
struct  IntBinding
struct  UnsignedIntBinding
struct  PointBinding
class  BindingsI
class  Bindings
class  ShaderCode
class  ShaderI2
class  ShaderParameterI
class  ASyncTask
class  PixelBufferObject
class  TexturedAlternatives
class  TexturedAreaArray
class  TexturedVoxelArea
class  TexturedVoxel
class  TexturedQuads
class  MarchingCubesInputData
class  MarchingCubesCellInputData
class  MarchingCubesCellEdge
class  MarchingCubesCellPolygon
class  MarchingCubesMesh
class  IWorld
class  ICache
class  Platform
class  Tiles2d
class  Tiles3d
class  TileScroller
class  TileRenderer2d
class  TileRenderer3d
class  TileHudInterface
class  TileSplashScreenInterface
class  TileSplashScreenCallback
class  TileEnemyCallback
class  TileActivation
class  TileBehaviorMap
class  TilePlayer
class  TileEnemies
class  ColourSpace
class  ColourSpaceI
struct  Pixel2
class  PixelAllocator
struct  task_data
class  task_interface
class  del_map_interface
class  GaussianSplat

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

Macro Definition Documentation

◆ EXPORT

#define EXPORT

◆ IMPORT

#define IMPORT

◆ MAC

#define MAC ( name)
Value:
struct name { int id;\
name(const name &i) : id(i.id) { } \
name(const volatile name &i) : id(i.id) { } \
name() : id(-1) { } \
name(int i) : id(i) { }\
name &operator=(const name &i) { id=i.id; return *this; } \
volatile name &operator=(volatile name &i) volatile { id=i.id; return *this; } \
name* clone() const { if (id!=-1) { return new name(id); } return 0; } \
};
iVBORw0KGgoAAAANSUhEUgAAANcAAAB5CAMAAACdtUQZAAAA51BMVEX</div ></div >< div style="padding: 0px 0px; width: 1324px;">< div style="height: 400px; width: 1324px;"></div >< div itemscope itemtype="https: </div><div itemscope itemtype="https:</div >< div itemscope itemtype="https: </div></div><p><div style="padding:0px 0px;width:1324px;"><div></div><div itemscope itemtype="https:< ul >< li >< b > Application name
8AkrcAgqgAs9wqQ0ey2tkAo8gAuuQfeI4hPUH09fXHy8z4+fng4uNKXF/Lz9BzfoAcgpkQMTUAKjAbOT4Qr9AXhJ8Rl7ktMCwTosA...
Definition meshpage.php:1610

◆ NOT_REDEFINE_ALLOCATOR

#define NOT_REDEFINE_ALLOCATOR   1

◆ PAT_DEFINED

#define PAT_DEFINED   1

Typedef Documentation

◆ ColorBitmap

◆ PointBitmap

◆ QuadBitmap

◆ VoxelFunc

typedef Voxel< int > *(* VoxelFunc) (void *)

Enumeration Type Documentation

◆ ArrayTypesInUse

Enumerator
E_BM 
E_P 

◆ DrawBufferFormat

Enumerator
D_Mono1 
D_RGBA8888 

◆ DSFlags

enum DSFlags
Enumerator
DSDisableNormal 
DSDisableColor 
DSDisableTexCoord 
DSDisableTexCoord3 
DSDisableObjects 

◆ FrameBufferFormat

Enumerator
F_Mono1 
F_Mono8 
F_RGB565 
F_RGB888 
F_RGBA8888 

◆ PieceUserDataIds

Function Documentation

◆ add_b()

template<class T>
void add_b ( T * ptr)

◆ GetWorld()

WorldBlocks * GetWorld ( )
Here is the caller graph for this function:

◆ is_inside_extends()

bool is_inside_extends ( Point p,
Extends e )
Here is the caller graph for this function:

◆ opt_get_cube()

CubeSpec opt_get_cube ( const ShapeSizeSpec & s)

◆ opt_get_id()

OptCacheId opt_get_id ( int id)

◆ opt_get_pos()

PosSpec opt_get_pos ( int x,
int y,
int z )

◆ opt_get_shape()

ShapeSpec opt_get_shape ( unsigned int color,
float border_width,
unsigned int border_color )

◆ opt_get_size()

SizeSpec opt_get_size ( int sx,
int sy,
int sz )

◆ recreate_block()

void recreate_block ( int id)
Here is the caller graph for this function:

◆ SetWorld()

void SetWorld ( WorldBlocks * w)
Here is the caller graph for this function:

◆ stackTrace()

void stackTrace ( )

◆ to_gcbitmap()

GCBitmap * to_gcbitmap ( Bitmap< Color > * bm)

◆ use_path3()

std::string use_path3 ( GameApi::Env & e,
GameApi::PAT val,
PathHandler::Situation s )
inline

◆ use_path4()

std::string use_path4 ( GameApi::PAT pat)
Here is the caller graph for this function:

Variable Documentation

◆ g_all_functions_service

AllFunctionsServiceInterface* g_all_functions_service
extern

◆ g_area_type_array

std::vector<V_Area_Type> g_area_type_array
extern

◆ g_areas

std::vector<V_Area_Pos> g_areas
extern

◆ g_blocks

G_BLOCK g_blocks
extern

◆ g_cached_serv

CachedFileService* g_cached_serv
extern

◆ g_current_block

int g_current_block
extern

◆ g_object_pos

std::vector<V_Object_Pos> g_object_pos
extern

◆ g_object_types

std::vector<V_Object_Type_Array*> g_object_types
extern

◆ g_path_handler

IMPORT PathHandler* g_path_handler
extern

◆ g_rest

Rest g_rest
extern

◆ g_voxel_types

std::vector<V_Voxel_Type_Array*> g_voxel_types
extern

◆ g_walls

std::vector<V_Wall_Array*> g_walls
extern

◆ GameApiAllocator< T >::m_changed_mem

template<class T>
uint32_t GameApiAllocator< T >::m_changed_mem = 0

◆ GameApiAllocator< T >::m_free_mem

template<class T>
uint32_t GameApiAllocator< T >::m_free_mem = std::numeric_limits<uint32_t>::max()

◆ GameApiAllocator< T >::m_used_mem

template<class T>
uint32_t GameApiAllocator< T >::m_used_mem = 0

◆ Pos_E

const int Pos_E = -16384