GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi_h.hh
Go to the documentation of this file.
1
2#ifndef GAMEAPI_H_H
3#define GAMEAPI_H_H
4
5#define NO_PREPARE_RENDER 1
6
7#ifndef LINUX
8#ifndef RASPI
9// this is also in Main.cc
10#ifndef EMSCRIPTEN
11#ifndef ANDROID
12#define VIRTUAL_REALITY 1
13#endif
14#endif
15#ifndef EMSCRIPTEN
16//#define VIRTUAL_REALITY_OVERLAY 1
17#endif
18#endif
19#endif
20#define SDL2_USED
21#define GAME_API_DEF
22#define _SCL_SECURE_NO_WARNINGS
23
24//#ifndef EMSCRIPTEN
25// Threadheavy + dynloadsponza doesnt work property.
26//#define THREAD_HEAVY 1
27#ifndef ARM
28#ifndef NO_THREADS
29#define THREADS 1
30#endif
31#endif
32//#endif
33#define BATCHING 1
34
35#ifndef RASPI
36#ifndef EMSCRIPTEN
37#ifndef LINUX
38#ifndef ANDROID
39#define LOOKING_GLASS 1
40//#undef LOOKING_GLASS
41#endif
42#endif
43#endif
44#endif
45
46//#ifndef EMSCRIPTEN
47#ifndef ANDROID
48#define VAO 1
49#endif
50
51#ifndef RASPI
52#ifndef ANDROID
53#define HAS_INSTANCING 1
54#endif
55#endif
56
57//#ifndef RASPI
58#define HAS_MATRIX_INVERSE 1
59//#endif
60
61#ifdef IOT
62#define IOT_EVENTS
63#endif
64
65#ifndef RASPI
66#ifndef ARM
67#ifndef OUTPUT
68#define HAS_FREETYPE 1
69#endif
70#ifndef EMSCRIPTEN
71#ifndef ANDROID
72#define HAS_POPEN 1
73#endif
74#endif
75#endif
76#endif
77
78#define USE_SDL_MIXER 1
79#define USE_SDL_MIXER_HACK 1
80
81//#ifndef RASPI
82#define USE_GLEW 1
83//#endif
84
85#define USE_CHAISCRIPT 0
86
87#ifdef ARM
88#define pthread_mutex_unlock __gthread_mutex_unlock
89#define pthread_mutex_lock __gthread_mutex_lock
90#define PTHREAD_MUTEX_INITIALIZER __GTHREAD_MUTEX_INIT
91#define pthread_mutex_t __gthread_mutex_t
92#endif
93
94// this flag needs to be changes also from
95// 1) GameApi_h.hh
96// 2) Main.cc
97// 3) Shader.cc
98//#define OPENGL_ES 1
99
100#ifdef RASPI
101//#define OPENGL_ES 1
102#endif
103
104#ifdef ANDROID
105#define OPENGL_ES 1
106#endif
107
108#ifdef LINUX
109// TEST
110#define OPENGL_ES 1
111#endif
112
113
114#ifdef AMD
115#define OPENGL_ES 1
116#endif
117
118#ifdef EMSCRIPTEN
119#define OPENGL_ES 1
120#endif
121
122//#define WAYLAND 1
123
124#ifdef WAYLAND
125//#define OPENGL_ES 1
126#endif
127
128
129//#define STABLE 1
130
131
132#include "GameApi.hh"
133#include <vector>
134#include <map>
135#include "Effect.hh"
136#include "VectorTools.hh"
137#include "Graph.hh"
138#include "Physics.hh"
139#include "State.hh"
140#include "Serialize.hh"
141#include "GameRunner.hh"
142#include "RayTracing.hh"
143#include "VertexArray.hh"
144#include "StateChange.hh"
145#include "DistanceObject.hh"
146#include "MatrixApi.hh"
147#include "Web.hh"
148#include "Effect2.hh"
149#include "GraphI.hh"
150#include <iostream>
151#ifndef HAS_PTHREAD
152#define HAS_PTHREAD 1
153#include <pthread.h>
154#undef PTW32_LEVEL
155#endif
156#ifdef EMSCRIPTEN
157#include <emscripten/threading.h>
158#endif
159#include <fstream>
160
161#include <memory>
162#include <cmath>
163#include <chrono>
164#include "MyMap.hh"
165
166
168
169void async_pending_plus(std::string label, std::string info);
170void async_pending_minus(std::string label, std::string info);
171
172
173#ifdef ANDROID
174#if 0
175namespace std {
176 template<class T>
177 std::string to_string(const T &t) { std::stringstream ss; ss << t; return ss.str(); }
178 float strtof(const char *s, char **end) { std::stringstream ss(s); float f=0.0; ss >> f; return f; }
179 int stoi(std::string s, size_t *chs) { std::stringstream ss(s); int i=0; ss >> i; return i; }
180 long double strtold(const char *s, char**end) { std::stringstream ss(s); long double ll; ss >> ll; return ll; }
181 long long strtoll(const char *s, char**end, int) { std::stringstream ss(s); long long ll; ss >> ll; return ll; }
182 unsigned long long strtoull(const char *s, char**end, int) { std::stringstream ss(s); unsigned long long ll; ss >> ll; return ll; }
183 int snprintf(char *a, size_t b, const char * c, ...) { int val = 0; va_list arglist; va_start( arglist, c); val=::vsnprintf(a,b,c,arglist ); va_end(arglist); return val; }
184};
185 extern int errno;
186#define UINT64_MAX 0xffffffffffffffffL
187#endif
188#endif
189
190
191//#define NO_SDL_GLEXT
192#ifndef DEPS
193//#include <GL/glew.h>
194//#ifdef __APPLE__
195//#include <OpenGL/gl.h>
196//#else
197//#include <GL/gl.h>
198//#endif
199#endif
200#ifndef DEPS
201//#ifdef SDL2_USED
202//#include <SDL.h>
203//#include <SDL_opengl.h>
204//#else
205//#include <SDL/SDL.h>
206//#include <SDL/SDL_opengl.h>
207//#endif
208
209#include "GameApi_low.hh"
210//#include <SDL_mixer.h>
211#ifdef HAS_FREETYPE
212#include <ft2build.h>
213#include FT_FREETYPE_H
214#endif
215#endif
216
217#undef LoadImage
218
219#include "FreeType.hh"
220#include "Parser.hh"
221
222#define SPECIAL_TEX_ID 600000
223#define SPECIAL_TEX_IDA 700000
224#define SPECIAL_TEX_ID_CUBEMAP 800000
225#define SPECIAL_TEX_ID_CUBEMAP_END 900000
226
227int add_block();
228void set_current_block(int id);
229void clear_block(int id);
230void recreate_block(int id);
231
232#if 0
233void *operator new( std::size_t count);
234void operator delete(void* ptr, size_t sz) noexcept;
235#endif
236
237std::string unique_id();
238
246{
247};
248
249#if 0
250struct SpritePriv
251{
252 //ArrayRender rend;
253 std::map<int, ArrayRender*> renders;
254 std::map<int, Sprite*> sprites;
255 std::vector<Sprite**> arrays;
256 ~SpritePriv();
257};
258#endif
259
261{
262 //GridPriv() : rend(g_low) { }
263 //ArrayRender rend;
265 std::map<int, int> cellsx;
266 std::map<int, int> cellsy;
269};
270#if MOVED_TO_GAMERUNNER_HH
271struct PolyPriv
272{
273 std::map<int, ArrayRender*> rend;
274 std::map<int, StateBitmaps*> states;
275 ~PolyPriv();
276};
277#endif
278
280{
281};
282
283bool is_platform_linux();
285bool is_platform_win32();
286bool is_platform_mac();
287bool is_platform_chrome();
289
291{
293 unsigned long long time;
294 unsigned long long time2;
295 unsigned long long frame_time;
296 unsigned int avg_time;
300 int count;
301 int frame;
302#ifndef EMSCRIPTEN
303 std::map<std::string, std::chrono::high_resolution_clock::duration > profile_sums;
304 std::map<std::string, int> profile_count;
305 std::map<std::string, std::chrono::time_point<std::chrono::high_resolution_clock> > profile_start_time;
306#endif
311};
312
314{
317 std::map<int,int> ids;
318 int count;
319};
320
328
330{
333 Point2d conv(Point p) { Point2d pp; pp.x = p.x; pp.y = p.y; return pp; }
334};
335
337{
339 float duration;
340};
342{
343 float x,y;
344};
345
347{
348public:
349 virtual int Index(int path, float f) const=0;
350 virtual float Duration() const=0;
351 virtual int NumPaths() const=0;
352 virtual ~AnimInt() { }
353};
354class SingleAnimInt : public AnimInt
355{
356public:
357 SingleAnimInt(int v, float d) : d(d), v(v) { }
358 int Index(int path, float t) const { return v; }
359 float Duration() const { return d; }
360 int NumPaths() const { return 1; }
361private:
362 float d;
363 int v;
364};
365#if 0
366class LineAnimInt : public AnimInt
367{
368public:
369 LineAnimInt(int val1, int val2, float d) : val1(val1), val2(val2), d(d) { }
370 int Index(int path, float t) const
371 {
372 t/=d;
373 return val1*t + val2*(1.0-t);
374 }
375 float Duration() const { return d; }
376 int NumPaths() const { return 1; }
377private:
378 int val1,val2;
379 float d;
380};
381#endif
382
384{
385public:
386 virtual Point Index(int path, float f) const=0;
387 virtual float Duration() const=0;
388 virtual int NumPaths() const=0;
389 virtual ~AnimPoint3d() { }
390};
391
392#if 0
393class SingleAnimPoint : public AnimPoint3d
394{
395public:
396 SingleAnimPoint(Point v, float d) : d(d), v(v) { }
397 Point Index(int path, float t) const { return v; }
398 float Duration() const { return d; }
399 int NumPaths() const { return 1; }
400private:
401 float d;
402 Point v;
403};
404#endif
405#if 0
406class LineAnimPoint : public AnimPoint3d
407{
408public:
409 LineAnimPoint(Point val1, Point val2, float d) : val1(val1), val2(val2), d(d) { }
410 Point Index(int path, float t) const
411 {
412 t/=d;
413 return t*Vector(val1) + (1.0-t)*Vector(val2);
414 }
415 float Duration() const { return d; }
416 int NumPaths() const { return 1; }
417private:
418 Point val1,val2;
419 float d;
420};
421#endif
422
424{
425public:
426 virtual float Index(int path, float f) const=0;
427 virtual float Duration() const=0;
428 virtual int NumPaths() const=0;
429 virtual ~AnimFloat() { }
430};
431
432#if 0
433class SingleAnimFloat : public AnimFloat
434{
435public:
436 SingleAnimFloat(float v, float d) : d(d), v(v) { }
437 float Index(int path, float t) const { return v; }
438 float Duration() const { return d; }
439 int NumPaths() const { return 1; }
440private:
441 float d;
442 float v;
443};
444#endif
445
446#if 0
447class LineAnimFloat : public AnimFloat
448{
449public:
450 LineAnimFloat(float val1, float val2, float d) : val1(val1), val2(val2), d(d) { }
451 float Index(int path, float t) const
452 {
453 t/=d;
454 return val1*t + val2*(1.0-t);
455 }
456 float Duration() const { return d; }
457 int NumPaths() const { return 1; }
458private:
459 float val1,val2;
460 float d;
461};
462#endif
463
472
484
486{
488};
489
491{
492public:
493 virtual int Size() const=0;
494 virtual int Poly_id(int count) const=0;
495 virtual int facenum(int count) const=0;
496 virtual int pointnum(int count) const=0;
497 virtual int type(int count) const=0; // 0=point, 1=normal, 2=color, 3=texcoord
498};
500{
501public:
502 IDInterfaceUnion(IDInterface &id1, IDInterface &id2) : id1(id1), id2(id2) { }
503 virtual int Size() const { return id1.Size()+id2.Size(); }
504 virtual int Poly_id(int count) const
505 {
506 if (count < id1.Size()) return id1.Poly_id(count);
507 return id2.Poly_id(count-id1.Size());
508 }
509 virtual int facenum(int count) const
510 {
511 if (count < id1.Size()) return id1.facenum(count);
512 return id2.facenum(count-id1.Size());
513 }
514 virtual int pointnum(int count) const
515 {
516 if (count < id1.Size()) return id1.pointnum(count);
517 return id2.pointnum(count-id1.Size());
518 }
519 virtual int type(int count) const // 0=point, 1=normal, 2=color, 3=texcoord
520 {
521 if (count < id1.Size()) return id1.type(count);
522 return id2.type(count-id1.Size());
523 }
524
525private:
526 IDInterface &id1, &id2;
527};
528
529#undef interface
530struct IDImpl
531{
534 //int poly_id;
535 //int facenum;
536 //int pointnum;
537 //int type;
538};
539
540struct Font22
541{
543};
544
555
568
570{
571 float *array;
572 float *color=0; // 4 items per numpoint
579};
580
582{
583 float *array;
584 float *color=0; // 4 items per numpoint
591};
592
593
595{
596 std::vector<float> array;
597 std::vector<unsigned char> cmd_array;
598};
599
601{
602 int type;
605};
606
608{
611 TBuffer2 *buf; // 2d buffer
612};
613
615{
616 int sx, sy;
618 int x,y;
619 int top;
620 int left=0;
621 int ascender=0;
623 int height=0;
624};
626{
627 std::map<int, FontAtlasGlyphInfo> char_map;
630};
631
632
645{
646 std::vector<GameApi::P> vec;
647};
649{
650 std::vector<GameApi::VA> vec;
651};
652
653static const int ArrayElements = 2;
654template<class T>
656{
657};
658template<>
660{
661public:
662 static const int i=0;
663};
664template<>
666{
667 static const int i=1;
668};
669
670class ASyncTask;
672{
673 std::vector<Point, GameApiAllocator<Point> > pt;
674 //std::vector<MatrixInterface*> matrix;
676 std::vector<Vector, GameApiAllocator<Vector> > vectors;
677 std::vector<Color, GameApiAllocator<Color> > colors;
678 std::vector<VolumeObject*, GameApiAllocator<VolumeObject*> > volumes;
679 std::vector<FloatVolumeObject*, GameApiAllocator<FloatVolumeObject*> > floatvolumes;
680 std::vector<BitmapHandle*, GameApiAllocator<BitmapHandle*> > bm;
681 std::vector<BitmapArray2<Color> *, GameApiAllocator<BitmapArray2<Color>* > > bm_array;
682 std::vector<BoolBitmap, GameApiAllocator<BoolBitmap> > bool_bm;
683 std::vector<FloatBitmap, GameApiAllocator<FloatBitmap> > float_bm;
684 std::vector<SpaceImpl, GameApiAllocator<SpaceImpl> > sp;
685 std::vector<LineImpl, GameApiAllocator<LineImpl> > ln;
686 std::vector<SpritePosImpl, GameApiAllocator<SpritePosImpl> > spr_pos;
687 std::vector<AnimImpl, GameApiAllocator<AnimImpl> > anim;
688 std::vector<FaceCollPolyHandle*, GameApiAllocator<FaceCollPolyHandle*> > poly;
689 std::vector<std::shared_ptr<void> > deletes;
690 std::vector<FunctionImpl, GameApiAllocator<FunctionImpl> > func;
691 std::vector<SurfaceImpl, GameApiAllocator<SurfaceImpl> > surfaces;
692 //std::vector<VBOObjects*> vbos;
693 std::vector<IDImpl, GameApiAllocator<IDImpl> > ids;
694 std::vector<NDim<float,Point>*, GameApiAllocator<NDim<float,Point>*> > dims;
695 std::vector<StateInfo2, GameApiAllocator<StateInfo2> > states;
696 std::vector<StateRange, GameApiAllocator<StateRange> > state_ranges; // ST type points to this array
697 std::vector<ContinuousBitmap<Color>*, GameApiAllocator<ContinuousBitmap<Color> *> > continuous_bitmaps;
698 std::vector<VertexArraySet*, GameApiAllocator<VertexArraySet*> > vertex_array;
699 std::vector<RenderVertexArray*, GameApiAllocator<RenderVertexArray*> > vertex_array_render;
700 std::vector<int, GameApiAllocator<int> > texture_id;
701 std::vector<std::string, GameApiAllocator<std::string> > shader_float_parameter;
702 std::vector<std::string, GameApiAllocator<std::string> > shader_int_parameter;
703
704 std::vector<Voxel<unsigned int>*, GameApiAllocator<Voxel<unsigned int>*> > voxels;
705 std::vector<Voxel<int>*, GameApiAllocator<Voxel<int>*> > voxels2;
706 std::vector<TROArray*, GameApiAllocator<TROArray*> > timeranges; // statechange time ranges
707 std::vector<VArray*, GameApiAllocator<VArray*> > timerange_vertexarrays; // statechange vertex arrays
708 std::vector<ShaderPriv2*, GameApiAllocator<ShaderPriv2*> > shaders;
709 std::vector<TextureI*, GameApiAllocator<TextureI*> > textures;
710 std::vector<TexCoordQuad, GameApiAllocator<TexCoordQuad> > tex_quads;
711 std::vector<Separate*, GameApiAllocator<Separate*> > separates;
712 std::vector<PlanePoints2d*, GameApiAllocator<PlanePoints2d*> > plane_points;
713 std::vector<PlaneData, GameApiAllocator<PlaneData> > plane_array;
714 std::vector<Waveform*, GameApiAllocator<Waveform*> > waveforms;
715 std::vector<Array<int, ObjectWithPos> *, GameApiAllocator<Array<int,ObjectWithPos>* > > object_move;
716 std::vector<std::vector<VertexArrayWithPos> *, GameApiAllocator<std::vector<VertexArrayWithPos>*> > object_move_vertex_array;
717 std::vector<Bitmap<float>*, GameApiAllocator<Bitmap<float>* > > layout_data;
718 std::map<int, ArrayRender*> renders; // BM.id -> arrayrender
719 std::map<int, ArrayRender*> renders2; // BM.id -> arrayrender
720 std::vector<Layout*, GameApiAllocator<Layout*> > layouts;
721 std::vector<PointArray2*, GameApiAllocator<PointArray2*> > pointarray;
722 std::vector<PointArray3*, GameApiAllocator<PointArray3*> > pointarray3;
723 std::vector<PointCollection*, GameApiAllocator<PointCollection*> > pointcollarray;
724 std::vector<LineCollection*, GameApiAllocator<LineCollection*> > linearray;
725 std::vector<ColorVolumeObject*, GameApiAllocator<ColorVolumeObject*> > colorvolume;
726 std::map<int, ShaderPriv2*> shader_privs;
727 std::vector<DistanceRenderable*, GameApiAllocator<DistanceRenderable*> > distvolume;
728 std::vector<VectorVolumeObject*, GameApiAllocator<VectorVolumeObject*> > vectorvolume;
729 std::vector<PointsApiPoints*, GameApiAllocator<PointsApiPoints*> > pointsapi_points;
730 std::vector<LazyValue<float>*, GameApiAllocator<LazyValue<float>*> > floats;
731 std::vector<Array<int,float>*, GameApiAllocator<Array<int,float>*> > float_array;
732 std::vector<FBOPriv, GameApiAllocator<FBOPriv> > fbos;
733 std::vector<Samples*, GameApiAllocator<Samples*> > samples;
734 std::vector<Tracker*, GameApiAllocator<Tracker*> > trackers;
735 std::vector<TBuffer, GameApiAllocator<TBuffer> > tracker_buf;
736 std::vector<Wavs, GameApiAllocator<Wavs> > wavs;
737 std::vector<ShaderModule*, GameApiAllocator<ShaderModule*> > shader_module;
738 std::vector<GuiWidget*, GameApiAllocator<GuiWidget*> > widgets;
739 std::vector<GameApiModule *, GameApiAllocator<GameApiModule*> > gameapi_modules;
740 std::vector<FontAtlasInfo*, GameApiAllocator<FontAtlasInfo*> > font_atlas;
741 std::vector<MainLoopItem*, GameApiAllocator<MainLoopItem*> > main_loop;
742 std::vector<std::vector<int>*, GameApiAllocator<std::vector<int>*> > arrays;
743 std::vector<ExprNode*, GameApiAllocator<ExprNode*> > exprs;
744 std::vector<PhysicsNode*, GameApiAllocator<PhysicsNode*> > phys;
745 std::vector<TriStrip*, GameApiAllocator<TriStrip*> > tri_strip;
746 std::vector<Cutter*, GameApiAllocator<Cutter*> > cutters;
747 std::vector<BO_Impl, GameApiAllocator<BO_Impl> > boolean_ops;
748 std::vector<PD_Impl, GameApiAllocator<PD_Impl> > polydistfield;
749 std::vector<std::vector<int>, GameApiAllocator<std::vector<int> > > handle_array;
750 std::vector<std::vector<int>, GameApiAllocator<std::vector<int> > > template_array;
751 std::vector<Collision*, GameApiAllocator<Collision*> > collision_array;
752 std::vector<Movement*, GameApiAllocator<Movement*> > movement_array;
753 std::vector<ImplicitFunction3d*, GameApiAllocator<ImplicitFunction3d*> > implicit;
754 std::vector<TreeLevel*, GameApiAllocator<TreeLevel*> > tree_levels;
755 std::vector<TreeStack*, GameApiAllocator<TreeStack*> > trees;
756 std::vector<Material*, GameApiAllocator<Material*> > materials;
757 std::vector<ShaderCall*, GameApiAllocator<ShaderCall*> > shadercalls;
758 std::vector<Curve<Point>*, GameApiAllocator<Curve<Point>*> > curves;
759 std::vector<MatrixArray*, GameApiAllocator<MatrixArray*> > matrix_arrays;
760 std::vector<Curve<Matrix>*, GameApiAllocator<Curve<Matrix>*> > matrix_curves;
761 std::vector<PlaneShape*, GameApiAllocator<PlaneShape*> > plane_shapes;
762 std::vector<SkeletalNode*, GameApiAllocator<SkeletalNode*> > skeletals;
763 std::vector<std::shared_ptr<void> > temp_deletes;
764 std::vector<Pa_Impl, GameApiAllocator<Pa_Impl> > polygon_array;
765 std::vector<Va_Impl, GameApiAllocator<Va_Impl> > va_array;
766 std::vector<MixedI*, GameApiAllocator<MixedI*> > mixed;
767 std::vector<ColorChange*, GameApiAllocator<ColorChange*> > color_change;
768 std::vector<Blocker*, GameApiAllocator<Blocker*> > blockers;
769 std::vector<Splitter*, GameApiAllocator<Splitter*> > splitters;
770 std::vector<VertexAnimNode*, GameApiAllocator<VertexAnimNode*> > vertex_anims;
771 std::vector<PointTransform*, GameApiAllocator<PointTransform*> > point_transforms;
772 std::vector<CurvePos*, GameApiAllocator<CurvePos*> > curve_pos;
773 std::vector<ArrayType*, GameApiAllocator<ArrayType*> > arrays2;
774 std::vector<Fetcher<int>*, GameApiAllocator<Fetcher<int>*> > int_fetchers;
775 std::vector<Fetcher<std::string>*, GameApiAllocator<Fetcher<std::string>*> > string_fetchers;
776 std::vector<Fetcher<float>*, GameApiAllocator<Fetcher<float>*> > float_fetchers;
777 std::vector<Fetcher<Point>*, GameApiAllocator<Fetcher<Point>*> > point_fetchers;
779 std::vector<GlyphInterface*, GameApiAllocator<GlyphInterface*> > glyph_interfaces;
780 std::vector<FontInterface*, GameApiAllocator<FontInterface*> > font_interfaces;
781 std::vector<StringDisplay*, GameApiAllocator<StringDisplay*> > string_displays;
782 std::vector<CmdExecute*, GameApiAllocator<CmdExecute*> > cmds;
783 std::vector<CurvePatch*, GameApiAllocator<CurvePatch*> > curve_patches;
784 std::vector<PropertyArray*, GameApiAllocator<PropertyArray*> > prop_array;
785 std::vector<Space3d*, GameApiAllocator<Space3d*> > space_3d;
786 std::vector<LinesInPlane*, GameApiAllocator<LinesInPlane*> > plane_lines;
787 std::vector<PointsInPlane*, GameApiAllocator<PointsInPlane*> > plane_points2;
788 std::vector<FacesInPlane*, GameApiAllocator<FacesInPlane*> > plane_faces;
789 std::map<int, TextureID*> txids;
790 std::vector<ShaderI*, GameApiAllocator<ShaderI*> > shader_interface;
791 std::vector<ContinuousBitmap<float>*, GameApiAllocator<ContinuousBitmap<float>*> > cont_floats;
792 std::vector<ContinuousBitmap<bool>*, GameApiAllocator<ContinuousBitmap<bool>*> > cont_bools;
793 std::vector<DynamicChange*, GameApiAllocator<DynamicChange*> > dyn_change;
794 std::vector<std::vector<float> *, GameApiAllocator<std::vector<float>*> > polynomials;
795 std::vector<ShaderBitmap*, GameApiAllocator<ShaderBitmap*> > shaderbitmaps;
796 std::vector<DiskStore*, GameApiAllocator<DiskStore*> > disk_store;
797 std::vector<Bitmap<int>*, GameApiAllocator<Bitmap<int>*> > int_bitmaps;
798 std::vector<InputForMoving*, GameApiAllocator<InputForMoving*> > move_input;
799 std::vector<CurveGroup*, GameApiAllocator<CurveGroup*> > curve_group;
800 std::vector<MeshAnim*, GameApiAllocator<MeshAnim*> > mesh_anim;
801 std::vector<FrameBufferLoop*, GameApiAllocator<FrameBufferLoop*> > frame_loop;
802 std::vector<FrameBuffer*, GameApiAllocator<FrameBuffer*> > frame_buffer;
803 std::vector<HeavyOperation*, GameApiAllocator<HeavyOperation*> > heavys;
804 std::vector<FrmWidget*, GameApiAllocator<FrmWidget*> > frm_widgets;
805 std::vector<VoxelArray*, GameApiAllocator<VoxelArray*> > voxel_array;
806 std::vector<Fetcher<FaceID>*, GameApiAllocator<Fetcher<FaceID>*> > uv;
807 std::vector<MatrixArray3*, GameApiAllocator<MatrixArray3*> > matrixarray3;
808 std::vector<Html*, GameApiAllocator<Html*> > html;
809 std::vector<DynMainLoop*, GameApiAllocator<DynMainLoop*> > dyn;
810 std::vector<VelocityField*, GameApiAllocator<VelocityField*> > vfi;
811 std::vector<FloatField*, GameApiAllocator<FloatField*> > ffi;
812 std::vector<FloatArray2*, GameApiAllocator<FloatArray2*> > farray;
813 std::vector<MemoryBlock*, GameApiAllocator<MemoryBlock*> > memblock;
814 std::vector<UrlMemoryMap*, GameApiAllocator<UrlMemoryMap*> > urlmemmap;
815 std::vector<Attach*, GameApiAllocator<Attach*> > attach;
816 std::vector<GameState*, GameApiAllocator<GameState*> > game_state;
817 std::vector<GraphicsContext*, GameApiAllocator<GraphicsContext*> > gc;
818 std::vector<GLTFModelInterface*, GameApiAllocator<GLTFModelInterface*> > tf;
819 std::vector<ShaderI2*, GameApiAllocator<ShaderI2*> > shi;
820 std::vector<ShaderParameterI*, GameApiAllocator<ShaderParameterI*> > shp;
821 std::vector<PixelBufferObject*, GameApiAllocator<PixelBufferObject*> > pbo;
822 std::vector<ShaderCode*, GameApiAllocator<ShaderCode*> > shc;
823 std::vector<ScreenSpaceMaterial*, GameApiAllocator<ScreenSpaceMaterial*> > ss_mat;
824 std::vector<IWorld*, GameApiAllocator<IWorld*> > worlds;
825 std::vector<ICache*, GameApiAllocator<ICache*> > caches;
826 std::vector<Platform*, GameApiAllocator<Platform*> > platforms;
827 std::vector<Timing*, GameApiAllocator<Timing*> > timings;
828 std::vector<GameApi::GlobalIlluminationData*, GameApiAllocator<GameApi::GlobalIlluminationData*> > globalillumination;
829 std::vector<MainLoopItemWGPU*, GameApiAllocator<MainLoopItemWGPU*> > wgpu_main_loop;
830 std::vector<ColourSpace*, GameApiAllocator<ColourSpace*> > colourspaces;
831 std::vector<ColourSpaceI*, GameApiAllocator<ColourSpaceI*> > colourspacesI;
832 std::vector<ByteStore*, GameApiAllocator<ByteStore*> > bytestores;
833 std::vector<OptVoxel*, GameApiAllocator<OptVoxel*> > opt_voxels;
834 std::vector<Bitmap<FaceCollection*> *, GameApiAllocator<Bitmap<FaceCollection*> *> > p_matrix;
835 std::vector<Array<int,FaceCollection*> *, GameApiAllocator<Array<int,FaceCollection*> *> > p_array;
836 std::vector<FloatScene*, GameApiAllocator<FloatScene*> > float_scenes;
837 std::vector<Path*, GameApiAllocator<Path*> > paths;
838 std::vector<void*, GameApiAllocator<void*> > objects;
839 //std::vector<EventInfo> event_infos;
840 Sequencer2 *event_infos; // owned, one level only.
841 pthread_mutex_t mutex;
842 void lock() { pthread_mutex_lock(&mutex); }
843 void unlock() { pthread_mutex_unlock(&mutex); }
844#ifdef HAS_FREETYPE
845 FT_Library lib;
846#endif
847 std::vector<Font22> fonts;
848 static ::EnvImpl *Environment(GameApi::Env *e) { if (e) { return (EnvImpl*)e->envimpl; } else { /*std::cout << "Environment NULL "<< (int)e << std::endl;*/ return 0; } }
849
850 IMPORT int add_to_download_bar(std::string filename); // returns index, must use mapping to put it to i.
851 IMPORT int download_index_mapping(int index);
852 IMPORT int download_bar_count() const;
853 IMPORT void set_download_data(GameApi::Env &env, int i, const std::vector<unsigned char> &file);
854 IMPORT void set_download_progress(int i, float percentage);
855 IMPORT void set_download_ready(int i);
856 //IMPORT std::vector<unsigned char> *get_download_bar_item(int i) const;
857 IMPORT std::string get_download_bar_filename(int i) const;
858 IMPORT float get_download_bar_progress(int i) const;
859 IMPORT bool get_download_bar_ready(int i) const;
861
862 IMPORT int start_async(ASyncTask *task);
863 IMPORT int async_mapping(int index);
864 IMPORT void remove_async(int i);
865 IMPORT void async_scheduler();
866
868 {
869 //temp_deletes.resize(0);
870 //temp_deletes.shrink_to_fit();
871 }
872 EXPORT std::vector<int> store_counts() const
873 {
874 std::vector<int> vec;
875 vec.push_back(vertex_array_render.size());
876 vec.push_back(vertex_array.size());
877 vec.push_back(renders.size());
878 vec.push_back(renders2.size());
879 return vec;
880 }
881 EXPORT void free_to_counts(std::vector<int> vec)
882 {
883#if 0
884 int sk2 = vertex_array_render.size();
885 int start0=vec[0];
886 for(int ii2=start0;ii2<sk2;ii2++)
887 {
889 delete s;
890 }
891 int start1 = vec[1];
892 int sk1 = vertex_array.size();
893 for(int ii1=start1;ii1<sk1;ii1++)
894 {
896 delete s;
897 }
898
899 int start2 = vec[2];
900 std::map<int, ArrayRender*>::iterator it = renders.begin();
901 std::advance(it,start2);
902 for(;it!=renders.end();it++)
903 {
904 ArrayRender *rend = (*it).second;
905 delete rend;
906 }
907 int start3 = vec[3];
908 std::map<int, ArrayRender*>::iterator it2 = renders2.begin();
909 std::advance(it,start3);
910 for(;it2!=renders2.end();it2++)
911 {
912 ArrayRender *rend = (*it2).second;
913 delete rend;
914 }
915#endif
916 }
918 {
919#if 0
920 deletes.resize(0);
921 deletes.shrink_to_fit();
922 int sk6 = textures.size();
923 for(int ii6=0;ii6<sk6;ii6++)
924 {
925 TextureI *ptr = textures[ii6];
926 delete ptr;
927 textures[ii6]=0;
928 }
929 textures.resize(0);
930 textures.shrink_to_fit();
931 int sk5 = pointsapi_points.size();
932 for(int ii5=0;ii5<sk5;ii5++)
933 {
935 delete p;
936 pointsapi_points[ii5] = 0;
937 }
938 pointsapi_points.resize(0);
939 pointsapi_points.shrink_to_fit();
940 int sk4 = plane_points.size();
941 for(int ii4=0;ii4<sk4;ii4++)
942 {
943 PlanePoints2d *p = plane_points[ii4];
944 delete p;
945 plane_points[ii4]=0;
946 }
947 plane_points.resize(0);
948 plane_points.shrink_to_fit();
949 int sk3 = continuous_bitmaps.size();
950 for(int ii3=0;ii3<sk3;ii3++)
951 {
953 delete p;
954 continuous_bitmaps[ii3]=0;
955 }
956 continuous_bitmaps.resize(0);
957 continuous_bitmaps.shrink_to_fit();
958#if 0
959 int sk2 = vertex_array_render.size();
960 for(int ii2=0;ii2<sk2;ii2++)
961 {
963 delete s;
964 }
965
966 int sk1 = vertex_array.size();
967 for(int ii1=0;ii1<sk1;ii1++)
968 {
970 delete s;
971 }
972
973 std::map<int, ArrayRender*>::iterator it = renders.begin();
974 for(;it!=renders.end();it++)
975 {
976 ArrayRender *rend = (*it).second;
977 delete rend;
978 }
979 std::map<int, ArrayRender*>::iterator it2 = renders2.begin();
980 for(;it2!=renders2.end();it2++)
981 {
982 ArrayRender *rend = (*it2).second;
983 delete rend;
984 }
985#endif
986#if 1
987 int vv1 = volumes.size();
988 for(int i_v=0;i_v<vv1;i_v++)
989 {
990 delete volumes[i_v];
991 volumes[i_v] =0;
992 }
993 volumes.resize(0);
994 volumes.shrink_to_fit();
995#endif
996 int vv2 = floatvolumes.size();
997 for(int i_vv2=0;i_vv2<vv2;i_vv2++)
998 {
999 delete floatvolumes[i_vv2];
1000 floatvolumes[i_vv2]=0;
1001 }
1002 floatvolumes.resize(0);
1003 floatvolumes.shrink_to_fit();
1004#if 0
1005 int vv3 = pointarray.size();
1006 for(int i_vv3=0;i_vv3<vv3;i_vv3++)
1007 {
1008 delete [] pointarray[i_vv3]->array;
1009 delete [] pointarray[i_vv3]->color_array;
1010 delete pointarray[i_vv3];
1011 pointarray[i_vv3]=0;
1012 }
1013 pointarray.resize(0);
1014 pointarray.shrink_to_fit();
1015#endif
1016#if 0
1017 int vv3a = pointarray3.size();
1018 for(int i_vv3a=0;i_vv3a<vv3a;i_vv3a++)
1019 {
1020 delete [] pointarray3[i_vv3a]->array;
1021 delete [] pointarray3[i_vv3a]->color;
1022 delete pointarray3[i_vv3a];
1023 pointarray3[i_vv3a]=0;
1024 }
1025 pointarray3.resize(0);
1026 pointarray3.shrink_to_fit();
1027#endif
1028 int vv4 = linearray.size();
1029 for(int i_vv4=0;i_vv4<vv4;i_vv4++)
1030 {
1031 delete linearray[i_vv4];
1032 linearray[i_vv4]=0;
1033 }
1034 linearray.resize(0);
1035 linearray.shrink_to_fit();
1036 int vv5 = pointcollarray.size();
1037 for(int i_vv5=0;i_vv5<vv5;i_vv5++)
1038 {
1039 delete pointcollarray[i_vv5];
1040 pointcollarray[i_vv5]=0;
1041 }
1042 pointcollarray.resize(0);
1043 pointcollarray.shrink_to_fit();
1044 int ss1 = bool_bm.size();
1045 for(int i_1=0;i_1<ss1;i_1++)
1046 {
1047 BoolBitmap &bm = bool_bm[i_1];
1048 delete bm.bitmap;
1049 bm.bitmap=0;
1050 }
1051 bool_bm.resize(0);
1052 bool_bm.shrink_to_fit();
1053 int ss1a = waveforms.size();
1054 for(int i_1a=0;i_1a<ss1a;i_1a++)
1055 {
1056 Waveform *bm = waveforms[i_1a];
1057 delete bm;
1058 waveforms[i_1a]=0;
1059 }
1060 waveforms.resize(0);
1061 waveforms.shrink_to_fit();
1062 int ss2 = float_bm.size();
1063 for(int i_2=0;i_2<ss2;i_2++)
1064 {
1065 FloatBitmap &bm = float_bm[i_2];
1066 delete bm.bitmap;
1067 bm.bitmap=0;
1068 }
1069 float_bm.resize(0);
1070 float_bm.shrink_to_fit();
1071 int s0 = fonts.size();
1072 for(int i0=0;i0<s0;i0++)
1073 {
1074 Font22 f = fonts[i0];
1075 delete f.bm;
1076 fonts[i0].bm=0;
1077 }
1078 fonts.resize(0);
1079 fonts.shrink_to_fit();
1080 int s1 = bm.size();
1081 for(int i1=0;i1<s1;i1++)
1082 {
1083 BitmapHandle *handle = bm[i1];
1084 //std::cout << "EnvImpl destructor: " << handle << std::endl;
1085 delete handle;
1086 bm[i1]=0;
1087 }
1088 bm.resize(0);
1089 bm.shrink_to_fit();
1090 int s2 = anim.size();
1091 for(int i2=0;i2<s2;i2++)
1092 {
1093 AnimImpl *impl = &anim[i2];
1094 delete impl->wave_int;
1095 delete impl->wave_point;
1096 delete impl->wave_float;
1097 }
1098 anim.resize(0);
1099 anim.shrink_to_fit();
1100 int s3 = poly.size();
1101 for(int i3=0;i3<s3;i3++)
1102 {
1103 FaceCollPolyHandle *handle = poly[i3];
1104 delete handle;
1105 poly[i3]=0;
1106 }
1107 poly.resize(0);
1108 poly.shrink_to_fit();
1109 int s4 = func.size();
1110 for(int i4=0;i4<s4;i4++)
1111 {
1112 FunctionImpl f = func[i4];
1113 delete f.func;
1114 func[i4].func=0;
1115 }
1116 func.resize(0);
1117 func.shrink_to_fit();
1118#if 0
1119 int s5 = surfaces.size();
1120 for(int i5=0;i5<s5;i5++)
1121 {
1122 SurfaceImpl s = surfaces[i5];
1123 delete s.surf;
1124 surfaces[i5].surf=0;
1125 }
1126 surfaces.resize(0);
1127 surfaces.shrink_to_fit();
1128#endif
1129 delete event_infos;
1130 event_infos = 0;
1131#endif
1132 }
1133 EnvImpl();
1134 ~EnvImpl();
1135};
1136
1137#if MOVED_TO_PARSER_HH
1138struct PolyHandle
1139{
1140 int id;
1141 virtual ~PolyHandle() { }
1142};
1143struct FaceCollPolyHandle : public PolyHandle
1144{
1145 FaceCollection *coll;
1146 bool collowned;
1147 //FaceCollection **collarray;
1148 Array<int, FaceCollection*> *collarray;
1149 bool collarrayowned;
1150 //int size;
1151
1153
1154};
1155#endif
1156
1157#define ARRMACRO(arr,arr2) \
1158 arr add_array_ ## arr2 (GameApi::Env &e, ArrayType *type); \
1159 ArrayType *find_array_ ## arr2 (GameApi::Env &e, arr a);
1160
1162#undef ARRMACRO
1163
1164
1165//
1166// add functions
1167//
1168//GameApi::UA add_url_array(GameApi::Env &e, Array<int,std::string> *arr);
1169//GameApi::BA add_bitmap_array2(GameApi::Env &e, Array<int,Bitmap<unsigned int>*> *arr);
1170
1171//GameApi::TFA add_tf_array(GameApi::Env &e, Array<int,LazyAlloc<std::string,GLTFModelInterface*>* > * arr);
1172//GameApi::TFB add_tf_matrix(GameApi::Env &e, Bitmap<LazyAlloc<GLTFModelInterface*>* >* matrix);
1173#if 0
1174template<class T, class K>
1175class AddFindTrait
1176{
1177public:
1178};
1179template<class IFACE>
1180class AddTrait
1181{
1182public:
1183};
1184template<class ID>
1185class FindTrait
1186{
1187public:
1188};
1189template<class T>
1190class NumTrait0 { };
1191
1192
1193
1194
1195#define TRAIT(basenum,dernum,ident,iface) \
1196template<> \
1197class AddFindTrait<ident, iface*> \
1198{ \
1199public: \
1200 typedef ident id_type; \
1201 typedef iface* interface_type; \
1202};\
1203template<> \
1204class AddTrait<iface*> \
1205{ \
1206public: \
1207 typedef ident id_type; \
1208}; \
1209template<> \
1210class FindTrait<ident> \
1211{ \
1212public: \
1213 typedef iface* interface_type; \
1214};\
1215 template<class D, class IFace, bool = std::is_base_of_v<IFace,D>> \
1216struct TraitHelper##dernum; \
1217template<class D, class IFace> \
1218struct TraitHelper##dernum<D,IFace,false> : public NumTrait##basenum<D> { }; \
1219template<class D, class IFace> \
1220struct TraitHelper##dernum<D,IFace,true> { using type=IFace; }; \
1221template<class D> \
1222 class NumTrait##dernum : public NumTrait##basenum<D> { \
1223public: \
1224 using type = typename TraitHelper##dernum<D,iface>::type; \
1225}; \
1226
1227
1228TRAIT(0,1,GameApi::PAT,Path)
1229TRAIT(1,999,GameApi::FS,FloatScene)
1230
1231
1232#undef TRAIT
1233
1234template<class D>
1235typename AddTrait<typename NumTrait999<D>::type*>::id_type add_object(GameApi::Env &e,D *d)
1236{
1237 typename NumTrait999<D>::type* b = d;
1239 env->objects.push_back((void*)b);
1240 if (g_current_block != -2)
1241 add_b(b);
1242 GameApi::PAT im;
1243 im.id = env->objects.size()-1;
1244 return im;
1245}
1246template<class ID>
1247typename FindTrait<ID>::interface_type find_object(GameApi::Env &e, ID i)
1248{
1250 return (typename FindTrait<ID>::interface_type)env->objects[i.id];
1251}
1252
1253#define add_path add_object
1254#define add_float_scene add_object
1255
1256#define find_path find_object
1257#define find_float_scene find_object
1258
1259#endif
1260
1261#if 1
1262GameApi::PAT add_path(GameApi::Env &e, Path *p);
1263GameApi::FS add_float_scene(GameApi::Env &e, FloatScene *fs);
1264#endif
1267GameApi::OVX add_opt_voxel(GameApi::Env &e, OptVoxel *vx);
1268GameApi::BS add_bytestore(GameApi::Env &e, ByteStore *bs);
1270GameApi::CSI add_colourspaceI(GameApi::Env &e, ColourSpaceI * csi);
1272GameApi::TT add_timing(GameApi::Env &e, Timing *tm);
1274GameApi::CX add_cache(GameApi::Env &e, ICache *c);
1278GameApi::PBO add_pbo(GameApi::Env &e, PixelBufferObject *pbo);
1279GameApi::SHP add_shp(GameApi::Env &e, ShaderParameterI *shp);
1280GameApi::SHI add_shaderI(GameApi::Env &e, ShaderI2 *sh);
1281GameApi::TF add_gltf(GameApi::Env &e, GLTFModelInterface *tf);
1282GameApi::GS add_game_state(GameApi::Env &e, GameState *gs);
1283GameApi::ATT add_attach(GameApi::Env &e, Attach *att);
1284GameApi::PKG add_urlmemmap(GameApi::Env &e, UrlMemoryMap *map);
1285GameApi::MB add_memblock(GameApi::Env &e, MemoryBlock *block);
1286GameApi::VFi add_velocity_field(GameApi::Env &e, VelocityField *field);
1287GameApi::FFi add_float_field(GameApi::Env &e, FloatField *field);
1290GameApi::HML add_html(GameApi::Env &e, Html *ml);
1291GameApi::UV add_uv(GameApi::Env &e, Fetcher<FaceID> *f);
1292GameApi::AV add_voxel_array(GameApi::Env &e, VoxelArray *arr);
1303GameApi::PN add_polynomial(GameApi::Env &e, std::vector<float> *pn);
1323template<class T>
1325 /* this is because of arrays in builder, template instantiation
1326 wouldnt be accepted without this version -- real check is in runtime */
1327 std::cout << "ERROR: Array version used with non-arrays! " << std::endl;
1328 GameApi::ARR arr;
1329 arr.id = -1;
1330 return arr;
1331}
1337//GameApi::RUN add_blocker(GameApi::Env &e, Splitter *spl);
1356template<class T>
1357GameApi::A<T> add_array(GameApi::Env &e, std::vector<T> *arr);
1366GameApi::FBO add_fbo(GameApi::Env &e, Low_GLuint fbo_name, Low_GLuint texture, Low_GLuint depthbuffer, int sx, int sy);
1374GameApi::BM add_bitmap3(GameApi::Env &e, BitmapHandle *handle); // deletes
1393GameApi::VAA add_move_array(GameApi::Env &e, std::vector<VertexArrayWithPos> *vec);
1401GameApi::MSA add_matrix_array3(GameApi::Env &e, MatrixArray3 *array);
1406GameApi::PT add_point(GameApi::Env &e, float x, float y);
1416GameApi::CO add_color(GameApi::Env &e, int r, int g, int b, int a);
1419GameApi::MV add_mv_point(GameApi::Env &e, float x, float y, float z);
1421 GameApi::MV start_mv, GameApi::MV end_mv, int start_choose, int end_choose);
1422GameApi::PT add_point(GameApi::Env &e, float x, float y, float z);
1424
1425GameApi::V add_vector(GameApi::Env &e, float dx, float dy, float dz);
1428
1429//
1430// find() functions
1431//
1432//Array<int,LazyAlloc<std::string,GLTFModelInterface*> >* find_tf_array(GameApi::Env &e, GameApi::TFA tfa);
1433//Bitmap<LazyAlloc<std::string,GLTFModelInterface*> >* find_tf_matrix(GameApi::Env &e, GameApi::TFB tfb);
1434#if 1
1435Path *find_path(GameApi::Env &e, GameApi::PAT p);
1436FloatScene *find_float_scene(GameApi::Env &e, GameApi::FS fs);
1437#endif
1440OptVoxel *find_opt_voxel(GameApi::Env &e, GameApi::OVX vx);
1441ByteStore *find_bytestore(GameApi::Env &e, GameApi::BS bs);
1443ColourSpaceI *find_colourspaceI(GameApi::Env &e, GameApi::CSI csi);
1445Timing *find_timing(GameApi::Env &e, GameApi::TT tm);
1447ICache *find_cache(GameApi::Env &e, GameApi::CX c);
1451PixelBufferObject *find_pbo(GameApi::Env &e, GameApi::PBO pbo);
1452ShaderParameterI *find_shp(GameApi::Env &e, GameApi::SHP shp);
1453ShaderI2 *find_shaderI(GameApi::Env &e, GameApi::SHI sh);
1455GameState *find_game_state(GameApi::Env &e, GameApi::GS gs);
1456Attach *find_attach(GameApi::Env &e, GameApi::ATT att);
1457UrlMemoryMap *find_urlmemmap(GameApi::Env &e, GameApi::PKG p);
1458MemoryBlock *find_memblock(GameApi::Env &e, GameApi::MB b);
1459VelocityField *find_velocity_field(GameApi::Env &e, GameApi::VFi field);
1460FloatField *find_float_field(GameApi::Env &e, GameApi::FFi field);
1463Html *find_html(GameApi::Env &e, GameApi::HML u);
1464Fetcher<FaceID> *find_uv(GameApi::Env &e, GameApi::UV u);
1465VoxelArray *find_voxel_array(GameApi::Env &e, GameApi::AV a);
1476std::vector<float> *find_polynomial(GameApi::Env &e, GameApi::PN pn);
1520template<class T>
1521std::vector<T> *find_array(GameApi::Env &e, GameApi::A<T> arr);
1555std::vector<VertexArrayWithPos> *find_move_array(GameApi::Env &e, GameApi::VAA p);
1564Bitmap<Color> *find_color_bitmap(BitmapHandle *handle, int bbm_choose=-1);
1566Bitmap<Pos> *find_pos_bitmap(BitmapHandle *handle, int bbm_choose=-1);
1567Sprite *sprite_from_handle2(GameApi::Env &e, SpritePriv &env, BitmapHandle *handle, int bbm_choose);
1568Sprite *sprite_from_handle(GameApi::Env &e, SpritePriv &env, BitmapHandle *handle, int bbm_choose);
1572MatrixArray3 *find_matrix_array3(GameApi::Env &e, GameApi::MSA pa);
1590
1591
1592template<class T>
1594{
1596 std::vector<int> vec2;
1597 int s = vec.size;
1598 for(int i=0;i<s;i++)
1599 {
1600 vec2.push_back(vec[i].id);
1601 }
1602 env->handle_array.push_back(vec2);
1603 GameApi::A<T> a;
1604 a.id = env->handle_array.size()-1;
1605 return a;
1606}
1607
1611
1612#endif
struct Envi env
Env e
Definition Common.cc:2
Point2d pt(const FT_Vector *v)
Definition FreeType2.cc:459
#define EXPORT
Definition GameApi.hh:334
#define IMPORT
Definition GameApi.hh:332
int g_current_block
Definition GameApi_dep_add_find.cc:30
size dy
Definition GameApi_gui.cc:1727
GameApi::PP add_plane_shape(GameApi::Env &e, PlaneShape *shape)
Definition GameApi_dep_add_find.cc:600
LazyValue< float > * find_float(GameApi::Env &e, GameApi::F f)
Definition GameApi_dep_add_find.cc:2126
GameApi::SA add_skeletal(GameApi::Env &e, SkeletalNode *n)
Definition GameApi_dep_add_find.cc:621
ExprNode * find_expr(GameApi::Env &e, GameApi::EX n)
Definition GameApi_dep_add_find.cc:2042
ShaderI * find_shader(GameApi::Env &e, GameApi::SI id)
Definition GameApi_dep_add_find.cc:1825
GameApi::PN add_polynomial(GameApi::Env &e, std::vector< float > *pn)
Definition GameApi_dep_add_find.cc:389
CmdExecute * find_cmds(GameApi::Env &e, GameApi::CMD cmds)
Definition GameApi_dep_add_find.cc:1883
GameApi::VA add_vertex_array(GameApi::Env &e, VertexArraySet *va, RenderVertexArray *arr)
Definition GameApi_dep_add_find.cc:1082
GameApi::LLA add_lines_array(GameApi::Env &e, PointArray2 *array)
Definition GameApi_dep_add_find.cc:1320
LinesInPlane * find_plane_lines(GameApi::Env &e, GameApi::PLL plane)
Definition GameApi_dep_add_find.cc:1858
PlanePoints2d * find_plane(GameApi::Env &e, GameApi::PL p)
Definition GameApi_dep_add_find.cc:2579
std::vector< VertexArrayWithPos > * find_move_array(GameApi::Env &e, GameApi::VAA p)
Definition GameApi_dep_add_find.cc:2597
GameApi::LI add_line_array(GameApi::Env &e, LineCollection *array)
Definition GameApi_dep_add_find.cc:1254
PointArray3 * find_point_array3(GameApi::Env &e, GameApi::PTA pa)
Definition GameApi_dep_add_find.cc:2744
ArrayType * find_array(GameApi::Env &e, GameApi::ARR arr)
Definition GameApi_dep_add_find.cc:1924
GameApi::GI add_gi(GameApi::Env &e, GameApi::GlobalIlluminationData *dt)
Definition GameApi_dep_add_find.cc:2176
GameApi::CC add_color(GameApi::Env &e, ColorChange *cc)
Definition GameApi_dep_add_find.cc:589
FloatArray2 * find_float_array2(GameApi::Env &e, GameApi::FA arr)
Definition GameApi_dep_add_find.cc:1711
IWorld * find_world(GameApi::Env &e, GameApi::W w)
Definition GameApi_dep_add_find.cc:1633
CurveGroup * find_curve_group(GameApi::Env &e, GameApi::CG cg)
Definition GameApi_dep_add_find.cc:1775
GameApi::FML add_framemainloop(GameApi::Env &e, FrameBufferLoop *loop)
Definition GameApi_dep_add_find.cc:412
GameApi::M add_matrix(GameApi::Env &e, MatrixInterface *i)
Definition GameApi_dep_add_find.cc:1238
Fetcher< std::string > * find_string_fetcher(GameApi::Env &e, GameApi::SF s)
Definition GameApi_dep_add_find.cc:1919
GameApi::SBM add_shader_bitmap(GameApi::Env &e, ShaderBitmap *sbm)
Definition GameApi_dep_add_find.cc:2313
GameApi::IBM add_int_bitmap(GameApi::Env &e, Bitmap< int > *bm)
Definition GameApi_dep_add_find.cc:2304
VertexAnimNode * find_vertex_anim(GameApi::Env &e, GameApi::KF kf)
Definition GameApi_dep_add_find.cc:1939
GameApi::CS add_colourspace(GameApi::Env &e, ColourSpace *cs)
Definition GameApi_dep_add_find.cc:216
ShaderCode * find_shader_code(GameApi::Env &e, GameApi::SHC code)
Definition GameApi_dep_add_find.cc:1643
GameState * find_game_state(GameApi::Env &e, GameApi::GS gs)
Definition GameApi_dep_add_find.cc:1677
GameApi::PTA add_point_array3(GameApi::Env &e, PointArray3 *array)
Definition GameApi_dep_add_find.cc:1276
PlaneData * find_plane_array(GameApi::Env &e, GameApi::PLA p)
Definition GameApi_dep_add_find.cc:2571
GameApi::SHP add_shp(GameApi::Env &e, ShaderParameterI *shp)
Definition GameApi_dep_add_find.cc:270
void add_update_lines_array(GameApi::Env &e, GameApi::LLA la, PointArray2 *array)
Definition GameApi_dep_add_find.cc:1306
GameApi::V add_vector(GameApi::Env &e, float dx, float dy, float dz)
Definition GameApi_dep_add_find.cc:2373
GameApi::MS add_matrix_array(GameApi::Env &e, MatrixArray *arr)
Definition GameApi_dep_add_find.cc:643
GameApi::MC add_matrix_curve(GameApi::Env &e, Curve< Matrix > *curve)
Definition GameApi_dep_add_find.cc:632
GameApi::H add_heavy(GameApi::Env &e, HeavyOperation *h)
Definition GameApi_dep_add_find.cc:2265
PointArray2 * find_point_array(GameApi::Env &e, GameApi::FOA p)
Definition GameApi_dep_add_find.cc:2758
void add_update_vertex_array(GameApi::Env &e, GameApi::VA va_h, VertexArraySet *va, RenderVertexArray *arr)
Definition GameApi_dep_add_find.cc:1109
LinkInfo find_link_info(GameApi::Env &e, GameApi::L l)
Definition GameApi_dep_add_find.cc:2160
MainLoopItemWGPU * find_main_loop_wgpu(GameApi::Env &e, GameApi::GML ml)
Definition GameApi_dep_add_find.cc:2067
GameApi::S add_surface2(GameApi::Env &e, SurfaceIn3d *s)
Definition GameApi_dep_add_find.cc:921
GameApi::UV add_uv(GameApi::Env &e, Fetcher< FaceID > *f)
Definition GameApi_dep_add_find.cc:343
GameApi::P add_polygon2(GameApi::Env &e, FaceCollection *coll, int size)
Definition GameApi_dep_add_find.cc:1219
Collision * find_collision(GameApi::Env &e, GameApi::CP p)
Definition GameApi_dep_add_find.cc:2026
PD_Impl find_polydistfield(GameApi::Env &e, GameApi::PD p)
Definition GameApi_dep_add_find.cc:1954
GameApi::PAT add_path(GameApi::Env &e, Path *p)
Definition GameApi_dep_add_find.cc:148
Program * find_shader_program(GameApi::Env &e, GameApi::SH sh)
Definition GameApi_dep_add_find.cc:2472
GameApi::MX add_mixed(GameApi::Env &e, MixedI *n)
Definition GameApi_dep_add_find.cc:611
GameApi::TF add_gltf(GameApi::Env &e, GLTFModelInterface *tf)
Definition GameApi_dep_add_find.cc:290
GameApi::ATT add_attach(GameApi::Env &e, Attach *att)
Definition GameApi_dep_add_find.cc:321
IMPORT GLTFModelInterface * find_gltf(GameApi::Env &e, GameApi::TF tf)
Definition GameApi_dep_add_find.cc:1665
GameApi::W add_frm_widget(GameApi::Env &e, FrmWidget *w)
Definition GameApi_dep_add_find.cc:377
GameApi::FtA add_font_atlas(GameApi::Env &e, FontAtlasInfo *info)
Definition GameApi_dep_add_find.cc:808
HeavyOperation * find_heavy(GameApi::Env &e, GameApi::H h)
Definition GameApi_dep_add_find.cc:1751
GameApi::CBB add_cont_bool(GameApi::Env &e, ContinuousBitmap< bool > *bm)
Definition GameApi_dep_add_find.cc:2338
Fetcher< int > * find_int_fetcher(GameApi::Env &e, GameApi::IF f)
Definition GameApi_dep_add_find.cc:1914
ColorChange * find_color(GameApi::Env &e, GameApi::CC cc)
Definition GameApi_dep_add_find.cc:1959
Sprite * sprite_from_handle2(GameApi::Env &e, SpritePriv &env, BitmapHandle *handle, int bbm_choose)
Definition GameApi_sp.cc:45
GameApi::CSI add_colourspaceI(GameApi::Env &e, ColourSpaceI *csi)
Definition GameApi_dep_add_find.cc:226
PhysicsNode * find_physics(GameApi::Env &e, GameApi::PH p)
Definition GameApi_dep_add_find.cc:2036
FloatBitmap * find_float_bitmap(GameApi::Env &e, GameApi::FB b)
Definition GameApi_dep_add_find.cc:2531
bool is_platform_mac()
Definition GameApi.cc:41674
PixelBufferObject * find_pbo(GameApi::Env &e, GameApi::PBO pbo)
Definition GameApi_dep_add_find.cc:1648
CurvePatch * find_patch(GameApi::Env &e, GameApi::PA patch)
Definition GameApi_dep_add_find.cc:1878
GameApi::PLF add_plane_faces(GameApi::Env &e, FacesInPlane *pl)
Definition GameApi_dep_add_find.cc:2399
GameApi::SHI add_shaderI(GameApi::Env &e, ShaderI2 *sh)
Definition GameApi_dep_add_find.cc:280
SurfaceImpl * find_surface(GameApi::Env &e, GameApi::S f)
Definition GameApi_dep_add_find.cc:2660
GameApi::PTS add_points_api_points(GameApi::Env &e, PointsApiPoints *pts)
Definition GameApi_dep_add_find.cc:1265
FunctionImpl * find_function(GameApi::Env &e, GameApi::F f)
Definition GameApi_dep_add_find.cc:2646
GameApi::PR add_property_array(GameApi::Env &e, PropertyArray *arr)
Definition GameApi_dep_add_find.cc:2408
GameApi::M add_matrix2(GameApi::Env &e, Matrix mm)
Definition GameApi_dep_add_find.cc:1232
ContinuousBitmap< float > * find_cont_float(GameApi::Env &e, GameApi::CFB bm)
Definition GameApi_dep_add_find.cc:1813
Blocker * find_blocker(GameApi::Env &e, GameApi::BLK blk)
Definition GameApi_dep_add_find.cc:1944
NDim< float, Point > * find_dim(GameApi::Env &e, GameApi::MV mv)
Definition GameApi_dep_add_find.cc:2170
DiskStore * find_disk_store(GameApi::Env &e, GameApi::DS store)
Definition GameApi_dep_add_find.cc:1792
VectorVolumeObject * find_vector_volume(GameApi::Env &e, GameApi::VO o)
Definition GameApi_dep_add_find.cc:2846
void check_world(MainLoopEnv &e)
Definition GameApi.cc:21584
GameApi::P add_polygon(GameApi::Env &e, FaceCollPolyHandle *handle)
Definition GameApi_dep_add_find.cc:1172
Curve< Matrix > * find_matrix_curve(GameApi::Env &e, GameApi::MC m)
Definition GameApi_dep_add_find.cc:1981
GameApi::BLK add_blocker(GameApi::Env &e, Blocker *blk)
Definition GameApi_dep_add_find.cc:567
ShaderI2 * find_shaderI(GameApi::Env &e, GameApi::SHI sh)
Definition GameApi_dep_add_find.cc:1653
FaceCollPolyHandle * find_poly(GameApi::Env &e, GameApi::P p)
Definition GameApi_dep_add_find.cc:2606
SpaceImpl * find_space(GameApi::Env &e, GameApi::SP s)
Definition GameApi_dep_add_find.cc:2873
GameApi::PH add_physics(GameApi::Env &e, PhysicsNode *n)
Definition GameApi_dep_add_find.cc:748
GameApi::CPP add_curve_pos(GameApi::Env &e, CurvePos *pos)
Definition GameApi_dep_add_find.cc:557
GameApi::PC add_pointcoll_array(GameApi::Env &e, PointCollection *array)
Definition GameApi_dep_add_find.cc:1330
LinkageInfo find_linkage(GameApi::Env &e, GameApi::L l)
Definition GameApi_dep_add_find.cc:2114
GameApi::GI add_glyph_interface(GameApi::Env &e, GlyphInterface *gi)
Definition GameApi_dep_add_find.cc:467
Bitmap< Pos > * find_pos_bitmap(BitmapHandle *handle, int bbm_choose=-1)
Definition GameApi_dep_add_find.cc:2713
GameApi::FI add_font_interface(GameApi::Env &e, FontInterface *fi)
Definition GameApi_dep_add_find.cc:477
GameApi::TL add_tree_level(GameApi::Env &e, TreeLevel *lvl)
Definition GameApi_dep_add_find.cc:685
GameApi::IS add_anim(GameApi::Env &e, const AnimImpl &impl)
Definition GameApi_dep_add_find.cc:2442
Path * find_path(GameApi::Env &e, GameApi::PAT p)
Definition GameApi_dep_add_find.cc:1563
GameApi::PLL add_plane_lines(GameApi::Env &e, LinesInPlane *pl)
Definition GameApi_dep_add_find.cc:2391
FrmWidget * find_frm_widget(GameApi::Env &e, GameApi::W w)
Definition GameApi_dep_add_find.cc:1744
GameApi::CFB add_cont_float(GameApi::Env &e, ContinuousBitmap< float > *bm)
Definition GameApi_dep_add_find.cc:2329
GameApi::EX add_expr(GameApi::Env &e, ExprNode *n)
Definition GameApi_dep_add_find.cc:759
EventInfo find_event_info(GameApi::Env &e, GameApi::E ee)
Definition GameApi_dep_add_find.cc:2102
bool is_platform_win32()
Definition GameApi.cc:41666
InputForMoving * find_move_input(GameApi::Env &e, GameApi::INP im)
Definition GameApi_dep_add_find.cc:1781
GameApi::HML add_html(GameApi::Env &e, Html *ml)
Definition GameApi_dep_add_find.cc:366
ColorVolumeObject * find_color_volume(GameApi::Env &e, GameApi::COV o)
Definition GameApi_dep_add_find.cc:2838
Array< int, FaceCollection * > * find_facecoll_array(GameApi::Env &e, GameApi::PV pa)
Definition GameApi_dep_add_find.cc:1575
Curve< Point > * find_curve(GameApi::Env &e, GameApi::C c)
Definition GameApi_dep_add_find.cc:1991
ShaderBitmap * find_shader_bitmap(GameApi::Env &e, GameApi::SBM sbm)
Definition GameApi_dep_add_find.cc:1798
GameApi::FFi add_float_field(GameApi::Env &e, FloatField *field)
Definition GameApi_dep_add_find.cc:2211
GameApi::SF add_string_fetcher(GameApi::Env &e, Fetcher< std::string > *str)
Definition GameApi_dep_add_find.cc:517
std::vector< float > * find_polynomial(GameApi::Env &e, GameApi::PN pn)
Definition GameApi_dep_add_find.cc:1803
Layout * find_layout(GameApi::Env &e, GameApi::LAY l)
Definition GameApi_dep_add_find.cc:2501
RenderVertexArray * find_vertex_array_render(GameApi::Env &e, GameApi::VA p)
Definition GameApi_dep_add_find.cc:2616
GameApi::VFi add_velocity_field(GameApi::Env &e, VelocityField *field)
Definition GameApi_dep_add_find.cc:2220
FloatVolumeObject * find_float_volume(GameApi::Env &e, GameApi::FO o)
Definition GameApi_dep_add_find.cc:2830
GameApi::O add_volume(GameApi::Env &e, VolumeObject *o)
Definition GameApi_dep_add_find.cc:1398
#define ARRMACRO(arr, arr2)
Definition GameApi_h.hh:1157
FrameBuffer * find_framebuffer(GameApi::Env &e, GameApi::FBU fb)
Definition GameApi_dep_add_find.cc:1757
FBOPriv * find_fbo(GameApi::Env &e, GameApi::FBO f)
Definition GameApi_dep_add_find.cc:2107
GameApi::W add_world(GameApi::Env &e, IWorld *w)
Definition GameApi_dep_add_find.cc:2193
Voxel< int > * find_int_voxel(GameApi::Env &e, GameApi::VX b)
Definition GameApi_dep_add_find.cc:2551
GameApi::US add_uber(GameApi::Env &e, ShaderCall *call)
Definition GameApi_dep_add_find.cc:664
GameApi::F add_function(GameApi::Env &e, FunctionImpl &f)
Definition GameApi_dep_add_find.cc:1131
VArray * find_timerange_vertexarray(GameApi::Env &e, GameApi::VV vv)
Definition GameApi_dep_add_find.cc:2812
GameApi::AV add_voxel_array(GameApi::Env &e, VoxelArray *arr)
Definition GameApi_dep_add_find.cc:354
GameApi::PA add_patch(GameApi::Env &e, CurvePatch *patch)
Definition GameApi_dep_add_find.cc:446
GameApi::SHC add_shader_code(GameApi::Env &e, ShaderCode *code)
Definition GameApi_dep_add_find.cc:300
GameApi::BM add_bitmap3(GameApi::Env &e, BitmapHandle *handle)
Definition GameApi_dep_add_find.cc:937
MatrixArray3 * find_matrix_array3(GameApi::Env &e, GameApi::MSA pa)
Definition GameApi_dep_add_find.cc:2751
GameApi::FS add_float_scene(GameApi::Env &e, FloatScene *fs)
Definition GameApi_dep_add_find.cc:159
ByteStore * find_bytestore(GameApi::Env &e, GameApi::BS bs)
Definition GameApi_dep_add_find.cc:1592
GameApi::CMD add_cmds(GameApi::Env &e, CmdExecute *cmds)
Definition GameApi_dep_add_find.cc:2425
Separate * find_separate(GameApi::Env &e, GameApi::SA p)
Definition GameApi_dep_add_find.cc:2562
GameApi::IM add_implicit(GameApi::Env &e, ImplicitFunction3d *imp)
Definition GameApi_dep_add_find.cc:706
GameApi::FA add_float_array(GameApi::Env &e, Array< int, float > *arr)
Definition GameApi_dep_add_find.cc:891
GameApi::E add_event(GameApi::Env &e, const EventInfo &info)
Definition GameApi_dep_add_find.cc:1478
PointArray2 * find_lines_array(GameApi::Env &e, GameApi::LLA p)
Definition GameApi_dep_add_find.cc:2766
SkeletalNode * find_skeletal(GameApi::Env &e, GameApi::SA n)
Definition GameApi_dep_add_find.cc:1969
Sprite * sprite_from_handle(GameApi::Env &e, SpritePriv &env, BitmapHandle *handle, int bbm_choose)
Definition GameApi_sp.cc:119
Matrix find_matrix(GameApi::Env &e, GameApi::M m)
Definition GameApi_dep_add_find.cc:2791
Bitmap< Color > * find_color_bitmap(BitmapHandle *handle, int bbm_choose=-1)
Definition GameApi_dep_add_find.cc:2686
MeshAnim * find_mesh_anim(GameApi::Env &e, GameApi::MA ma)
Definition GameApi_dep_add_find.cc:1769
GlyphInterface * find_glyph_interface(GameApi::Env &e, GameApi::GI gi)
Definition GameApi_dep_add_find.cc:1888
Bitmap< FaceCollection * > * find_facecoll_matrix(GameApi::Env &e, GameApi::MA ma)
Definition GameApi_dep_add_find.cc:1580
GameApi::MV add_mv_point(GameApi::Env &e, float x, float y, float z)
GameApi::Q add_tex_quad(GameApi::Env &e, Point2d p1, Point2d p2)
Definition GameApi_dep_add_find.cc:1056
GameApi::VAA add_move_array(GameApi::Env &e, std::vector< VertexArrayWithPos > *vec)
Definition GameApi_dep_add_find.cc:1196
GameApi::W add_widget(GameApi::Env &e, GuiWidget *w)
Definition GameApi_dep_add_find.cc:818
GameApi::FA add_float_array2(GameApi::Env &e, FloatArray2 *arr)
Definition GameApi_dep_add_find.cc:2228
VolumeObject * find_volume(GameApi::Env &e, GameApi::O o)
Definition GameApi_dep_add_find.cc:2820
GameApi::VX add_int_voxel(GameApi::Env &e, Voxel< int > *o)
Definition GameApi_dep_add_find.cc:1444
GameApi::PTT add_point_transform(GameApi::Env &e, PointTransform *ptt)
Definition GameApi_dep_add_find.cc:537
EnemyPiece & get_enemy_piece(MainLoopEnv &e, int index)
Definition GameApi.cc:21707
GuiWidget * find_widget(GameApi::Env &e, GameApi::W w)
Definition GameApi_dep_add_find.cc:2082
ColourSpaceI * find_colourspaceI(GameApi::Env &e, GameApi::CSI csi)
Definition GameApi_dep_add_find.cc:1603
GameApi::MSA add_matrix_array3(GameApi::Env &e, MatrixArray3 *array)
Definition GameApi_dep_add_find.cc:1286
StringDisplay * find_string_display(GameApi::Env &e, GameApi::SD sd)
Definition GameApi_dep_add_find.cc:1899
ShaderParameterI * find_shp(GameApi::Env &e, GameApi::SHP shp)
Definition GameApi_dep_add_find.cc:1659
GameApi::TX add_texture(GameApi::Env &e, TextureI *i)
Definition GameApi_dep_add_find.cc:1046
GameApi::FO add_float_volume(GameApi::Env &e, FloatVolumeObject *o)
Definition GameApi_dep_add_find.cc:1410
GameApi::GlobalIlluminationData * find_gi(GameApi::Env &e, GameApi::GI gi)
Definition GameApi_dep_add_find.cc:1609
Point * find_point(GameApi::Env &e, GameApi::PT p)
Definition GameApi_dep_add_find.cc:2784
GameApi::PV add_facecoll_array(GameApi::Env &e, Array< int, FaceCollection * > *arr)
Definition GameApi_dep_add_find.cc:170
MixedI * find_mixed(GameApi::Env &e, GameApi::MX m)
Definition GameApi_dep_add_find.cc:1964
GameApi::TS add_tri_strip(GameApi::Env &e, TriStrip *n)
Definition GameApi_dep_add_find.cc:737
SurfaceIn3d * find_surface2(GameApi::Env &e, GameApi::S f)
Definition GameApi_dep_add_find.cc:2656
bool is_platform_chrome()
Definition GameApi.cc:41682
GameApi::WV add_waveform(GameApi::Env &e, Waveform *bitmap)
Definition GameApi_dep_add_find.cc:1033
void async_pending_plus(std::string label, std::string info)
Definition GameApi.cc:44394
GameApi::CBM add_continuous_bitmap(GameApi::Env &e, ContinuousBitmap< Color > *bitmap)
Definition GameApi_dep_add_find.cc:1120
GameApi::FF add_float_fetcher(GameApi::Env &e, Fetcher< float > *f)
Definition GameApi_dep_add_find.cc:487
Html * find_html(GameApi::Env &e, GameApi::HML u)
Definition GameApi_dep_add_find.cc:1723
GameApi::VV add_timerange_vertexarray(GameApi::Env &e, GameApi::TR tr)
Definition GameApi_dep_add_find.cc:1381
PosInfo find_pos_info(GameApi::Env &e, GameApi::LL l)
Definition GameApi_dep_add_find.cc:2165
FontInterface * find_font_interface(GameApi::Env &e, GameApi::FI fi)
Definition GameApi_dep_add_find.cc:1894
SpritePosImpl * find_sprite_pos(GameApi::Env &e, GameApi::BM bm)
Definition GameApi_dep_add_find.cc:2887
FrameBufferLoop * find_framemainloop(GameApi::Env &e, GameApi::FML fb)
Definition GameApi_dep_add_find.cc:1763
ImplicitFunction3d * find_implicit(GameApi::Env &e, GameApi::IM m)
Definition GameApi_dep_add_find.cc:2016
void clear_block(int id)
Definition GameApi_dep_add_find.cc:114
GameApi::S add_surface(GameApi::Env &e, SurfaceImpl i)
Definition GameApi_dep_add_find.cc:927
GameApi::SP add_space(GameApi::Env &e, SpaceImpl i)
Definition GameApi_dep_add_find.cc:911
ShaderModule * find_shader_module(GameApi::Env &e, GameApi::SFO sfo)
Definition GameApi_dep_add_find.cc:2077
BitmapHandle * find_bitmap(GameApi::Env &e, GameApi::BM b)
Definition GameApi_dep_add_find.cc:2456
void check_world_elements(MainLoopEnv &e)
Definition GameApi.cc:21589
GameApi::GML add_main_loop_wgpu(GameApi::Env &e, MainLoopItemWGPU *item)
Definition GameApi_dep_add_find.cc:787
ColourSpace * find_colourspace(GameApi::Env &e, GameApi::CS cs)
Definition GameApi_dep_add_find.cc:1598
ContinuousBitmap< Color > * find_continuous_bitmap(GameApi::Env &e, GameApi::CBM b)
Definition GameApi_dep_add_find.cc:2521
FacesInPlane * find_plane_faces(GameApi::Env &e, GameApi::PLF plane)
Definition GameApi_dep_add_find.cc:1863
UrlMemoryMap * find_urlmemmap(GameApi::Env &e, GameApi::PKG p)
Definition GameApi_dep_add_find.cc:1689
GameApi::SD add_string_display(GameApi::Env &e, StringDisplay *sd)
Definition GameApi_dep_add_find.cc:457
GameApi::PLP add_plane_points(GameApi::Env &e, PointsInPlane *pl)
Definition GameApi_dep_add_find.cc:2383
GameApi::LAY add_layout(GameApi::Env &e, Layout *l)
Definition GameApi_dep_add_find.cc:1022
GameApi::SP add_space_3d(GameApi::Env &e, Space3d *sp)
Definition GameApi_dep_add_find.cc:2416
GameApi::ARR add_array(GameApi::Env &e, T t)
Definition GameApi_h.hh:1324
GameApi::INP add_move_input(GameApi::Env &e, InputForMoving *im)
Definition GameApi_dep_add_find.cc:2295
GameApi::VX add_voxel(GameApi::Env &e, Voxel< unsigned int > *o)
Definition GameApi_dep_add_find.cc:1454
ShaderPriv2 * find_shaderpriv(GameApi::Env &e, GameApi::SH sh)
Definition GameApi_dep_add_find.cc:2466
GameApi::FOA add_point_array(GameApi::Env &e, PointArray2 *array)
Definition GameApi_dep_add_find.cc:1296
Space3d * find_space_3d(GameApi::Env &e, GameApi::SP space)
Definition GameApi_dep_add_find.cc:1873
GameApi::C add_curve(GameApi::Env &e, Curve< Point > *curve)
Definition GameApi_dep_add_find.cc:654
Attach * find_attach(GameApi::Env &e, GameApi::ATT att)
Definition GameApi_dep_add_find.cc:1683
bool is_platform_android()
Definition GameApi.cc:41661
GameApi::TXID add_txid(GameApi::Env &e, TextureID *txid)
Definition GameApi_dep_add_find.cc:434
DistanceRenderable * find_distance(GameApi::Env &e, GameApi::FD fd)
Definition GameApi_dep_add_find.cc:2119
GameApi::CP add_collision(GameApi::Env &e, Collision *c)
Definition GameApi_dep_add_find.cc:727
GameApi::FD add_distance(GameApi::Env &e, DistanceRenderable *dist)
Definition GameApi_dep_add_find.cc:901
DynamicChange * find_dyn_change(GameApi::Env &e, GameApi::DC dc)
Definition GameApi_dep_add_find.cc:1808
CurvePos * find_curve_pos(GameApi::Env &e, GameApi::CPP pos)
Definition GameApi_dep_add_find.cc:1929
GameApi::BB add_bool_bitmap(GameApi::Env &e, Bitmap< bool > *bitmap)
Definition GameApi_dep_add_find.cc:1008
ScreenSpaceMaterial * find_screenspace_material(GameApi::Env &e, GameApi::SMT mat)
Definition GameApi_dep_add_find.cc:1638
VoxelArray * find_voxel_array(GameApi::Env &e, GameApi::AV a)
Definition GameApi_dep_add_find.cc:1738
PropertyArray * find_prop_array(GameApi::Env &e, GameApi::PR prop)
GameApi::OVX add_opt_voxel(GameApi::Env &e, OptVoxel *vx)
Definition GameApi_dep_add_find.cc:193
std::string unique_id()
Definition GameApi_shm.cc:50
FontAtlasInfo * find_font_atlas(GameApi::Env &e, GameApi::FtA ft)
Definition GameApi_dep_add_find.cc:2072
TriStrip * find_tri_strip(GameApi::Env &e, GameApi::TS p)
Definition GameApi_dep_add_find.cc:2031
FloatScene * find_float_scene(GameApi::Env &e, GameApi::FS fs)
Definition GameApi_dep_add_find.cc:1569
TextureID * find_txid(GameApi::Env &e, GameApi::TXID id)
Definition GameApi_dep_add_find.cc:1843
Tracker * find_tracker(GameApi::Env &e, GameApi::TRK trk)
Definition GameApi_dep_add_find.cc:2097
Fetcher< FaceID > * find_uv(GameApi::Env &e, GameApi::UV u)
Definition GameApi_dep_add_find.cc:1732
TreeStack * find_tree(GameApi::Env &e, GameApi::T t)
Definition GameApi_dep_add_find.cc:2006
GameApi::FBU add_framebuffer(GameApi::Env &e, FrameBuffer *buf)
Definition GameApi_dep_add_find.cc:401
GameApi::D add_dyn(GameApi::Env &e, DynMainLoop *d)
Definition GameApi_dep_add_find.cc:2256
Timing * find_timing(GameApi::Env &e, GameApi::TT tm)
Definition GameApi_dep_add_find.cc:1615
GameApi::BM add_color_bitmap(GameApi::Env &e, Bitmap< Color > *bm)
Definition GameApi_dep_add_find.cc:972
PointsApiPoints * find_pointsapi_points(GameApi::Env &e, GameApi::PTS ps)
Definition GameApi_dep_add_find.cc:2730
ShaderCall * find_uber(GameApi::Env &e, GameApi::US u)
Definition GameApi_dep_add_find.cc:1996
VertexArraySet * find_vertex_array(GameApi::Env &e, GameApi::VA p)
Definition GameApi_dep_add_find.cc:2625
GameApi::TR add_timerange(GameApi::Env &e, int paths)
Definition GameApi_dep_add_find.cc:1360
Voxel< unsigned int > * find_voxel(GameApi::Env &e, GameApi::VX b)
Definition GameApi_dep_add_find.cc:2541
int add_block()
Definition GameApi_dep_add_find.cc:33
TROArray * find_timerange(GameApi::Env &e, GameApi::TR tr)
Definition GameApi_dep_add_find.cc:2805
GameApi::BMA add_bitmap_array(GameApi::Env &e, BitmapArray2< Color > *arr)
Definition GameApi_dep_add_find.cc:998
PointCollection * find_pointcoll_array(GameApi::Env &e, GameApi::PC p)
Definition GameApi_dep_add_find.cc:2775
PlaneShape * find_plane_shape(GameApi::Env &e, GameApi::PP pp)
Definition GameApi_dep_add_find.cc:1975
GameApi::MB add_memblock(GameApi::Env &e, MemoryBlock *block)
Definition GameApi_dep_add_find.cc:332
GameApi::PT add_point(GameApi::Env &e, float x, float y)
Definition GameApi_dep_add_find.cc:1341
Platform * find_platform(GameApi::Env &e, GameApi::PL pl)
Definition GameApi_dep_add_find.cc:1621
Samples * find_samples(GameApi::Env &e, GameApi::SM sm)
Definition GameApi_dep_add_find.cc:2092
GameApi::RUN add_splitter(GameApi::Env &e, Splitter *spl)
Definition GameApi_dep_add_find.cc:578
GameApi::MN add_move(GameApi::Env &e, Movement *m)
Definition GameApi_dep_add_find.cc:716
Bitmap< Color > * find_bitmap2(GameApi::Env &e, GameApi::BM bm)
Definition GameApi_dep_add_find.cc:2451
Vector * find_vector(GameApi::Env &e, GameApi::V p)
Definition GameApi_dep_add_find.cc:2864
GameApi::SA add_separate(GameApi::Env &e, Separate *sep)
Definition GameApi_dep_add_find.cc:1149
BitmapArray2< Color > * find_bitmap_array(GameApi::Env &e, GameApi::BMA b)
Definition GameApi_dep_add_find.cc:2481
FaceCollection * find_facecoll(GameApi::Env &e, GameApi::P p)
Definition GameApi_dep_add_find.cc:2636
MemoryBlock * find_memblock(GameApi::Env &e, GameApi::MB b)
Definition GameApi_dep_add_find.cc:1695
GameApi::F add_float(GameApi::Env &e, LazyValue< float > *val)
Definition GameApi_dep_add_find.cc:881
void recreate_block(int id)
Definition GameApi_dep_add_find.cc:48
GameApi::MA add_mesh_anim(GameApi::Env &e, MeshAnim *ma)
Definition GameApi_dep_add_find.cc:2275
Fetcher< Point > * find_point_fetcher(GameApi::Env &e, GameApi::PF p)
Definition GameApi_dep_add_find.cc:1909
BoolBitmap * find_bool_bitmap(GameApi::Env &e, GameApi::BB b)
Definition GameApi_dep_add_find.cc:2491
TexCoordQuad find_tex_quad(GameApi::Env &e, GameApi::Q t)
Definition GameApi_dep_add_find.cc:2147
GameApi::ML add_main_loop(GameApi::Env &e, MainLoopItem *item)
Definition GameApi_dep_add_find.cc:797
GameApi::BM add_bitmap(GameApi::Env &e, BitmapHandle *handle)
Definition GameApi_dep_add_find.cc:958
GameApi::TT add_timing(GameApi::Env &e, Timing *tm)
Definition GameApi_dep_add_find.cc:237
LineCollection * find_line_array(GameApi::Env &e, GameApi::LI li)
Definition GameApi_dep_add_find.cc:2737
TreeLevel * find_tree_level(GameApi::Env &e, GameApi::TL tl)
Definition GameApi_dep_add_find.cc:2011
bool is_platform_firefox()
Definition GameApi.cc:41688
Movement * find_move(GameApi::Env &e, GameApi::MN m)
Definition GameApi_dep_add_find.cc:2021
GameApi::PBO add_pbo(GameApi::Env &e, PixelBufferObject *pbo)
Definition GameApi_dep_add_find.cc:259
GameApi::COV add_color_volume(GameApi::Env &e, ColorVolumeObject *o)
Definition GameApi_dep_add_find.cc:1421
GameApi::SMT add_screenspace_material(GameApi::Env &e, ScreenSpaceMaterial *mat)
Definition GameApi_dep_add_find.cc:2202
GameApi::SM add_sample(GameApi::Env &e, Samples *s)
Definition GameApi_dep_add_find.cc:845
GameApi::SI add_shader(GameApi::Env &e, ShaderI *shid)
Definition GameApi_dep_add_find.cc:2347
GameApi::KF add_vertex_anim(GameApi::Env &e, VertexAnimNode *node)
Definition GameApi_dep_add_find.cc:547
GameApi::FBO add_fbo(GameApi::Env &e, Low_GLuint fbo_name, Low_GLuint texture, Low_GLuint depthbuffer, int sx, int sy)
Definition GameApi_dep_add_find.cc:866
Bitmap< int > * find_int_bitmap(GameApi::Env &e, GameApi::IBM bm)
Definition GameApi_dep_add_find.cc:1786
GameApi::CT add_cutter(GameApi::Env &e, Cutter *cut)
Definition GameApi_dep_add_find.cc:2434
GameApi::L add_link(GameApi::Env &e, GameApi::E e1, GameApi::E e2, LinkInfo info)
Definition GameApi_dep_add_find.cc:1493
GameApi::GS add_game_state(GameApi::Env &e, GameState *gs)
Definition GameApi_dep_add_find.cc:2247
ContinuousBitmap< bool > * find_cont_bool(GameApi::Env &e, GameApi::CBB bm)
Definition GameApi_dep_add_find.cc:1819
GameApi::PKG add_urlmemmap(GameApi::Env &e, UrlMemoryMap *map)
Definition GameApi_dep_add_find.cc:2238
Splitter * find_splitter(GameApi::Env &e, GameApi::RUN blk)
Definition GameApi_dep_add_find.cc:1949
FloatField * find_float_field(GameApi::Env &e, GameApi::FFi field)
Definition GameApi_dep_add_find.cc:1701
MatrixArray * find_matrix_array(GameApi::Env &e, GameApi::MS m)
Definition GameApi_dep_add_find.cc:1986
GameApi::MT add_material(GameApi::Env &e, Material *mat)
Definition GameApi_dep_add_find.cc:674
PointTransform * find_point_transform(GameApi::Env &e, GameApi::PTT pt)
Definition GameApi_dep_add_find.cc:1934
AnimImpl find_anim(GameApi::Env &e, GameApi::IS i)
Definition GameApi_dep_add_find.cc:2672
GameApi::FB add_float_bitmap(GameApi::Env &e, Bitmap< float > *bitmap)
Definition GameApi_dep_add_find.cc:1068
TextureI * find_texture(GameApi::Env &e, GameApi::TX t)
Definition GameApi_dep_add_find.cc:2140
GameApi::PL add_plane(GameApi::Env &e, PlanePoints2d *sep)
Definition GameApi_dep_add_find.cc:1160
void async_pending_minus(std::string label, std::string info)
Definition GameApi.cc:44399
GameApi::CX add_cache(GameApi::Env &e, ICache *c)
Definition GameApi_dep_add_find.cc:2185
ICache * find_cache(GameApi::Env &e, GameApi::CX c)
Definition GameApi_dep_add_find.cc:1627
Array< int, float > * find_float_array(GameApi::Env &e, GameApi::FA f)
Definition GameApi_dep_add_find.cc:2133
Material * find_material(GameApi::Env &e, GameApi::MT mat)
Definition GameApi_dep_add_find.cc:2001
GameApi::PF add_point_fetcher(GameApi::Env &e, Fetcher< Point > *p)
Definition GameApi_dep_add_find.cc:497
GameApi::BM add_color_bitmap2(GameApi::Env &e, Bitmap< Color > *bm)
Definition GameApi_dep_add_find.cc:989
GameApi::MV add_line(GameApi::Env &e, GameApi::E start, GameApi::E end, GameApi::MV start_mv, GameApi::MV end_mv, int start_choose, int end_choose)
GameApi::T add_tree(GameApi::Env &e, TreeStack *tre)
Definition GameApi_dep_add_find.cc:695
void add_update_widget(GameApi::Env &e, GameApi::W widget, GuiWidget *w)
Definition GameApi_dep_add_find.cc:1096
void set_current_block(int id)
Definition GameApi_dep_add_find.cc:65
GameApi::LL add_pos(GameApi::Env &e, GameApi::L l, GameApi::MV point)
Definition GameApi_dep_add_find.cc:1545
GameApi::PM add_facecoll_matrix(GameApi::Env &e, Bitmap< FaceCollection * > *arr)
Definition GameApi_dep_add_find.cc:181
bool is_platform_linux()
Definition GameApi.cc:41653
GameApi::DS add_disk_store(GameApi::Env &e, DiskStore *ds)
Definition GameApi_dep_add_find.cc:424
GameApi::BS add_bytestore(GameApi::Env &e, ByteStore *bs)
Definition GameApi_dep_add_find.cc:205
GameApi::VO add_vector_volume(GameApi::Env &e, VectorVolumeObject *o)
Definition GameApi_dep_add_find.cc:1433
GameApi::DC add_dyn_change(GameApi::Env &e, DynamicChange *dc)
Definition GameApi_dep_add_find.cc:2321
GameApi::PL add_platform(GameApi::Env &e, Platform *pl)
Definition GameApi_dep_add_find.cc:248
Waveform * find_waveform(GameApi::Env &e, GameApi::WV b)
Definition GameApi_dep_add_find.cc:2510
DynMainLoop * find_dyn(GameApi::Env &e, GameApi::D d)
Definition GameApi_dep_add_find.cc:1717
OptVoxel * find_opt_voxel(GameApi::Env &e, GameApi::OVX vx)
Definition GameApi_dep_add_find.cc:1586
PointsInPlane * find_plane_points(GameApi::Env &e, GameApi::PLP plane)
Definition GameApi_dep_add_find.cc:1853
LineImpl * find_line(GameApi::Env &e, GameApi::LN l)
Definition GameApi_dep_add_find.cc:2880
GameApi::TRK add_tracker(GameApi::Env &e, Tracker *trk)
Definition GameApi_dep_add_find.cc:855
GameApi::CG add_curve_group(GameApi::Env &e, CurveGroup *cg)
Definition GameApi_dep_add_find.cc:2285
VelocityField * find_velocity_field(GameApi::Env &e, GameApi::VFi field)
Definition GameApi_dep_add_find.cc:1706
GameApi::IF add_int_fetcher(GameApi::Env &e, Fetcher< int > *i)
Definition GameApi_dep_add_find.cc:507
Fetcher< float > * find_float_fetcher(GameApi::Env &e, GameApi::FF f)
Definition GameApi_dep_add_find.cc:1904
Cutter * find_cutter(GameApi::Env &e, GameApi::CT cut)
Definition GameApi_dep_add_find.cc:2894
MainLoopItem * find_main_loop(GameApi::Env &e, GameApi::ML ml)
Definition GameApi_dep_add_find.cc:2062
GameApi::SFO add_shader_module(GameApi::Env &e, ShaderModule *vol)
Definition GameApi_dep_add_find.cc:835
unsigned int Low_GLuint
Definition GameApi_low.hh:42
void add_b(T *ptr)
Definition GraphI.hh:166
char * cmds[]
Definition Interpreter.hh:5
float cs(float x, float m)
Definition VectorTools.cc:1167
Object call(Vector t_params) const
Calls the function with the given set of parameters and returns the value;.
void info(std::string info)
Definition check.cc:24
Definition GraphI.hh:2201
Definition test.cpp:3163
Definition GameApi_h.hh:424
virtual float Duration() const =0
virtual ~AnimFloat()
Definition GameApi_h.hh:429
virtual int NumPaths() const =0
virtual float Index(int path, float f) const =0
Definition GameApi_h.hh:347
virtual int Index(int path, float f) const =0
virtual int NumPaths() const =0
virtual ~AnimInt()
Definition GameApi_h.hh:352
virtual float Duration() const =0
Definition GameApi_h.hh:384
virtual Point Index(int path, float f) const =0
virtual ~AnimPoint3d()
Definition GameApi_h.hh:389
virtual float Duration() const =0
virtual int NumPaths() const =0
static const int i
Definition GameApi_h.hh:662
Definition GameApi_h.hh:656
Definition Effect.hh:11461
Definition EffectI.hh:22
Definition EffectI.hh:280
Definition GraphI.hh:891
Definition GraphI.hh:826
Definition GraphI.hh:2123
Definition GraphI.hh:437
Definition GraphI.hh:2324
Definition GraphI.hh:1866
Definition GraphI.hh:1896
Definition VolumeObjects.hh:306
Definition VectorTools.hh:380
Definition GraphI.hh:4103
Definition GraphI.hh:4088
Definition GraphI.hh:1164
Definition GraphI.hh:2555
Definition GraphI.hh:2338
Definition GraphI.hh:2164
Definition EffectI.hh:30
Definition GraphI.hh:1859
Definition GraphI.hh:2515
Definition Graph.hh:8708
Definition GraphI.hh:3134
Definition GraphI.hh:2495
Definition GraphI.hh:1788
Definition EffectI.hh:212
Definition GraphI.hh:2412
Definition GraphI.hh:2189
Definition GraphI.hh:3169
Definition GraphI.hh:3176
Definition GraphI.hh:637
Definition FloatVolumeObject.hh:11
Definition GraphI.hh:2278
Definition GraphI.hh:1777
Definition GraphI.hh:1740
Definition GraphI.hh:2731
Definition EffectI.hh:11
Definition GraphI.hh:3324
Definition GraphI.hh:449
A< T > array(std::vector< T > vec)
Definition GameApi_h.hh:1593
Definition GameApi.hh:362
Definition GraphI.hh:679
Definition GraphI.hh:3240
Definition GraphI.hh:2294
Definition GraphI.hh:1296
Definition GraphI.hh:2663
Definition GraphI.hh:2956
Definition GraphI.hh:3903
virtual int type(int count) const
Definition GameApi_h.hh:519
virtual int Poly_id(int count) const
Definition GameApi_h.hh:504
virtual int Size() const
Definition GameApi_h.hh:503
IDInterfaceUnion(IDInterface &id1, IDInterface &id2)
Definition GameApi_h.hh:502
virtual int facenum(int count) const
Definition GameApi_h.hh:509
virtual int pointnum(int count) const
Definition GameApi_h.hh:514
Definition GameApi_h.hh:491
virtual int type(int count) const =0
virtual int pointnum(int count) const =0
virtual int Poly_id(int count) const =0
virtual int Size() const =0
virtual int facenum(int count) const =0
Definition GraphI.hh:3893
Definition GraphI.hh:1911
Definition GraphI.hh:2531
Definition Graph.hh:8395
Definition Effect.hh:145
Definition EffectI.hh:305
Definition GraphI.hh:2403
Definition GraphI.hh:1604
Definition GraphI.hh:1615
Definition GraphI.hh:1959
Definition GraphI.hh:2005
Definition MatrixApi.hh:3
Definition VectorTools.hh:279
Definition GraphI.hh:846
Definition GraphI.hh:2566
Definition GraphI.hh:2093
Definition GraphI.hh:1884
Definition GraphI.hh:1154
Definition GraphI.hh:1071
Definition GraphI.hh:1801
Definition GraphI.hh:3746
Definition Graph.hh:8313
Definition GraphI.hh:2055
Definition GraphI.hh:3913
Definition Effect.hh:2456
Definition GraphI.hh:2146
Definition GraphI.hh:2349
Definition GraphI.hh:2394
Definition Shader.hh:75
Definition GraphI.hh:2377
Definition VertexArray.hh:351
Definition GraphI.hh:1248
Definition GraphI.hh:1973
Definition DistanceObject.hh:166
Definition Serialize.hh:255
Definition GraphI.hh:2502
Definition GraphI.hh:1981
Definition GraphI.hh:3701
Definition Shader.hh:1466
Definition GraphI.hh:3707
Definition GraphI.hh:2487
Definition GraphI.hh:1281
Definition GraphI.hh:3724
Definition Shader.hh:1480
int NumPaths() const
Definition GameApi_h.hh:360
float Duration() const
Definition GameApi_h.hh:359
SingleAnimInt(int v, float d)
Definition GameApi_h.hh:357
int Index(int path, float t) const
Definition GameApi_h.hh:358
Definition GraphI.hh:2070
Definition GraphI.hh:2367
Definition GraphI.hh:2130
Definition GraphI.hh:1223
Definition GraphI.hh:2311
Definition Effect.hh:1880
Definition StateChange.hh:94
Definition GraphI.hh:2454
Definition Graph.hh:8162
Definition GraphI.hh:1651
Definition GraphI.hh:1268
Definition GraphI.hh:1941
Definition GraphI.hh:1949
Definition GraphI.hh:1834
Definition GraphI.hh:855
Definition StateChange.hh:120
Definition VolumeObjects.hh:312
Definition VectorTools.hh:125
Definition GraphI.hh:3183
Definition GraphI.hh:2154
Definition VertexArray.hh:49
Definition VolumeObjects.hh:130
Definition GraphI.hh:2831
Definition GraphI.hh:1131
Definition Effect.hh:5073
std::string code
Definition test.cpp:145
std::string cut(std::string s)
Definition dump_docs.cc:9
d
Definition meshpage.php:3895
str
Definition meshpage.php:1778
n< br > font size
Definition meshpage.php:3536
store
Definition meshpage_bootstrap.php:1758
Definition FreeType.hh:46
STL namespace.
double f(const std::string &, double, bool) noexcept
Definition profile_cpp_calls_2.cpp:4
std::string to_string(int val)
Definition Parser.cc:71
Definition GameApi_h.hh:474
AnimPoint3d * wave_point
Definition GameApi_h.hh:476
AnimInt * wave_int
Definition GameApi_h.hh:475
AnimFloat * wave_float
Definition GameApi_h.hh:477
Definition test.cpp:82
Definition GameApi.h:8
Definition GameApi_h.hh:634
GameApi::O bools
Definition GameApi_h.hh:636
GameApi::P mesh
Definition GameApi_h.hh:635
GameApi::FD fd
Definition GameApi_h.hh:637
Definition Parser.hh:8
Definition GameApi_h.hh:465
Bitmap< bool > * bitmap
Definition GameApi_h.hh:466
Definition GameApi.h:57
Definition GraphI.hh:1438
Definition GameApi_h.hh:672
std::vector< std::vector< int >, GameApiAllocator< std::vector< int > > > handle_array
Definition GameApi_h.hh:749
std::map< int, TextureID * > txids
Definition GameApi_h.hh:789
IMPORT float get_download_bar_progress(int i) const
Definition GameApi_dep_env.cc:5784
std::vector< FontInterface *, GameApiAllocator< FontInterface * > > font_interfaces
Definition GameApi_h.hh:780
EnvImpl()
Definition GameApi_dep_env.cc:2018
std::vector< GlyphInterface *, GameApiAllocator< GlyphInterface * > > glyph_interfaces
Definition GameApi_h.hh:779
std::vector< Curve< Matrix > *, GameApiAllocator< Curve< Matrix > * > > matrix_curves
Definition GameApi_h.hh:760
std::vector< OptVoxel *, GameApiAllocator< OptVoxel * > > opt_voxels
Definition GameApi_h.hh:833
std::vector< MatrixArray *, GameApiAllocator< MatrixArray * > > matrix_arrays
Definition GameApi_h.hh:759
std::vector< std::vector< float > *, GameApiAllocator< std::vector< float > * > > polynomials
Definition GameApi_h.hh:794
std::vector< FloatField *, GameApiAllocator< FloatField * > > ffi
Definition GameApi_h.hh:811
IMPORT void set_download_ready(int i)
Definition GameApi_dep_env.cc:5780
std::vector< FaceCollPolyHandle *, GameApiAllocator< FaceCollPolyHandle * > > poly
Definition GameApi_h.hh:688
std::map< int, ShaderPriv2 * > shader_privs
Definition GameApi_h.hh:726
std::vector< FontAtlasInfo *, GameApiAllocator< FontAtlasInfo * > > font_atlas
Definition GameApi_h.hh:740
std::vector< TextureI *, GameApiAllocator< TextureI * > > textures
Definition GameApi_h.hh:709
std::vector< Timing *, GameApiAllocator< Timing * > > timings
Definition GameApi_h.hh:827
EXPORT void free_memory()
Definition GameApi_h.hh:917
std::vector< VArray *, GameApiAllocator< VArray * > > timerange_vertexarrays
Definition GameApi_h.hh:707
std::vector< ArrayType *, GameApiAllocator< ArrayType * > > arrays2
Definition GameApi_h.hh:773
std::vector< AnimImpl, GameApiAllocator< AnimImpl > > anim
Definition GameApi_h.hh:687
EXPORT std::vector< int > store_counts() const
Definition GameApi_h.hh:872
std::vector< FloatScene *, GameApiAllocator< FloatScene * > > float_scenes
Definition GameApi_h.hh:836
std::vector< void *, GameApiAllocator< void * > > objects
Definition GameApi_h.hh:838
std::vector< LinesInPlane *, GameApiAllocator< LinesInPlane * > > plane_lines
Definition GameApi_h.hh:786
::EnvImpl * Environment(GameApi::Env *e)
Definition GameApi_h.hh:848
IMPORT int download_bar_count() const
Definition GameApi_dep_env.cc:5754
IMPORT std::string get_download_bar_filename(int i) const
Definition GameApi_dep_env.cc:5763
IMPORT void set_download_progress(int i, float percentage)
Definition GameApi_dep_env.cc:5776
std::vector< ShaderI2 *, GameApiAllocator< ShaderI2 * > > shi
Definition GameApi_h.hh:819
GameApi::PT cursor_pos_point_id
Definition GameApi_h.hh:675
std::vector< VolumeObject *, GameApiAllocator< VolumeObject * > > volumes
Definition GameApi_h.hh:678
std::vector< FrameBufferLoop *, GameApiAllocator< FrameBufferLoop * > > frame_loop
Definition GameApi_h.hh:801
std::vector< PlaneData, GameApiAllocator< PlaneData > > plane_array
Definition GameApi_h.hh:713
IMPORT void remove_download_bar_item(int i)
Definition GameApi_dep_env.cc:5767
std::vector< std::string, GameApiAllocator< std::string > > shader_float_parameter
Definition GameApi_h.hh:701
std::vector< DynamicChange *, GameApiAllocator< DynamicChange * > > dyn_change
Definition GameApi_h.hh:793
std::vector< PointCollection *, GameApiAllocator< PointCollection * > > pointcollarray
Definition GameApi_h.hh:723
EXPORT void free_temp_memory()
Definition GameApi_h.hh:867
std::vector< Bitmap< int > *, GameApiAllocator< Bitmap< int > * > > int_bitmaps
Definition GameApi_h.hh:797
void lock()
Definition GameApi_h.hh:842
std::vector< MemoryBlock *, GameApiAllocator< MemoryBlock * > > memblock
Definition GameApi_h.hh:813
std::vector< StringDisplay *, GameApiAllocator< StringDisplay * > > string_displays
Definition GameApi_h.hh:781
std::vector< CurvePatch *, GameApiAllocator< CurvePatch * > > curve_patches
Definition GameApi_h.hh:783
std::vector< Material *, GameApiAllocator< Material * > > materials
Definition GameApi_h.hh:756
std::vector< TexCoordQuad, GameApiAllocator< TexCoordQuad > > tex_quads
Definition GameApi_h.hh:710
std::vector< MainLoopItemWGPU *, GameApiAllocator< MainLoopItemWGPU * > > wgpu_main_loop
Definition GameApi_h.hh:829
std::vector< std::string, GameApiAllocator< std::string > > shader_int_parameter
Definition GameApi_h.hh:702
IMPORT bool get_download_bar_ready(int i) const
Definition GameApi_dep_env.cc:5788
std::vector< VertexArraySet *, GameApiAllocator< VertexArraySet * > > vertex_array
Definition GameApi_h.hh:698
std::vector< GameApiModule *, GameApiAllocator< GameApiModule * > > gameapi_modules
Definition GameApi_h.hh:739
std::vector< std::vector< int >, GameApiAllocator< std::vector< int > > > template_array
Definition GameApi_h.hh:750
std::vector< ShaderI *, GameApiAllocator< ShaderI * > > shader_interface
Definition GameApi_h.hh:790
std::vector< LazyValue< float > *, GameApiAllocator< LazyValue< float > * > > floats
Definition GameApi_h.hh:730
std::vector< std::vector< int > *, GameApiAllocator< std::vector< int > * > > arrays
Definition GameApi_h.hh:742
std::vector< SkeletalNode *, GameApiAllocator< SkeletalNode * > > skeletals
Definition GameApi_h.hh:762
std::vector< MixedI *, GameApiAllocator< MixedI * > > mixed
Definition GameApi_h.hh:766
std::vector< TriStrip *, GameApiAllocator< TriStrip * > > tri_strip
Definition GameApi_h.hh:745
std::vector< Array< int, FaceCollection * > *, GameApiAllocator< Array< int, FaceCollection * > * > > p_array
Definition GameApi_h.hh:835
std::vector< UrlMemoryMap *, GameApiAllocator< UrlMemoryMap * > > urlmemmap
Definition GameApi_h.hh:814
std::vector< PointTransform *, GameApiAllocator< PointTransform * > > point_transforms
Definition GameApi_h.hh:771
std::vector< LineImpl, GameApiAllocator< LineImpl > > ln
Definition GameApi_h.hh:685
std::vector< BitmapHandle *, GameApiAllocator< BitmapHandle * > > bm
Definition GameApi_h.hh:680
std::vector< Point, GameApiAllocator< Point > > pt
Definition GameApi_h.hh:673
std::vector< ShaderCode *, GameApiAllocator< ShaderCode * > > shc
Definition GameApi_h.hh:822
std::vector< FunctionImpl, GameApiAllocator< FunctionImpl > > func
Definition GameApi_h.hh:690
FT_Library lib
Definition GameApi_h.hh:845
std::vector< FloatArray2 *, GameApiAllocator< FloatArray2 * > > farray
Definition GameApi_h.hh:812
std::vector< StateRange, GameApiAllocator< StateRange > > state_ranges
Definition GameApi_h.hh:696
std::vector< MatrixArray3 *, GameApiAllocator< MatrixArray3 * > > matrixarray3
Definition GameApi_h.hh:807
std::vector< StateInfo2, GameApiAllocator< StateInfo2 > > states
Definition GameApi_h.hh:695
std::vector< ContinuousBitmap< Color > *, GameApiAllocator< ContinuousBitmap< Color > * > > continuous_bitmaps
Definition GameApi_h.hh:697
std::vector< Layout *, GameApiAllocator< Layout * > > layouts
Definition GameApi_h.hh:720
std::vector< Platform *, GameApiAllocator< Platform * > > platforms
Definition GameApi_h.hh:826
std::vector< Attach *, GameApiAllocator< Attach * > > attach
Definition GameApi_h.hh:815
std::vector< FrmWidget *, GameApiAllocator< FrmWidget * > > frm_widgets
Definition GameApi_h.hh:804
pthread_mutex_t mutex
Definition GameApi_h.hh:841
std::vector< ShaderBitmap *, GameApiAllocator< ShaderBitmap * > > shaderbitmaps
Definition GameApi_h.hh:795
std::vector< GraphicsContext *, GameApiAllocator< GraphicsContext * > > gc
Definition GameApi_h.hh:817
std::vector< Path *, GameApiAllocator< Path * > > paths
Definition GameApi_h.hh:837
std::vector< TreeLevel *, GameApiAllocator< TreeLevel * > > tree_levels
Definition GameApi_h.hh:754
std::vector< Fetcher< FaceID > *, GameApiAllocator< Fetcher< FaceID > * > > uv
Definition GameApi_h.hh:806
std::vector< IDImpl, GameApiAllocator< IDImpl > > ids
Definition GameApi_h.hh:693
std::vector< ShaderParameterI *, GameApiAllocator< ShaderParameterI * > > shp
Definition GameApi_h.hh:820
IMPORT int start_async(ASyncTask *task)
Definition GameApi_dep_env.cc:5848
std::map< int, ArrayRender * > renders2
Definition GameApi_h.hh:719
std::vector< Tracker *, GameApiAllocator< Tracker * > > trackers
Definition GameApi_h.hh:734
std::vector< Collision *, GameApiAllocator< Collision * > > collision_array
Definition GameApi_h.hh:751
IMPORT int add_to_download_bar(std::string filename)
Definition GameApi_dep_env.cc:5737
std::vector< Separate *, GameApiAllocator< Separate * > > separates
Definition GameApi_h.hh:711
std::vector< ExprNode *, GameApiAllocator< ExprNode * > > exprs
Definition GameApi_h.hh:743
std::vector< ColorChange *, GameApiAllocator< ColorChange * > > color_change
Definition GameApi_h.hh:767
std::vector< ScreenSpaceMaterial *, GameApiAllocator< ScreenSpaceMaterial * > > ss_mat
Definition GameApi_h.hh:823
std::vector< FacesInPlane *, GameApiAllocator< FacesInPlane * > > plane_faces
Definition GameApi_h.hh:788
std::vector< Vector, GameApiAllocator< Vector > > vectors
Definition GameApi_h.hh:676
std::vector< NDim< float, Point > *, GameApiAllocator< NDim< float, Point > * > > dims
Definition GameApi_h.hh:694
std::vector< CurveGroup *, GameApiAllocator< CurveGroup * > > curve_group
Definition GameApi_h.hh:799
std::vector< ShaderCall *, GameApiAllocator< ShaderCall * > > shadercalls
Definition GameApi_h.hh:757
std::vector< PointsInPlane *, GameApiAllocator< PointsInPlane * > > plane_points2
Definition GameApi_h.hh:787
std::vector< PixelBufferObject *, GameApiAllocator< PixelBufferObject * > > pbo
Definition GameApi_h.hh:821
IMPORT void set_download_data(GameApi::Env &env, int i, const std::vector< unsigned char > &file)
Definition GameApi_dep_env.cc:5750
std::vector< TROArray *, GameApiAllocator< TROArray * > > timeranges
Definition GameApi_h.hh:706
EXPORT void free_to_counts(std::vector< int > vec)
Definition GameApi_h.hh:881
std::vector< ImplicitFunction3d *, GameApiAllocator< ImplicitFunction3d * > > implicit
Definition GameApi_h.hh:753
std::vector< PointsApiPoints *, GameApiAllocator< PointsApiPoints * > > pointsapi_points
Definition GameApi_h.hh:729
std::vector< BoolBitmap, GameApiAllocator< BoolBitmap > > bool_bm
Definition GameApi_h.hh:682
std::vector< ShaderPriv2 *, GameApiAllocator< ShaderPriv2 * > > shaders
Definition GameApi_h.hh:708
std::vector< Bitmap< float > *, GameApiAllocator< Bitmap< float > * > > layout_data
Definition GameApi_h.hh:717
std::vector< Movement *, GameApiAllocator< Movement * > > movement_array
Definition GameApi_h.hh:752
std::vector< Fetcher< float > *, GameApiAllocator< Fetcher< float > * > > float_fetchers
Definition GameApi_h.hh:776
std::vector< PointArray3 *, GameApiAllocator< PointArray3 * > > pointarray3
Definition GameApi_h.hh:722
std::vector< Array< int, float > *, GameApiAllocator< Array< int, float > * > > float_array
Definition GameApi_h.hh:731
std::vector< ContinuousBitmap< float > *, GameApiAllocator< ContinuousBitmap< float > * > > cont_floats
Definition GameApi_h.hh:791
std::vector< BO_Impl, GameApiAllocator< BO_Impl > > boolean_ops
Definition GameApi_h.hh:747
std::vector< VertexAnimNode *, GameApiAllocator< VertexAnimNode * > > vertex_anims
Definition GameApi_h.hh:770
std::vector< Blocker *, GameApiAllocator< Blocker * > > blockers
Definition GameApi_h.hh:768
std::vector< GameState *, GameApiAllocator< GameState * > > game_state
Definition GameApi_h.hh:816
std::map< int, ArrayRender * > renders
Definition GameApi_h.hh:718
std::vector< Font22 > fonts
Definition GameApi_h.hh:847
std::vector< Voxel< unsigned int > *, GameApiAllocator< Voxel< unsigned int > * > > voxels
Definition GameApi_h.hh:704
std::vector< int, GameApiAllocator< int > > texture_id
Definition GameApi_h.hh:700
std::vector< IWorld *, GameApiAllocator< IWorld * > > worlds
Definition GameApi_h.hh:824
std::vector< Samples *, GameApiAllocator< Samples * > > samples
Definition GameApi_h.hh:733
std::vector< PlaneShape *, GameApiAllocator< PlaneShape * > > plane_shapes
Definition GameApi_h.hh:761
std::vector< Fetcher< int > *, GameApiAllocator< Fetcher< int > * > > int_fetchers
Definition GameApi_h.hh:774
std::vector< Splitter *, GameApiAllocator< Splitter * > > splitters
Definition GameApi_h.hh:769
std::vector< SurfaceImpl, GameApiAllocator< SurfaceImpl > > surfaces
Definition GameApi_h.hh:691
std::vector< TreeStack *, GameApiAllocator< TreeStack * > > trees
Definition GameApi_h.hh:755
std::vector< SpritePosImpl, GameApiAllocator< SpritePosImpl > > spr_pos
Definition GameApi_h.hh:686
std::vector< ByteStore *, GameApiAllocator< ByteStore * > > bytestores
Definition GameApi_h.hh:832
IMPORT int async_mapping(int index)
Definition GameApi_dep_env.cc:5861
std::vector< PD_Impl, GameApiAllocator< PD_Impl > > polydistfield
Definition GameApi_h.hh:748
std::vector< PointArray2 *, GameApiAllocator< PointArray2 * > > pointarray
Definition GameApi_h.hh:721
IMPORT int download_index_mapping(int index)
Definition GameApi_dep_env.cc:5727
std::vector< Va_Impl, GameApiAllocator< Va_Impl > > va_array
Definition GameApi_h.hh:765
std::vector< PhysicsNode *, GameApiAllocator< PhysicsNode * > > phys
Definition GameApi_h.hh:744
std::vector< PlanePoints2d *, GameApiAllocator< PlanePoints2d * > > plane_points
Definition GameApi_h.hh:712
std::vector< RenderVertexArray *, GameApiAllocator< RenderVertexArray * > > vertex_array_render
Definition GameApi_h.hh:699
std::vector< GLTFModelInterface *, GameApiAllocator< GLTFModelInterface * > > tf
Definition GameApi_h.hh:818
std::vector< TBuffer, GameApiAllocator< TBuffer > > tracker_buf
Definition GameApi_h.hh:735
std::vector< Curve< Point > *, GameApiAllocator< Curve< Point > * > > curves
Definition GameApi_h.hh:758
std::vector< VelocityField *, GameApiAllocator< VelocityField * > > vfi
Definition GameApi_h.hh:810
std::vector< Waveform *, GameApiAllocator< Waveform * > > waveforms
Definition GameApi_h.hh:714
Sequencer2 * event_infos
Definition GameApi_h.hh:840
std::vector< FrameBuffer *, GameApiAllocator< FrameBuffer * > > frame_buffer
Definition GameApi_h.hh:802
std::vector< Html *, GameApiAllocator< Html * > > html
Definition GameApi_h.hh:808
std::vector< SpaceImpl, GameApiAllocator< SpaceImpl > > sp
Definition GameApi_h.hh:684
std::vector< ICache *, GameApiAllocator< ICache * > > caches
Definition GameApi_h.hh:825
std::vector< std::shared_ptr< void > > deletes
Definition GameApi_h.hh:689
std::vector< HeavyOperation *, GameApiAllocator< HeavyOperation * > > heavys
Definition GameApi_h.hh:803
std::vector< BitmapArray2< Color > *, GameApiAllocator< BitmapArray2< Color > * > > bm_array
Definition GameApi_h.hh:681
std::vector< Cutter *, GameApiAllocator< Cutter * > > cutters
Definition GameApi_h.hh:746
std::vector< Bitmap< FaceCollection * > *, GameApiAllocator< Bitmap< FaceCollection * > * > > p_matrix
Definition GameApi_h.hh:834
std::vector< FloatBitmap, GameApiAllocator< FloatBitmap > > float_bm
Definition GameApi_h.hh:683
std::vector< ColorVolumeObject *, GameApiAllocator< ColorVolumeObject * > > colorvolume
Definition GameApi_h.hh:725
std::vector< DiskStore *, GameApiAllocator< DiskStore * > > disk_store
Definition GameApi_h.hh:796
std::vector< Fetcher< Point > *, GameApiAllocator< Fetcher< Point > * > > point_fetchers
Definition GameApi_h.hh:777
std::vector< Color, GameApiAllocator< Color > > colors
Definition GameApi_h.hh:677
ASyncLoader * async_loader
Definition GameApi_h.hh:778
std::vector< Fetcher< std::string > *, GameApiAllocator< Fetcher< std::string > * > > string_fetchers
Definition GameApi_h.hh:775
std::vector< ContinuousBitmap< bool > *, GameApiAllocator< ContinuousBitmap< bool > * > > cont_bools
Definition GameApi_h.hh:792
std::vector< Array< int, ObjectWithPos > *, GameApiAllocator< Array< int, ObjectWithPos > * > > object_move
Definition GameApi_h.hh:715
std::vector< CurvePos *, GameApiAllocator< CurvePos * > > curve_pos
Definition GameApi_h.hh:772
std::vector< std::vector< VertexArrayWithPos > *, GameApiAllocator< std::vector< VertexArrayWithPos > * > > object_move_vertex_array
Definition GameApi_h.hh:716
~EnvImpl()
Definition GameApi_dep_env.cc:2035
std::vector< Voxel< int > *, GameApiAllocator< Voxel< int > * > > voxels2
Definition GameApi_h.hh:705
std::vector< ShaderModule *, GameApiAllocator< ShaderModule * > > shader_module
Definition GameApi_h.hh:737
std::vector< FloatVolumeObject *, GameApiAllocator< FloatVolumeObject * > > floatvolumes
Definition GameApi_h.hh:679
std::vector< MeshAnim *, GameApiAllocator< MeshAnim * > > mesh_anim
Definition GameApi_h.hh:800
std::vector< GameApi::GlobalIlluminationData *, GameApiAllocator< GameApi::GlobalIlluminationData * > > globalillumination
Definition GameApi_h.hh:828
std::vector< ColourSpaceI *, GameApiAllocator< ColourSpaceI * > > colourspacesI
Definition GameApi_h.hh:831
std::vector< DistanceRenderable *, GameApiAllocator< DistanceRenderable * > > distvolume
Definition GameApi_h.hh:727
std::vector< VectorVolumeObject *, GameApiAllocator< VectorVolumeObject * > > vectorvolume
Definition GameApi_h.hh:728
IMPORT void async_scheduler()
Definition GameApi_dep_env.cc:5879
std::vector< Wavs, GameApiAllocator< Wavs > > wavs
Definition GameApi_h.hh:736
std::vector< Pa_Impl, GameApiAllocator< Pa_Impl > > polygon_array
Definition GameApi_h.hh:764
void unlock()
Definition GameApi_h.hh:843
std::vector< FBOPriv, GameApiAllocator< FBOPriv > > fbos
Definition GameApi_h.hh:732
std::vector< LineCollection *, GameApiAllocator< LineCollection * > > linearray
Definition GameApi_h.hh:724
std::vector< PropertyArray *, GameApiAllocator< PropertyArray * > > prop_array
Definition GameApi_h.hh:784
std::vector< DynMainLoop *, GameApiAllocator< DynMainLoop * > > dyn
Definition GameApi_h.hh:809
IMPORT void remove_async(int i)
Definition GameApi_dep_env.cc:5870
std::vector< ColourSpace *, GameApiAllocator< ColourSpace * > > colourspaces
Definition GameApi_h.hh:830
std::vector< Space3d *, GameApiAllocator< Space3d * > > space_3d
Definition GameApi_h.hh:785
std::vector< InputForMoving *, GameApiAllocator< InputForMoving * > > move_input
Definition GameApi_h.hh:798
std::vector< GuiWidget *, GameApiAllocator< GuiWidget * > > widgets
Definition GameApi_h.hh:738
std::vector< std::shared_ptr< void > > temp_deletes
Definition GameApi_h.hh:763
std::vector< CmdExecute *, GameApiAllocator< CmdExecute * > > cmds
Definition GameApi_h.hh:782
std::vector< VoxelArray *, GameApiAllocator< VoxelArray * > > voxel_array
Definition GameApi_h.hh:805
std::vector< MainLoopItem *, GameApiAllocator< MainLoopItem * > > main_loop
Definition GameApi_h.hh:741
Definition Serialize.hh:11
Definition GameApi_h.hh:246
Definition GameApi_h.hh:322
Low_GLuint fbo_name
Definition GameApi_h.hh:323
int sy
Definition GameApi_h.hh:326
Low_GLuint depthbuffer
Definition GameApi_h.hh:325
int sx
Definition GameApi_h.hh:326
Low_GLuint texture
Definition GameApi_h.hh:324
Definition Parser.hh:55
Array< int, FaceCollection * > * collarray
Definition Parser.hh:60
FaceCollection * coll
Definition Parser.hh:58
bool collarrayowned
Definition Parser.hh:62
bool collowned
Definition Parser.hh:61
~FaceCollPolyHandle()
Definition Parser.hh:66
Definition GameApi_h.hh:469
Bitmap< float > * bitmap
Definition GameApi_h.hh:470
Definition GameApi_h.hh:541
Bitmap< int > * bm
Definition GameApi_h.hh:542
Definition GameApi_h.hh:615
int sy
Definition GameApi_h.hh:616
int x
Definition GameApi_h.hh:618
int height
Definition GameApi_h.hh:623
int y
Definition GameApi_h.hh:618
int top
Definition GameApi_h.hh:619
int ascender
Definition GameApi_h.hh:621
int descender
Definition GameApi_h.hh:622
int sx
Definition GameApi_h.hh:616
int advance_x
Definition GameApi_h.hh:617
int left
Definition GameApi_h.hh:620
Definition GameApi_h.hh:626
int atlas_sy
Definition GameApi_h.hh:629
std::map< int, FontAtlasGlyphInfo > char_map
Definition GameApi_h.hh:627
int atlas_sx
Definition GameApi_h.hh:628
Definition GameApi_h.hh:480
float size
Definition GameApi_h.hh:482
Function< float, float > * func
Definition GameApi_h.hh:481
Definition GameApi.hh:112
int id
Definition GameApi.hh:112
Definition GameApi.hh:269
int id
Definition GameApi.hh:269
Definition Common.hh:74
Definition Common.hh:51
Definition Common.hh:72
Definition Common.hh:71
Definition Common.hh:31
Definition Common.hh:76
Definition Common.hh:163
Definition Common.hh:32
Definition Common.hh:24
Definition Common.hh:38
Definition Common.hh:139
Definition Common.hh:94
Definition Common.hh:48
Definition Common.hh:66
Definition Common.hh:162
Definition Common.hh:93
Definition Common.hh:30
Definition Common.hh:27
Definition Common.hh:121
Definition Common.hh:159
Definition Common.hh:107
Definition Common.hh:96
Definition Common.hh:147
Definition Common.hh:22
Definition Common.hh:75
Definition Common.hh:142
Definition Common.hh:42
Definition Common.hh:39
Definition Common.hh:23
Definition Common.hh:138
Definition Common.hh:69
Definition Common.hh:95
Definition Common.hh:155
Definition Common.hh:41
Definition Common.hh:21
Definition Common.hh:26
Definition Common.hh:43
Definition Common.hh:164
Definition Common.hh:25
Definition Common.hh:84
Definition Common.hh:50
Definition Common.hh:109
Definition Common.hh:140
Definition Common.hh:141
Definition Common.hh:112
Definition Common.hh:82
Definition Common.hh:108
Definition Common.hh:101
Definition Common.hh:59
Definition Common.hh:156
Definition Common.hh:65
Definition Common.hh:60
Definition Common.hh:62
Definition Common.hh:111
Definition Common.hh:55
Definition GameApi.hh:190
Definition Common.hh:68
Definition Common.hh:85
Definition Common.hh:47
Definition Common.hh:89
Definition Common.hh:136
Definition GameApi.hh:2789
Definition Common.hh:44
Definition Common.hh:160
Definition Common.hh:128
Definition Common.hh:36
Definition Common.hh:35
Definition Common.hh:34
Definition Common.hh:127
Definition Common.hh:29
Definition Common.hh:88
Definition Common.hh:37
Definition Common.hh:145
Definition Common.hh:144
Definition Common.hh:49
Definition Common.hh:79
Definition Common.hh:86
Definition Common.hh:134
Definition Common.hh:52
Definition Common.hh:78
Definition Common.hh:28
Definition Common.hh:40
Definition Common.hh:152
Definition Common.hh:45
Definition Common.hh:92
Definition Common.hh:33
Definition Common.hh:148
Definition Common.hh:77
Definition Common.hh:103
Definition Common.hh:63
Definition Common.hh:149
Definition Common.hh:132
Definition Common.hh:161
Definition Common.hh:130
Definition Common.hh:129
Definition Common.hh:106
Definition Common.hh:61
Definition Common.hh:125
Definition Common.hh:124
Definition Common.hh:143
Definition Common.hh:133
Definition Common.hh:126
Definition Common.hh:80
Definition Common.hh:70
Definition Common.hh:153
Definition GameApi_h.hh:261
Bitmap< Color > * blocks
Definition GameApi_h.hh:264
int last_id
Definition GameApi_h.hh:268
Bitmap< Pos > * positions
Definition GameApi_h.hh:267
std::map< int, int > cellsx
Definition GameApi_h.hh:265
std::map< int, int > cellsy
Definition GameApi_h.hh:266
Definition GameApi_h.hh:531
int id_num
Definition GameApi_h.hh:532
IDInterface * interface
Definition GameApi_h.hh:533
Definition GameApi.h:53
int id
Definition GameApi.h:53
Definition GameApi_h.hh:337
float duration
Definition GameApi_h.hh:339
Point2d p1
Definition GameApi_h.hh:338
Point2d p2
Definition GameApi_h.hh:338
Definition Serialize.hh:127
Definition Serialize.hh:44
Definition GameApi_low.hh:679
Definition GraphI.hh:1502
Definition GameApi_h.hh:291
int last_error
Definition GameApi_h.hh:310
int corner_x
Definition GameApi_h.hh:308
float delta_time
Definition GameApi_h.hh:298
std::map< std::string, std::chrono::time_point< std::chrono::high_resolution_clock > > profile_start_time
Definition GameApi_h.hh:305
int screen_height
Definition GameApi_h.hh:307
int screen_width
Definition GameApi_h.hh:307
std::map< std::string, std::chrono::high_resolution_clock::duration > profile_sums
Definition GameApi_h.hh:303
unsigned long long frame_time
Definition GameApi_h.hh:295
unsigned int avg_time
Definition GameApi_h.hh:296
int corner_y
Definition GameApi_h.hh:308
int screen_rect_sy
Definition GameApi_h.hh:309
unsigned long long time2
Definition GameApi_h.hh:294
int frame
Definition GameApi_h.hh:301
std::map< std::string, int > profile_count
Definition GameApi_h.hh:304
int count
Definition GameApi_h.hh:300
unsigned int previous_frame_time
Definition GameApi_h.hh:299
int screen_rect_sx
Definition GameApi_h.hh:309
Low_SDL_Surface * screen
Definition GameApi_h.hh:292
unsigned long long time
Definition GameApi_h.hh:293
float current_time
Definition GameApi_h.hh:297
Definition GameApi_h.hh:582
Vector * normal
Definition GameApi_h.hh:585
int numpoints
Definition GameApi_h.hh:586
int lastupdatednum
Definition GameApi_h.hh:587
Low_GLuint vao[1]
Definition GameApi_h.hh:589
float * color
Definition GameApi_h.hh:584
Low_GLuint buffer[2]
Definition GameApi_h.hh:588
int color_divisor
Definition GameApi_h.hh:590
float * array
Definition GameApi_h.hh:583
Definition GameApi_h.hh:546
GameApi::M m
Definition GameApi_h.hh:548
GameApi::P obj
Definition GameApi_h.hh:547
Definition GameApi_h.hh:640
GameApi::P mesh
Definition GameApi_h.hh:641
GameApi::SFO distance_field
Definition GameApi_h.hh:642
Definition GameApi.h:23
Definition GameApi_h.hh:645
std::vector< GameApi::P > vec
Definition GameApi_h.hh:646
Definition Combination.hh:21
Definition GameApi_h.hh:595
std::vector< float > array
Definition GameApi_h.hh:596
std::vector< unsigned char > cmd_array
Definition GameApi_h.hh:597
Definition VectorTools.hh:910
float x
Definition VectorTools.hh:911
float y
Definition VectorTools.hh:911
Definition GameApi_h.hh:557
unsigned int * color_array
Definition GameApi_h.hh:560
Low_GLuint buffer2
Definition GameApi_h.hh:564
Low_GLuint vao[1]
Definition GameApi_h.hh:565
Low_GLuint pos_buffer
Definition GameApi_h.hh:566
float * array
Definition GameApi_h.hh:558
float * array2_1
Definition GameApi_h.hh:559
int numpoints
Definition GameApi_h.hh:561
Low_GLuint buffer2_1
Definition GameApi_h.hh:563
Low_GLuint buffer
Definition GameApi_h.hh:562
Definition GameApi_h.hh:570
Low_GLuint buffer[2]
Definition GameApi_h.hh:576
int numpoints
Definition GameApi_h.hh:574
Vector * normal
Definition GameApi_h.hh:573
Low_GLuint vao[1]
Definition GameApi_h.hh:577
int color_divisor
Definition GameApi_h.hh:578
float * color
Definition GameApi_h.hh:572
float * array
Definition GameApi_h.hh:571
int lastupdatednum
Definition GameApi_h.hh:575
Definition Parser.cc:60
float x
Definition Parser.cc:60
float y
Definition Parser.cc:60
Definition Common2.hh:717
virtual ~PolyHandle()
Definition Common2.hh:719
int id
Definition Common2.hh:718
Definition GameRunner.hh:14
~PolyPriv()
Definition GameApi_sp.cc:29
std::map< int, StateBitmaps * > states
Definition GameRunner.hh:16
std::map< int, ArrayRender * > rend
Definition GameRunner.hh:15
Definition Serialize.hh:238
Definition GameApi_h.hh:314
ShaderFile * file
Definition GameApi_h.hh:315
ShaderSeq * seq
Definition GameApi_h.hh:316
std::map< int, int > ids
Definition GameApi_h.hh:317
int count
Definition GameApi_h.hh:318
Definition GameApi_h.hh:330
Point tl
Definition GameApi_h.hh:331
Point origo
Definition GameApi_h.hh:332
Point2d conv(Point p)
Definition GameApi_h.hh:333
Point bl
Definition GameApi_h.hh:331
Point br
Definition GameApi_h.hh:331
Point z
Definition GameApi_h.hh:331
Point tr
Definition GameApi_h.hh:331
Definition GameApi_h.hh:342
float x
Definition GameApi_h.hh:343
float y
Definition GameApi_h.hh:343
Definition GameRunner.hh:22
std::vector< Sprite ** > arrays
Definition GameRunner.hh:27
std::map< int, Sprite * > sprites
Definition GameRunner.hh:25
~SpritePriv()
Definition GameApi_sp.cc:5
Definition GameApi_h.hh:280
Definition GameApi_h.hh:486
SurfaceIn3d * surf
Definition GameApi_h.hh:487
Definition GameApi_h.hh:601
int sample
Definition GameApi_h.hh:604
int duration
Definition GameApi_h.hh:603
int type
Definition GameApi_h.hh:602
Definition GameApi_h.hh:608
TBuffer2 * buf
Definition GameApi_h.hh:611
int numchannels
Definition GameApi_h.hh:609
int numslots
Definition GameApi_h.hh:610
Definition GameApi.h:42
Definition GameApi_h.hh:240
Point2d p1
Definition GameApi_h.hh:241
Point2d p2
Definition GameApi_h.hh:242
Definition GameApi_h.hh:649
std::vector< GameApi::VA > vec
Definition GameApi_h.hh:650
Definition GameApi_h.hh:551
GameApi::VA va
Definition GameApi_h.hh:552
GameApi::M m
Definition GameApi_h.hh:553