- Add CMake script for Hats folder
authorunc0rr
Sun, 01 Jun 2008 18:54:10 +0000
changeset 969 7e8a87136fae
parent 968 d43d031bd307
child 970 1bd9a4eafbc3
- Add CMake script for Hats folder - Disable fullscreen switching, as it causes troubles
hedgewars/uConsole.pas
share/hedgewars/Data/Graphics/CMakeLists.txt
share/hedgewars/Data/Graphics/Hats/CMakeLists.txt
--- a/hedgewars/uConsole.pas	Sun Jun 01 18:37:30 2008 +0000
+++ b/hedgewars/uConsole.pas	Sun Jun 01 18:54:10 2008 +0000
@@ -310,7 +310,7 @@
 RegisterVariable('put'     , vtCommand, @chPut          , false);
 RegisterVariable('ljump'   , vtCommand, @chLJump        , false);
 RegisterVariable('hjump'   , vtCommand, @chHJump        , false);
-RegisterVariable('fullscr' , vtCommand, @chFullScr      , true );
+//RegisterVariable('fullscr' , vtCommand, @chFullScr      , true );
 RegisterVariable('+volup'  , vtCommand, @chVol_p        , true );
 RegisterVariable('-volup'  , vtCommand, @chVol_m        , true );
 RegisterVariable('+voldown', vtCommand, @chVol_m        , true );
--- a/share/hedgewars/Data/Graphics/CMakeLists.txt	Sun Jun 01 18:37:30 2008 +0000
+++ b/share/hedgewars/Data/Graphics/CMakeLists.txt	Sun Jun 01 18:54:10 2008 +0000
@@ -1,5 +1,6 @@
+add_subdirectory(AmmoMenu)
 add_subdirectory(Graves)
-add_subdirectory(AmmoMenu)
+add_subdirectory(Hats)
 add_subdirectory(Hedgehog)
 
 file(GLOB BaseSprites *.png) 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Graphics/Hats/CMakeLists.txt	Sun Jun 01 18:54:10 2008 +0000
@@ -0,0 +1,5 @@
+file(GLOB HatSprites *.png)
+
+install(FILES
+	${HatSprites}
+	DESTINATION ${SHAREPATH}Data/Graphics/Hats)