hedgewars/uScript.pas
Mon, 14 Nov 2011 18:08:36 -0500 nemo Remove a bunch of unnecessary nil checks. FreeTexture does its own nil check.
Sun, 13 Nov 2011 12:45:54 -0500 nemo oops 0.9.17
Sat, 12 Nov 2011 21:44:26 -0500 nemo this should allow overriding static maps from lua
Sat, 12 Nov 2011 17:06:49 +0100 Xeli merge...i think hedgeroid
Wed, 09 Nov 2011 22:21:05 -0500 nemo fix map/template override, remove some pointless command calls
Fri, 28 Oct 2011 18:26:17 +0200 koda one dangerous merge hedgeroid
Sun, 16 Oct 2011 21:03:30 +0200 koda merge the changes applied to 0.9.16
Sun, 09 Oct 2011 20:03:04 -0400 nemo expose border color to lua
Thu, 06 Oct 2011 00:11:55 +0400 unc0rr - Frontend: don't pass /script for missions
Mon, 26 Sep 2011 21:29:40 -0400 nemo this needs to actually return something
Sun, 25 Sep 2011 18:24:01 +0200 Xeli merge hedgeroid
Sat, 24 Sep 2011 22:35:31 +0200 koda warnings round also for ios
Sun, 25 Sep 2011 10:48:18 -0400 nemo merge from default. Pulls in sheepluva's frontend work, and unbreaks engine cmake. 0.9.16
Mon, 19 Sep 2011 14:17:33 -0400 nemo return nil for position if no gear
Fri, 16 Sep 2011 18:17:16 +0200 Xeli merge hedgeroid
Wed, 14 Sep 2011 18:05:54 +0200 mikade Revert currently unneccessary changes to uScript.
Wed, 14 Sep 2011 17:52:46 +0200 mikade merge
Wed, 14 Sep 2011 15:23:40 +0200 mikade Expose some vars for tracking the border.
Wed, 14 Sep 2011 17:17:50 +0200 sheepluva lua: boolean TestRectForObstacle(x1, y1, x2, y2, landOnly)
Fri, 09 Sep 2011 15:36:30 +0200 sheepluva Scripting: Update screen dimensions on screen resize and introduce onScreenResize() event.
Thu, 01 Sep 2011 17:03:19 +0200 Xeli merge + changed the tardis image to egg.png because the data folder isn't up to date hedgeroid
Mon, 29 Aug 2011 19:28:45 -0400 nemo Check for nil from SpawnCustomCrate
Wed, 24 Aug 2011 17:55:39 -0400 nemo oops
Wed, 24 Aug 2011 15:09:41 -0400 nemo Scripting changes. Add override of mapgen, templatefilter. Expose waterline, add "GetAmmoCount". Default to amNothing in uAmmos if entry is not found.
Wed, 24 Aug 2011 12:34:37 +0200 = Xeli merg with the latest rev of 22nd (end of GSoC) hedgeroid
Sun, 21 Aug 2011 22:20:20 +0200 Xeli merge hedgeroid
Sun, 21 Aug 2011 19:29:04 -0400 nemo Try to avoid overlapping voices for major statements (not things like byebye or oof)
Sat, 20 Aug 2011 16:43:57 -0400 nemo This really should have been a TPoint for consistency
Wed, 17 Aug 2011 12:32:40 +0200 Xeli merge hedgeroid
Tue, 16 Aug 2011 21:37:10 -0400 nemo At mikade's request, expose screenheight/screenwidth and allow setting tag zoom level
Mon, 15 Aug 2011 21:49:09 +0200 Xeli merge hedgeroid
Fri, 12 Aug 2011 15:33:07 -0400 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.
Fri, 12 Aug 2011 14:09:08 -0400 nemo extend the workaround. FIXME still applies
Fri, 12 Aug 2011 13:15:30 -0400 nemo oops. accidentaly committed test move of voice line (the FIXME still applies though)
Fri, 12 Aug 2011 10:36:37 -0400 nemo sheepluva pointed out there are 2 StrPas in pascal, in different units. Do conversion in LuaPas instead
Thu, 11 Aug 2011 15:03:21 +0200 Xeli merge hedgeroid
Thu, 11 Aug 2011 23:07:45 -0400 nemo This is a WTF checkin. Seriously. Someone needs to look at this to find out why it is behaving as it is.
Tue, 09 Aug 2011 21:41:52 +0200 Xeli merge hedgeroid
Tue, 09 Aug 2011 21:18:12 -0400 nemo return visual gear in hogsay
Mon, 08 Aug 2011 13:43:24 -0400 nemo gear state flag names for scripting
Sun, 07 Aug 2011 12:40:14 -0400 nemo Expose TargetX/TargetY to scripting
Thu, 04 Aug 2011 17:44:55 +0200 Xeli merge hedgeroid
Mon, 01 Aug 2011 13:29:01 -0400 nemo add getter for effects. untested.
Wed, 06 Jul 2011 14:38:06 +0200 Xeli small fix to have LUA_DISABLED working again hedgeroid
Fri, 01 Jul 2011 10:38:00 +0400 unc0rr Merge
Thu, 30 Jun 2011 15:09:10 +0400 unc0rr Tiny optimization: convert smooth wind indicator change gear into visual gear
Tue, 28 Jun 2011 21:48:28 -0400 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
Tue, 28 Jun 2011 21:28:13 +0200 Henek fake crates now with complementary poison
Sun, 26 Jun 2011 02:47:36 +0200 Henek now scripts can create unique crates: dummy (empty) crates and booby traps. scripts can also set health crate values
Tue, 21 Jun 2011 20:49:47 +0200 mikade PianoStrike exploit fix for Capture The Flag.
Mon, 20 Jun 2011 18:58:26 -0400 nemo Allow scripting to set arbitrary weapon counts
Thu, 16 Jun 2011 23:45:17 +0200 mikade Fully playable version of Space Invasion (fingers crossed). No bugs known.
Tue, 14 Jun 2011 16:50:41 -0400 nemo check alternate script loading path
Sun, 12 Jun 2011 21:06:48 -0400 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.
Fri, 08 Apr 2011 11:40:18 +0200 sheepluva comments
Thu, 07 Apr 2011 14:13:11 -0400 nemo redundant now
Thu, 07 Apr 2011 11:30:56 -0400 nemo For mikade - bit more flexibility in script captions
Tue, 29 Mar 2011 20:10:56 -0400 nemo not useful for visual gears, and apparently not helpful for consistency
Tue, 29 Mar 2011 18:06:39 -0400 nemo eh. 1,000,000 might be better...
Tue, 29 Mar 2011 17:57:04 -0400 nemo oops. vg dX/dY - just for consistency
Tue, 29 Mar 2011 17:52:04 -0400 nemo dX/dY will return int * 100,000
Sat, 26 Mar 2011 22:49:38 +0100 koda fix a couple of loose ends
Thu, 17 Mar 2011 23:11:48 +0100 Henek added game mode Tag Team, mostly untested, please test :)
Wed, 16 Mar 2011 17:25:05 +0100 Henek added GetCurAmmoType to lua
Sat, 05 Mar 2011 13:07:02 +0100 Henek added PlaceGirder to lua
Wed, 02 Mar 2011 00:27:20 +0100 koda Happy 2011 :)
Mon, 31 Jan 2011 21:59:59 +0100 Henek make Random Weapons and No Jumping use the new custom goal function
Sun, 30 Jan 2011 19:02:32 -0500 nemo oops 2
Sun, 30 Jan 2011 18:49:55 -0500 nemo oops
Sun, 30 Jan 2011 17:54:02 -0500 nemo Reset things using team colour on change in SetClanColor in lua. This routine had better have been worth it.
Sat, 29 Jan 2011 21:16:09 +0100 Henek added dummy for tardis and ugly icons for tardis and structure
Sat, 29 Jan 2011 14:54:08 -0500 nemo expose set clan color for Cairo. might also be useful for betrayals in campaign mode or somesuch
Fri, 28 Jan 2011 03:30:14 +0100 sheepluva lua: getter and setter for hedgehog hats
Sat, 22 Jan 2011 22:31:05 +0100 Henek added GetGearRaduis and minor Tracker things
Mon, 17 Jan 2011 20:22:15 -0500 nemo SwitchHog in scripting
Tue, 18 Jan 2011 00:12:39 +0100 koda code cleanup
Mon, 10 Jan 2011 19:15:12 -0500 nemo update collision in set gear position
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
Wed, 17 Nov 2010 22:26:34 +0300 unc0rr Some more
Wed, 17 Nov 2010 22:14:41 +0300 unc0rr uTeams
Wed, 17 Nov 2010 17:45:55 +0300 unC0Rr Move variables from uMisc to uVariables
Wed, 17 Nov 2010 17:22:36 +0300 unC0Rr Introduce unit uTypes in order to remove some cyclic unit dependencies
Sat, 13 Nov 2010 23:08:33 +0100 Henek clean up and lua update, very minor
Thu, 11 Nov 2010 23:24:06 +0100 Henek added getrandom and addcaption to lua
Wed, 10 Nov 2010 19:43:13 +0100 Henek added function GetHogTeamName to lua, makes TeamsCount more useful
Wed, 10 Nov 2010 18:34:11 +0100 Henek added TeamsCount and TotalTurns to lua as requested by mikade
Tue, 09 Nov 2010 00:21:59 +0100 Henek added missing game modifiers to lua
Mon, 08 Nov 2010 23:16:13 +0100 Henek fix so gfDisableWind can infact be used in lua
Sun, 07 Nov 2010 17:30:20 +0300 Henek update and fix some lua stuff
Fri, 29 Oct 2010 00:24:17 +0200 koda disable gfMines and update variable names (landadds -> minesnum, cLandAdditions -> cLandMines)
Tue, 26 Oct 2010 19:04:51 +0200 koda restore king mode
less more (0) -120 tip