VS,
thank you. I downloaded the files (incidentally, it seems that the makeobj files should go in the makeobj subdirectory, not the trunk directory, as all of the relative paths to the trunk directory start with "../"), but, when I go to build makeobj, I get the following linker errors:
1>------ Build started: Project: makeobj, Configuration: Debug Win32 ------
1>Linking...
1>makeobj.obj : error LNK2019: unresolved external symbol "public: void __thiscall root_writer_t::copy(char const *,int,char * * const)" (?copy@root_writer_t@@QAEXPBDHQAPAD@Z) referenced in function __catch$_main$0
1>makeobj.obj : error LNK2019: unresolved external symbol "public: void __thiscall root_writer_t::uncopy(char const *)" (?uncopy@root_writer_t@@QAEXPBD@Z) referenced in function __catch$_main$0
1>makeobj.obj : error LNK2019: unresolved external symbol "public: void __thiscall root_writer_t::list(int,char * * const)" (?list@root_writer_t@@QAEXHQAPAD@Z) referenced in function __catch$_main$0
1>makeobj.obj : error LNK2019: unresolved external symbol "public: void __thiscall root_writer_t::dump(int,char * * const)" (?dump@root_writer_t@@QAEXHQAPAD@Z) referenced in function __catch$_main$0
1>makeobj.obj : error LNK2019: unresolved external symbol "public: void __thiscall root_writer_t::write(char const *,int,char * * const)" (?write@root_writer_t@@QAEXPBDHQAPAD@Z) referenced in function _main
1>makeobj.obj : error LNK2019: unresolved external symbol "public: void __thiscall root_writer_t::capabilites(void)" (?capabilites@root_writer_t@@QAEXXZ) referenced in function _main
1>makeobj.obj : error LNK2019: unresolved external symbol "void __cdecl init_logging(char const *,bool,bool)" (?init_logging@@YAXPBD_N1@Z) referenced in function _main
1>makeobj.obj : error LNK2019: unresolved external symbol "private: static cl**** root_writer_t root_writer_t::the_instance" (?the_instance@root_writer_t@@0V1@A) referenced in function "public: static cl**** root_writer_t * __cdecl root_writer_t::instance(void)" (?instance@root_writer_t@@SAPAV1@XZ)
1>makeobj.obj : error LNK2019: unresolved external symbol "private: static int image_writer_t::img_size" (?img_size@image_writer_t@@0HA) referenced in function "public: static void __cdecl image_writer_t::set_img_size(int)" (?set_img_size@image_writer_t@@SAXH@Z)
1>Debug\makeobj.exe : fatal error LNK1120: 9 unresolved externals
1>Build log was saved at "file://f:\My Documents\Development\Simutrans\Sources\simutrans\makeobj\Debug\BuildLog.htm"
1>makeobj - 10 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Edit: When I opened the file on its own, rather than adding it to the Simutrans project, it seemed to work, except, for some reason, I had to change the order of certain lines of code in dr_rdpng.c (putting png_uint_32 widthpu32,heightpu32; above the pngptr lines, or else it would give me unfathomable syntax errors).