Add City theme by Tiyuri
authorunc0rr
Sat, 17 May 2008 16:59:32 +0000
changeset 938 0c8d2085fa71
parent 937 c1e6a770b043
child 939 7e6848823e26
Add City theme by Tiyuri
hedgewars/uVisualGears.pas
share/hedgewars/Data/Themes/CMakeLists.txt
share/hedgewars/Data/Themes/City/Border.png
share/hedgewars/Data/Themes/City/CMakeLists.txt
share/hedgewars/Data/Themes/City/Flake.png
share/hedgewars/Data/Themes/City/LandTex.png
share/hedgewars/Data/Themes/City/Sky.png
share/hedgewars/Data/Themes/City/horizont.png
share/hedgewars/Data/Themes/City/plant1.png
share/hedgewars/Data/Themes/City/plant2.png
share/hedgewars/Data/Themes/City/plant3.png
share/hedgewars/Data/Themes/City/plant4.png
share/hedgewars/Data/Themes/City/theme.cfg
share/hedgewars/Data/Themes/themes.cfg
--- a/hedgewars/uVisualGears.pas	Sat May 17 13:24:17 2008 +0000
+++ b/hedgewars/uVisualGears.pas	Sat May 17 16:59:32 2008 +0000
@@ -69,7 +69,7 @@
 
 if hwRound(Gear^.X) < -cScreenWidth - 64 then Gear^.X:= int2hwFloat(cScreenWidth + 2048) else
 if hwRound(Gear^.X) > cScreenWidth + 2048 then Gear^.X:= int2hwFloat(-cScreenWidth - 64);
-if hwRound(Gear^.Y) > 1100 then Gear^.Y:= - _128
+if hwRound(Gear^.Y) > 1100 then Gear^.Y:= Gear^.Y - int2hwFloat(1228)
 end;
 
 procedure doStepCloud(Gear: PVisualGear; Steps: Longword);
--- a/share/hedgewars/Data/Themes/CMakeLists.txt	Sat May 17 13:24:17 2008 +0000
+++ b/share/hedgewars/Data/Themes/CMakeLists.txt	Sat May 17 16:59:32 2008 +0000
@@ -1,4 +1,4 @@
-foreach(dir "Island" "nature" "Planes" "Snow" "Volcano" "cheese")
+foreach(dir "City" "Island" "nature" "Planes" "Snow" "Volcano" "cheese")
   add_subdirectory(${dir})
 endforeach(dir)
 
Binary file share/hedgewars/Data/Themes/City/Border.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Themes/City/CMakeLists.txt	Sat May 17 16:59:32 2008 +0000
@@ -0,0 +1,12 @@
+install(FILES
+	Border.png
+	Flake.png
+	horizont.png
+	LandTex.png
+	plant1.png
+	plant2.png
+	plant3.png
+	plant4.png
+	Sky.png
+	theme.cfg
+	DESTINATION ${SHAREPATH}Data/Themes/City)
Binary file share/hedgewars/Data/Themes/City/Flake.png has changed
Binary file share/hedgewars/Data/Themes/City/LandTex.png has changed
Binary file share/hedgewars/Data/Themes/City/Sky.png has changed
Binary file share/hedgewars/Data/Themes/City/horizont.png has changed
Binary file share/hedgewars/Data/Themes/City/plant1.png has changed
Binary file share/hedgewars/Data/Themes/City/plant2.png has changed
Binary file share/hedgewars/Data/Themes/City/plant3.png has changed
Binary file share/hedgewars/Data/Themes/City/plant4.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Themes/City/theme.cfg	Sat May 17 16:59:32 2008 +0000
@@ -0,0 +1,14 @@
+21 20 38
+128 0 0
+4
+plant1
+200 344 54 2 1 0 0 160 215
+plant2
+32 165 65 2 1 0 0 163 140
+plant3
+45 0 14 1 1 23 9 54 57
+plant4
+99 8 1 38 1 42 7 42 103
+0
+100
+2 500 100 300
--- a/share/hedgewars/Data/Themes/themes.cfg	Sat May 17 13:24:17 2008 +0000
+++ b/share/hedgewars/Data/Themes/themes.cfg	Sat May 17 16:59:32 2008 +0000
@@ -1,3 +1,4 @@
+City
 Island
 Snow
 nature