parent
1bc99d4c8b
commit
877dc99694
4 changed files with 137 additions and 0 deletions
@ -0,0 +1,16 @@ |
||||
#ifndef ATARI_H |
||||
#define ATARI_H |
||||
|
||||
#pragma warn -stu |
||||
|
||||
/* PureC doesn't like 32bit enumerations */ |
||||
|
||||
#ifndef FT_IMAGE_TAG |
||||
#define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 ) value |
||||
#endif /* FT_IMAGE_TAG */ |
||||
|
||||
#ifndef FT_ENC_TAG |
||||
#define FT_ENC_TAG( value, a, b, c, d ) value |
||||
#endif /* FT_ENC_TAG */ |
||||
|
||||
#endif /* ATARI_H */ |
@ -0,0 +1,37 @@ |
||||
/* the following changes file names for PureC projects */ |
||||
|
||||
if (argc > 0) |
||||
{ |
||||
ordner = argv[0]; |
||||
if (basename(ordner) == "") /* ist Ordner */ |
||||
{ |
||||
ChangeFilenames(ordner); |
||||
} |
||||
} |
||||
|
||||
proc ChangeFilenames(folder) |
||||
local i,entries,directory,file; |
||||
{ |
||||
entries = filelist(directory,folder); |
||||
for (i = 0; i < entries; ++i) |
||||
{ |
||||
file = directory[i,0]; |
||||
if ((directory[i,3]&16) > 0) /* subdirectory */ |
||||
{ |
||||
ChangeFilenames(folder+file+"\\"); |
||||
} |
||||
else |
||||
{ |
||||
if ((stricmp(suffix(file),".h")==0)|(stricmp(suffix(file),".c")==0)) |
||||
ChangeFilename(folder,file); |
||||
} |
||||
} |
||||
} |
||||
|
||||
proc ChangeFilename(path,datei) |
||||
local newfile,err; |
||||
{ |
||||
newfile=datei; |
||||
newfile[0]=(newfile[0] | 32) ^ 32; |
||||
err=files.rename("-q",path+datei,newfile); |
||||
} |
@ -0,0 +1,33 @@ |
||||
;FreeType project file |
||||
|
||||
FREETYPE.LIB |
||||
|
||||
.C [-K -P -R -A] |
||||
.L [-J -V] |
||||
.S |
||||
|
||||
= |
||||
|
||||
..\..\src\base\ftsystem.c |
||||
..\..\src\base\ftdebug.c |
||||
|
||||
..\..\src\base\ftinit.c |
||||
..\..\src\base\ftglyph.c |
||||
..\..\src\base\ftmm |
||||
..\..\src\base\ftbbox |
||||
|
||||
..\..\src\base\ftbase.c |
||||
..\..\src\autohint\autohint.c |
||||
;..\..\src\cache\ftcache.c |
||||
..\..\src\cff\cff.c |
||||
..\..\src\cid\type1cid.c |
||||
..\..\src\psaux\psaux.c |
||||
..\..\src\pshinter\pshinter.c |
||||
..\..\src\psnames\psnames.c |
||||
..\..\src\raster\raster.c |
||||
..\..\src\sfnt\sfnt.c |
||||
..\..\src\smooth\smooth.c |
||||
..\..\src\truetype\truetype.c |
||||
..\..\src\type1\type1.c |
||||
..\..\src\type42\type42.c |
||||
|
Loading…
Reference in new issue