patch by TheXception:
authorunc0rr
Sun, 05 Apr 2009 07:58:50 +0000 (2009-04-05)
changeset 1945 b997bcf86c39
parent 1944 f00c749ea445
child 1946 80030efe89fc
patch by TheXception: - Fix random names patch
QTfrontend/hedgewars.qrc
share/hedgewars/Data/CMakeLists.txt
share/hedgewars/Data/Names/CMakeLists.txt
--- a/QTfrontend/hedgewars.qrc	Sun Apr 05 07:56:16 2009 +0000
+++ b/QTfrontend/hedgewars.qrc	Sun Apr 05 07:58:50 2009 +0000
@@ -58,5 +58,6 @@
     <file>res/iconSuddenDeath.png</file>
     <file>res/iconDamage.png</file>
     <file>res/iconTime.png</file>
+    <file>res/dice.png</file>
 </qresource>
 </RCC>
--- a/share/hedgewars/Data/CMakeLists.txt	Sun Apr 05 07:56:16 2009 +0000
+++ b/share/hedgewars/Data/CMakeLists.txt	Sun Apr 05 07:58:50 2009 +0000
@@ -1,3 +1,3 @@
-foreach(dir "Fonts" "Forts" "Graphics" "Locale" "Maps" "Music" "Sounds" "Themes" "Trainings")
+foreach(dir "Fonts" "Forts" "Graphics" "Locale" "Maps" "Music" "Sounds" "Themes" "Trainings" "Names")
   add_subdirectory(${dir})
-endforeach(dir)
\ No newline at end of file
+endforeach(dir)
--- a/share/hedgewars/Data/Names/CMakeLists.txt	Sun Apr 05 07:56:16 2009 +0000
+++ b/share/hedgewars/Data/Names/CMakeLists.txt	Sun Apr 05 07:58:50 2009 +0000
@@ -1,84 +1,8 @@
+file(GLOB txtnames *.txt)
+file(GLOB cfgnames *.cfg)
+
 install(FILES
 	types.ini
-	apple.cfg
-	banana.cfg
-	Bandit.cfg
-	beefeater.cfg
-	BlueCap.cfg
-	BlueHair.cfg
-	BrainSlug.cfg
-	BrainSlugMouth.cfg
-	Bunny.cfg
-	clown.cfg
-	clown-copper.cfg
-	clown-crossed.cfg
-	Cowboy.cfg
-	crown.cfg
-	cyborg.cfg
-	darthvader.cfg
-	Glasses.cfg
-	GreenCap.cfg
-	GreenHair.cfg
-	GreyHair.cfg
-	Hat.cfg
-	HogInTheHat.cfg
-	IndianChief.cfg
-	KirbyMask.cfg
-	kiss_criss.cfg
-	kiss_frehley.cfg
-	kiss_simmons.cfg
-	kiss_stanley.cfg
-	knight.cfg
-	lemon.cfg
-	MegaHogX.cfg
-	mp3.cfg
-	NinjaFull.cfg
-	NinjaStraight.cfg
-	NinjaTriangle.cfg
-	NoHat.cfg
-	orange.cfg
-	OrangeHair.cfg
-	PinkHair.cfg
-	pirate_jack_bandana.cfg
-	pirate_jack.cfg
-	PurpleHair.cfg
-	RedCap.cfg
-	RedHair.cfg
-	RobinHood.cfg
-	royalguard.cfg
-	Ryu.cfg
-	Samurai.cfg
-	Santa.cfg
-	slowpoke.cfg
-	Sonic.cfg
-	SparkleSuperFun.cfg
-	spartan.cfg
-	stormtrooper.cfg
-	StrawHat.cfg
-	StrawHatEyes.cfg
-	StrawHatFacial.cfg
-	Sunglasses.cfg
-	ushanka.cfg
-	venom.cfg
-	Viking.cfg
-	WhySoSerious.cfg
-	WizardHat.cfg
-	YellowCap.cfg
-	YellowHair.cfg
-	apple.txt
-	banana.txt
-	bandit.txt
-	brainslug.txt
-	clown.txt
-	cowboy.txt
-	crown.txt
-	fruit.txt
-	generic.txt
-	indian.txt
-	kiss.txt
-	ninja.txt
-	orange.txt
-	pirate.txt
-	whysoserious.txt
-	wizard.txt
+	${txtnames}
+	${cfgnames}
 	DESTINATION ${SHAREPATH}Data/Names)