fieldimageloader.h File Reference

#include "graphics/surface.h"

Include dependency graph for fieldimageloader.h:

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

Go to the source code of this file.

Functions

vector< SurfaceloadASCFieldImageArray (const ASCString &file, int num)
Surface loadASCFieldImage (const ASCString &file, bool applyFieldMask=true)
void snowify (Surface &s, bool adaptive=true)


Function Documentation

Surface loadASCFieldImage ( const ASCString file,
bool  applyFieldMask = true 
)

Definition at line 191 of file fieldimageloader.cpp.

References applyFieldMask(), RWOPS_Handler::Close(), displayLogMessage(), errorMessage(), fieldsizex, fieldsizey, fileNameDelimitter, RWOPS_Handler::Get(), StringTokenizer::getNextToken(), tnstream::reading, s2, s3, SDL_RWFromStream(), FileName::suffix(), ASCString::toLower(), and warningMessage().

Referenced by ASCImageProperty::operation_eq().

vector<Surface> loadASCFieldImageArray ( const ASCString file,
int  num 
)

Definition at line 120 of file fieldimageloader.cpp.

References applyFieldMask(), applyLegacyFieldMask(), Surface::assignDefaultPalette(), MegaBlitter< BytesPerSourcePixel, BytesPerTargetPixel, SourceColorTransform, ColorMerger, SourcePixelSelector, TargetPixelSelector, MyColorConverter >::blit(), ASCString::copytoLower(), Surface::createSurface(), fatalError(), fieldsizex, fieldsizey, imageEmpty(), tnstream::reading, s2, and SDL_RWFromStream().

Referenced by ASCImageArrayProperty::operation_eq().

void snowify ( Surface s,
bool  adaptive = true 
)

Definition at line 38 of file fieldimageloader.cpp.

References Surface::transparent.

Referenced by ObjectType::runTextIO(), and TerrainType::Weather::runTextIO().


Generated on Mon May 21 01:34:56 2012 for Advanced Strategic Command by  doxygen 1.5.1