hedgewars/uScript.pas
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
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
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)
Tue, 01 Jul 2014 12:39:06 +0200 sheepluva add assignment I forgot
Tue, 01 Jul 2014 12:30:36 +0200 sheepluva lua api: allow to specify layer when adding visual gear
Mon, 16 Jun 2014 02:23:37 +0200 sheepluva various tweaks
Sun, 15 Jun 2014 00:02:25 +0200 sheepluva clean up halting a little
Fri, 13 Jun 2014 14:55:06 +0200 sheepluva fix pas2c build for real this time...
Fri, 13 Jun 2014 12:52:20 +0200 sheepluva fix some pas2c related overloading issue
Fri, 13 Jun 2014 12:22:24 +0200 sheepluva whoops, pas2c I owe you
Fri, 13 Jun 2014 06:26:31 +0200 sheepluva state file name and line number in lua error messages
Fri, 13 Jun 2014 02:31:05 +0200 sheepluva lua api: SetNextWeapon()
Thu, 12 Jun 2014 21:25:39 +0200 sheepluva lua api: DismissTeam(teamname)
Thu, 12 Jun 2014 20:47:11 +0200 sheepluva lua api: SetWeapon(ammoType)
Thu, 12 Jun 2014 19:40:45 +0200 sheepluva fix broken speech bubble display in chat. caused by r1a6b9a98147c one line was forgotten when moving some code
Thu, 12 Jun 2014 18:58:40 +0200 sheepluva more of the same
Thu, 12 Jun 2014 15:17:53 +0200 sheepluva fix TryPlaceOnLand's ambiguity/messup wrt to making terrain indestructible (had boolean parameter for indestructible AND landflags parameters that could contain lfIndestructibly)
Thu, 12 Jun 2014 14:42:48 +0200 sheepluva further WIP (better error messages)
Thu, 12 Jun 2014 14:11:22 +0200 sheepluva placeSprite accepts any amount of landflags now; further WIP wrt cleanup/fixing
Thu, 12 Jun 2014 13:43:44 +0200 sheepluva expose lfIndestructable, lfIce and lfBounce
Thu, 12 Jun 2014 13:11:00 +0400 unc0rr Fix pas2c build
Thu, 12 Jun 2014 05:40:58 +0200 sheepluva make enums crash-safe. and other fixes
Thu, 12 Jun 2014 00:37:52 +0200 sheepluva WIP: PlaceSprite for lua API. also changed PlaceGirder so that it will return true/false for whether placing was successful too
Wed, 11 Jun 2014 19:46:37 +0200 sheepluva fix possible engine crash that a lua script could cause by passing an invalid geartype to addgear
Wed, 11 Jun 2014 13:45:44 +0200 sheepluva tiny lua documentation fix
Sat, 31 May 2014 00:33:51 +0200 sheepluva get rid of fpc warnings/hints
Wed, 07 May 2014 22:47:54 +0200 sheepluva rolling back the rest
Mon, 28 Apr 2014 16:52:00 +0200 sheepluva minimal changes for compatibility with lua 5.2, thanks to v4hn for fixing standard library loads. note: ALSO compatibile with (internal) lua 5.1, until something bothers to upgrade bundled lua version
Thu, 20 Mar 2014 13:12:05 -0400 nemo hm. I think I forgot to commit this when adding speech bubble change
Sun, 23 Feb 2014 10:06:58 -0500 nemo Allow lua drawn maps (shoppamap, tunnels, diagonal maze etc) to generate previews.
Sun, 16 Feb 2014 22:51:25 +0400 unc0rr Fix setting lc_endluatest result
Wed, 12 Feb 2014 00:50:15 +0400 unc0rr - pas2c recognizes typecasts in initialization expressions
Tue, 11 Feb 2014 01:19:44 +0400 unc0rr - Pas2C: make use of 'external' function decorator
Mon, 10 Feb 2014 00:43:03 +0400 unc0rr It compiles \o/
Fri, 07 Feb 2014 23:57:32 +0400 unc0rr Revert 88929358d2e1 in favor of ansistrings implementation in pas2c
Tue, 04 Feb 2014 19:45:22 +0100 sheepluva update FSF address. note: two sdl include files (by Sam Lantinga) still have the old FSF address in their copyright - but I ain't gonna touch their copyright headers
Mon, 27 Jan 2014 00:33:42 +0400 unc0rr Some love to pas2c
Tue, 21 Jan 2014 22:53:15 +0100 koda merge
Tue, 21 Jan 2014 15:56:52 +0100 sheepluva luaAPI:
Tue, 21 Jan 2014 01:38:06 +0100 sheepluva let log know when a test finished properly, so that an unexpected termination (segfault, divbyzero, etc) is easier to tell apart from test fail
Tue, 21 Jan 2014 01:27:25 +0100 sheepluva * fix divbyzero found by GetGravity test (cWindSpeed was used where cMaxWindSpeed should have been)
Tue, 21 Jan 2014 22:38:13 +0100 koda partial merge of the webgl branch
Sat, 18 Jan 2014 00:10:33 +0400 unc0rr Convert some ansistrings to pchars
Fri, 17 Jan 2014 01:06:54 +0100 sheepluva update copyright to 2014
Tue, 14 Jan 2014 22:56:13 +0100 sheepluva simple mechanism to run lua-based test cases. experimental - I will back it out if it turns out to be nonsense
Tue, 14 Jan 2014 11:45:52 +0100 sheepluva fix seteffect documentation, lua wiki misled me there
Tue, 14 Jan 2014 12:44:29 +0400 unc0rr GravRacer, GravHigh, GravMutant, Grav... uhm... shoppamap? Easy! Gravity script could be combined with any other script now.
Sun, 05 Jan 2014 00:46:26 +0400 unc0rr Fix build (no idea what's going on in this branch btw) webgl
Sat, 04 Jan 2014 23:55:54 +0400 unc0rr merge default webgl
Fri, 03 Jan 2014 00:31:07 -0500 nemo tweak
Thu, 02 Jan 2014 23:52:34 -0500 nemo hey, if unc0rr can screw with gravity...
Wed, 01 Jan 2014 14:16:01 +0400 unc0rr Special script parameter variable in game scheme
Tue, 24 Dec 2013 22:16:07 +0400 unc0rr Rework of No Gravity script:
Sun, 22 Dec 2013 23:16:55 +0400 unc0rr - Fix typo in frontend debug output
Fri, 13 Dec 2013 11:49:00 -0500 cairo add SetHogTeamName
Sat, 07 Dec 2013 22:09:55 -0500 nemo revert r938d1c08d0d1 in favour of putting it in the chat log. I think this addresses main concern about missing text. There've been complaints in past too about conversation in bubbles not being visible in history. If the objection is that r938d1c08d0d1 offers a more æsthetic solution, I think it should augment this, be flagged, and fix the visual issues first.
Wed, 04 Dec 2013 12:28:04 +0100 sheepluva here have some lua love: make parameter count error messages more helpful to lua devs
Wed, 04 Dec 2013 10:47:15 +0100 sheepluva lua call SetAmmoDelay(ammotype, delay). note: as the engine does not yet support per-clan/team/hog ammo delay values, lua scripters will have to keep track of individual delays and set them accordingly before a hedgehog's turn (if they want usage cool-down behavior)
Wed, 04 Dec 2013 09:54:16 +0100 sheepluva fix misspelled variable name (cosmetic change)
Tue, 03 Dec 2013 22:48:21 -0500 nemo sethogname/hat need to wrap entire operation around test of hog/gear
Mon, 25 Nov 2013 22:09:42 +0100 sheepluva unbreak various parts of campaign variable loading/saving
Sun, 03 Nov 2013 22:39:00 +0400 unc0rr Quick and simple implementation of afk mode (toggled by /pause)
Wed, 30 Oct 2013 00:18:10 +0400 unc0rr - More HealthTex to clan structure
Mon, 28 Oct 2013 14:07:04 +0100 koda merge spacecampaign
Wed, 25 Sep 2013 05:42:16 +0300 Periklis Ntanasis merge with default spacecampaign
Thu, 19 Sep 2013 03:49:29 +0300 Periklis Ntanasis use consts for TStatInfo enum spacecampaign
Mon, 21 Oct 2013 12:38:24 -0400 nemo This test is intended to avoid repeatedly calling 5 ScriptSetIntegers each script call, that won't ever change after the map is created.
Sun, 13 Oct 2013 22:31:51 +0400 unc0rr Unbreak access to Data dir in profile broken in r8b48c27201af
Fri, 11 Oct 2013 17:43:13 +0200 koda merge with latest defaul, fixing compiling with fpc, parsing and rendering with pas2c, some minor problems with compiling with clang webgl
Sat, 24 Aug 2013 00:13:15 +0400 unc0rr Store TrophyRace records in database
Tue, 06 Aug 2013 00:26:07 +0400 unc0rr Declare achievements in console statistics output
Tue, 13 Aug 2013 16:12:54 +0400 unc0rr gfShoppaBorder
Thu, 27 Jun 2013 14:01:43 -0400 nemo Make add/delete consistent (this has bugged me for so long)
Thu, 27 Jun 2013 15:33:02 +0400 unc0rr Refactoring: get rid of GSHandlers.inc
Thu, 27 Jun 2013 14:37:03 +0400 unc0rr Refactoring: VGSHandlers.inc -> uVisualGearsHandlers.pas
Wed, 19 Jun 2013 00:52:21 +0400 unc0rr engine links webgl
Fri, 21 Jun 2013 12:26:55 -0400 nemo removed redundant band, added touch of consistency w/ everywhere else
Tue, 18 Jun 2013 09:48:10 +0200 koda fix a few loose ends here webgl
Mon, 17 Jun 2013 23:21:53 +0200 unC0Rr uscript rendering webgl
Mon, 17 Jun 2013 23:10:45 +0200 koda really update with default webgl
Wed, 12 Jun 2013 11:17:54 +0200 koda heavily rework lua discovery and linking, needs testing but it's more similar to what we do for other libraries now
Wed, 12 Jun 2013 01:26:42 +0200 koda aaaaand let's not forget about lua, which has also a slightly revised build process
Mon, 17 Jun 2013 16:56:58 +0200 koda update with default webgl
Tue, 11 Jun 2013 00:05:07 +0300 Periklis Ntanasis changed variable and function name
Mon, 10 Jun 2013 23:50:36 +0300 Periklis Ntanasis removing sendstats(uScript) from luaAPI
Sun, 09 Jun 2013 01:18:58 +0300 Periklis Ntanasis fix non changing graph title and sendstat health
Sat, 08 Jun 2013 23:54:44 +0300 Periklis Ntanasis correct health statsend for lua scritps
Thu, 06 Jun 2013 03:52:32 +0300 Periklis Ntanasis made lua scripts able to turn off automatic game stats
Thu, 06 Jun 2013 03:35:59 +0300 Periklis Ntanasis LuaAPI sendstat finds correct clan colors by team names on siPlayerKills
Mon, 03 Jun 2013 23:18:24 +0300 Periklis Ntanasis added sendstat and sendstats support for lua scripts
Sat, 24 Aug 2013 00:13:15 +0400 unc0rr Store TrophyRace records in database 0.9.19
Tue, 06 Aug 2013 00:26:07 +0400 unc0rr Declare achievements in console statistics output 0.9.19
Tue, 04 Jun 2013 22:28:12 +0200 koda update branch webgl
Wed, 29 May 2013 15:12:06 -0400 unc0rr bump copyright year for Andrey entries
Sat, 11 May 2013 23:36:39 -0400 nemo don't draw a border if there's already a bottom border, avoid placing objects over gaps in the floor
Sat, 11 May 2013 21:50:14 -0400 nemo suggestion of unc0rr's to fix issue w/ random maps in campaign. load sidecar packages in physfs for lua. should be useful also for lua that does custom layouts
Tue, 02 Apr 2013 21:00:57 +0200 koda update webgl branch webgl
Fri, 08 Feb 2013 21:22:11 -0500 nemo this should not be exposed
Tue, 29 Jan 2013 13:45:31 -0500 nemo fix EndGame call. w/o a proper exit, demos weren't being saved
Sun, 27 Jan 2013 00:28:57 +0100 koda update branch webgl
Thu, 10 Jan 2013 22:59:46 +0400 martin_bede Fix tons of warnings
Wed, 09 Jan 2013 10:16:10 +0400 unc0rr Fix build
Tue, 08 Jan 2013 00:40:20 +0400 martin_bede lua API functions to enable or disable game flags
Tue, 25 Dec 2012 04:45:22 +0100 koda update branch with default webgl
Wed, 05 Dec 2012 13:31:08 -0500 nemo kinda treat graves like hedgehogs for the purpose of looking up hog info flibqtfrontend
Thu, 29 Nov 2012 23:23:19 -0500 Joe Doyle (Ginto8) Move global variables to units that use them
Thu, 22 Nov 2012 00:41:53 +0100 koda updated branch webgl
Tue, 20 Nov 2012 23:09:17 +0400 unc0rr Fix build
Tue, 20 Nov 2012 18:33:09 +0100 koda physfs compilation on windows
Mon, 19 Nov 2012 00:49:24 +0100 koda linking phsyfs on osx
Sat, 17 Nov 2012 00:41:30 +0400 unc0rr We need custom script loading function in lua now physfslayer
Sat, 17 Nov 2012 00:01:06 +0400 unc0rr Implement reader in C ffs physfslayer
Fri, 16 Nov 2012 00:46:33 +0400 unc0rr Script loading via physfs which doesn't work: physfslayer
Sun, 11 Nov 2012 17:15:19 +0100 koda merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions) webgl
Wed, 14 Nov 2012 22:45:36 +0400 unc0rr Get rid of Pathz and UserPathz physfslayer
Thu, 08 Nov 2012 15:54:11 -0500 nemo this wasn't needed IMO
Wed, 07 Nov 2012 13:23:18 +0400 unc0rr Try to beat AI in Mutant!
Mon, 29 Oct 2012 18:20:08 -0400 nemo consistent line endings
Mon, 29 Oct 2012 17:38:54 -0400 nemo fix reserved hats from scripting
Tue, 23 Oct 2012 16:52:13 -0400 nemo Flag script parsecommands to avoid echoing to net
Sat, 20 Oct 2012 22:43:25 -0400 nemo fix trophyrace. also tweak it a little
Sun, 14 Oct 2012 13:35:15 -0400 nemo First pass at cleaver.
Sun, 07 Oct 2012 11:59:42 -0400 nemo Set default collision mask for gears at currenthedgehog X/Y to FF7F, expose mask to scripting as well. This should resolve the collision part of bug #420
Mon, 01 Oct 2012 12:01:39 +0400 unc0rr - Fix warnings and hints
Sun, 02 Sep 2012 10:11:24 -0400 nemo LAND_HEIGHT/LAND_WIDTH need setting later now
Thu, 30 Aug 2012 13:02:19 -0400 nemo Checking merge against latest trunk
Tue, 21 Aug 2012 21:46:05 -0400 nemo extra nil check for lua hog switch
Tue, 21 Aug 2012 19:40:02 -0400 nemo allow lua to specify template by number
Fri, 17 Aug 2012 07:49:54 -0400 nemo This union hasn't been needed for 5 years, and makes using other headers harder.
Wed, 08 Aug 2012 10:26:10 -0400 nemo Allow scripting to delete gears
Wed, 25 Jul 2012 10:56:14 -0400 nemo Changes for the benefit of pas2c. Use downto in for loops to avoid repeated calls of Random/GetRandom. Wrap nots.
Thu, 30 Aug 2012 12:13:24 -0400 nemo checkpoint merge
Thu, 19 Jul 2012 20:34:21 -0400 nemo oh yeah, these too
Tue, 10 Jul 2012 11:09:38 +0200 Wolfgang Steffens Merge
Wed, 04 Jul 2012 12:41:47 -0400 nemo free up power for use by script
Wed, 04 Jul 2012 10:56:42 -0400 nemo Allow script to set number of ammo in a crate. untested.
Tue, 26 Jun 2012 23:02:25 -0400 nemo This is necessary because commands can contain 0s, and StrPas used by LuaPas halts at the first 0. It might be necessary to change the base string handling.
Mon, 25 Jun 2012 11:47:40 +0200 Wolfgang Steffens retaining SDL surfaces in order to allow recreating atlases from scratch without
Sat, 23 Jun 2012 21:37:47 -0400 nemo Step 1. Add current hedgehog as top bit of bottom byte.
Mon, 25 Jun 2012 10:46:48 +0300 belphegorr The first campaign commit with a lot of changes...
Thu, 31 May 2012 15:50:25 +0200 mikade Add a GetTag method so that SetTag doesn't feel lonely.
Mon, 28 May 2012 01:51:50 -0400 nemo Add onGameTick20 to try and encourage lua to be a bit more efficient. Rewrite Space Invasion to use it. Top speed of aliens is 25% higher now, although that could be changed, I kinda liked it. Change parameter order of div().
Sun, 13 May 2012 00:50:45 +0400 unc0rr More magic
Fri, 11 May 2012 23:36:42 +0400 unc0rr sysutils -> SysUtils
Mon, 07 May 2012 11:59:09 +0200 koda invert LUA symbol meaning and avoid hints when compiling without it
Thu, 03 May 2012 00:20:58 -0400 nemo Switch effects to longint for convenience of tracking ice states. I could add a new Hedgehog value, but since we have this effects list being all useless as booleans anyway...
Tue, 01 May 2012 19:56:55 +0200 koda breaking news, we don't support typed consts anymore
Tue, 24 Apr 2012 23:50:40 +0400 unc0rr Get rid of overloaded functions in uAmmo
Mon, 26 Mar 2012 20:29:37 -0400 nemo At mikade's request. give scripting access to the map name prior to override.
Sat, 17 Mar 2012 14:24:43 -0400 nemo eh. guess they really should be here
Sat, 17 Mar 2012 14:13:16 -0400 nemo Adding leftX/rightX/topY to simplify determining bounds based on map playing area.
Tue, 13 Mar 2012 12:22:56 -0400 nemo tweak take 2
Tue, 13 Mar 2012 12:10:48 -0400 nemo Small tweak to return something more useful in the negative 0 case on dX
Sat, 10 Mar 2012 23:00:39 -0500 nemo Add div to allow safe integer division from lua
Sat, 10 Mar 2012 16:32:46 -0500 nemo Recount team health if modifying hedgehog health
Tue, 28 Feb 2012 21:25:36 -0500 nemo oops
Sun, 26 Feb 2012 15:42:28 -0500 nemo oops
Sun, 26 Feb 2012 12:45:00 -0500 nemo make onAmmoStoreInit optional in the case of onNewAmmoStore
Sun, 26 Feb 2012 12:32:48 -0500 nemo pass indexes for the clan/team/hedgehog
Sun, 26 Feb 2012 11:28:28 -0500 nemo copypasta fail
Sun, 26 Feb 2012 11:21:32 -0500 nemo Add a new script hook. onNewAmmoStore. This will allow scripts like The Specialists to define separate ammo sets for each hog
Fri, 17 Feb 2012 18:23:36 +0100 koda the most important commit of the year
Tue, 17 Jan 2012 09:01:31 -0500 lovelacer A partial reformatting of the pascal code to have consistent syntax. Things that are still inconsistent.
Sun, 15 Jan 2012 22:01:50 -0500 nemo Also allow lua to change gfPerHogAmmo/gfSharedAmmo even if lua does not define new ammo stores
Sun, 15 Jan 2012 12:40:48 -0500 nemo Assign ammo counts as well, in case the game flags were changed by the script
Wed, 11 Jan 2012 21:46:06 +0000 enveezee Push RopePercent to lua to fix rope if not set
Sat, 31 Dec 2011 01:52:14 +0300 unc0rr Fix build
Mon, 12 Dec 2011 19:23:05 +0100 Henek added SetAmmoStore to lua for convinience
Sun, 11 Dec 2011 14:52:02 +0100 Henek enable lua to also set rope length percent
Fri, 30 Dec 2011 13:54:39 +0400 unc0rr Start refactoring uGears. Breaks build.
Sun, 27 Nov 2011 23:13:22 +0300 unc0rr Countless imporvements to the parser and countless help to the parser in sources.
Sat, 26 Nov 2011 11:37:25 +0100 koda fix compiling with LUA_DISABLED
Thu, 24 Nov 2011 16:18:45 +0100 koda GSoC 2011: Android port - merged mainstream
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
Wed, 13 Oct 2010 00:01:37 +0200 smaxx (none)
Thu, 30 Sep 2010 18:38:45 +0200 smaxx Engine/Frontend:
Sun, 26 Sep 2010 17:02:44 +0200 koda enable Lua for iOS (hooks for frontend to be done)
Wed, 22 Sep 2010 21:58:32 +0200 smaxx Engine:
Wed, 22 Sep 2010 21:53:29 +0200 smaxx Engine:
Wed, 22 Sep 2010 21:47:28 +0200 smaxx Engine:
Fri, 10 Sep 2010 20:46:19 +0200 smaxx Engine:
Mon, 06 Sep 2010 16:23:47 -0400 nemo Change all use of curslot/idx to CurAmmoType to try and avoid some bugs with use of last weapon.
Thu, 26 Aug 2010 22:58:38 +0200 smaxx Engine:
Thu, 26 Aug 2010 16:02:09 +0200 smaxx Engine:
Tue, 24 Aug 2010 01:17:24 +0200 smaxx Engine:
Mon, 23 Aug 2010 12:53:00 +0200 burp lua function SetEffect to set and remove THogEffects
Mon, 23 Aug 2010 12:49:58 +0200 burp GetHogLevel lua function
Sat, 21 Aug 2010 22:54:43 +0200 burp SpawnCustomCrateAt: spawn crate at random position for x=y=0, also let it return the gear, and luabindings the gear uid
Thu, 12 Aug 2010 23:15:11 +0200 smaxx Engine:
Tue, 10 Aug 2010 21:57:33 +0200 burp * SpawnCustomCrateAt procedure + lua bindings
Sat, 07 Aug 2010 01:45:31 +0200 smaxx Engine:
Wed, 04 Aug 2010 17:35:45 +0200 smaxx Engine:
Wed, 04 Aug 2010 16:54:15 +0200 smaxx Engine:
Wed, 04 Aug 2010 15:57:27 +0200 smaxx Engine:
Sat, 31 Jul 2010 11:24:53 +0200 koda remove trailing spaces from end of line
Wed, 23 Jun 2010 13:43:56 +0200 smaxx General:
Sun, 02 May 2010 22:00:50 +0000 smxx Engine:
Sun, 25 Apr 2010 18:38:08 +0000 smxx Engine:
Fri, 16 Apr 2010 14:37:28 +0000 smxx Engine/Frontend:
Mon, 12 Apr 2010 20:58:32 +0000 smxx Engine:
Fri, 02 Apr 2010 23:00:56 +0000 sheepluva * add some kind of SniperRifle training mission
Wed, 31 Mar 2010 17:35:06 +0000 smxx General:
Tue, 30 Mar 2010 23:13:12 +0000 smxx Maps:
Wed, 24 Mar 2010 14:03:03 +0000 smxx Engine:
Mon, 22 Mar 2010 17:48:19 +0000 unc0rr Clean Augean stables
Mon, 22 Mar 2010 11:52:16 +0000 nemo Just tidying up a bit. Comments, moving uMisc to end of frees in case ones above it need logging
Sun, 21 Mar 2010 19:02:03 +0000 unc0rr In pascal unit is a namespace
Sun, 21 Mar 2010 16:42:41 +0000 koda fix a rotation glitch
Tue, 16 Mar 2010 21:39:55 +0000 smxx Engine:
Tue, 16 Mar 2010 19:28:15 +0000 smxx Engine:
Mon, 15 Mar 2010 11:53:32 +0000 smxx Engine:
Sun, 14 Mar 2010 23:46:46 +0000 smxx Engine:
Sun, 14 Mar 2010 22:55:46 +0000 smxx Engine:
Sat, 06 Mar 2010 13:22:52 +0000 smxx Engine:
Sat, 06 Mar 2010 10:59:20 +0000 unc0rr Replace tabs with spaces using 'expand -t 4' command
Wed, 03 Mar 2010 15:04:39 +0000 smxx Engine:
Mon, 01 Mar 2010 19:54:33 +0000 smxx Engine:
Thu, 25 Feb 2010 12:49:04 +0000 smxx Engine:
Mon, 15 Feb 2010 21:54:26 +0000 smxx Engine:
Wed, 10 Feb 2010 22:00:49 +0000 koda add a new way to fetch version info from pascal to c
Wed, 10 Feb 2010 21:23:03 +0000 smxx Engine:
Wed, 10 Feb 2010 17:15:10 +0000 smxx Engine:
Wed, 10 Feb 2010 17:13:49 +0000 smxx Engine:
Wed, 10 Feb 2010 15:42:00 +0000 smxx Engine:
Wed, 10 Feb 2010 10:03:13 +0000 smxx Engine:
Wed, 10 Feb 2010 09:52:00 +0000 smxx Engine:
Wed, 10 Feb 2010 00:55:40 +0000 smxx Engine:
less more (0) tip