Editor now shows rev number too
This commit is contained in:
parent
9d89611be0
commit
9000847ee3
4
edit.c
4
edit.c
|
@ -144,6 +144,10 @@ int main (int argc, char **argv) {
|
||||||
screen = SDL_SetVideoMode(EDITORW,EDITORH,16,SDL_SWSURFACE|SDL_DOUBLEBUF|vidargs);
|
screen = SDL_SetVideoMode(EDITORW,EDITORH,16,SDL_SWSURFACE|SDL_DOUBLEBUF|vidargs);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// set title bar
|
||||||
|
sprintf(progname, "Rat Catcher Level Editor v0.%d", REV);
|
||||||
|
SDL_WM_SetCaption(progname, progname);
|
||||||
|
|
||||||
/* load fonts */
|
/* load fonts */
|
||||||
TTF_Init();
|
TTF_Init();
|
||||||
sprintf(filename, "%s/editfont.ttf",datadir);
|
sprintf(filename, "%s/editfont.ttf",datadir);
|
||||||
|
|
Loading…
Reference in New Issue