Globals.h 971 B

12345678910111213141516171819202122232425262728293031323334353637
  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 "NetworkHandler.h"
  12. #include "World.h"
  13. #ifndef variable
  14. #define variable extern
  15. #endif
  16. variable Framework::HashMap<Framework::Text, Framework::RCPointer<Menu>>* menuRegister;
  17. variable UIInit uiFactory;
  18. variable Framework::HashMap<Framework::Text, Framework::RCPointer<Schrift>>* fontRegister;
  19. variable NetworkHandler* network;
  20. variable DLLRegister* dlls;
  21. variable World* currentGame;
  22. variable Framework::WFenster* window;
  23. variable RCArray<Bild>* itemIcons;
  24. variable BlockType** blockTypes;
  25. variable int blockTypeCount;
  26. variable ItemType** itemTypes;
  27. variable int itemTypeCount;
  28. variable EntityType** entityTypes;
  29. variable int entityTypeCount;
  30. void initVariables();
  31. void initMenus();
  32. void releaseVariables();