Somehow, these files are not using local encoding
authornemo
Thu, 01 Apr 2010 16:34:20 +0000
changeset 3238 e99a43a2405b
parent 3237 668c323ce27a
child 3239 ac829895edfc
Somehow, these files are not using local encoding
QTfrontend/hedgewars.rc
share/hedgewars/Data/Graphics/Hats/Reserved/CMakeLists.txt
share/hedgewars/Data/Maps/Knockball/CMakeLists.txt
share/hedgewars/Data/Maps/Knockball/map.cfg
share/hedgewars/Data/Maps/Knockball/map.lua
share/hedgewars/Data/Maps/Ruler/map.cfg
share/hedgewars/Data/Maps/testmap/map.cfg
share/hedgewars/Data/Missions/Campaign/CMakeLists.txt
share/hedgewars/Data/Missions/Training/CMakeLists.txt
--- a/QTfrontend/hedgewars.rc	Thu Apr 01 16:28:03 2010 +0000
+++ b/QTfrontend/hedgewars.rc	Thu Apr 01 16:34:20 2010 +0000
@@ -1,2 +1,2 @@
-IDI_ICON1	ICON	DISCARDABLE	"hedgewars.ico"
-
+IDI_ICON1	ICON	DISCARDABLE	"hedgewars.ico"
+
--- a/share/hedgewars/Data/Graphics/Hats/Reserved/CMakeLists.txt	Thu Apr 01 16:28:03 2010 +0000
+++ b/share/hedgewars/Data/Graphics/Hats/Reserved/CMakeLists.txt	Thu Apr 01 16:34:20 2010 +0000
@@ -1,5 +1,5 @@
-file(GLOB HatSprites *.png)
-
-install(FILES
-	${HatSprites}
-	DESTINATION ${SHAREPATH}Data/Graphics/Hats/Reserved)
+file(GLOB HatSprites *.png)
+
+install(FILES
+	${HatSprites}
+	DESTINATION ${SHAREPATH}Data/Graphics/Hats/Reserved)
--- a/share/hedgewars/Data/Maps/Knockball/CMakeLists.txt	Thu Apr 01 16:28:03 2010 +0000
+++ b/share/hedgewars/Data/Maps/Knockball/CMakeLists.txt	Thu Apr 01 16:34:20 2010 +0000
@@ -1,6 +1,6 @@
-install(FILES
-	map.png
-	map.cfg
-	map.lua
-	preview.png
-	DESTINATION ${SHAREPATH}Data/Maps/Knockball)
+install(FILES
+	map.png
+	map.cfg
+	map.lua
+	preview.png
+	DESTINATION ${SHAREPATH}Data/Maps/Knockball)
--- a/share/hedgewars/Data/Maps/Knockball/map.cfg	Thu Apr 01 16:28:03 2010 +0000
+++ b/share/hedgewars/Data/Maps/Knockball/map.cfg	Thu Apr 01 16:34:20 2010 +0000
@@ -1,2 +1,2 @@
-Bamboo
+Bamboo
 12
