Commit graph

5 commits

Author SHA1 Message Date
Walter Julius Hennecke
8ca34a6df1 Mutliple changes
- added new lua hook LuaHook_CmdScriptCall
- added new g_developer enabled command scrip_call that can call a lua
function in a script (only functions without arguments)
- added lua functions GetAngles and SetAngles to lua_entity
- added lua functions X, Y, Z, SetX, SetY, SetZ to lua_vector
2013-11-15 22:13:01 +01:00
Walter Julius Hennecke
e887081261 Code reformating 2013-05-09 01:59:07 +02:00
Walter Julius Hennecke
9eb592fb58 Updated lua functions and lua documentation ...
ATTENTION PLEASE NOTE THAT THE FOLLOWING LUA FUNCTIONS HAVE CHANGED:
vector.Set(vec,x,y,z) -> vector:Set(x,y,z)
vector.Length(vec) -> vector:Length()
vector.Normalize(vec) -> vector:Normalize()
vector.NormalizeFast(vec) -> vector:NormalizeFast()
vector.Add(a, b, result) -> vector:Add(b) returning result
vector.Subtract(a, b, result) -> vector:Subtract(b) returning result
vector.Scale(a, scale_factor, result) ->  vector:Scale(scale_factor)
returning result
vector.Clear(vec) -> vector:Clear()
YOU MIGHT HAVE TO ADJUST YOUR LUA CODE ACORDINGLY!
2013-05-09 01:32:38 +02:00
Walter Julius Hennecke
8cf010bef4 Lua documentation update and config.ld for LDoc 2013-04-29 23:45:53 +02:00
Walter Julius Hennecke
a39565b783 Integrated RPG-X2 rpgxEF edition into the rpgxEF repo
... not quite content with where the project files lie but it is ok for
now.
... compiling works fine so far (only tested mingw32 right now)
2012-08-04 12:54:37 +02:00