CMT.h 587 B

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