hedgewars/uScript.pas
Sun, 29 Apr 2018 11:25:12 -0400 nemo Seed reset seems fine when moved out of the loader. Also bump protocol
Sun, 29 Apr 2018 10:47:02 -0400 nemo Back out 12847:1aba77b2e4ac This both does NOT fix the seed mismatch with shoppa map preview *AND* breaks otherwise identical scripts with different file encodings due to multiple lua calls.
Sat, 21 Apr 2018 17:17:42 +0200 Wuzzy New Lua call: Retreat, to force turn into Retreat time
Fri, 23 Mar 2018 03:17:01 +0100 Wuzzy Add new game flag gfSwitchHog, enable hog switching at turn start
Thu, 22 Mar 2018 19:25:38 +0100 Wuzzy Lua API: Add Explode function
Thu, 15 Mar 2018 04:33:11 +0100 Wuzzy Lua API: Fix not updating CursorX/CursorY properly when moving cursor at screen border
Mon, 12 Mar 2018 12:27:13 +0100 Wuzzy Lua API: Add SkipTurn() to replace ParseCommand("skip")
Thu, 08 Mar 2018 19:03:03 +0100 Wuzzy Lua API: PlaySound: Add 3rd parameter instaVoice to instantly play voice
Thu, 08 Mar 2018 18:15:06 +0100 Wuzzy Lua API: Add SetSoundMask to disable playing certain sounds
Wed, 07 Mar 2018 13:48:51 +0100 Wuzzy Lua: Rename global variable “L” to “LOCALE”
Fri, 23 Feb 2018 14:26:58 +0100 Wuzzy Lua API: Fix SetWind not updating flake direction
Tue, 20 Feb 2018 15:37:36 +0100 Wuzzy Lua API: Remove empty functions CampaignLock and CampaignUnlock
Tue, 20 Feb 2018 15:31:47 +0100 Wuzzy Expose 5 land flags to Lua for use with SetGearCollisionMask
Tue, 20 Feb 2018 14:03:46 +0100 Wuzzy Fix inconsistent name of SetGearAIHints
Fri, 16 Feb 2018 19:49:46 +0100 Wuzzy Lua API: Add functons: GetTeamIndex and GetTeamClan
Fri, 16 Feb 2018 13:57:48 +0100 Wuzzy Add SetTeamLabel to Lua API, can set arbitrary string as team label
Fri, 09 Feb 2018 21:04:53 +0100 Wuzzy Lua API: AddAmmo unselects weapons before it would remove current ammo from current hog
Fri, 09 Feb 2018 12:52:05 +0100 Wuzzy Lua API: Add HealHog to heal hog with visual effects + message
Fri, 09 Feb 2018 06:03:01 +0100 Wuzzy Lua API: Add SpawnSupplyCrate
Fri, 09 Feb 2018 04:37:27 +0100 Wuzzy Lua API: Add GetTeamName
Thu, 08 Feb 2018 19:02:51 +0100 Wuzzy Lua API: Add GetWind function to get current wind
Thu, 08 Feb 2018 18:42:07 +0100 Wuzzy Lua API: Add SetVampiric and SetLaserSight
Wed, 07 Feb 2018 01:54:50 +0100 Wuzzy Lua API: Add WriteLnToChat
Wed, 29 Nov 2017 20:38:26 -0500 nemo er. should be true I think? also... maybe this should be somewhere else
Wed, 29 Nov 2017 20:35:56 -0500 nemo This is a desyncing change. But... We might need a new release anyway. ☹
Tue, 24 Oct 2017 04:48:20 +0200 Wuzzy Lua API: Fix Goals text being cut off at ca. 255 characters
Tue, 10 Oct 2017 17:39:11 +0200 Wuzzy Lua API: Remove BorderColor variable from onGameInit
Sat, 30 Sep 2017 21:54:47 +0200 sheepluva fix some fpc hints
Sat, 30 Sep 2017 00:09:48 +0200 sheepluva pas2c happiness initiative 2017, continued
Fri, 29 Sep 2017 22:53:53 +0200 sheepluva fix some things that annoy pas2c and whitespaces
Thu, 28 Sep 2017 18:36:24 +0200 Wuzzy Lua API: Add ReadyTimeLeft variable
Tue, 26 Sep 2017 16:07:44 +0200 Wuzzy New Lua API function: GetTeamStats, to get team stats
Fri, 22 Sep 2017 18:45:51 -0400 nemo mix it up some more. also had screwed up -- inside quotes
Fri, 22 Sep 2017 18:07:11 -0400 nemo should be harder to dodge than a xor
Wed, 20 Sep 2017 13:15:17 -0400 nemo ranges for alnum were silly. also lets not fail to same value
Wed, 20 Sep 2017 11:00:43 -0400 nemo Data is not part of the path
Tue, 12 Sep 2017 16:14:40 -0400 nemo Try to prevent the script safety checking from totally screwing up localisation. Also untested.
Tue, 12 Sep 2017 08:32:01 -0400 nemo This should be ok right?
Mon, 11 Sep 2017 14:28:58 -0400 nemo Totally untested. Trying to ensure scripts loaded more or less match.
Fri, 28 Apr 2017 02:18:21 +0200 Wuzzy Lua: Fix SwitchHog breaking the ammo menu of the new hog
Tue, 23 Feb 2016 13:45:49 +0300 unc0rr Dump best time ghost on console 0.9.22
Thu, 27 Apr 2017 19:09:01 +0200 Wuzzy Lua: Fix HideHog causing engine crash when provided with invalid gear ID or hog was hidden
Wed, 26 Apr 2017 01:51:51 +0200 Wuzzy Lua API: SendAchevementsStatsOff, SendGameResultOff, SendRankingStatsOff
Mon, 24 Apr 2017 09:59:10 -0400 nemo Move sidecar lua load to prior to script load. This should let the script use it for dependencies.
Sat, 22 Apr 2017 18:36:57 +0200 Wuzzy Lua variable: AmmoTypeMax (maximum ammo type ID for iterating)
Thu, 20 Apr 2017 11:22:29 -0400 nemo For testing purposes, drop tointeger and pushint since Lua uses ptrdiff causing inconsistent behaviour if we try to get a longword value from tointeger on 64 bit vs 32bit. This should improve script reliability a bit
Wed, 19 Apr 2017 17:50:31 +0200 Wuzzy New Lua call: EndTurn to end turn
Wed, 05 Apr 2017 17:26:59 +0200 Wuzzy Remove Lua function SetAmmoStore
Sat, 10 Dec 2016 21:28:10 +0100 sheepluva Fix ScriptExists() destroying lua stack (fixes Bug #146)
Sun, 27 Nov 2016 05:33:26 +0100 Wuzzy Add PlaceRubber to Lua API
Wed, 23 Nov 2016 19:39:01 +0100 Wuzzy Add GetHogFort to Lua API
Sun, 20 Nov 2016 01:50:24 +0100 Wuzzy Expose number of air mines in Lua variable AirMinesNum
Sat, 19 Nov 2016 22:17:08 +0100 Wuzzy Allow to ignore overwritten ammo name in GetAmmoName
Sat, 19 Nov 2016 22:00:23 +0100 Wuzzy GetAmmoName now returns ammo name overwritten by SetAmmoTexts
Tue, 10 May 2016 01:59:54 +0200 Wuzzy Add SetAmmoDescriptionAppendix to Lua API, see issue 82
Mon, 09 May 2016 22:49:31 +0200 Wuzzy Add Lua API function SetAmmoTexts (see issue 82)
Tue, 15 Nov 2016 00:42:44 +0100 Wuzzy Lua API: Add GetVisualGearType, onVisualGearAdd, onVisualGearDelete
Tue, 15 Nov 2016 00:17:31 +0100 Wuzzy Add WorldEdge to Lua API to expose/change world edge type
Fri, 16 Sep 2016 00:41:03 +0200 sheepluva fix typo and hopefully also pas2c
Fri, 16 Sep 2016 00:01:43 +0200 sheepluva Lua API: IsHogLocal(gearUid)
Thu, 15 Sep 2016 23:16:49 +0200 sheepluva Lua API: GetAmmoName(ammoType)
Sun, 04 Sep 2016 21:23:00 +0200 sheepluva Lua API: fix incorrect error message. thanks to TheAnachron and rhino for pointing this out
Sun, 15 May 2016 23:11:14 +0200 sheepluva drop SysUtils inclusion from 5 files where it is not needed anymore
Sun, 15 May 2016 13:18:34 +0200 sheepluva always include uUtils _after_ SysUtils
Wed, 27 Apr 2016 00:14:06 +0200 Wuzzy fix for issue 71: Lua API: “Theme” variable is set to empty string initially
Wed, 27 Apr 2016 00:04:37 +0200 sheepluva Lua-API - GetClanColor: Verify argument and display error message on fail (instead of engine crash)
Sat, 23 Apr 2016 13:48:30 -0400 koda Add missing functions to fully disable lua at compile time
Sat, 23 Apr 2016 13:41:10 -0400 koda uscript cosmetics
Fri, 25 Mar 2016 15:52:49 +0100 sheepluva fix check for wrong value
Tue, 23 Feb 2016 13:45:49 +0300 unc0rr Dump best time ghost on console
Mon, 22 Feb 2016 10:24:00 -0500 nemo remove unused path functions
Sun, 31 Jan 2016 16:07:14 +0300 unc0rr Bye-bye TryDo
Sat, 23 Jan 2016 08:11:14 +0100 sheepluva Lua API: SetCinematicMode(enable)
Sat, 16 Jan 2016 19:20:06 +0100 sheepluva update some old google code links in the code/etc. thanks Wuzzy for the heads-up
Tue, 29 Dec 2015 14:44:32 -0500 nemo Make weapon damage in most cases be a structure value and also expose it to lua. Needs testing/review due to conditions at time of doing this (w/ one arm, dizzy/tingling due to sodium citrate), and just number of places changed..
Sat, 07 Nov 2015 16:15:27 +0100 sheepluva merge orphan head (while discarding all its changes) to make koda and his hg-git happy
Mon, 02 Nov 2015 06:58:08 +0100 sheepluva merge default gettext
Wed, 28 Oct 2015 10:01:31 -0400 nemo few more missing nil checks in crate spawn
Sat, 03 Oct 2015 17:02:57 -0400 nemo Add nil check in fake crate spawn for if crate fails to spawn
Thu, 17 Sep 2015 07:41:40 +0200 sheepluva add TODO
Sun, 13 Sep 2015 16:38:53 -0400 nemo aaand make sure the commented out line matches
Sun, 13 Sep 2015 16:36:39 -0400 nemo Add damage to gear values to mess with
Sat, 12 Sep 2015 20:01:26 +0200 sheepluva experimental gettext for lua gettext
Wed, 02 Sep 2015 16:58:31 +0200 sheepluva fix internal function name
Wed, 02 Sep 2015 04:49:11 +0200 sheepluva also expose MapFeatureSize in onPreviewInit
Wed, 02 Sep 2015 04:25:24 +0200 sheepluva Lua API: expose MapFeatureSize during init
Wed, 02 Sep 2015 04:03:24 +0200 sheepluva fix on-code documentation of EraseSprite
Wed, 02 Sep 2015 00:39:35 +0200 sheepluva Lua API: SetMaxBuildDistance([ distInPx ]) -- set to 0 for no limit; call with no param to reset to default
Mon, 17 Aug 2015 14:14:58 -0400 nemo add missing state binds in lua
Mon, 10 Aug 2015 03:53:11 +0200 sheepluva more copyright fixes
Thu, 30 Jul 2015 22:19:05 +0900 mikade GetHogVoicepack,GetHogFlag,GetHogGrave
Sun, 19 Jul 2015 04:05:19 +0200 sheepluva add some chat message colors
Mon, 08 Jun 2015 08:21:09 -0400 nemo ambiguous
Wed, 03 Jun 2015 07:30:12 -0400 nemo cursor x/y when targeting for mikade's visual effects. this is not synced
Fri, 10 Apr 2015 10:36:17 -0400 nemo tweak erase
Wed, 08 Apr 2015 23:59:35 -0400 nemo also erase
Wed, 08 Apr 2015 15:10:44 -0400 nemo fix copypasta typo, failure to bump offset of lf params
Wed, 08 Apr 2015 15:04:48 -0400 nemo Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
Sat, 14 Feb 2015 17:34:12 -0500 nemo Add placement of airmines in engine outside of hog proximity. Has a bug, only protecting 1st team. Also fix a spelling error and rename gstHHChooseTarget to gstChooseTarget
Sun, 25 Jan 2015 16:10:20 -0500 nemo Add generic getter/setter for a bunch of more obscure gear structure values
Sun, 25 Jan 2015 14:48:02 -0500 nemo Add a couple of more variable bindings, make all the set visual gear values optional, to allow skipping trailing params or specifying ones in the middle as nil to not set. Should make using it more convenient in simple cases.
Sun, 14 Dec 2014 20:11:36 +0100 sheepluva Issue 865: gfResetHealth is not exposed to Lua
Thu, 11 Dec 2014 17:50:05 +0100 sheepluva fix size of PtrInt. enable tests for pas2c (all passing now)
Mon, 08 Dec 2014 09:35:14 -0500 nemo Use FreeAndNil across the board. Even if we are immediately assigning after, probably avoids accidental mistakes. Also free neglected owner tex on shutdown, and delete hog gears using the normal deletion procedure if for any reason they still exist (EndGame call?).
Wed, 03 Dec 2014 17:59:31 +0100 sheepluva tweaking the lua test function thingy
Wed, 03 Dec 2014 11:32:18 -0500 nemo set globals in commandline lua
Wed, 03 Dec 2014 17:09:04 +0100 sheepluva fix some things I messed up with the drawing functions
Tue, 02 Dec 2014 23:55:20 +0100 sheepluva update changelog
Tue, 02 Dec 2014 23:33:28 +0100 sheepluva move functionality of Draw.lua into engine
Tue, 02 Dec 2014 13:29:06 -0500 nemo switch mapgen to enum. should still try and make sure the values are backwards compatible if possible.
Sun, 30 Nov 2014 15:30:51 -0500 nemo expose FlightTime to lua, disable in-air flame harming moving hogs ☹ aaaand override that in ClimbHome ☺
Sat, 29 Nov 2014 21:29:11 -0500 nemo Wuzzy's changes to climbhome w/ some tweaks by me
Sat, 29 Nov 2014 01:19:29 +0100 sheepluva fix some pas2c related issues
Thu, 27 Nov 2014 13:20:52 +0100 sheepluva new implementation for Lua API DismissTeam. all hedgehogs of the team are now removed without using teamgone
Sun, 23 Nov 2014 18:38:49 +0100 sheepluva small cleanup
Wed, 19 Nov 2014 02:00:47 +0100 sheepluva make gear ability to speak somewhat less ironic
Wed, 19 Nov 2014 01:36:59 +0100 sheepluva update changelog a little
Sat, 15 Nov 2014 12:21:43 +0300 unc0rr Fix use of uninitialized variable
Thu, 02 Oct 2014 00:40:25 +0200 sheepluva use constants for mapgen, expose those to lua
Fri, 25 Jul 2014 20:41:52 +0400 unc0rr Forced sprites placing mode, exposed to scripts (not tested at all)
less more (0) -120 tip