graphics.h File Reference

#include "../global.h"
#include "../palette.h"
#include "../basegfx.h"
#include "../graphics/surface.h"
#include "../basegfx.h"

Include dependency graph for graphics.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MouseHider

Functions

void initASCGraphicSubsystem (SDL_Surface *screen)
void shutdownASCGraphicSubsystem ()
int copy2screen (void)
int copy2screen (int x1, int y1, int x2, int y2)
SurfacegetActiveSurface ()


Function Documentation

int copy2screen ( int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 110 of file graphics.cpp.

References Surface::assignDefaultPalette(), dummyScreenPaletteSetup, Surface::getBaseSurface(), hgmp, min(), screen, and tgraphmodeparameters::surface.

int copy2screen ( void   ) 

Definition at line 91 of file graphics.cpp.

References Surface::assignDefaultPalette(), dummyScreenPaletteSetup, Surface::getBaseSurface(), hgmp, screen, and tgraphmodeparameters::surface.

Surface& getActiveSurface (  ) 

Definition at line 82 of file graphics.cpp.

References agmp, and tgraphmodeparameters::surface.

void initASCGraphicSubsystem ( SDL_Surface *  screen  ) 

Definition at line 42 of file graphics.cpp.

References agmp, tgraphmodeparameters::bitperpix, tgraphmodeparameters::byteperpix, tgraphmodeparameters::bytesperscanline, Surface::createSurface(), tgraphmodeparameters::directscreenaccess, dummyScreenPaletteSetup, hgmp, tgraphmodeparameters::linearaddress, tgraphmodeparameters::resolutionx, tgraphmodeparameters::resolutiony, tgraphmodeparameters::scanlinelength, tgraphmodeparameters::scanlinenumber, screen, tgraphmodeparameters::surface, and tgraphmodeparameters::windowstatus.

Referenced by InitScreenOp::execute(), and ASC_PG_App::InitScreen().

void shutdownASCGraphicSubsystem (  ) 

Definition at line 69 of file graphics.cpp.

References agmp, and tgraphmodeparameters::surface.

Referenced by ASC_PG_App::~ASC_PG_App().


Generated on Mon May 21 01:36:54 2012 for Advanced Strategic Command by  doxygen 1.5.1