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
|