Remove entries in arena.txt and srvlist.txt that start with rem. rem doesn't work there, it just produces an error "file rem doesn't exist" and fails post-build rule.
Remove failing srv_quest_no_mail.xck.
Remove round() function which clashes with the stdlib function.
Add missing include <string> to zxmgr.h so that it can be compiled independently from other files.
Add extern "C" so that linker can find the function. No idea.
Tested locally on Win11: compiles, executes post-build successfully. Doesn't run on my host system, but the built a2serv.exe + srvmgr.dll runs in a virtual machine.
Also cleaning up a bit to make it compile:
arena.txt
andsrvlist.txt
that start withrem
.rem
doesn't work there, it just produces an error "file rem doesn't exist" and fails post-build rule.srv_quest_no_mail.xck
.round()
function which clashes with the stdlib function.<string>
tozxmgr.h
so that it can be compiled independently from other files.extern "C"
so that linker can find the function. No idea.Tested locally on Win11: compiles, executes post-build successfully. Doesn't run on my host system, but the built a2serv.exe + srvmgr.dll runs in a virtual machine.