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

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 178 of file fieldimageloader.cpp.

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

Referenced by ASCImageProperty::operation_eq().

vector<Surface> loadASCFieldImageArray const ASCString file,
int  num
 

Definition at line 107 of file fieldimageloader.cpp.

References applyFieldMask(), applyLegacyFieldMask(), Surface::assignDefaultPalette(), MegaBlitter< BytesPerSourcePixel, BytesPerTargetPixel, SourceColorTransform, ColorMerger, SourcePixelSelector, TargetPixelSelector, MyColorConverter >::blit(), Surface::ColorKey2AlphaChannel(), copytoLower(), Surface::createSurface(), Surface::detectColorKey(), 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 Tue Jun 24 01:43:16 2008 for Advanced Strategic Command by  doxygen 1.4.2