- Add ability to choose clouds number in theme config file
authorunc0rr
Sun, 27 Jul 2008 22:26:47 +0000
changeset 1131 c5b8f2bfa487
parent 1130 aceef9d93f5d
child 1132 b4c0698fbb6b
- Add ability to choose clouds number in theme config file - Set City theme clouds number to 45 (5x compared to other themes)
hedgewars/uLandObjects.pas
share/hedgewars/Data/Themes/Bamboo/theme.cfg
share/hedgewars/Data/Themes/Bath/theme.cfg
share/hedgewars/Data/Themes/City/theme.cfg
share/hedgewars/Data/Themes/EarthRise/theme.cfg
share/hedgewars/Data/Themes/Island/theme.cfg
share/hedgewars/Data/Themes/Planes/theme.cfg
share/hedgewars/Data/Themes/Snow/theme.cfg
share/hedgewars/Data/Themes/Volcano/theme.cfg
share/hedgewars/Data/Themes/cheese/theme.cfg
share/hedgewars/Data/Themes/nature/theme.cfg
--- a/hedgewars/uLandObjects.pas	Sun Jul 27 22:18:46 2008 +0000
+++ b/hedgewars/uLandObjects.pas	Sun Jul 27 22:26:47 2008 +0000
@@ -376,6 +376,8 @@
 ReadLn(f, s);
 if MusicFN = '' then MusicFN:= s;
 
+ReadLn(f, cCloudsNumber);
+
 Readln(f, ThemeObjects.Count);
 for i:= 0 to Pred(ThemeObjects.Count) do
     begin
--- a/share/hedgewars/Data/Themes/Bamboo/theme.cfg	Sun Jul 27 22:18:46 2008 +0000
+++ b/share/hedgewars/Data/Themes/Bamboo/theme.cfg	Sun Jul 27 22:26:47 2008 +0000
@@ -1,6 +1,7 @@
 117 141 186
 0 0 0
 
+9
 0
 0
 100
--- a/share/hedgewars/Data/Themes/Bath/theme.cfg	Sun Jul 27 22:18:46 2008 +0000
+++ b/share/hedgewars/Data/Themes/Bath/theme.cfg	Sun Jul 27 22:26:47 2008 +0000
@@ -1,6 +1,7 @@
 255 255 237
 28 52 9
 
+9
 0
 0
 0
--- a/share/hedgewars/Data/Themes/City/theme.cfg	Sun Jul 27 22:18:46 2008 +0000
+++ b/share/hedgewars/Data/Themes/City/theme.cfg	Sun Jul 27 22:26:47 2008 +0000
@@ -1,6 +1,7 @@
 21 20 38
 128 0 0
 city.ogg
+45
 4
 plant1
 200 344 54 2 1 0 0 160 215
--- a/share/hedgewars/Data/Themes/EarthRise/theme.cfg	Sun Jul 27 22:18:46 2008 +0000
+++ b/share/hedgewars/Data/Themes/EarthRise/theme.cfg	Sun Jul 27 22:26:47 2008 +0000
@@ -1,6 +1,7 @@
 0 0 0
 42 42 42
 
+9
 0
 0
 0
--- a/share/hedgewars/Data/Themes/Island/theme.cfg	Sun Jul 27 22:18:46 2008 +0000
+++ b/share/hedgewars/Data/Themes/Island/theme.cfg	Sun Jul 27 22:26:47 2008 +0000
@@ -1,6 +1,7 @@
 21 20 38
 128 0 0
 pirate.ogg
+9
 4
 plant1
 10 192 60 2 1 33 0 150 152
--- a/share/hedgewars/Data/Themes/Planes/theme.cfg	Sun Jul 27 22:18:46 2008 +0000
+++ b/share/hedgewars/Data/Themes/Planes/theme.cfg	Sun Jul 27 22:26:47 2008 +0000
@@ -1,6 +1,7 @@
 21 20 38
 177 175 49
 
+9
 0
 0
 0
--- a/share/hedgewars/Data/Themes/Snow/theme.cfg	Sun Jul 27 22:18:46 2008 +0000
+++ b/share/hedgewars/Data/Themes/Snow/theme.cfg	Sun Jul 27 22:26:47 2008 +0000
@@ -1,6 +1,7 @@
 21 20 38
 128 0 0
 
+9
 4
 plant1
 65 258 80 2 1 0 0 240 215
--- a/share/hedgewars/Data/Themes/Volcano/theme.cfg	Sun Jul 27 22:18:46 2008 +0000
+++ b/share/hedgewars/Data/Themes/Volcano/theme.cfg	Sun Jul 27 22:26:47 2008 +0000
@@ -1,6 +1,7 @@
 231 125 239
 78 70 25
 
+9
 2
 tree
 0 253 23 1 1 0 0 138 190
--- a/share/hedgewars/Data/Themes/cheese/theme.cfg	Sun Jul 27 22:18:46 2008 +0000
+++ b/share/hedgewars/Data/Themes/cheese/theme.cfg	Sun Jul 27 22:26:47 2008 +0000
@@ -1,6 +1,7 @@
 222 223 132
 177 175 49
 
+9
 0
 0
 0
--- a/share/hedgewars/Data/Themes/nature/theme.cfg	Sun Jul 27 22:18:46 2008 +0000
+++ b/share/hedgewars/Data/Themes/nature/theme.cfg	Sun Jul 27 22:26:47 2008 +0000
@@ -1,6 +1,7 @@
 26 12 101
 128 0 0
 Nature.ogg
+9
 4
 plant1
 65 258 80 2 1 0 0 240 215