Commit graph

22 commits

Author SHA1 Message Date
Walter Julius Hennecke
bfc137ff2e Updates to multiple headers 2014-10-27 22:18:33 +01:00
Walter Julius Hennecke
38c6a7a8c8 moved function declarations of game syscalls to own header 2014-10-09 20:15:26 +02:00
Walter Julius Hennecke
354093267d Removed commented and unused code. 2014-03-14 18:51:13 +01:00
Walter Julius Hennecke
2763fd4b8d Updates to g_cmds.c 2014-02-21 19:17:10 +01:00
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
97f3cb7eba More updates and work on sound zones for global sounds ...
... not what I want it to be but I need a break.
2013-07-21 15:24:57 +02:00
Walter Julius Hennecke
cf7a1fe666 removed stray ; 2013-05-17 20:22:08 +02:00
Walter Julius Hennecke
dc3f69b166 Lua documentation and function update 2013-05-10 20:39:46 +02:00
Walter Julius Hennecke
99aa43a25d Lua documentation and function update 2013-05-10 00:07:14 +02:00
Walter Julius Hennecke
e887081261 Code reformating 2013-05-09 01:59:07 +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
c989308ace Updated lua functions 2013-04-13 22:09:41 +02:00
Walter Julius Hennecke
13c5c5aaa0 Updated lua functions 2013-04-13 20:33:23 +02:00
Walter Julius Hennecke
07d0310b3f Updated some lua functions 2013-04-13 18:48:32 +02:00
Walter Julius Hennecke
42820d681f Updated some lua functions 2013-04-13 02:31:45 +02:00
Walter Julius Hennecke
1e8e349d2b Fixes resulting from code analysis 2013-04-13 01:34:37 +02:00
Harry Young
75ec1fce7b Finished work on entity definitions update!
On the way merged target_postiton with info_notnull
Also added a failsafe to target_selfdestruct so it can only be commandspawned

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-27 22:57:55 +01:00
Harry Young
b9b61d2955 3 new lua-functions and updated definitions.
*entity.FindMMB(vector origin) that will loop trougt all MMB's and return the one that is matching the input with it's s.origin
*qmath.irandom(int i, int j) and qmath.flrandom(float i, float j) that are returning a random number of their type within the intervall specified by i and j
*started redesigning all the definitions. I'll get back to this once I'm back from work in 4 hrs or so.

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-14 10:09:28 +01:00
Harry Young
a110797862 Added repairability to MMBRefit
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-13 17:23:43 +01:00
Harry Young
ed2201873e finished work on Borg-MMBRefit
(had I known only the vinculum was left, lol ^^)

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-10 10:45:47 +01:00
Harry Young
f8ecd98012 Lua Stuff
fixed a bug in game.print that would not make the string appear
added a new function entity.MMBRefit that will fit misc_model_breakables on SP maps only (made sure of that) with splashDamage, splashRadius and material/s.powerups
I will extend and tune this one as nessessary for other models
The Borg Maps already make use of this new feature, along with some minor fixes.

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-10 02:42:10 +01: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