Renamed *.table files to *.table.h

The *.table files are in fact C header files, and with an *.h extension,
tools will be able to recognize them as such
This commit is contained in:
Daniel Richard G 2013-09-16 17:14:53 -04:00
parent 93145387f4
commit 718d411699
7 changed files with 7 additions and 7 deletions

View File

@ -90,7 +90,7 @@ $(OBJDIR)\solvespace.exe: $(SSOBJS) $(SRFOBJS) $(W32OBJS) $(RES)
$(RES): win32\$(@B).rc icon.ico
$(RC) /fo$@ win32\$(@B).rc
$(OBJDIR)\glhelper.obj: bitmapextra.table bitmapfont.table font.table
$(OBJDIR)\glhelper.obj: bitmapextra.table.h bitmapfont.table.h font.table.h
$(OBJDIR)\textwin.obj: icons.h
@ -99,7 +99,7 @@ $(OBJDIR)\toolbar.obj: icons.h
icons.h: icons\*.png png2c.pl
$(PERL) png2c.pl $@ icons-proto.h
bitmapextra.table: icons\*.png pngchar2c.pl
bitmapextra.table.h: icons\*.png pngchar2c.pl
$(PERL) pngchar2c.pl >tmp.$@
move /y tmp.$@ $@

View File

@ -2175,5 +2175,5 @@ static const BYTE FontTexture[256*16*16] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
#include "bitmapextra.table"
#include "bitmapextra.table.h"
};

View File

@ -6,10 +6,10 @@
#include "solvespace.h"
// A public-domain Hershey vector font ("Simplex").
#include "font.table"
#include "font.table.h"
// A bitmap font.
#include "bitmapfont.table"
#include "bitmapfont.table.h"
static bool ColorLocked;
static bool DepthOffsetLocked;

View File

@ -1,4 +1,4 @@
all:
cl ttf2c.cpp user32.lib gdi32.lib comctl32.lib
ttf2c.exe > ..\bitmapfont.table
ttf2c.exe > ..\bitmapfont.table.h

View File

@ -45,7 +45,7 @@ int main(void)
}
printf("\n");
}
printf("#include \"bitmapextra.table\"\n");
printf("#include \"bitmapextra.table.h\"\n");
printf("};\n");
return 0;