Advanced Strategic Command
Functions | Variables
fieldimageloader.cpp File Reference
#include <vector>
#include <algorithm>
#include <iostream>
#include <SDL_image.h>
#include <boost/regex.hpp>
#include "global.h"
#include "ascstring.h"
#include "fieldimageloader.h"
#include "typen.h"
#include "graphics/blitter.h"
#include "basestreaminterface.h"
#include "stringtokenizer.h"
#include "graphics/surface2png.h"
Include dependency graph for fieldimageloader.cpp:

Go to the source code of this file.

Functions

void snowify (Surface &s, bool adaptive)
 
bool imageEmpty (const Surface &s)
 
vector< SurfaceloadASCFieldImageArray (const ASCString &file, int num)
 
Surface loadASCFieldImage (const ASCString &file, bool applyFieldMaskToImage)
 

Variables

const char * fileNameDelimitter = " =*/+<>,"
 

Function Documentation

bool imageEmpty ( const Surface s)

Definition at line 91 of file fieldimageloader.cpp.

References Surface::transparent.

Referenced by loadASCFieldImageArray().

Surface loadASCFieldImage ( const ASCString file,
bool  applyFieldMaskToImage 
)
vector<Surface> loadASCFieldImageArray ( const ASCString file,
int  num 
)
void snowify ( Surface s,
bool  adaptive 
)

Definition at line 38 of file fieldimageloader.cpp.

References Surface::transparent.

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

Variable Documentation

const char* fileNameDelimitter = " =*/+<>,"

Definition at line 35 of file fieldimageloader.cpp.

Referenced by loadASCFieldImage().