\ No newline at end of file
--- a/share/hedgewars/Data/Maps/Knockball/map.lua	Thu Apr 01 16:28:03 2010 +0000
+++ b/share/hedgewars/Data/Maps/Knockball/map.lua	Thu Apr 01 16:34:20 2010 +0000
@@ -1,103 +1,103 @@
--- Hedgewars - Knockball for 2+ Players
-
-local caption = {
-	["en"] = "Hedgewars-Knockball",
-	["de"] = "Hedgewars-Knockball",
+-- Hedgewars - Knockball for 2+ Players
+
+local caption = {
+	["en"] = "Hedgewars-Knockball",
+	["de"] = "Hedgewars-Knockball",
 	["es"] = "Hedgewars-Knockball",
-	["pl"] = "Hedgewars-Knockball"
-	}
-
-local subcaption = {
-	["en"] = "Not So Friendly Match",
-	["de"] = "Kein-so-Freundschaftsspiel",
+	["pl"] = "Hedgewars-Knockball"
+	}
+
+local subcaption = {
+	["en"] = "Not So Friendly Match",
+	["de"] = "Kein-so-Freundschaftsspiel",
 	["es"] = "Partido no-tan-amistoso",
-	["pl"] = "Mecz Nie-Taki-Towarzyski"
-	}
-
-local goal = {
-	["en"] = "Bat balls at your enemies and|push them into the sea!",
-	["de"] = "Schlage Bälle auf deine Widersacher|und lass sie ins Meer fallen!",
+	["pl"] = "Mecz Nie-Taki-Towarzyski"
+	}
+
+local goal = {
+	["en"] = "Bat balls at your enemies and|push them into the sea!",
+	["de"] = "Schlage Bälle auf deine Widersacher|und lass sie ins Meer fallen!",
 	["es"] = "¡Batea pelotas hacia tus enemigos|y hazlos caer al agua!",
-	["pl"] = "Uderzaj piłkami w swoich przeciwników|i strącaj ich do wody!"
-	}
-
-local scored = {
-	["en"] = "%s is out and Team %d|scored a point!| |Score:",
-	["de"] = "%s ist draußen und Team %d|erhält einen Punkt!| |Punktestand:",
+	["pl"] = "Uderzaj piłkami w swoich przeciwników|i strącaj ich do wody!"
+	}
+
+local scored = {
+	["en"] = "%s is out and Team %d|scored a point!| |Score:",
+	["de"] = "%s ist draußen und Team %d|erhält einen Punkt!| |Punktestand:",
 	["es"] = "¡%s cayó y Equipo %d|anotó un tanto!| |Puntuación:",
-	["pl"] = "%s utonął i drużyna %d|zdobyła punkt!| |Punktacja:"
-	}
-
-local failed = {
-	["en"] = "%s is out and Team %d|scored a penalty!| |Score:",
-	["de"] = "%s ist draußen und Team %d|erhält eine Strafe!| |Punktestand:",
+	["pl"] = "%s utonął i drużyna %d|zdobyła punkt!| |Punktacja:"
+	}
+
+local failed = {
+	["en"] = "%s is out and Team %d|scored a penalty!| |Score:",
+	["de"] = "%s ist draußen und Team %d|erhält eine Strafe!| |Punktestand:",
 	["es"] = "¡%s cayó y Equipo %d|anotó una falta!| |Puntuación:",
-	["pl"] = "%s utonął i drużyna %d|dostała punkt karny!| |Punktacja:"
-	}
-
-local function loc(text)
-	if text == nil then return "**missing**"
-	elseif text[L] == nil then return text["en"]
-	else return text[L]
-	end
-end
-
----------------------------------------------------------------
-
-local score = {[0] = 0, [1] = 0, [2] = 0, [3] = 0, [4] = 0, [5] = 0}
-
-local ball = nil
-
-function onGameInit()
-	GameFlags = gfSolidLand + gfInvulnerable + gfDivideTeams
-	TurnTime = 20000
-	CaseFreq = 0
-	LandAdds = 0
-	Explosives = 0
-	Delay = 500
-	SuddenDeathTurns = 99999 -- "disable" sudden death
-end
-
-function onGameStart()
-	ShowMission(loc(caption), loc(subcaption), loc(goal), -amBaseballBat, 0);
-end
-
-function onGameTick()
-	if ball ~= nil and GetFollowGear() ~= nil then FollowGear(ball) end
-end
-
-function onAmmoStoreInit()
-	SetAmmo(amBaseballBat, 9, 0, 0)
-	SetAmmo(amSkip, 9, 0, 0)
-end
-
-function onGearAdd(gear)
-	if GetGearType(gear) == gtShover then
-		ball = AddGear(GetX(gear), GetY(gear), gtBall, 0, 0, 0, 0)
-		if ball ~= nil then
-			CopyPV2(gear, ball)
-			SetState(ball, 0x200) -- temporary - might change!
-			SetTag(ball, 8) -- baseball skin
-			FollowGear(ball)
-		end
-	end
-end
-
-function onGearDelete(gear)
-	if gear == ball then
-		ball = nil
-	elseif (GetGearType(gear) == gtHedgehog) and CurrentHedgehog ~= nil then
-		local clan = GetHogClan(CurrentHedgehog)
-		local s
-		if GetHogClan(CurrentHedgehog) ~= GetHogClan(gear) then
-			score[clan] = score[clan] + 1
-			s = string.format(loc(scored), GetHogName(gear), clan + 1)
-		else
-			score[clan] = score[clan] - 1
-			s = string.format(loc(failed), GetHogName(gear), clan + 1)
-		end
-		s = s .. " " .. score[0]
-		for i = 1, ClansCount - 1 do s = s .. " - " .. score[i] end
-		ShowMission(loc(caption), loc(subcaption), s, -amBaseballBat, 0)
-	end
-end
+	["pl"] = "%s utonął i drużyna %d|dostała punkt karny!| |Punktacja:"
+	}
+
+local function loc(text)
+	if text == nil then return "**missing**"
+	elseif text[L] == nil then return text["en"]
+	else return text[L]
+	end
+end
+
+---------------------------------------------------------------
+
+local score = {[0] = 0, [1] = 0, [2] = 0, [3] = 0, [4] = 0, [5] = 0}
+
+local ball = nil
+
+function onGameInit()
+	GameFlags = gfSolidLand + gfInvulnerable + gfDivideTeams
+	TurnTime = 20000
+	CaseFreq = 0
+	LandAdds = 0
+	Explosives = 0
+	Delay = 500
+	SuddenDeathTurns = 99999 -- "disable" sudden death
+end
+
+function onGameStart()
+	ShowMission(loc(caption), loc(subcaption), loc(goal), -amBaseballBat, 0);
+end
+
+function onGameTick()
+	if ball ~= nil and GetFollowGear() ~= nil then FollowGear(ball) end
+end
+
+function onAmmoStoreInit()
+	SetAmmo(amBaseballBat, 9, 0, 0)
+	SetAmmo(amSkip, 9, 0, 0)
+end
+
+function onGearAdd(gear)
+	if GetGearType(gear) == gtShover then
+		ball = AddGear(GetX(gear), GetY(gear), gtBall, 0, 0, 0, 0)
+		if ball ~= nil then
+			CopyPV2(gear, ball)
+			SetState(ball, 0x200) -- temporary - might change!
+			SetTag(ball, 8) -- baseball skin
+			FollowGear(ball)
+		end
+	end
+end
+
+function onGearDelete(gear)
+	if gear == ball then
+		ball = nil
+	elseif (GetGearType(gear) == gtHedgehog) and CurrentHedgehog ~= nil then
+		local clan = GetHogClan(CurrentHedgehog)
+		local s
+		if GetHogClan(CurrentHedgehog) ~= GetHogClan(gear) then
+			score[clan] = score[clan] + 1
+			s = string.format(loc(scored), GetHogName(gear), clan + 1)
+		else
+			score[clan] = score[clan] - 1
+			s = string.format(loc(failed), GetHogName(gear), clan + 1)
+		end
+		s = s .. " " .. score[0]
+		for i = 1, ClansCount - 1 do s = s .. " - " .. score[i] end
+		ShowMission(loc(caption), loc(subcaption), s, -amBaseballBat, 0)
+	end
+end
--- a/share/hedgewars/Data/Maps/Ruler/map.cfg	Thu Apr 01 16:28:03 2010 +0000
+++ b/share/hedgewars/Data/Maps/Ruler/map.cfg	Thu Apr 01 16:34:20 2010 +0000
@@ -1,1 +1,1 @@
-Nature
+Nature
--- a/share/hedgewars/Data/Maps/testmap/map.cfg	Thu Apr 01 16:28:03 2010 +0000
+++ b/share/hedgewars/Data/Maps/testmap/map.cfg	Thu Apr 01 16:34:20 2010 +0000
@@ -1,1 +1,1 @@
-Nature
+Nature
--- a/share/hedgewars/Data/Missions/Campaign/CMakeLists.txt	Thu Apr 01 16:28:03 2010 +0000
+++ b/share/hedgewars/Data/Missions/Campaign/CMakeLists.txt	Thu Apr 01 16:34:20 2010 +0000
@@ -1,5 +1,5 @@
-file(GLOB Scripts *.lua)
-
-install(FILES
-	${Scripts}
-	DESTINATION ${SHAREPATH}Data/Missions/Campaign)
+file(GLOB Scripts *.lua)
+
+install(FILES
+	${Scripts}
+	DESTINATION ${SHAREPATH}Data/Missions/Campaign)
--- a/share/hedgewars/Data/Missions/Training/CMakeLists.txt	Thu Apr 01 16:28:03 2010 +0000
+++ b/share/hedgewars/Data/Missions/Training/CMakeLists.txt	Thu Apr 01 16:34:20 2010 +0000
@@ -1,5 +1,5 @@
-file(GLOB Scripts *.lua)
-
-install(FILES
-	${Scripts}
-	DESTINATION ${SHAREPATH}Data/Missions/Training)
+file(GLOB Scripts *.lua)
+
+install(FILES
+	${Scripts}
+	DESTINATION ${SHAREPATH}Data/Missions/Training)