2 #include "osregistry.h"
4 int PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int nCmdShow);
7 int main(int argc, char **argv)
9 /* set some sane defaults since we don't have a laucher... */
10 if (os_config_read_string(NULL, NOX("Videocard"), NULL) == NULL)
11 os_config_write_string(NULL, NOX("Videocard"), NOX("OpenGL (640x480)"));
13 if (os_config_read_string(NULL, NOX("NetworkConnection"), NULL) == NULL)
14 os_config_write_string(NULL, NOX("NetworkConnection"), NOX("lan"));
16 if (os_config_read_string(NULL, NOX("ConnectionSpeed"), NULL) == NULL)
17 os_config_write_string(NULL, NOX("ConnectionSpeed"), NOX("Slow"));
19 int retr = WinMain(1, 0, "", 0);