Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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.

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 111 of file graphics.cpp.

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

int copy2screen void   ) 
 

Definition at line 92 of file graphics.cpp.

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

Surface& getActiveSurface  ) 
 

Definition at line 83 of file graphics.cpp.

References agmp, and tgraphmodeparameters::surface.

Referenced by tshownewtanks::init().

void initASCGraphicSubsystem SDL_Surface *  screen  ) 
 

Definition at line 43 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 70 of file graphics.cpp.

References agmp, and tgraphmodeparameters::surface.

Referenced by ASC_PG_App::~ASC_PG_App().


Generated on Tue Jun 24 01:47:04 2008 for Advanced Strategic Command by  doxygen 1.4.2