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

File Contents

# User Rev Content
1 root 1.1 #!/bin/sh
2    
3     (
4 root 1.3 <MANIFEST grep -v ^resources/ | grep -v ^pod/
5     echo
6 root 1.8 for theme in "" "/theme-plain" "/theme-blue"; do
7 root 1.7 base="resources$theme"
8     for file in \
9 root 1.9 $base/theme.json \
10 root 1.7 $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 root 1.2 pod/*.pod
23 root 1.1 do
24     echo "$file"
25     done
26 root 1.3 ) | uniq >MANIFEST~ && mv MANIFEST~ MANIFEST
27 root 1.1
28