I'm going through the process of converting Locoweeds Multiplayer tutorial to lite-c but I'm having problems with using the server and client variables that are set from command line options when starting in server or client mode.
In particular code such as
#ifdef server
while(connection== 0) {wait(1);} // wait until level loaded & connection set
#endif
is not executed when started in server mode.
Are the server and client variables not used with lite-c and if not how can I modify this code.
Also, is there a way of accessing command line arguments such as with argv[].
Thanks,
Paul