2012-03-27 |
nemo |
At mikade's request. give scripting access to the map name prior to override.
|
file |
diff |
annotate
|
2012-03-17 |
nemo |
eh. guess they really should be here
|
file |
diff |
annotate
|
2012-03-17 |
nemo |
Adding leftX/rightX/topY to simplify determining bounds based on map playing area.
|
file |
diff |
annotate
|
2012-03-13 |
nemo |
tweak take 2
|
file |
diff |
annotate
|
2012-03-13 |
nemo |
Small tweak to return something more useful in the negative 0 case on dX
|
file |
diff |
annotate
|
2012-03-11 |
nemo |
Add div to allow safe integer division from lua
|
file |
diff |
annotate
|
2012-03-10 |
nemo |
Recount team health if modifying hedgehog health
|
file |
diff |
annotate
|
2012-02-29 |
nemo |
oops
|
file |
diff |
annotate
|
2012-02-26 |
nemo |
oops
|
file |
diff |
annotate
|
2012-02-26 |
nemo |
make onAmmoStoreInit optional in the case of onNewAmmoStore
|
file |
diff |
annotate
|
2012-02-26 |
nemo |
pass indexes for the clan/team/hedgehog
|
file |
diff |
annotate
|
2012-02-26 |
nemo |
copypasta fail
|
file |
diff |
annotate
|
2012-02-26 |
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
|
2012-02-17 |
koda |
the most important commit of the year
|
file |
diff |
annotate
|
2012-01-17 |
lovelacer |
A partial reformatting of the pascal code to have consistent syntax. Things that are still inconsistent.
|
file |
diff |
annotate
|
2012-01-16 |
nemo |
Also allow lua to change gfPerHogAmmo/gfSharedAmmo even if lua does not define new ammo stores
|
file |
diff |
annotate
|
2012-01-15 |
nemo |
Assign ammo counts as well, in case the game flags were changed by the script
|
file |
diff |
annotate
|
2012-01-11 |
enveezee |
Push RopePercent to lua to fix rope if not set
|
file |
diff |
annotate
|
2011-12-30 |
unc0rr |
Fix build
|
file |
diff |
annotate
|
2011-12-12 |
Henek |
added SetAmmoStore to lua for convinience
|
file |
diff |
annotate
|
2011-12-11 |
Henek |
enable lua to also set rope length percent
|
file |
diff |
annotate
|
2011-12-30 |
unc0rr |
Start refactoring uGears. Breaks build.
|
file |
diff |
annotate
|
2011-11-27 |
unc0rr |
Countless imporvements to the parser and countless help to the parser in sources.
|
file |
diff |
annotate
|
2011-11-26 |
koda |
fix compiling with LUA_DISABLED
|
file |
diff |
annotate
|
2011-11-24 |
koda |
GSoC 2011: Android port - merged mainstream
|
file |
diff |
annotate
|
2011-11-14 |
nemo |
Remove a bunch of unnecessary nil checks. FreeTexture does its own nil check.
|
file |
diff |
annotate
|
2011-11-13 |
nemo |
oops
0.9.17
|
file |
diff |
annotate
|
2011-11-13 |
nemo |
this should allow overriding static maps from lua
|
file |
diff |
annotate
|
2011-11-12 |
Xeli |
merge...i think
hedgeroid
|
file |
diff |
annotate
|
2011-11-10 |
nemo |
fix map/template override, remove some pointless command calls
|
file |
diff |
annotate
|
2011-10-28 |
koda |
one dangerous merge
hedgeroid
|
file |
diff |
annotate
|
2011-10-16 |
koda |
merge the changes applied to 0.9.16
|
file |
diff |
annotate
|
2011-10-10 |
nemo |
expose border color to lua
|
file |
diff |
annotate
|
2011-10-05 |
unc0rr |
- Frontend: don't pass /script for missions
|
file |
diff |
annotate
|
2011-09-27 |
nemo |
this needs to actually return something
|
file |
diff |
annotate
|
2011-09-25 |
Xeli |
merge
hedgeroid
|
file |
diff |
annotate
|
2011-09-24 |
koda |
warnings round also for ios
|
file |
diff |
annotate
|
2011-09-25 |
nemo |
merge from default. Pulls in sheepluva's frontend work, and unbreaks engine cmake.
0.9.16
|
file |
diff |
annotate
|
2011-09-19 |
nemo |
return nil for position if no gear
|
file |
diff |
annotate
|
2011-09-16 |
Xeli |
merge
hedgeroid
|
file |
diff |
annotate
|
2011-09-14 |
mikade |
Revert currently unneccessary changes to uScript.
|
file |
diff |
annotate
|
2011-09-14 |
mikade |
merge
|
file |
diff |
annotate
|
2011-09-14 |
mikade |
Expose some vars for tracking the border.
|
file |
diff |
annotate
|
2011-09-14 |
sheepluva |
lua: boolean TestRectForObstacle(x1, y1, x2, y2, landOnly)
|
file |
diff |
annotate
|
2011-09-09 |
sheepluva |
Scripting: Update screen dimensions on screen resize and introduce onScreenResize() event.
|
file |
diff |
annotate
|
2011-09-01 |
Xeli |
merge + changed the tardis image to egg.png because the data folder isn't up to date
hedgeroid
|
file |
diff |
annotate
|
2011-08-29 |
nemo |
Check for nil from SpawnCustomCrate
|
file |
diff |
annotate
|
2011-08-24 |
nemo |
oops
|
file |
diff |
annotate
|
2011-08-24 |
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
|
2011-08-24 |
= Xeli |
merg with the latest rev of 22nd (end of GSoC)
hedgeroid
|
file |
diff |
annotate
|
2011-08-21 |
Xeli |
merge
hedgeroid
|
file |
diff |
annotate
|
2011-08-21 |
nemo |
Try to avoid overlapping voices for major statements (not things like byebye or oof)
|
file |
diff |
annotate
|
2011-08-20 |
nemo |
This really should have been a TPoint for consistency
|
file |
diff |
annotate
|
2011-08-17 |
Xeli |
merge
hedgeroid
|
file |
diff |
annotate
|
2011-08-17 |
nemo |
At mikade's request, expose screenheight/screenwidth and allow setting tag zoom level
|
file |
diff |
annotate
|
2011-08-15 |
Xeli |
merge
hedgeroid
|
file |
diff |
annotate
|
2011-08-12 |
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
|
2011-08-12 |
nemo |
extend the workaround. FIXME still applies
|
file |
diff |
annotate
|
2011-08-12 |
nemo |
oops. accidentaly committed test move of voice line (the FIXME still applies though)
|
file |
diff |
annotate
|
2011-08-12 |
nemo |
sheepluva pointed out there are 2 StrPas in pascal, in different units. Do conversion in LuaPas instead
|
file |
diff |
annotate
|
2011-08-11 |
Xeli |
merge
hedgeroid
|
file |
diff |
annotate
|
2011-08-12 |
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
|
2011-08-09 |
Xeli |
merge
hedgeroid
|
file |
diff |
annotate
|
2011-08-10 |
nemo |
return visual gear in hogsay
|
file |
diff |
annotate
|
2011-08-08 |
nemo |
gear state flag names for scripting
|
file |
diff |
annotate
|
2011-08-07 |
nemo |
Expose TargetX/TargetY to scripting
|
file |
diff |
annotate
|
2011-08-04 |
Xeli |
merge
hedgeroid
|
file |
diff |
annotate
|
2011-08-01 |
nemo |
add getter for effects. untested.
|
file |
diff |
annotate
|
2011-07-06 |
Xeli |
small fix to have LUA_DISABLED working again
hedgeroid
|
file |
diff |
annotate
|
2011-07-01 |
unc0rr |
Merge
|
file |
diff |
annotate
|
2011-06-30 |
unc0rr |
Tiny optimization: convert smooth wind indicator change gear into visual gear
|
file |
diff |
annotate
|
2011-06-29 |
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
|
2011-06-28 |
Henek |
fake crates now with complementary poison
|
file |
diff |
annotate
|
2011-06-26 |
Henek |
now scripts can create unique crates: dummy (empty) crates and booby traps. scripts can also set health crate values
|
file |
diff |
annotate
|
2011-06-21 |
mikade |
PianoStrike exploit fix for Capture The Flag.
|
file |
diff |
annotate
|
2011-06-20 |
nemo |
Allow scripting to set arbitrary weapon counts
|
file |
diff |
annotate
|
2011-06-16 |
mikade |
Fully playable version of Space Invasion (fingers crossed). No bugs known.
|
file |
diff |
annotate
|
2011-06-14 |
nemo |
check alternate script loading path
|
file |
diff |
annotate
|
2011-06-13 |
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
|
2011-04-08 |
sheepluva |
comments
|
file |
diff |
annotate
|
2011-04-07 |
nemo |
redundant now
|
file |
diff |
annotate
|
2011-04-07 |
nemo |
For mikade - bit more flexibility in script captions
|
file |
diff |
annotate
|
2011-03-30 |
nemo |
not useful for visual gears, and apparently not helpful for consistency
|
file |
diff |
annotate
|
2011-03-29 |
nemo |
eh. 1,000,000 might be better...
|
file |
diff |
annotate
|
2011-03-29 |
nemo |
oops. vg dX/dY - just for consistency
|
file |
diff |
annotate
|
2011-03-29 |
nemo |
dX/dY will return int * 100,000
|
file |
diff |
annotate
|
2011-03-26 |
koda |
fix a couple of loose ends
|
file |
diff |
annotate
|
2011-03-17 |
Henek |
added game mode Tag Team, mostly untested, please test :)
|
file |
diff |
annotate
|
2011-03-16 |
Henek |
added GetCurAmmoType to lua
|
file |
diff |
annotate
|
2011-03-05 |
Henek |
added PlaceGirder to lua
|
file |
diff |
annotate
|
2011-03-01 |
koda |
Happy 2011 :)
|
file |
diff |
annotate
|
2011-01-31 |
Henek |
make Random Weapons and No Jumping use the new custom goal function
|
file |
diff |
annotate
|
2011-01-31 |
nemo |
oops 2
|
file |
diff |
annotate
|
2011-01-30 |
nemo |
oops
|
file |
diff |
annotate
|
2011-01-30 |
nemo |
Reset things using team colour on change in SetClanColor in lua. This routine had better have been worth it.
|
file |
diff |
annotate
|
2011-01-29 |
Henek |
added dummy for tardis and ugly icons for tardis and structure
|
file |
diff |
annotate
|
2011-01-29 |
nemo |
expose set clan color for Cairo. might also be useful for betrayals in campaign mode or somesuch
|
file |
diff |
annotate
|
2011-01-28 |
sheepluva |
lua: getter and setter for hedgehog hats
|
file |
diff |
annotate
|
2011-01-22 |
Henek |
added GetGearRaduis and minor Tracker things
|
file |
diff |
annotate
|
2011-01-18 |
nemo |
SwitchHog in scripting
|
file |
diff |
annotate
|
2011-01-17 |
koda |
code cleanup
|
file |
diff |
annotate
|
2011-01-11 |
nemo |
update collision in set gear position
|
file |
diff |
annotate
|
2010-12-29 |
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
|
2010-12-29 |
nemo |
return nil values if an invalid visual gear is passed to the get, add a check in Control map lua
|
file |
diff |
annotate
|
2010-12-26 |
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
|
2010-12-22 |
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
|
2010-12-21 |
Henek |
added MapHasBorder function for lua and finnished Random Weapons gameplay, might still change though
|
file |
diff |
annotate
|
2010-12-16 |
nemo |
oops, forgot world offset, also add a kind of hack to the already hackish set function for visual gears
|
file |
diff |
annotate
|
2010-12-15 |
nemo |
add optional state parameter to hogsay
|
file |
diff |
annotate
|
2010-12-14 |
nemo |
oops. forgot the getter.
|
file |
diff |
annotate
|
2010-12-14 |
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.
|
file |
diff |
annotate
|
2010-12-13 |
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.
|
file |
diff |
annotate
|
2010-12-13 |
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
|
file |
diff |
annotate
|
2010-12-10 |
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.
|
file |
diff |
annotate
|
2010-12-10 |
nemo |
return RGBA
|
file |
diff |
annotate
|
2010-12-10 |
nemo |
clan color fetch
|
file |
diff |
annotate
|
2010-12-09 |
nemo |
add missing setter for botlevel
|
file |
diff |
annotate
|
2010-12-08 |
nemo |
these should probably be expressly integer
|
file |
diff |
annotate
|
2010-12-08 |
nemo |
band/bor/bnot to support Lua 5.1 lack of binary ops
|
file |
diff |
annotate
|
2010-12-08 |
nemo |
Eh. Since you asked. AddAmmo hook for Lua
|
file |
diff |
annotate
|
2010-12-04 |
nemo |
add nil check
|
file |
diff |
annotate
|
2010-12-03 |
nemo |
add visual gear registration
|
file |
diff |
annotate
|
2010-12-03 |
nemo |
forgot the passed in uid
|
file |
diff |
annotate
|
2010-12-02 |
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
|
file |
diff |
annotate
|
2010-11-22 |
Henek |
fix SetEffect, last parameter was not a boolean
|
file |
diff |
annotate
|
2010-11-21 |
unc0rr |
uDebug
|
file |
diff |
annotate
|
2010-11-21 |
Henek |
fix key binds for lua created teams and added wind control
|
file |
diff |
annotate
|
2010-11-21 |
unc0rr |
uCaptions
|
file |
diff |
annotate
|
2010-11-18 |
unC0Rr |
Haven't found a better place than uIO for OutError
|
file |
diff |
annotate
|
2010-11-18 |
unC0Rr |
Move some stuff from uMisc to uUtils
|
file |
diff |
annotate
|
2010-11-18 |
unC0Rr |
Introduce uCommands.pas
|
file |
diff |
annotate
|
2010-11-18 |
nemo |
remove some more PHedgehog casts
|
file |
diff |
annotate
|
2010-11-17 |
unc0rr |
Some more
|
file |
diff |
annotate
|
2010-11-17 |
unc0rr |
uTeams
|
file |
diff |
annotate
|
2010-11-17 |
unC0Rr |
Move variables from uMisc to uVariables
|
file |
diff |
annotate
|
2010-11-17 |
unC0Rr |
Introduce unit uTypes in order to remove some cyclic unit dependencies
|
file |
diff |
annotate
|
2010-11-13 |
Henek |
clean up and lua update, very minor
|
file |
diff |
annotate
|
2010-11-11 |
Henek |
added getrandom and addcaption to lua
|
file |
diff |
annotate
|
2010-11-10 |
Henek |
added function GetHogTeamName to lua, makes TeamsCount more useful
|
file |
diff |
annotate
|
2010-11-10 |
Henek |
added TeamsCount and TotalTurns to lua as requested by mikade
|
file |
diff |
annotate
|
2010-11-08 |
Henek |
added missing game modifiers to lua
|
file |
diff |
annotate
|
2010-11-08 |
Henek |
fix so gfDisableWind can infact be used in lua
|
file |
diff |
annotate
|
2010-11-07 |
Henek |
update and fix some lua stuff
|
file |
diff |
annotate
|
2010-10-28 |
koda |
disable gfMines and update variable names (landadds -> minesnum, cLandAdditions -> cLandMines)
|
file |
diff |
annotate
|
2010-10-26 |
koda |
restore king mode
|
file |
diff |
annotate
|
2010-10-12 |
smaxx |
(none)
|
file |
diff |
annotate
|
2010-09-30 |
smaxx |
Engine/Frontend:
|
file |
diff |
annotate
|
2010-09-26 |
koda |
enable Lua for iOS (hooks for frontend to be done)
|
file |
diff |
annotate
|
2010-09-22 |
smaxx |
Engine:
|
file |
diff |
annotate
|
2010-09-22 |
smaxx |
Engine:
|
file |
diff |
annotate
|
2010-09-22 |
smaxx |
Engine:
|
file |
diff |
annotate
|
2010-09-10 |
smaxx |
Engine:
|
file |
diff |
annotate
|
2010-09-06 |
nemo |
Change all use of curslot/idx to CurAmmoType to try and avoid some bugs with use of last weapon.
|
file |
diff |
annotate
|
2010-08-26 |
smaxx |
Engine:
|
file |
diff |
annotate
|
2010-08-26 |
smaxx |
Engine:
|
file |
diff |
annotate
|
2010-08-23 |
smaxx |
Engine:
|
file |
diff |
annotate
|
2010-08-23 |
burp |
lua function SetEffect to set and remove THogEffects
|
file |
diff |
annotate
|
2010-08-23 |
burp |
GetHogLevel lua function
|
file |
diff |
annotate
|
2010-08-21 |
burp |
SpawnCustomCrateAt: spawn crate at random position for x=y=0, also let it return the gear, and luabindings the gear uid
|
file |
diff |
annotate
|
2010-08-12 |
smaxx |
Engine:
|
file |
diff |
annotate
|
2010-08-10 |
burp |
* SpawnCustomCrateAt procedure + lua bindings
|
file |
diff |
annotate
|
2010-08-06 |
smaxx |
Engine:
|
file |
diff |
annotate
|
2010-08-04 |
smaxx |
Engine:
|
file |
diff |
annotate
|
2010-08-04 |
smaxx |
Engine:
|
file |
diff |
annotate
|
2010-08-04 |
smaxx |
Engine:
|
file |
diff |
annotate
|
2010-07-31 |
koda |
remove trailing spaces from end of line
|
file |
diff |
annotate
|
2010-06-23 |
smaxx |
General:
|
file |
diff |
annotate
|
2010-05-02 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-04-25 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-04-16 |
smxx |
Engine/Frontend:
|
file |
diff |
annotate
|
2010-04-12 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-04-02 |
sheepluva |
* add some kind of SniperRifle training mission
|
file |
diff |
annotate
|
2010-03-31 |
smxx |
General:
|
file |
diff |
annotate
|
2010-03-30 |
smxx |
Maps:
|
file |
diff |
annotate
|
2010-03-24 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-03-22 |
unc0rr |
Clean Augean stables
|
file |
diff |
annotate
|
2010-03-22 |
nemo |
Just tidying up a bit. Comments, moving uMisc to end of frees in case ones above it need logging
|
file |
diff |
annotate
|
2010-03-21 |
unc0rr |
In pascal unit is a namespace
|
file |
diff |
annotate
|
2010-03-21 |
koda |
fix a rotation glitch
|
file |
diff |
annotate
|
2010-03-16 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-03-16 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-03-15 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-03-14 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-03-14 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-03-06 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-03-06 |
unc0rr |
Replace tabs with spaces using 'expand -t 4' command
|
file |
diff |
annotate
|
2010-03-03 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-03-01 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-02-25 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-02-15 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-02-10 |
koda |
add a new way to fetch version info from pascal to c
|
file |
diff |
annotate
|
2010-02-10 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-02-10 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-02-10 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-02-10 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-02-10 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-02-10 |
smxx |
Engine:
|
file |
diff |
annotate
|
2010-02-10 |
smxx |
Engine:
|
file |
diff |
annotate
|