#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 |
Definition in file map2pcx.cpp.
| typedef vector<string> FilesToLoad |
Definition at line 115 of file map2pcx.cpp.
| pfont load_font | ( | char * | name | ) |
| 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 dataLoaderTicker, hookReplayToSystem(), SoundList::init(), loadAllData(), loadalltextfiles(), loadcursor(), loadmessages(), loadpalette(), loadUnitSets(), GuiFunctions::primaryGuiIcons, registerDataLoader(), and registerGuiFunctions().
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Definition at line 273 of file map2pcx.cpp.
References addSearchPath(), Schriften::arial8, filesToLoad, 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(), filesToLoad, 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, 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().
| string outputDir |
Definition at line 125 of file map2pcx.cpp.
Referenced by main(), process_ASC_map(), and process_BI_map().
1.5.1