Globals.h 877 B

12345678910111213141516171819202122232425262728293031323334
  1. #pragma once
  2. #include <Array.h>
  3. #include <HashMap.h>
  4. #include <RCPointer.h>
  5. #include <UIInitialization.h>
  6. #include <Schrift.h>
  7. #include <DLLRegister.h>
  8. #include <Bildschirm.h>
  9. #include <Fenster.h>
  10. #include "Menu.h"
  11. #include "World.h"
  12. #ifndef variable
  13. #define variable extern
  14. #endif
  15. variable Framework::HashMap<Framework::Text, Framework::RCPointer<Menu>>* menuRegister;
  16. variable UIInit uiFactory;
  17. variable Framework::HashMap<Framework::Text, Framework::RCPointer<Schrift>>* fontRegister;
  18. variable DLLRegister* dlls;
  19. variable Framework::WFenster* window;
  20. variable RCArray<Bild>* itemIcons;
  21. variable BlockType** blockTypes;
  22. variable int blockTypeCount;
  23. variable ItemType** itemTypes;
  24. variable int itemTypeCount;
  25. variable EntityType** entityTypes;
  26. variable int entityTypeCount;
  27. void initVariables();
  28. void initMenus();
  29. void releaseVariables();