Update changelog for SetAmmoTexts-related changes
authorWuzzy <almikes@aol.com>
Sat, 19 Nov 2016 21:39:52 +0100
changeset 11943 a50cf6f5e3cd
parent 11942 abdb24f0c2d9
child 11944 87edf67f2107
Update changelog for SetAmmoTexts-related changes
ChangeLog.txt
--- a/ChangeLog.txt	Sat Nov 19 21:33:02 2016 +0100
+++ b/ChangeLog.txt	Sat Nov 19 21:39:52 2016 +0100
@@ -38,6 +38,8 @@
   + initialenergy: Amount of energy at start
   + energyperround: New energy per round
   + maxenergy: Maximum allowed
+ + Completely reworked all in-game texts and descriptions
+ * Special tools like structure placer now have their own proper descriptions (instead of Air Attack description, etc.)
  * Costs for weapon and utility crates were all equal
  * Many other fixes and tweaks
 
@@ -77,6 +79,8 @@
  + New call: SetCinematicMode(enable) -- e.g. for cutscenes etc.
  + New call: GetAmmoName(ammoType) -- returns the localized name for the specified ammoType
  + New call: GetVisualGearType(vgUid) -- returns the visual gear type
+ + New call: SetAmmoTexts(ammoType, name, caption, description) -- Overwrite displayed name and description of an ammo type
+ + New call: SetAmmoDescriptionAppendix(ammoType, descAppend) -- Append a custom text to the description of an ammo type without overwriting it
  + New hook: onVisualGearAdd(vgUid) -- called when a visual gear is added
  + New hook: onVisualGearDelete(vgUid) -- called when a visual gear is deleted
  + New variable: WorldEdge -- World edge type (weNone, weWrap, weBounce, weSea)