#include <stdlib.h>#include <SDL.h>#include "graphics.h"#include "../basegfx.h"#include "../global.h"#include "../ascstring.h"#include "../messaginghub.h"#include "sdlstretch.cpp"Include dependency graph for graphics.cpp:

Go to the source code of this file.
Functions | |
| void | setWindowCaption (const char *s) |
| sets the caption of the main window | |
| void | initASCGraphicSubsystem (SDL_Surface *_screen) |
| void | shutdownASCGraphicSubsystem () |
| Surface & | getActiveSurface () |
| int | copy2screen (void) |
| int | copy2screen (int x1, int y1, int x2, int y2) |
Variables | |
| SDL_Surface * | screen = NULL |
| int | fullscreen = 1 |
| this variable determines whether the next call to initgraphics will open a window or a fullscreen session | |
| bool | dummyScreenPaletteSetup = false |
|
||||||||||||||||||||
|
Definition at line 111 of file graphics.cpp. References Surface::assignDefaultPalette(), dummyScreenPaletteSetup, Surface::getBaseSurface(), hgmp, min(), screen, and tgraphmodeparameters::surface. |
|
|
Definition at line 92 of file graphics.cpp. Referenced by copySurface2screen(), collategraphicoperations::off(), releasetimeslice(), and collategraphicoperations::~collategraphicoperations(). |
|
|
Definition at line 83 of file graphics.cpp. References agmp, and tgraphmodeparameters::surface. Referenced by tshownewtanks::init(). |
|
|
|
sets the caption of the main window
Definition at line 35 of file graphics.cpp. Referenced by main(). |
|
|
Definition at line 70 of file graphics.cpp. References agmp, and tgraphmodeparameters::surface. Referenced by ASC_PG_App::~ASC_PG_App(). |
|
|
Definition at line 41 of file graphics.cpp. Referenced by copy2screen(), and initASCGraphicSubsystem(). |
|
|
this variable determines whether the next call to initgraphics will open a window or a fullscreen session
Definition at line 32 of file graphics.cpp. Referenced by main(). |
|
1.4.2