ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/mkmanifest
Revision: 1.9
Committed: Wed Sep 3 06:07:39 2008 UTC (15 years, 8 months ago) by root
Branch: MAIN
Changes since 1.8: +1 -0 lines
Log Message:
implement delayed-loading for theme textures

File Contents

# Content
1 #!/bin/sh
2
3 (
4 <MANIFEST grep -v ^resources/ | grep -v ^pod/
5 echo
6 for theme in "" "/theme-plain" "/theme-blue"; do
7 base="resources$theme"
8 for file in \
9 $base/theme.json \
10 $base/*.png \
11 $base/fonts/*.ttf \
12 $base/music/*.ogg \
13 $base/ui/resist/*.png \
14 $base/pod/*.png \
15 $base/pod/*.jpg \
16 $base/arch/*.png
17 do
18 [ -e "$file" ] && echo "$file"
19 done
20 done
21 for file in \
22 pod/*.pod
23 do
24 echo "$file"
25 done
26 ) | uniq >MANIFEST~ && mv MANIFEST~ MANIFEST
27
28