hedgewars/uScript.pas
2011-08-24 nemo oops
2011-08-24 nemo Scripting changes. Add override of mapgen, templatefilter. Expose waterline, add "GetAmmoCount". Default to amNothing in uAmmos if entry is not found.
2011-08-24 = Xeli merg with the latest rev of 22nd (end of GSoC) hedgeroid
2011-08-21 Xeli merge hedgeroid
2011-08-21 nemo Try to avoid overlapping voices for major statements (not things like byebye or oof)
2011-08-20 nemo This really should have been a TPoint for consistency
2011-08-17 Xeli merge hedgeroid
2011-08-17 nemo At mikade's request, expose screenheight/screenwidth and allow setting tag zoom level
2011-08-15 Xeli merge hedgeroid
2011-08-12 nemo Revert ParseCommandOverride change since it appears to be badly screwing up scripting. Need to find out why. This backs out 7f57d0c7816a and the recent workaround.
2011-08-12 nemo extend the workaround. FIXME still applies
2011-08-12 nemo oops. accidentaly committed test move of voice line (the FIXME still applies though)
2011-08-12 nemo sheepluva pointed out there are 2 StrPas in pascal, in different units. Do conversion in LuaPas instead
2011-08-11 Xeli merge hedgeroid
2011-08-12 nemo This is a WTF checkin. Seriously. Someone needs to look at this to find out why it is behaving as it is.
2011-08-09 Xeli merge hedgeroid
2011-08-10 nemo return visual gear in hogsay
2011-08-08 nemo gear state flag names for scripting
2011-08-07 nemo Expose TargetX/TargetY to scripting
2011-08-04 Xeli merge hedgeroid
2011-08-01 nemo add getter for effects. untested.
2011-07-06 Xeli small fix to have LUA_DISABLED working again hedgeroid
2011-07-01 unc0rr Merge
2011-06-30 unc0rr Tiny optimization: convert smooth wind indicator change gear into visual gear
2011-06-29 nemo Fix random weapons with per-hog ammo, fix ammo store loadout number in scripting for per-clan and per-hog ammo, add an advanced script hook into parsecommand to override values, add check for empty map in chSetMap, load script earlier in game params from frontend
2011-06-28 Henek fake crates now with complementary poison
2011-06-26 Henek now scripts can create unique crates: dummy (empty) crates and booby traps. scripts can also set health crate values
2011-06-21 mikade PianoStrike exploit fix for Capture The Flag.
2011-06-20 nemo Allow scripting to set arbitrary weapon counts
2011-06-16 mikade Fully playable version of Space Invasion (fingers crossed). No bugs known.
2011-06-14 nemo check alternate script loading path
2011-06-13 nemo Enable ~/.hedgewars/Data (or platform equivalent) to override/extend pretty much everything in system Data dir. Obviously desyncing can occur, so this is at user's own risk. Should simplify map etc install. Needs testing.
2011-04-08 sheepluva comments
2011-04-07 nemo redundant now
2011-04-07 nemo For mikade - bit more flexibility in script captions
2011-03-30 nemo not useful for visual gears, and apparently not helpful for consistency
2011-03-29 nemo eh. 1,000,000 might be better...
2011-03-29 nemo oops. vg dX/dY - just for consistency
2011-03-29 nemo dX/dY will return int * 100,000
2011-03-26 koda fix a couple of loose ends
2011-03-17 Henek added game mode Tag Team, mostly untested, please test :)
2011-03-16 Henek added GetCurAmmoType to lua
2011-03-05 Henek added PlaceGirder to lua
2011-03-01 koda Happy 2011 :)
2011-01-31 Henek make Random Weapons and No Jumping use the new custom goal function
2011-01-31 nemo oops 2
2011-01-30 nemo oops
2011-01-30 nemo Reset things using team colour on change in SetClanColor in lua. This routine had better have been worth it.
2011-01-29 Henek added dummy for tardis and ugly icons for tardis and structure
2011-01-29 nemo expose set clan color for Cairo. might also be useful for betrayals in campaign mode or somesuch
2011-01-28 sheepluva lua: getter and setter for hedgehog hats
2011-01-22 Henek added GetGearRaduis and minor Tracker things
2011-01-18 nemo SwitchHog in scripting
2011-01-17 koda code cleanup
2011-01-11 nemo update collision in set gear position
2010-12-29 nemo add a couple of variables to speed up UID lookups. Based on the assumption new visual gears and gears will tend to be at the end of the list. Set them on successful lookup or script gear creation, clear on delete. Oh also pick up a couple of TrevInc's translation changes
2010-12-29 nemo return nil values if an invalid visual gear is passed to the get, add a check in Control map lua
2010-12-26 nemo add a GetGearElasticity since Mikade kept asking for it. (actually return *10000 to handle it being an hwFloat - I assume large values will just overflow to negative)
2010-12-22 nemo FindPlace in lua now returns null for failure to find a place, and accepts a 5th parameter to try finding a place without considering proximity (note that this can place a gear right next to mines).
2010-12-21 Henek added MapHasBorder function for lua and finnished Random Weapons gameplay, might still change though
less more (0) -100 -60 tip