Changed some dev labels to 0.9.15
authorRedGrinner
Thu, 30 Dec 2010 23:08:54 +0000
changeset 76 0cdebc52edad
parent 75 2ef49675d837
child 77 588f5dc682e2
Changed some dev labels to 0.9.15 Fixed an incorrectly labelled label for onGearResurrect
LuaAPI.wiki
--- a/LuaAPI.wiki	Thu Dec 30 23:05:20 2010 +0000
+++ b/LuaAPI.wiki	Thu Dec 30 23:08:54 2010 +0000
@@ -57,7 +57,7 @@
 <blockquote>This function is called on every game tick, i.e. 1000 times a second.
 </blockquote>
 
-=== <tt>onNewTurn()</tt> (dev) ===
+=== <tt>onNewTurn()</tt> (0.9.15) ===
 
 <blockquote>This function calls at the start of every turn.
 </blockquote>
@@ -71,7 +71,7 @@
 <blockquote>This function is called when a new gear is deleted. Useful in
 combination with <tt>!GetGearType(gearUid)</tt>.
 </blockquote>
-=== <tt>onGearDamage(gearUid, damage)</tt> (dev) ===
+=== <tt>onGearDamage(gearUid, damage)</tt> (0.9.15) ===
 
 <blockquote>This function is called when a gear is damaged.
 </blockquote>
@@ -84,7 +84,7 @@
             !AddCaption(!GetHogName(gear) .. ' took ' .. damage .. ' points of damage')
         end
     end</code>
-=== <tt>onGearResurrect(gearUid) (dev)</tt> ===
+=== <tt>onGearResurrect(gearUid) (0.9.14)</tt> ===
 
 <blockquote>This function is called when a gear is resurrected. CPU Hogs will resurrect if gfAISurvival is included in !GameFlags. Alternatively, specific gears can have heResurrectable set to true via !SetEffect.
 </blockquote>
@@ -211,7 +211,7 @@
 <blockquote>returns the bot level from 0 to 5. 0 means human player.
 </blockquote>
 
-=== <tt>!GetVisualGearValues(vgUid)</tt> (dev) ===
+=== <tt>!GetVisualGearValues(vgUid)</tt> (0.9.15) ===
 
 <blockquote>This returns the typically set visual gear values, useful if manipulating things like smoke or bubbles or circles.  It returns the following values:
 X, Y, dX, dY, Angle, Frame, FrameTicks, State, Timer, Tint 
@@ -233,7 +233,7 @@
 <code lang="lua">    gear = !AddGear(…)
     !DeleteGear(gear) -- Delete the newly created gear.</code>
 
-=== <tt>!DeleteVisualGear(vgUid)</tt> (dev) ===
+=== <tt>!DeleteVisualGear(vgUid)</tt> (0.9.15) ===
 
 <blockquote>Deletes a Visual Gear.  Note, most visual gears delete themselves.</blockquote>
 Example:
@@ -242,7 +242,7 @@
     !DeleteVisualGear(vgear) -- Delete the newly created visual gear.</code>
 
 
-=== <tt>!SetVisualGearValues(vgUid, X, Y, dX, dY, Angle, Frame, FrameTicks, State, Timer, Tint)</tt> (dev) ===
+=== <tt>!SetVisualGearValues(vgUid, X, Y, dX, dY, Angle, Frame, FrameTicks, State, Timer, Tint)</tt> (0.9.15) ===
 
 <blockquote>This allows manipulation of many of the visual gear values.  Calling GetVisualGearValues first is recommended on most visual gears unless you are controlling all the key values.  In the case of vgtCircle, the visual gear values are mapped as follows.  X, Y: position.  State: radius. Timer: Thickness.  FrameTicks: pulsation speed (0 to disable).  dX, dY: min/max pulsation opacity (0-255). Tint: colour, RGBA.
 Most visual gears require little to no modification of parameters.
@@ -283,7 +283,7 @@
 
 <blockquote>Places the specified gear exactly at the position (x,y).
 </blockquote>
-=== <tt>!SetGearVelocity(gearUid, dx, dy)</tt> (dev) ===
+=== <tt>!SetGearVelocity(gearUid, dx, dy)</tt> (0.9.15) ===
 
 <blockquote>Gives the specified gear the velocity of dx, dy.
 </blockquote>
@@ -376,7 +376,7 @@
 <blockquote>Plays the specified sound.
 </blockquote>
 
-=== <tt>!PlaySound(soundId, gearUid)</tt> (dev) ===
+=== <tt>!PlaySound(soundId, gearUid)</tt> (0.9.15) ===
 
 <blockquote>Plays the specified sound for the chosen hedgehog's team.
 </blockquote>
@@ -396,7 +396,7 @@
 <blockquote>Returns a randomly generated number in the range of 0 to number - 1.  This random number uses the game seed, so is synchronised, and thus safe for multiplayer and saved games.  Use GetRandom for anything that could impact the engine state.  For example, a visual gear can use the Lua random, but adding a regular gear should use GetRandom.
 </blockquote>
 
-=== <tt>!SetWind(windSpeed)</tt> (dev) ===
+=== <tt>!SetWind(windSpeed)</tt> (0.9.15) ===
 
 <blockquote>Sets the current wind in the range of -100 to 100. Use together with gfDisableWind for full control.
 </blockquote>
@@ -406,7 +406,7 @@
 <blockquote>Returns the path to the data directory, used when adding libraries.
 </blockquote>
 
-=== <tt>!GetClanColor(clan)<tt> (dev) ===
+=== <tt>!GetClanColor(clan)<tt> (0.9.15) ===
 
 <blockquote>Returns the colour of the chosen clan by its number.
 </blockquote>