CMT.h 603 B

1234567891011121314151617
  1. #pragma once
  2. #include <SDL_render.h>
  3. extern SDL_Texture * screenTexture;
  4. extern SDL_Window * mainWindow;
  5. extern SDL_Renderer * mainRenderer;
  6. extern SDL_Surface *screen; // main screen surface
  7. extern SDL_Surface *screen2; // and hlp surface (used to store not-active interfaces layer)
  8. 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
  9. extern bool gNoGUI; //if true there is no client window and game is silently played between AIs
  10. void handleQuit(bool ask = true);