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

map2pcx.cpp File Reference

#include <memory>
#include "typen.h"
#include "loaders.h"
#include "loadpcx.h"
#include "loadbi3.h"
#include "errors.h"
#include "gameoptions.h"
#include "mapdisplay.h"
#include "dialog.h"
#include "strtmesg.h"
#include "itemrepository.h"
#include "memorycheck.cpp"
#include "graphicset.h"
#include "clparser/map2pcx.cpp"

Include dependency graph for map2pcx.cpp:

Go to the source code of this file.

Typedefs

typedef vector< string > FilesToLoad

Functions

void loadcursor (void)
void loaddata (void)
pfont load_font (char *name)
void process_BI_map (const ASCString &filename)
void process_ASC_map (const ASCString &filename)
int mapeditorMainThread (void *_mapname)
int main (int argc, char *argv[])

Variables

FilesToLoad filesToLoad
string outputDir


Detailed Description

map2pcx : A program to generate pcx images of maps. This is a separate program and not a module of the ASC main program or the mapeditor. This program is only used by Martin Bickel to create the images for the map archive.

Definition in file map2pcx.cpp.


Typedef Documentation

typedef vector<string> FilesToLoad
 

Definition at line 115 of file map2pcx.cpp.


Function Documentation

pfont load_font char *  name  ) 
 

Definition at line 119 of file map2pcx.cpp.

References loadfont(), and tnstream::reading.

void loadcursor void   ) 
 

Definition at line 45 of file map2pcx.cpp.

References loadmessages(), loadpalette(), txlattables::nochange, pal, tnstream::reading, tnstream::readrlepict(), and xlattables.

Referenced by loaddata().

void loaddata void   ) 
 

Definition at line 91 of file map2pcx.cpp.

References loadalltextfiles(), loadcursor(), and loadUnitSets().

int main int  argc,
char *  argv[]
 

Definition at line 273 of file map2pcx.cpp.

References addSearchPath(), Schriften::arial8, getVersionString(), tvirtualscreenbuf::init(), initFileIO(), initializeEventHandling(), Schriften::large, load_font(), mapeditorMainThread(), Schriften::monogui, outputDir, schriften, setDefaultBI3ImportTranslationTable(), Schriften::smallarial, Schriften::smallsystem, and virtualscreenbuf.

int mapeditorMainThread void *  _mapname  ) 
 

Definition at line 245 of file map2pcx.cpp.

References displaymessage(), tfileerror::getFileName(), loaddata(), patimat(), process_ASC_map(), and process_BI_map().

void process_ASC_map const ASCString filename  ) 
 

Definition at line 181 of file map2pcx.cpp.

References GameMap::_resourcemode, actmap, GameMap::archivalInformation, GameMap::ArchivalInformation::author, GameMap::ArchivalInformation::description, Player::exist(), get_filetime(), tfindfile::getnextname(), GameMap::graphicset, tmaploaders::loadmap(), GameMap::maptitle, GameMap::ArchivalInformation::modifytime, outputDir, GameMap::player, GameMap::ArchivalInformation::requirements, Player::stat, GameMap::ArchivalInformation::tags, writemaptopcx(), GameMap::xsize, and GameMap::ysize.

Referenced by mapeditorMainThread().

void process_BI_map const ASCString filename  ) 
 

Definition at line 128 of file map2pcx.cpp.

References actmap, Player::exist(), get_filetime(), tfindfile::getnextname(), importbattleislemap(), GameMap::maptitle, outputDir, GameMap::player, Player::stat, terrainTypeRepository, writemaptopcx(), GameMap::xsize, and GameMap::ysize.

Referenced by mapeditorMainThread().


Variable Documentation

FilesToLoad filesToLoad
 

Definition at line 116 of file map2pcx.cpp.

string outputDir
 

Definition at line 125 of file map2pcx.cpp.

Referenced by main(), process_ASC_map(), and process_BI_map().


Generated on Tue Jun 24 01:49:57 2008 for Advanced Strategic Command by  doxygen 1.4.2