mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Minor script updates
This commit is contained in:
parent
dac9d348ff
commit
24cfb73bff
3 changed files with 6 additions and 5 deletions
|
@ -1 +1 @@
|
|||
./atlastool ppge_atlasscript.txt ppge && mv ppge_atlas.cpp ppge_atlas.h Core/Util && cp ppge_atlas.zim assets && mv ppge_atlas.zim android/assets
|
||||
./ext/native/tools/build/atlastool ppge_atlasscript.txt ppge && mv ppge_atlas.cpp ppge_atlas.h Core/Util && cp ppge_atlas.zim assets && mv ppge_atlas.zim android/assets
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
./ext/native/tools/build/atlastool atlasscript.txt ui 8888 && cp ui_atlas.zim assets && cp ui_atlas.zim android/assets && cp ui_atlas.zim.png ui_atlas_high.zim.png && mv ui_atlas.cpp ui_atlas_highmem.cpp && mv ui_atlas.h UI
|
||||
# build the lowmem first so we see the output of the big one last.
|
||||
|
||||
./ext/native/tools/build/atlastool atlasscript_lowmem.txt ui 8888 && mv ui_atlas.zim assets/ui_atlas_lowmem.zim && mv ui_atlas.cpp ui_atlas_lowmem.cpp
|
||||
./ext/native/tools/build/atlastool atlasscript.txt ui 8888 && cp ui_atlas.zim assets && cp ui_atlas.zim android/assets && cp ui_atlas.zim.png ui_atlas_high.zim.png && mv ui_atlas.cpp ui_atlas_highmem.cpp && mv ui_atlas.h UI
|
||||
diff -I'^//.*' -D USING_QT_UI ui_atlas_highmem.cpp ui_atlas_lowmem.cpp > UI/ui_atlas.cpp
|
||||
rm ui_atlas_highmem.cpp ui_atlas_lowmem.cpp ui_atlas.h
|
||||
|
|
|
@ -411,8 +411,8 @@ void RasterizeFonts(const FontReferenceList &fontRefs, vector<CharRange> &ranges
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (!foundMatch)
|
||||
fprintf(stderr, "WARNING: No font contains character %x.\n", kar);
|
||||
//if (!foundMatch)
|
||||
// fprintf(stderr, "WARNING: No font contains character %x.\n", kar);
|
||||
|
||||
Image<unsigned int> img;
|
||||
if (filtered || 0 != FT_Load_Char(font, kar, FT_LOAD_RENDER|FT_LOAD_MONOCHROME)) {
|
||||
|
@ -969,5 +969,4 @@ int main(int argc, char **argv) {
|
|||
fprintf(h_file, "extern const Atlas %s_atlas;\n", atlas_name);
|
||||
fprintf(h_file, "extern const AtlasImage %s_images[%i];\n", atlas_name, (int)images.size());
|
||||
fclose(h_file);
|
||||
// TODO: Turn into C++ arrays.
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue