hedgewars/uScript.pas
2018-07-10 Wuzzy Refactor: lfCurrentHog→lfCurHogCrate, lfNotCurrentMask→lfNotCurHogCrate
2018-07-10 Wuzzy Lua API: Add parameter forceDisplay to ShowMission to prevent manual hiding
2018-07-08 Wuzzy Fix GetAmmo getting wrong ammo count
2018-07-07 Wuzzy New Lua API function: GetAmmo, to get ammo config
2018-07-02 nemo somehow scale was omitted from this catch-all VG init. late addition to the struct perhaps.
2018-05-18 nemo 0.9.24 merge of physfs tweak
2018-05-18 nemo Make wrapping a lua and its sidecar actually work. 0.9.24
2018-05-04 Wuzzy Make EnableSwitchHog() more robust against failure, return gear UID
2018-05-04 Wuzzy Lua API: Add EnableSwitchHog to manually enable hog switching
2018-05-03 Wuzzy Fix GetAmmoTimer implementation, swap arguments
2018-05-03 Wuzzy Lua API: GetAmmoTimer, to get the player-set timer for an ammo
2018-05-03 Wuzzy Lua API: Add 5th parameter showExtra to SetAmmoTexts to hide extra text
2018-04-29 nemo Seed reset seems fine when moved out of the loader. Also bump protocol
2018-04-29 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.
2018-04-21 Wuzzy New Lua call: Retreat, to force turn into Retreat time
2018-03-23 Wuzzy Add new game flag gfSwitchHog, enable hog switching at turn start
2018-03-22 Wuzzy Lua API: Add Explode function
2018-03-15 Wuzzy Lua API: Fix not updating CursorX/CursorY properly when moving cursor at screen border
2018-03-12 Wuzzy Lua API: Add SkipTurn() to replace ParseCommand("skip")
2018-03-08 Wuzzy Lua API: PlaySound: Add 3rd parameter instaVoice to instantly play voice
2018-03-08 Wuzzy Lua API: Add SetSoundMask to disable playing certain sounds
2018-03-07 Wuzzy Lua: Rename global variable “L” to “LOCALE”
2018-02-23 Wuzzy Lua API: Fix SetWind not updating flake direction
2018-02-20 Wuzzy Lua API: Remove empty functions CampaignLock and CampaignUnlock
2018-02-20 Wuzzy Expose 5 land flags to Lua for use with SetGearCollisionMask
2018-02-20 Wuzzy Fix inconsistent name of SetGearAIHints
2018-02-16 Wuzzy Lua API: Add functons: GetTeamIndex and GetTeamClan
2018-02-16 Wuzzy Add SetTeamLabel to Lua API, can set arbitrary string as team label
2018-02-09 Wuzzy Lua API: AddAmmo unselects weapons before it would remove current ammo from current hog
2018-02-09 Wuzzy Lua API: Add HealHog to heal hog with visual effects + message
2018-02-09 Wuzzy Lua API: Add SpawnSupplyCrate
2018-02-09 Wuzzy Lua API: Add GetTeamName
2018-02-08 Wuzzy Lua API: Add GetWind function to get current wind
2018-02-08 Wuzzy Lua API: Add SetVampiric and SetLaserSight
2018-02-07 Wuzzy Lua API: Add WriteLnToChat
2017-11-30 nemo er. should be true I think? also... maybe this should be somewhere else
2017-11-30 nemo This is a desyncing change. But... We might need a new release anyway. ☹
2017-10-24 Wuzzy Lua API: Fix Goals text being cut off at ca. 255 characters
2017-10-10 Wuzzy Lua API: Remove BorderColor variable from onGameInit
2017-09-30 sheepluva fix some fpc hints
2017-09-29 sheepluva pas2c happiness initiative 2017, continued
2017-09-29 sheepluva fix some things that annoy pas2c and whitespaces
2017-09-28 Wuzzy Lua API: Add ReadyTimeLeft variable
2017-09-26 Wuzzy New Lua API function: GetTeamStats, to get team stats
2017-09-22 nemo mix it up some more. also had screwed up -- inside quotes
2017-09-22 nemo should be harder to dodge than a xor
2017-09-20 nemo ranges for alnum were silly. also lets not fail to same value
2017-09-20 nemo Data is not part of the path
2017-09-12 nemo Try to prevent the script safety checking from totally screwing up localisation. Also untested.
2017-09-12 nemo This should be ok right?
2017-09-11 nemo Totally untested. Trying to ensure scripts loaded more or less match.
2017-04-28 Wuzzy Lua: Fix SwitchHog breaking the ammo menu of the new hog
2016-02-23 unc0rr Dump best time ghost on console 0.9.22
2017-04-27 Wuzzy Lua: Fix HideHog causing engine crash when provided with invalid gear ID or hog was hidden
2017-04-25 Wuzzy Lua API: SendAchevementsStatsOff, SendGameResultOff, SendRankingStatsOff
2017-04-24 nemo Move sidecar lua load to prior to script load. This should let the script use it for dependencies.
2017-04-22 Wuzzy Lua variable: AmmoTypeMax (maximum ammo type ID for iterating)
2017-04-20 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
2017-04-19 Wuzzy New Lua call: EndTurn to end turn
2017-04-05 Wuzzy Remove Lua function SetAmmoStore
2016-12-10 sheepluva Fix ScriptExists() destroying lua stack (fixes Bug #146)
2016-11-27 Wuzzy Add PlaceRubber to Lua API
2016-11-23 Wuzzy Add GetHogFort to Lua API
2016-11-20 Wuzzy Expose number of air mines in Lua variable AirMinesNum
2016-11-19 Wuzzy Allow to ignore overwritten ammo name in GetAmmoName
2016-11-19 Wuzzy GetAmmoName now returns ammo name overwritten by SetAmmoTexts
2016-05-09 Wuzzy Add SetAmmoDescriptionAppendix to Lua API, see issue 82
2016-05-09 Wuzzy Add Lua API function SetAmmoTexts (see issue 82)
2016-11-14 Wuzzy Lua API: Add GetVisualGearType, onVisualGearAdd, onVisualGearDelete
2016-11-14 Wuzzy Add WorldEdge to Lua API to expose/change world edge type
2016-09-15 sheepluva fix typo and hopefully also pas2c
2016-09-15 sheepluva Lua API: IsHogLocal(gearUid)
2016-09-15 sheepluva Lua API: GetAmmoName(ammoType)
2016-09-04 sheepluva Lua API: fix incorrect error message. thanks to TheAnachron and rhino for pointing this out
2016-05-15 sheepluva drop SysUtils inclusion from 5 files where it is not needed anymore
2016-05-15 sheepluva always include uUtils _after_ SysUtils
2016-04-26 Wuzzy fix for issue 71: Lua API: “Theme” variable is set to empty string initially
2016-04-26 sheepluva Lua-API - GetClanColor: Verify argument and display error message on fail (instead of engine crash)
2016-04-23 koda Add missing functions to fully disable lua at compile time
2016-04-23 koda uscript cosmetics
2016-03-25 sheepluva fix check for wrong value
2016-02-23 unc0rr Dump best time ghost on console
2016-02-22 nemo remove unused path functions
2016-01-31 unc0rr Bye-bye TryDo
2016-01-23 sheepluva Lua API: SetCinematicMode(enable)
2016-01-16 sheepluva update some old google code links in the code/etc. thanks Wuzzy for the heads-up
2015-12-29 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..
2015-11-07 sheepluva merge orphan head (while discarding all its changes) to make koda and his hg-git happy
2015-11-02 sheepluva merge default gettext
2015-10-28 nemo few more missing nil checks in crate spawn
2015-10-03 nemo Add nil check in fake crate spawn for if crate fails to spawn
2015-09-17 sheepluva add TODO
2015-09-13 nemo aaand make sure the commented out line matches
2015-09-13 nemo Add damage to gear values to mess with
2015-09-12 sheepluva experimental gettext for lua gettext
2015-09-02 sheepluva fix internal function name
2015-09-02 sheepluva also expose MapFeatureSize in onPreviewInit
2015-09-02 sheepluva Lua API: expose MapFeatureSize during init
2015-09-02 sheepluva fix on-code documentation of EraseSprite
2015-09-01 sheepluva Lua API: SetMaxBuildDistance([ distInPx ]) -- set to 0 for no limit; call with no param to reset to default
2015-08-17 nemo add missing state binds in lua
2015-08-10 sheepluva more copyright fixes
2015-07-30 mikade GetHogVoicepack,GetHogFlag,GetHogGrave
2015-07-19 sheepluva add some chat message colors
2015-06-08 nemo ambiguous
2015-06-03 nemo cursor x/y when targeting for mikade's visual effects. this is not synced
2015-04-10 nemo tweak erase
2015-04-09 nemo also erase
2015-04-08 nemo fix copypasta typo, failure to bump offset of lf params
2015-04-08 nemo Add options to set colouring, behind existing land, and horizontal/vertical flipping to PlaceSprite
2015-02-14 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
2015-01-25 nemo Add generic getter/setter for a bunch of more obscure gear structure values
2015-01-25 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.
2014-12-14 sheepluva Issue 865: gfResetHealth is not exposed to Lua
2014-12-11 sheepluva fix size of PtrInt. enable tests for pas2c (all passing now)
2014-12-08 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?).
2014-12-03 sheepluva tweaking the lua test function thingy
2014-12-03 nemo set globals in commandline lua
2014-12-03 sheepluva fix some things I messed up with the drawing functions
2014-12-02 sheepluva update changelog
less more (0) -120 tip