hedgewars/uScript.pas
Wed, 29 Dec 2010 16:21:30 -0500 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
Tue, 28 Dec 2010 19:32:21 -0500 nemo return nil values if an invalid visual gear is passed to the get, add a check in Control map lua
Sat, 25 Dec 2010 21:35:40 -0500 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)
Wed, 22 Dec 2010 11:59:35 -0500 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).
Tue, 21 Dec 2010 02:17:45 +0100 Henek added MapHasBorder function for lua and finnished Random Weapons gameplay, might still change though
Thu, 16 Dec 2010 15:26:19 -0500 nemo oops, forgot world offset, also add a kind of hack to the already hackish set function for visual gears
Tue, 14 Dec 2010 20:41:33 -0500 nemo add optional state parameter to hogsay
Mon, 13 Dec 2010 19:22:09 -0500 nemo oops. forgot the getter.
Mon, 13 Dec 2010 19:00:03 -0500 nemo Add an input mask for setting of gear messages. Intended for intercepting user messages. This is totally untested. I don't think it should desync but seriously needs a lot of testing. Esp the doPut behaviour.
Mon, 13 Dec 2010 15:02:04 +0100 Henek added team flag to AddTeam and made AI team allowed to have custom flags. added GetGearVelocity and SetGearVelocity and removed CopyPV2. changed knockball to use use these functions instead.
Sun, 12 Dec 2010 23:52:53 -0500 nemo add PlaySound(soundType, hogGearUID) -- this roundabout way to reference a team seems to be how things are done in lua right now. might need changing in future
Fri, 10 Dec 2010 23:58:15 +0100 Henek lua access to data dir by GetDataPath and made a new scripting translation system with Locale.lua as library and .lua files under Locale. Updated maps Basketball and Knockball to this new system.
Thu, 09 Dec 2010 20:35:28 -0500 nemo return RGBA
Thu, 09 Dec 2010 19:10:37 -0500 nemo clan color fetch
Thu, 09 Dec 2010 11:12:40 -0500 nemo add missing setter for botlevel
Tue, 07 Dec 2010 23:47:11 -0500 nemo these should probably be expressly integer
Tue, 07 Dec 2010 23:34:01 -0500 nemo band/bor/bnot to support Lua 5.1 lack of binary ops
Tue, 07 Dec 2010 19:33:34 -0500 nemo Eh. Since you asked. AddAmmo hook for Lua
Sat, 04 Dec 2010 15:09:19 -0500 nemo add nil check
Thu, 02 Dec 2010 20:40:30 -0500 nemo add visual gear registration
Thu, 02 Dec 2010 19:19:34 -0500 nemo forgot the passed in uid
Thu, 02 Dec 2010 18:45:16 -0500 nemo Add an extra pass in FindPlace for AI resurrection mode to try to make it unwinnable, add DeleteGear, DeleteVisualGear, AddVisualGear, GetVisualGearValues, SetVisualGearValues to Lua
Mon, 22 Nov 2010 10:04:08 +0100 Henek fix SetEffect, last parameter was not a boolean
Sun, 21 Nov 2010 19:41:19 +0300 unc0rr uDebug
Sun, 21 Nov 2010 16:48:44 +0100 Henek fix key binds for lua created teams and added wind control
Sun, 21 Nov 2010 16:53:31 +0300 unc0rr uCaptions
Thu, 18 Nov 2010 12:12:51 +0300 unC0Rr Haven't found a better place than uIO for OutError
Thu, 18 Nov 2010 11:32:47 +0300 unC0Rr Move some stuff from uMisc to uUtils
Thu, 18 Nov 2010 09:12:27 +0300 unC0Rr Introduce uCommands.pas
Wed, 17 Nov 2010 22:09:07 -0500 nemo remove some more PHedgehog casts
less more (0) -50 -30 tip