- Add CMake script for Hats folder
- Disable fullscreen switching, as it causes troubles
--- 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)