Main Runtime Method.
189{
190 printf(" _ _ _\n");
191 printf(" | | | | (_)\n");
192 printf(" | |_| | ___ _ __ _ _______ _ __\n");
193 printf(" | _ |/ _ \\| '__| |_ / _ \\| '_ \\\n");
194 printf(" | | | | (_) | | | |/ / (_) | | | |\n");
195 printf(" \\_| |_/\\___/|_| |_/___\\___/|_| |_|\n\n");
196 printf(" Horizon Map Cache \n\n");
197 printf("Credits: \n");
198 printf(" Smokexyz (sagunkho@hotmail.com)\n\n");
199
201
203
205 return SIGABRT;
206
210
212 return 1;
213
217 }
218
219 printf("Info: Building internal cache...\n");
220
222 printf("Info: Internal cache has been built with %d new maps (out of %lu total).\n", new_maps,
224
225 printf("Info: Building external cache...\n");
228
229 return 0;
230}
int getCompressionLevel()
Definition: MapCache.hpp:202
mcache_error_type initialize()
Definition: MapCache.cpp:146
bool BuildExternalCache()
Definition: MapCache.cpp:349
boost::filesystem::path & getMapCachePath()
Definition: MapCache.hpp:198
int BuildInternalCache()
Definition: MapCache.cpp:284
std::pair< uint8_t, grf_load_result_type > LoadGRFs()
Definition: MapCache.cpp:273
const boost::filesystem::path & getMapListPath() const
Definition: MapCache.hpp:206
std::shared_ptr< map_cache > getMCache()
Definition: MapCache.hpp:230
bool Exists()
Definition: MapCache.cpp:166
mcache_import_error_type ImportFromCacheFile()
Definition: MapCache.cpp:56