# HG changeset patch
# User unc0rr
# Date 1200330054 0
# Node ID 9b096d05004eb0146fcd6595343318a590d04915
# Parent 424297e3165aae0c2a6af3d971be60eda8695617
Make team health bar surface transparent
diff -r 424297e3165a -r 9b096d05004e hedgewars.kdevelop
--- a/hedgewars.kdevelop Sat Jan 12 22:41:03 2008 +0000
+++ b/hedgewars.kdevelop Mon Jan 14 17:00:54 2008 +0000
@@ -32,7 +32,7 @@
true
-
+
false
false
false
@@ -52,121 +52,11 @@
*.cxx
Makefile
CMakeLists.txt
+ *.pas
+ *.inc
+ *.dpr
-
- bin
- bin/CMakeLists.txt
- bin/Makefile
- hedgewars/Makefile
- hedgewars/test.c
- QTfrontend/moc_about.cxx
- QTfrontend/moc_chatwidget.cxx
- QTfrontend/moc_fpsedit.cxx
- QTfrontend/moc_frameTeam.cxx
- QTfrontend/moc_gamecfgwidget.cxx
- QTfrontend/moc_game.cxx
- QTfrontend/moc_gameuiconfig.cxx
- QTfrontend/moc_hedgehogerWidget.cxx
- QTfrontend/moc_hwform.cxx
- QTfrontend/moc_hwmap.cxx
- QTfrontend/moc_mapContainer.cxx
- QTfrontend/moc_netclient.cpp
- QTfrontend/moc_netconnectedclient.cxx
- QTfrontend/moc_netserver.cxx
- QTfrontend/moc_netudpserver.cxx
- QTfrontend/moc_netudpwidget.cxx
- QTfrontend/moc_newnetclient.cxx
- QTfrontend/moc_pages.cxx
- QTfrontend/moc_playrecordpage.cxx
- QTfrontend/moc_proto.cxx
- QTfrontend/moc_SDLs.cxx
- QTfrontend/moc_selectWeapon.cxx
- QTfrontend/moc_SquareLabel.cxx
- QTfrontend/moc_tcpBase.cxx
- QTfrontend/moc_teamselect.cxx
- QTfrontend/moc_teamselhelper.cxx
- QTfrontend/moc_vertScrollArea.cxx
- QTfrontend/qrc_hedgewars.cxx
- share
- share/CMakeLists.txt
- share/hedgewars
- share/hedgewars/CMakeLists.txt
- share/hedgewars/Data
- share/hedgewars/Data/CMakeLists.txt
- share/hedgewars/Data/Fonts
- share/hedgewars/Data/Fonts/CMakeLists.txt
- share/hedgewars/Data/Fonts/Makefile
- share/hedgewars/Data/Forts
- share/hedgewars/Data/Forts/CMakeLists.txt
- share/hedgewars/Data/Forts/Makefile
- share/hedgewars/Data/Graphics
- share/hedgewars/Data/Graphics/AmmoMenu
- share/hedgewars/Data/Graphics/AmmoMenu/CMakeLists.txt
- share/hedgewars/Data/Graphics/AmmoMenu/Makefile
- share/hedgewars/Data/Graphics/CMakeLists.txt
- share/hedgewars/Data/Graphics/Graves
- share/hedgewars/Data/Graphics/Graves/CMakeLists.txt
- share/hedgewars/Data/Graphics/Graves/Makefile
- share/hedgewars/Data/Graphics/Makefile
- share/hedgewars/Data/Locale
- share/hedgewars/Data/Locale/CMakeLists.txt
- share/hedgewars/Data/Locale/Makefile
- share/hedgewars/Data/Makefile
- share/hedgewars/Data/Maps
- share/hedgewars/Data/Maps/cheese
- share/hedgewars/Data/Maps/cheese/CMakeLists.txt
- share/hedgewars/Data/Maps/cheese/Makefile
- share/hedgewars/Data/Maps/CMakeLists.txt
- share/hedgewars/Data/Maps/Makefile
- share/hedgewars/Data/Maps/mushrooms
- share/hedgewars/Data/Maps/mushrooms/CMakeLists.txt
- share/hedgewars/Data/Maps/mushrooms/Makefile
- share/hedgewars/Data/Music
- share/hedgewars/Data/Music/CMakeLists.txt
- share/hedgewars/Data/Music/Makefile
- share/hedgewars/Data/Sounds
- share/hedgewars/Data/Sounds/CMakeLists.txt
- share/hedgewars/Data/Sounds/Makefile
- share/hedgewars/Data/Themes
- share/hedgewars/Data/Themes/avematan
- share/hedgewars/Data/Themes/avematan/CMakeLists.txt
- share/hedgewars/Data/Themes/avematan/Makefile
- share/hedgewars/Data/Themes/bubbles
- share/hedgewars/Data/Themes/bubbles/CMakeLists.txt
- share/hedgewars/Data/Themes/bubbles/Makefile
- share/hedgewars/Data/Themes/cheese
- share/hedgewars/Data/Themes/cheese/CMakeLists.txt
- share/hedgewars/Data/Themes/cheese/Makefile
- share/hedgewars/Data/Themes/CMakeLists.txt
- share/hedgewars/Data/Themes/ethereal
- share/hedgewars/Data/Themes/ethereal/Makefile
- share/hedgewars/Data/Themes/Makefile
- share/hedgewars/Data/Themes/norsk
- share/hedgewars/Data/Themes/norsk/CMakeLists.txt
- share/hedgewars/Data/Themes/norsk/Makefile
- share/hedgewars/Data/Themes/steel
- share/hedgewars/Data/Themes/steel/CMakeLists.txt
- share/hedgewars/Data/Themes/steel/Makefile
- share/hedgewars/Data/Themes/tibet
- share/hedgewars/Data/Themes/tibet/CMakeLists.txt
- share/hedgewars/Data/Themes/tibet/Makefile
- share/hedgewars/Data/Themes/wood
- share/hedgewars/Data/Themes/wood/CMakeLists.txt
- share/hedgewars/Data/Themes/wood/Makefile
- share/hedgewars/Data/Themes/xtheme
- share/hedgewars/Data/Themes/xtheme/CMakeLists.txt
- share/hedgewars/Data/Themes/xtheme/Makefile
- share/hedgewars/Makefile
- share/Makefile
- Makefile
- tools
- tools/templates
- tools/templates/main.cpp
- tools/templates/mainform.cpp
- tools/templates/mainform.h
- tools/templates/pixlabel.cpp
- tools/templates/pixlabel.h
-
+
@@ -330,7 +220,7 @@
false
-
+
true
false
@@ -343,13 +233,13 @@
-
-
-
+
+
+
-
+
/usr/home/unC0Rr/Sources/Hedgewars/Hedgewars-GNA/tags
diff -r 424297e3165a -r 9b096d05004e hedgewars/uStore.pas
--- a/hedgewars/uStore.pas Sat Jan 12 22:41:03 2008 +0000
+++ b/hedgewars/uStore.pas Mon Jan 14 17:00:54 2008 +0000
@@ -132,6 +132,7 @@
HealthSurf:= SDL_CreateRGBSurface(SDL_HWSURFACE, r.w, r.h, cBits, PixelFormat^.RMask, PixelFormat^.GMask, PixelFormat^.BMask, PixelFormat^.AMask);
TryDo(HealthSurf <> nil, errmsgCreateSurface, true);
+ TryDo(SDL_SetColorKey(HealthSurf, SDL_SRCCOLORKEY or SDL_RLEACCEL, 0) = 0, errmsgTransparentSet, true);
DrawRoundRect(@r, cWhiteColor, cColorNearBlack, HealthSurf, true);
rr:= r;