Add theme and map by omen (with fixes by me)
authorunc0rr
Sat, 20 Oct 2007 13:49:36 +0000
changeset 620 451cabd49241
parent 619 758da3d985fa
child 621 8bdbc240f50f
Add theme and map by omen (with fixes by me)
hedgewars/uStore.pas
share/hedgewars/Data/Maps/CMakeLists.txt
share/hedgewars/Data/Maps/Volcano/map.16.png
share/hedgewars/Data/Maps/Volcano/map.cfg
share/hedgewars/Data/Maps/Volcano/map.png
share/hedgewars/Data/Themes/CMakeLists.txt
share/hedgewars/Data/Themes/Volcano/Border.png
share/hedgewars/Data/Themes/Volcano/LandTex.png
share/hedgewars/Data/Themes/Volcano/Sky.png
share/hedgewars/Data/Themes/Volcano/gr1.png
share/hedgewars/Data/Themes/Volcano/horizont.png
share/hedgewars/Data/Themes/Volcano/leaf1.png
share/hedgewars/Data/Themes/Volcano/leaf2.png
share/hedgewars/Data/Themes/Volcano/theme.cfg
share/hedgewars/Data/Themes/Volcano/tree.png
share/hedgewars/Data/Themes/themes.cfg
--- a/hedgewars/uStore.pas	Sun Oct 07 15:55:09 2007 +0000
+++ b/hedgewars/uStore.pas	Sat Oct 20 13:49:36 2007 +0000
@@ -479,6 +479,7 @@
 if setTransparent then TryDo(SDL_SetColorKey(tmpsurf, SDL_SRCCOLORKEY or SDL_RLEACCEL, 0) = 0, errmsgTransparentSet, true);
 if hasAlpha then Result:= SDL_DisplayFormatAlpha(tmpsurf)
             else Result:= SDL_DisplayFormat(tmpsurf);
+{$IFDEF DEBUGFILE}WriteLnToConsole('(' + inttostr(tmpsurf^.w) + ',' + inttostr(tmpsurf^.h) + ') ');{$ENDIF}
 WriteLnToConsole(msgOK);
 LoadImage:= Result
 end;
--- a/share/hedgewars/Data/Maps/CMakeLists.txt	Sun Oct 07 15:55:09 2007 +0000
+++ b/share/hedgewars/Data/Maps/CMakeLists.txt	Sat Oct 20 13:49:36 2007 +0000
@@ -1,3 +1,3 @@
-foreach(dir "cheese" "mushrooms")
+foreach(dir "cheese" "mushrooms" "Volcano")
   add_subdirectory(${dir})
 endforeach(dir)
\ No newline at end of file
Binary file share/hedgewars/Data/Maps/Volcano/map.16.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Maps/Volcano/map.cfg	Sat Oct 20 13:49:36 2007 +0000
@@ -0,0 +1,1 @@
+Volcano
\ No newline at end of file
Binary file share/hedgewars/Data/Maps/Volcano/map.png has changed
--- a/share/hedgewars/Data/Themes/CMakeLists.txt	Sun Oct 07 15:55:09 2007 +0000
+++ b/share/hedgewars/Data/Themes/CMakeLists.txt	Sat Oct 20 13:49:36 2007 +0000
@@ -1,4 +1,4 @@
-foreach(dir "avematan" "bubbles" "cheese" "norsk" "steel" "tibet" "wood" "xtheme")
+foreach(dir "avematan" "bubbles" "cheese" "norsk" "steel" "tibet" "Volcano" "wood" "xtheme")
   add_subdirectory(${dir})
 endforeach(dir)
 
Binary file share/hedgewars/Data/Themes/Volcano/Border.png has changed
Binary file share/hedgewars/Data/Themes/Volcano/LandTex.png has changed
Binary file share/hedgewars/Data/Themes/Volcano/Sky.png has changed
Binary file share/hedgewars/Data/Themes/Volcano/gr1.png has changed
Binary file share/hedgewars/Data/Themes/Volcano/horizont.png has changed
Binary file share/hedgewars/Data/Themes/Volcano/leaf1.png has changed
Binary file share/hedgewars/Data/Themes/Volcano/leaf2.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Themes/Volcano/theme.cfg	Sat Oct 20 13:49:36 2007 +0000
@@ -0,0 +1,11 @@
+5129753
+2
+tree
+0 253 23 1 1 0 0 138 190
+gr1
+5 84 11 1 1 0 0 40 65
+2
+leaf1
+5
+leaf2
+5
Binary file share/hedgewars/Data/Themes/Volcano/tree.png has changed
--- a/share/hedgewars/Data/Themes/themes.cfg	Sun Oct 07 15:55:09 2007 +0000
+++ b/share/hedgewars/Data/Themes/themes.cfg	Sat Oct 20 13:49:36 2007 +0000
@@ -3,5 +3,6 @@
 norsk
 steel
 tibet
+Volcano
 wood
 xtheme