CMT.h 627 B

1234567891011121314151617181920
  1. #pragma once
  2. #ifndef VCMI_SDL1
  3. #include <SDL_render.h>
  4. extern SDL_Texture * screenTexture;
  5. extern SDL_Window * mainWindow;
  6. extern SDL_Renderer * mainRenderer;
  7. #endif // VCMI_SDL2
  8. extern SDL_Surface *screen; // main screen surface
  9. extern SDL_Surface *screen2; // and hlp surface (used to store not-active interfaces layer)
  10. extern SDL_Surface *screenBuf; // points to screen (if only advmapint is present) or screen2 (else) - should be used when updating controls which are not regularly redrawed
  11. extern bool gNoGUI; //if true there is no client window and game is silently played between AIs
  12. void handleQuit();