Subversion Repositories eduke32

Rev

Rev 8673 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8673 Rev 8674
Line 469... Line 469...
469
        wm_msgbox("Build Engine Initialisation Error",
469
        wm_msgbox("Build Engine Initialisation Error",
470
                  "There was a problem initialising the Build engine: %s", engineerrstr);
470
                  "There was a problem initialising the Build engine: %s", engineerrstr);
471
        exit(1);
471
        exit(1);
472
    }
472
    }
473
473
474
#ifdef USE_OPENGL
-
 
475
    OSD_RegisterFunction("restartvid","restartvid: reinitialise the video mode",osdcmd_restartvid);
474
    OSD_RegisterFunction("restartvid","restartvid: reinitialise the video mode",osdcmd_restartvid);
476
    OSD_RegisterFunction("vidmode","vidmode [xdim ydim] [bpp] [fullscreen]: immediately change the video mode",osdcmd_vidmode);
475
    OSD_RegisterFunction("vidmode","vidmode [xdim ydim] [bpp] [fullscreen]: immediately change the video mode",osdcmd_vidmode);
-
 
476
#ifdef USE_OPENGL
477
    OSD_RegisterFunction("map", "map [filename]: load a map", osdcmd_map);
477
    baselayer_osdcmd_vidmode_func = osdcmd_vidmode;
478
#endif
478
#endif
-
 
479
    OSD_RegisterFunction("map", "map [filename]: load a map", osdcmd_map);
479
480
480
    wm_setapptitle(AppProperName);
481
    wm_setapptitle(AppProperName);
481
482
482
    Bstrcpy(boardfilename, "nukeland.map");
483
    Bstrcpy(boardfilename, "nukeland.map");
483
    netparm = argc;
484
    netparm = argc;