version 1.2 | | version 1.3 |
---|
| | |
* Routines to display title screens... | | * Routines to display title screens... |
* | | * |
* $Log$ | | * $Log$ |
| | * Revision 1.3 1999/10/18 03:20:47 donut |
| | * fixed load_screen_text() to work with briefings with no extension |
| | * |
* Revision 1.2 1999/09/30 23:02:27 donut | | * Revision 1.2 1999/09/30 23:02:27 donut |
* opengl direct support for ingame and normal menus, fonts as textures, and automap support | | * opengl direct support for ingame and normal menus, fonts as textures, and automap support |
* | | * |
| | |
char nfilename[30], *ptr; | | char nfilename[30], *ptr; |
| | |
strcpy(nfilename, filename); | | strcpy(nfilename, filename); |
ptr = strrchr(nfilename, '.'); | | if ((ptr = strrchr(nfilename, '.'))) |
*ptr = '\0'; | | *ptr = '\0'; |
strcat(nfilename, ".txb"); | | strcat(nfilename, ".txb"); |
if ((ifile = cfopen(nfilename, "rb")) == NULL) | | if ((ifile = cfopen(nfilename, "rb")) == NULL) |