Wed, 04 Jul 2012 12:41:47 -0400 |
nemo |
free up power for use by script
|
file |
diff |
annotate
|
Wed, 04 Jul 2012 10:56:42 -0400 |
nemo |
Allow script to set number of ammo in a crate. untested.
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Mon, 25 Jun 2012 11:47:40 +0200 |
Wolfgang Steffens |
retaining SDL surfaces in order to allow recreating atlases from scratch without
|
file |
diff |
annotate
|
Sat, 23 Jun 2012 21:37:47 -0400 |
nemo |
Step 1. Add current hedgehog as top bit of bottom byte.
|
file |
diff |
annotate
|
Mon, 25 Jun 2012 10:46:48 +0300 |
belphegorr |
The first campaign commit with a lot of changes...
|
file |
diff |
annotate
|
Thu, 31 May 2012 15:50:25 +0200 |
mikade |
Add a GetTag method so that SetTag doesn't feel lonely.
|
file |
diff |
annotate
|
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().
|
file |
diff |
annotate
|
Sun, 13 May 2012 00:50:45 +0400 |
unc0rr |
More magic
|
file |
diff |
annotate
|
Fri, 11 May 2012 23:36:42 +0400 |
unc0rr |
sysutils -> SysUtils
|
file |
diff |
annotate
|
Mon, 07 May 2012 11:59:09 +0200 |
koda |
invert LUA symbol meaning and avoid hints when compiling without it
|
file |
diff |
annotate
|
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...
|
file |
diff |
annotate
|
Tue, 01 May 2012 19:56:55 +0200 |
koda |
breaking news, we don't support typed consts anymore
|
file |
diff |
annotate
|
Tue, 24 Apr 2012 23:50:40 +0400 |
unc0rr |
Get rid of overloaded functions in uAmmo
|
file |
diff |
annotate
|
Mon, 26 Mar 2012 20:29:37 -0400 |
nemo |
At mikade's request. give scripting access to the map name prior to override.
|
file |
diff |
annotate
|
Sat, 17 Mar 2012 14:24:43 -0400 |
nemo |
eh. guess they really should be here
|
file |
diff |
annotate
|
Sat, 17 Mar 2012 14:13:16 -0400 |
nemo |
Adding leftX/rightX/topY to simplify determining bounds based on map playing area.
|
file |
diff |
annotate
|
Tue, 13 Mar 2012 12:22:56 -0400 |
nemo |
tweak take 2
|
file |
diff |
annotate
|
Tue, 13 Mar 2012 12:10:48 -0400 |
nemo |
Small tweak to return something more useful in the negative 0 case on dX
|
file |
diff |
annotate
|
Sat, 10 Mar 2012 23:00:39 -0500 |
nemo |
Add div to allow safe integer division from lua
|
file |
diff |
annotate
|
Sat, 10 Mar 2012 16:32:46 -0500 |
nemo |
Recount team health if modifying hedgehog health
|
file |
diff |
annotate
|
Tue, 28 Feb 2012 21:25:36 -0500 |
nemo |
oops
|
file |
diff |
annotate
|
Sun, 26 Feb 2012 15:42:28 -0500 |
nemo |
oops
|
file |
diff |
annotate
|
Sun, 26 Feb 2012 12:45:00 -0500 |
nemo |
make onAmmoStoreInit optional in the case of onNewAmmoStore
|
file |
diff |
annotate
|
Sun, 26 Feb 2012 12:32:48 -0500 |
nemo |
pass indexes for the clan/team/hedgehog
|
file |
diff |
annotate
|
Sun, 26 Feb 2012 11:28:28 -0500 |
nemo |
copypasta fail
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Fri, 17 Feb 2012 18:23:36 +0100 |
koda |
the most important commit of the year
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Sun, 15 Jan 2012 12:40:48 -0500 |
nemo |
Assign ammo counts as well, in case the game flags were changed by the script
|
file |
diff |
annotate
|
Wed, 11 Jan 2012 21:46:06 +0000 |
enveezee |
Push RopePercent to lua to fix rope if not set
|
file |
diff |
annotate
|
Sat, 31 Dec 2011 01:52:14 +0300 |
unc0rr |
Fix build
|
file |
diff |
annotate
|
Mon, 12 Dec 2011 19:23:05 +0100 |
Henek |
added SetAmmoStore to lua for convinience
|
file |
diff |
annotate
|
Sun, 11 Dec 2011 14:52:02 +0100 |
Henek |
enable lua to also set rope length percent
|
file |
diff |
annotate
|
Fri, 30 Dec 2011 13:54:39 +0400 |
unc0rr |
Start refactoring uGears. Breaks build.
|
file |
diff |
annotate
|
Sun, 27 Nov 2011 23:13:22 +0300 |
unc0rr |
Countless imporvements to the parser and countless help to the parser in sources.
|
file |
diff |
annotate
|
Sat, 26 Nov 2011 11:37:25 +0100 |
koda |
fix compiling with LUA_DISABLED
|
file |
diff |
annotate
|
Thu, 24 Nov 2011 16:18:45 +0100 |
koda |
GSoC 2011: Android port - merged mainstream
|
file |
diff |
annotate
|
Mon, 14 Nov 2011 18:08:36 -0500 |
nemo |
Remove a bunch of unnecessary nil checks. FreeTexture does its own nil check.
|
file |
diff |
annotate
|
Sun, 13 Nov 2011 12:45:54 -0500 |
nemo |
oops
0.9.17
|
file |
diff |
annotate
|
Sat, 12 Nov 2011 21:44:26 -0500 |
nemo |
this should allow overriding static maps from lua
|
file |
diff |
annotate
|
Sat, 12 Nov 2011 17:06:49 +0100 |
Xeli |
merge...i think
hedgeroid
|
file |
diff |
annotate
|
Wed, 09 Nov 2011 22:21:05 -0500 |
nemo |
fix map/template override, remove some pointless command calls
|
file |
diff |
annotate
|
Fri, 28 Oct 2011 18:26:17 +0200 |
koda |
one dangerous merge
hedgeroid
|
file |
diff |
annotate
|
Sun, 16 Oct 2011 21:03:30 +0200 |
koda |
merge the changes applied to 0.9.16
|
file |
diff |
annotate
|
Sun, 09 Oct 2011 20:03:04 -0400 |
nemo |
expose border color to lua
|
file |
diff |
annotate
|
Thu, 06 Oct 2011 00:11:55 +0400 |
unc0rr |
- Frontend: don't pass /script for missions
|
file |
diff |
annotate
|
Mon, 26 Sep 2011 21:29:40 -0400 |
nemo |
this needs to actually return something
|
file |
diff |
annotate
|
Sun, 25 Sep 2011 18:24:01 +0200 |
Xeli |
merge
hedgeroid
|
file |
diff |
annotate
|
Sat, 24 Sep 2011 22:35:31 +0200 |
koda |
warnings round also for ios
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Mon, 19 Sep 2011 14:17:33 -0400 |
nemo |
return nil for position if no gear
|
file |
diff |
annotate
|
Fri, 16 Sep 2011 18:17:16 +0200 |
Xeli |
merge
hedgeroid
|
file |
diff |
annotate
|
Wed, 14 Sep 2011 18:05:54 +0200 |
mikade |
Revert currently unneccessary changes to uScript.
|
file |
diff |
annotate
|
Wed, 14 Sep 2011 17:52:46 +0200 |
mikade |
merge
|
file |
diff |
annotate
|
Wed, 14 Sep 2011 15:23:40 +0200 |
mikade |
Expose some vars for tracking the border.
|
file |
diff |
annotate
|
Wed, 14 Sep 2011 17:17:50 +0200 |
sheepluva |
lua: boolean TestRectForObstacle(x1, y1, x2, y2, landOnly)
|
file |
diff |
annotate
|
Fri, 09 Sep 2011 15:36:30 +0200 |
sheepluva |
Scripting: Update screen dimensions on screen resize and introduce onScreenResize() event.
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Mon, 29 Aug 2011 19:28:45 -0400 |
nemo |
Check for nil from SpawnCustomCrate
|
file |
diff |
annotate
|
Wed, 24 Aug 2011 17:55:39 -0400 |
nemo |
oops
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Wed, 24 Aug 2011 12:34:37 +0200 |
= Xeli |
merg with the latest rev of 22nd (end of GSoC)
hedgeroid
|
file |
diff |
annotate
|
Sun, 21 Aug 2011 22:20:20 +0200 |
Xeli |
merge
hedgeroid
|
file |
diff |
annotate
|
Sun, 21 Aug 2011 19:29:04 -0400 |
nemo |
Try to avoid overlapping voices for major statements (not things like byebye or oof)
|
file |
diff |
annotate
|
Sat, 20 Aug 2011 16:43:57 -0400 |
nemo |
This really should have been a TPoint for consistency
|
file |
diff |
annotate
|
Wed, 17 Aug 2011 12:32:40 +0200 |
Xeli |
merge
hedgeroid
|
file |
diff |
annotate
|
Tue, 16 Aug 2011 21:37:10 -0400 |
nemo |
At mikade's request, expose screenheight/screenwidth and allow setting tag zoom level
|
file |
diff |
annotate
|
Mon, 15 Aug 2011 21:49:09 +0200 |
Xeli |
merge
hedgeroid
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Fri, 12 Aug 2011 14:09:08 -0400 |
nemo |
extend the workaround. FIXME still applies
|
file |
diff |
annotate
|
Fri, 12 Aug 2011 13:15:30 -0400 |
nemo |
oops. accidentaly committed test move of voice line (the FIXME still applies though)
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Thu, 11 Aug 2011 15:03:21 +0200 |
Xeli |
merge
hedgeroid
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Tue, 09 Aug 2011 21:41:52 +0200 |
Xeli |
merge
hedgeroid
|
file |
diff |
annotate
|
Tue, 09 Aug 2011 21:18:12 -0400 |
nemo |
return visual gear in hogsay
|
file |
diff |
annotate
|
Mon, 08 Aug 2011 13:43:24 -0400 |
nemo |
gear state flag names for scripting
|
file |
diff |
annotate
|
Sun, 07 Aug 2011 12:40:14 -0400 |
nemo |
Expose TargetX/TargetY to scripting
|
file |
diff |
annotate
|
Thu, 04 Aug 2011 17:44:55 +0200 |
Xeli |
merge
hedgeroid
|
file |
diff |
annotate
|
Mon, 01 Aug 2011 13:29:01 -0400 |
nemo |
add getter for effects. untested.
|
file |
diff |
annotate
|
Wed, 06 Jul 2011 14:38:06 +0200 |
Xeli |
small fix to have LUA_DISABLED working again
hedgeroid
|
file |
diff |
annotate
|
Fri, 01 Jul 2011 10:38:00 +0400 |
unc0rr |
Merge
|
file |
diff |
annotate
|
Thu, 30 Jun 2011 15:09:10 +0400 |
unc0rr |
Tiny optimization: convert smooth wind indicator change gear into visual gear
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Tue, 28 Jun 2011 21:28:13 +0200 |
Henek |
fake crates now with complementary poison
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Tue, 21 Jun 2011 20:49:47 +0200 |
mikade |
PianoStrike exploit fix for Capture The Flag.
|
file |
diff |
annotate
|
Mon, 20 Jun 2011 18:58:26 -0400 |
nemo |
Allow scripting to set arbitrary weapon counts
|
file |
diff |
annotate
|
Thu, 16 Jun 2011 23:45:17 +0200 |
mikade |
Fully playable version of Space Invasion (fingers crossed). No bugs known.
|
file |
diff |
annotate
|
Tue, 14 Jun 2011 16:50:41 -0400 |
nemo |
check alternate script loading path
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Fri, 08 Apr 2011 11:40:18 +0200 |
sheepluva |
comments
|
file |
diff |
annotate
|
Thu, 07 Apr 2011 14:13:11 -0400 |
nemo |
redundant now
|
file |
diff |
annotate
|
Thu, 07 Apr 2011 11:30:56 -0400 |
nemo |
For mikade - bit more flexibility in script captions
|
file |
diff |
annotate
|
Tue, 29 Mar 2011 20:10:56 -0400 |
nemo |
not useful for visual gears, and apparently not helpful for consistency
|
file |
diff |
annotate
|
Tue, 29 Mar 2011 18:06:39 -0400 |
nemo |
eh. 1,000,000 might be better...
|
file |
diff |
annotate
|
Tue, 29 Mar 2011 17:57:04 -0400 |
nemo |
oops. vg dX/dY - just for consistency
|
file |
diff |
annotate
|
Tue, 29 Mar 2011 17:52:04 -0400 |
nemo |
dX/dY will return int * 100,000
|
file |
diff |
annotate
|
Sat, 26 Mar 2011 22:49:38 +0100 |
koda |
fix a couple of loose ends
|
file |
diff |
annotate
|
Thu, 17 Mar 2011 23:11:48 +0100 |
Henek |
added game mode Tag Team, mostly untested, please test :)
|
file |
diff |
annotate
|
Wed, 16 Mar 2011 17:25:05 +0100 |
Henek |
added GetCurAmmoType to lua
|
file |
diff |
annotate
|
Sat, 05 Mar 2011 13:07:02 +0100 |
Henek |
added PlaceGirder to lua
|
file |
diff |
annotate
|
Wed, 02 Mar 2011 00:27:20 +0100 |
koda |
Happy 2011 :)
|
file |
diff |
annotate
|
Mon, 31 Jan 2011 21:59:59 +0100 |
Henek |
make Random Weapons and No Jumping use the new custom goal function
|
file |
diff |
annotate
|
Sun, 30 Jan 2011 19:02:32 -0500 |
nemo |
oops 2
|
file |
diff |
annotate
|
Sun, 30 Jan 2011 18:49:55 -0500 |
nemo |
oops
|
file |
diff |
annotate
|
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.
|
file |
diff |
annotate
|
Sat, 29 Jan 2011 21:16:09 +0100 |
Henek |
added dummy for tardis and ugly icons for tardis and structure
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Fri, 28 Jan 2011 03:30:14 +0100 |
sheepluva |
lua: getter and setter for hedgehog hats
|
file |
diff |
annotate
|
Sat, 22 Jan 2011 22:31:05 +0100 |
Henek |
added GetGearRaduis and minor Tracker things
|
file |
diff |
annotate
|
Mon, 17 Jan 2011 20:22:15 -0500 |
nemo |
SwitchHog in scripting
|
file |
diff |
annotate
|
Tue, 18 Jan 2011 00:12:39 +0100 |
koda |
code cleanup
|
file |
diff |
annotate
|
Mon, 10 Jan 2011 19:15:12 -0500 |
nemo |
update collision in set gear position
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
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)
|
file |
diff |
annotate
|
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).
|
file |
diff |
annotate
|