12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- #ifndef Globals_H
- #define Globals_H
- #include "Punkt.h"
- #include "Critical.h"
- #ifndef Global
- #define Global extern
- #endif
- struct HINSTANCE__;
- namespace Framework
- {
- class ThreadRegister;
- class Thread;
- class Model3DList;
- class TexturList;
- class Datei;
- #ifdef WIN32
- class Maus;
- class WFensterArray;
- Global WFensterArray WFensterA;
- Global bool MausTrack;
- Global Maus MausZeiger;
- Global bool msgExit;
- Global Punkt mausPos;
- #endif
- Global bool TastenStand[ 255 ];
- Global bool MausStand[ 3 ];
- Global Model3DList *m3dRegister;
- Global TexturList *texturRegister;
- Global bool istInitialisiert;
- Global ThreadRegister *thRegister;
- Global bool logEnabled;
- Global Datei *logFile;
- Global Critical logC;
- Global HINSTANCE__ *_hinst;
- #ifdef WIN32
-
- __declspec( dllexport ) const Punkt &getMausPos();
- #endif
-
-
-
- __declspec( dllexport ) bool getMausStand( int taste );
-
-
-
- __declspec( dllexport ) bool getTastenStand( unsigned char taste );
-
-
-
-
- __declspec( dllexport ) void setTastenStand( unsigned char taste, bool st );
-
- __declspec( dllexport ) Model3DList *zM3DRegister();
-
- __declspec( dllexport ) TexturList *zTexturRegister();
-
-
- __declspec( dllexport ) void initFramework( HINSTANCE__ *hInst = 0 );
-
-
- __declspec( dllexport ) void releaseFramework();
-
-
-
- __declspec( dllexport ) bool istThreadOk( Thread *t );
-
- __declspec( dllexport ) ThreadRegister *getThreadRegister();
-
- __declspec( dllexport ) void setLogEnabled( bool le );
-
-
- __declspec( dllexport ) void logLine( char *txt );
- #ifdef WIN32
-
- __declspec( dllexport ) Maus &getMaus();
- #endif
- }
- #endif
|