Stats fix.

This commit is contained in:
Steve 2016-04-19 11:14:55 +01:00
parent 16ac4fe3de
commit 965b47d44c
2 changed files with 24 additions and 26 deletions

View File

@ -24,22 +24,21 @@ TOTAL_CRAFT=$(($NUM_CRAFT + $NUM_FIGHTERS + $NUM_GUNS + $NUM_CAPS))
LOCALE=`cat locale/tbftss.pot | grep msgid | wc -l` LOCALE=`cat locale/tbftss.pot | grep msgid | wc -l`
echo "Statistics" > $STATS_FILE echo "# Statistics" > $STATS_FILE
echo "----------" >> $STATS_FILE
echo "" >> $STATS_FILE echo "" >> $STATS_FILE
echo "Lines of code: $SRC_LINES" >> $STATS_FILE echo "* Lines of code: $SRC_LINES" >> $STATS_FILE
echo "Size of source: $SRC_SIZE" >> $STATS_FILE echo "* Size of source: $SRC_SIZE" >> $STATS_FILE
echo "Size of data: $DATA_SIZE" >> $STATS_FILE echo "* Size of data: $DATA_SIZE" >> $STATS_FILE
echo "Size of graphics: $GFX_SIZE" >> $STATS_FILE echo "* Size of graphics: $GFX_SIZE" >> $STATS_FILE
echo "Size of sound: $SND_SIZE" >> $STATS_FILE echo "* Size of sound: $SND_SIZE" >> $STATS_FILE
echo "Size of music: $MUSIC_SIZE" >> $STATS_FILE echo "* Size of music: $MUSIC_SIZE" >> $STATS_FILE
echo "" >> $STATS_FILE echo "" >> $STATS_FILE
echo "Number of missions: $NUM_MISSIONS" >> $STATS_FILE echo "* Number of missions: $NUM_MISSIONS" >> $STATS_FILE
echo "Number of challenges: $NUM_CHALLENGES" >> $STATS_FILE echo "* Number of challenges: $NUM_CHALLENGES" >> $STATS_FILE
echo "Number of spacecraft: $TOTAL_CRAFT" >> $STATS_FILE echo "* Number of spacecraft: $TOTAL_CRAFT" >> $STATS_FILE
echo "Number of trophies: $NUM_TROPHIES" >> $STATS_FILE echo "* Number of trophies: $NUM_TROPHIES" >> $STATS_FILE
echo "" >> $STATS_FILE echo "" >> $STATS_FILE
echo "Translatable strings: $LOCALE" >> $STATS_FILE echo "* Translatable strings: $LOCALE" >> $STATS_FILE

View File

@ -1,16 +1,15 @@
Statistics # Statistics
----------
Lines of code: 16797 * Lines of code: 16803
Size of source: 522K * Size of source: 522K
Size of data: 471K * Size of data: 475K
Size of graphics: 3.1M * Size of graphics: 3.1M
Size of sound: 638K * Size of sound: 638K
Size of music: 53M * Size of music: 53M
Number of missions: 54 * Number of missions: 55
Number of challenges: 42 * Number of challenges: 42
Number of spacecraft: 46 * Number of spacecraft: 46
Number of trophies: 41 * Number of trophies: 41
Translatable strings: 599 * Translatable strings: 599