share/hedgewars/Data/Missions/Bazooka Training.hwt
author smxx
Sat, 06 Mar 2010 13:55:58 +0000
changeset 2958 e6f7620da87e
parent 2950 81dd71096b1f
child 2996 dfc7507a21a0
permissions -rw-r--r--
Engine: * Changed order of game goals * Added texture drawing (based on pixel width/height; unused in HEAD right now but working on some ideas) * Added comments to trainings
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2950
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
     1
-- Hedgewars Bazooka Training
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
     2
-- Scripting Example
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
     3
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
     4
-- Lines such as this one are comments - they are ignored
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
     5
-- by the game, no matter what kind of text is in there.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
     6
-- It's also possible to place a comment after some real
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
     7
-- instruction as you see below. In short, everything
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
     8
-- following "--" is ignored.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
     9
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    10
---------------------------------------------------------------
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    11
-- At first we put all text we'd like to use in some arrays.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    12
-- This way we're able to localize the text to be shown without
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    13
-- modifying other files.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    14
-- The language to be used is stored in the global variable
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    15
-- 'L' that is set by the game (string).
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    16
-- Text may then be accessed using "arrayname[L]".
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    17
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    18
local caption = {
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    19
	["en"] = "Bazooka Training",
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    20
	["de"] = "Bazooka-Training"
2958
e6f7620da87e Engine:
smxx
parents: 2950
diff changeset
    21
	-- To add other languages, just add lines similar to the
e6f7620da87e Engine:
smxx
parents: 2950
diff changeset
    22
	-- existing ones - don't forget the trailing ","!
2950
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    23
	}
2958
e6f7620da87e Engine:
smxx
parents: 2950
diff changeset
    24
