22 #ifndef INSTANCEGLOBAL
46 bool display_initialized;
55 bool global_strictParsing;
56 bool global_plugin_print;
57 bool global_occlusion_disable;
58 unsigned user_request_texture_size;
59 bool global_print_opengl_errors;
60 bool global_trace_threads;
72 pthread_t disposeThread;
78 pthread_mutex_t mutex_resource_tree;
81 pthread_mutex_t mutex_resource_list;
82 pthread_cond_t resource_list_condition;
84 pthread_mutex_t mutex_frontend_list;
87 pthread_mutex_t mutex_texture_list;
88 pthread_cond_t texture_list_condition;
89 bool ResourceThreadRunning;
90 bool TextureThreadRunning;
91 bool ResourceThreadWaiting;
92 bool TextureThreadWaiting;
107 } EAI_C_CommonFunctions;
129 int Console_writeToHud;
135 int currentFileVersion;
140 const char *BrowserDescription;
149 char *tmpFileLocation;
154 int *scene_components;
155 char *replaceWorldRequest;
156 void *replaceWorldRequestMulti;
159 void *_framebufferstack;
160 int screenOrientation2;
166 struct Vector *viewpointNodes;
169 struct X3D_Node *setViewpointBindInRender;
170 struct X3D_Node *setFogBindInRender;
171 struct X3D_Node *setBackgroundBindInRender;
172 struct X3D_Node *setNavigationBindInRender;
176 #if defined (INCLUDE_NON_WEB3D_FORMATS)
177 struct tColladaParser{
180 #endif //INCLUDE_NON_WEB3D_FORMATS
182 #if defined (INCLUDE_STL_FILES)
186 #endif // INCLUDE_STL_FILES
207 struct tOpenCL_Utils{
208 bool OpenCL_Initialized;
221 void *textureParameterStack;
227 unsigned int *global_tcin;
228 int global_tcin_count;
229 void *global_tcin_lastParent;
231 unsigned int defaultBlankTexture;
245 }Component_CubeMapTexturing;
248 }Component_EnvironSensor;
251 }Component_Geometry3D;
254 }Component_Geospatial;
269 }Component_ParticleSystems;
272 }Component_ProgrammableShaders;
275 }Component_RigidBodyPhysics;
278 }Component_Followers;
281 }Component_KeyDevice;
284 iOLDCODE
struct tComponent_Networking{
285 iOLDCODE
void *ReWireNamenames;
286 iOLDCODE
int ReWireNametableSize;
287 iOLDCODE
void *ReWireDevices;
288 iOLDCODE
int ReWireDevicetableSize;
290 iOLDCODE }Component_Networking;
298 }Component_Rendering;
303 int sound_from_audioclip;
305 int SoundEngineStarted;
316 }Component_VolumeRendering;
319 OLDCODE
char *OSX_last_world_url_for_reload;
320 OLDCODE
char *OSX_replace_world_from_console;
328 float hyp_save_posn[3];
329 float hyp_save_norm[3];
330 float ray_save_posn[3];
331 void *hypersensitive;
340 int have_transparency;
343 int last_texture_type;
346 unsigned int boundTextureStack[10];
356 int *global_IFS_Coords;
357 int global_IFS_Coord_count;
359 void *global_tessobj;
381 int max_script_found;
382 int max_script_found_and_initialized;
392 void * JSglobal_return_val;
401 void * JSCreate_global_return_val;
426 int CDATA_Text_curlen;
436 #if defined(WRAP_MALLOC) || defined(DEBUG_MALLOC)
437 pthread_mutex_t __memTableGlobalLock;
438 bool __memTable_CheckInit;
439 bool __memTable_ShouldRegisterAllocation;
440 dbl_list_t *__memTable;
444 #define INSTANCEGLOBAL 1