# HG changeset patch # User unc0rr # Date 1211043572 0 # Node ID 0c8d2085fa71c857dc7fc93c8855864e4dea68f4 # Parent c1e6a770b0431a8089604df49c3418b0254ba8aa Add City theme by Tiyuri diff -r c1e6a770b043 -r 0c8d2085fa71 hedgewars/uVisualGears.pas --- 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); diff -r c1e6a770b043 -r 0c8d2085fa71 share/hedgewars/Data/Themes/CMakeLists.txt --- 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) diff -r c1e6a770b043 -r 0c8d2085fa71 share/hedgewars/Data/Themes/City/Border.png Binary file share/hedgewars/Data/Themes/City/Border.png has changed diff -r c1e6a770b043 -r 0c8d2085fa71 share/hedgewars/Data/Themes/City/CMakeLists.txt --- /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) diff -r c1e6a770b043 -r 0c8d2085fa71 share/hedgewars/Data/Themes/City/Flake.png Binary file share/hedgewars/Data/Themes/City/Flake.png has changed diff -r c1e6a770b043 -r 0c8d2085fa71 share/hedgewars/Data/Themes/City/LandTex.png Binary file share/hedgewars/Data/Themes/City/LandTex.png has changed diff -r c1e6a770b043 -r 0c8d2085fa71 share/hedgewars/Data/Themes/City/Sky.png Binary file share/hedgewars/Data/Themes/City/Sky.png has changed diff -r c1e6a770b043 -r 0c8d2085fa71 share/hedgewars/Data/Themes/City/horizont.png Binary file share/hedgewars/Data/Themes/City/horizont.png has changed diff -r c1e6a770b043 -r 0c8d2085fa71 share/hedgewars/Data/Themes/City/plant1.png Binary file share/hedgewars/Data/Themes/City/plant1.png has changed diff -r c1e6a770b043 -r 0c8d2085fa71 share/hedgewars/Data/Themes/City/plant2.png Binary file share/hedgewars/Data/Themes/City/plant2.png has changed diff -r c1e6a770b043 -r 0c8d2085fa71 share/hedgewars/Data/Themes/City/plant3.png Binary file share/hedgewars/Data/Themes/City/plant3.png has changed diff -r c1e6a770b043 -r 0c8d2085fa71 share/hedgewars/Data/Themes/City/plant4.png Binary file share/hedgewars/Data/Themes/City/plant4.png has changed diff -r c1e6a770b043 -r 0c8d2085fa71 share/hedgewars/Data/Themes/City/theme.cfg --- /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 diff -r c1e6a770b043 -r 0c8d2085fa71 share/hedgewars/Data/Themes/themes.cfg --- 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