2950
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    25
local subcaption = {
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    26
	["en"] = "Aiming Practice",
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    27
	["de"] = "Zielübung"
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    28
	}
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    29
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    30
local goal = {
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    31
	["en"] = "Eliminate all targets before your time runs out.|You have unlimited ammo for this mission.",
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    32
	["de"] = "Eliminiere alle Ziele bevor die Zeit ausläuft.|Du hast in dieser Mission unbegrenzte Munition."
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    33
	}
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    34
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    35
local timeout = {
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    36
	["en"] = "Oh no! Time's up! Just try again.",
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    37
	["de"] = "Oh nein! Die Zeit ist um! Versuche es nochmal."
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    38
	}
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    39
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    40
local success = {
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    41
	["en"] = "Congratulations! You've eliminated all targets|within the allowed time frame.",
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    42
	["de"] = "Gratulation! Du hast alle Ziele innerhalb der|verfügbaren Zeit ausgeschaltet."
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    43
	}
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    44
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    45
local teamname = {
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    46
	["en"] = "'Zooka Team",
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    47
	["de"] = "Die Knalltüten"
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    48
	}
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    49
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    50
local hogname = {
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    51
	["en"] = "Hunter",
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    52
	["de"] = "Jäger"
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    53
	}
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    54
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    55
-- To handle missing texts we define a small wrapper function that
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    56
-- we'll use to retrieve text.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    57
local function loc(text)
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    58
	if text == nil then return "**missing**"
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    59
	elseif text[L] == nil then return text["en"]
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    60
	else return text[L]
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    61
	end
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    62
end
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    63
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    64
---------------------------------------------------------------
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    65
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    66
-- This variable will hold the number of destroyed targets.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    67
local score = 0
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    68
-- This variable represents the number of targets to destroy.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    69
local score_goal = 5
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    70
-- This variable controls how many milliseconds/ticks we'd
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    71
-- like to wait before we end the round once all targets
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    72
-- have been destroyed.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    73
local end_timer = 5000 -- 5000 ms = 5 s
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    74
-- This variable is set to true if the game is lost (i.e.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    75
-- time runs out).
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    76
local game_lost = false
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    77
-- This variable will point to the hog's gear
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    78
local player = nil
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    79
-- This variable will grab the time left at the end of the round
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    80
local time_goal = 0
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    81
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    82
-- This is a custom function to make it easier to
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    83
-- spawn more targets with just one line of code
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    84
-- You may define as many custom functions as you
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    85
-- like.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    86
function spawnTarget()
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    87
	-- add a new target gear
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    88
	gear = AddGear(0, 0, gtTarget, 0, 0, 0, 0)
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    89
	
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    90
	-- move it to a random position within 0 and
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    91
	-- LAND_WIDTH - the width of the map
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    92
	FindPlace(gear, true, 0, LAND_WIDTH)
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    93
	
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    94
	-- move the target to a higher vertical position
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    95
	-- to ensure it's not somewhere down below
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    96
	x, y = GetGearPosition(gear)
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    97
	SetGearPosition(gear, x, 500)
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    98
end
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
    99
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   100
-- This function is called before the game loads its
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   101
-- resources.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   102
-- It's one of the predefined function names that will
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   103
-- be called by the game. They give you entry points
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   104
-- where you're able to call your own code using either
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   105
-- provided instructions or custom functions.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   106
function onGameInit()
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   107
	-- At first we have to overwrite/set some global variables
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   108
	-- that define the map, the game has to load, as well as
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   109
	-- other things such as the game rules to use, etc.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   110
	-- Things we don't modify here will use their default values.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   111
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   112
	-- The base number for the random number generator
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   113
	Seed = 0
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   114
	-- Game settings and rules
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   115
	GameFlags = gfMultiWeapon + gfOneClanMode + gfSolidLand
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   116
	-- The time the player has to move each round (in ms)
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   117
	TurnTime = 60000
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   118
	-- The frequency of crate drops
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   119
	CaseFreq = 0
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   120
	-- The number of land objects being placed
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   121
	LandAdds = 0
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   122
	-- The delay between each round
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   123
	Delay = 0
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   124
	-- The map to be played
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   125
	Map = "Bamboo"
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   126
	-- The theme to be used
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   127
	Theme = "Bamboo"
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   128
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   129
	-- Create the player team
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   130
	AddTeam(loc(teamname), 14483456, "Simple", "Island", "Default")
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   131
	-- And add a hog to it
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   132
	player = AddHog(loc(hogname), 0, 1, "NoHat")
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   133
	SetGearPosition(player, 1960, 1160);
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   134
end
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   135
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   136
-- This function is called when the round starts
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   137
-- it spawns the first target that has to be destroyed.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   138
-- In addition it shows the scenario goal(s).
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   139
function onGameStart()
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   140
	-- Spawn the first target.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   141
	spawnTarget()
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   142
	
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   143
	-- Show some nice mission goals.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   144
	-- Parameters are: caption, sub caption, description,
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   145
	-- extra text, icon and time to show.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   146
	-- A negative icon parameter (-n) represents the n-th weapon icon
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   147
	-- A positive icon paramter (n) represents the (n+1)-th mission icon
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   148
	-- A timeframe of 0 is replaced with the default time to show.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   149
	ShowMission(loc(caption), loc(subcaption), loc(goal), -amBazooka, 0);
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   150
end
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   151
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   152
-- This function is called every game tick.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   153
-- Note that there are 1000 ticks within one second.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   154
-- You shouldn't try to calculate too complicated
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   155
-- code here as this might slow down your game.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   156
function onGameTick()
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   157
	-- If time's up, set the game to be lost.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   158
	-- We actually check the time to be "1 ms" as it
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   159
	-- will be at "0 ms" right at the start of the game.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   160
	if TurnTimeLeft == 1 and score < score_goal then
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   161
		game_lost = true
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   162
		-- ... and show a short message.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   163
		ShowMission(loc(caption), loc(subcaption), loc(timeout), -amSkip, 0);
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   164
		-- How about killing our poor hog due to his poor performance?
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   165
		SetHealth(player, 0);
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   166
		-- Just to be sure set the goal time to 1 ms
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   167
		time_goal = 1
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   168
	end
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   169
	-- If the goal is reached or we've lost ...
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   170
	if score == score_goal or game_lost then
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   171
		-- ... check to see if the time we'd like to
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   172
		-- wait has passed and then ...
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   173
		if end_timer == 0 then
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   174
			-- ... end the game ...
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   175
			EndGame()
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   176
		else
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   177
			-- ... or just lower the timer by 1.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   178
			end_timer = end_timer - 1
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   179
			-- Reset the time left to stop the timer
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   180
			TurnTimeLeft = time_goal
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   181
		end
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   182
	end
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   183
end
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   184
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   185
-- This function is called when the game is initialized
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   186
-- to request the available ammo and probabilities
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   187
function onAmmoStoreInit()
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   188
	-- add an unlimited supply of bazooka ammo
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   189
	SetAmmo(amBazooka, 9, 0)
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   190
end
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   191
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   192
-- This function is called when a new gear is added.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   193
-- We don't need it for this training, so we can
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   194
-- keep it empty.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   195
function onGearAdd(gear)
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   196
end
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   197
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   198
-- This function is called before a gear is destroyed.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   199
-- We use it to count the number of targets destroyed.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   200
function onGearDelete(gear)
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   201
	-- We're only interested in target gears.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   202
	if GetGearType(gear) == gtTarget then
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   203
		-- Add one point to our score/counter
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   204
		score = score + 1
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   205
		-- If we haven't reached the goal ...
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   206
		if score < score_goal then
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   207
			-- ... spawn another target.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   208
			spawnTarget()
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   209
		else
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   210
			if not game_lost then
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   211
			-- Otherwise show that the goal was accomplished
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   212
			ShowMission(loc(caption), loc(subcaption), loc(success), 0, 0);
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   213
			-- Also let the hogs shout "victory!"
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   214
			PlaySound(sndVictory)
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   215
			-- Save the time left so we may keep it.
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   216
			time_goal = TurnTimeLeft
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   217
			end
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   218
		end
81dd71096b1f Engine:
smxx
parents: 2949
diff changeset
   219
	end
2786
85f6425a4d74 Engine:
smxx
parents:
diff changeset
   220
end