mapimageexport.cpp File Reference

#include "loadpcx.h"
#include "mapdisplay.h"
#include "mapimageexport.h"
#include "dialogs/fileselector.h"
#include "graphics/surface2png.h"
#include "spfst.h"
#include "iconrepository.h"
#include "viewcalculation.h"
#include "graphics/blitter.h"

Include dependency graph for mapimageexport.cpp:

Go to the source code of this file.

Functions

void writemaptopcx (GameMap *gamemap, bool addview)
void writemaptostream (GameMap *gamemap, int width, int height, tnstream &stream)
Surface loadmapfromstream (tnstream &stream)


Function Documentation

Surface loadmapfromstream ( tnstream stream  ) 

Definition at line 125 of file mapimageexport.cpp.

References assertOrThrow, Surface::createSurface(), and tnstream::readInt().

Referenced by tsavegameloaders::loadgame(), and tsavegameloaders::loadMapimageFromFile().

void writemaptopcx ( GameMap gamemap,
bool  addview 
)

Definition at line 80 of file mapimageexport.cpp.

References selectFile().

Referenced by execaction_pg(), executeUserAction(), process_ASC_map(), and process_BI_map().

void writemaptostream ( GameMap gamemap,
int  width,
int  height,
tnstream stream 
)

Definition at line 96 of file mapimageexport.cpp.

References MegaBlitter< BytesPerSourcePixel, BytesPerTargetPixel, SourceColorTransform, ColorMerger, SourcePixelSelector, TargetPixelSelector, MyColorConverter >::blit(), Surface::createSurface(), WholeMapRenderer::render(), WholeMapRenderer::surface, and tnstream::writeInt().

Referenced by tsavegameloaders::savegame().


Generated on Mon May 21 01:38:07 2012 for Advanced Strategic Command by  doxygen 1.5.1