Patman64
e2f81b7336
Make the Eluna mutex static.
...
It was previously unsafe to reload Eluna because it had to be reloaded
with the mutex unlocked. This is because the mutex's lifespan was shorter
than the Eluna instance it was guarding.
2015-01-05 22:50:51 -05:00
Patman64
1678b3e40f
Invalidate ElunaObjects after hook calls.
2015-01-05 21:24:55 -05:00
Patman64
1194074fb2
Simplify ReplaceArgument.
2015-01-05 21:20:14 -05:00
Rochet2
0e7367e23d
Fix hookmgr rewrite
...
Fix:
- crash on reload
- crash on error in call
- a warning from type change
2015-01-05 16:38:19 +02:00
Patman64
2ff25ee205
Fix getting results from event handlers.
2015-01-04 22:31:51 -05:00
Patman64
4349a80d8e
Allow updating argument values between handler calls.
...
This allows handlers that return values to see the returned values of previous
handlers. E.g. if Handler A modifies the value from 10 to 20, Handler B
will receive 20 as an argument instead of the original 10.
2015-01-04 21:38:18 -05:00
Patman64
717d1b698d
Re-write HookMgr macros into functions and clean-up HookMgr.cpp.
2015-01-04 20:30:31 -05:00
Rochet2
00cd909d4c
Merge pull request #135 from ElunaLuaEngine/mutexlock
...
Eluna add mutex lock for hook calls
Needed for packet hooks.
Packet hooks will get some changes soon.
2015-01-04 11:59:16 +02:00
Rochet2
092c61c20b
Eluna add mutex lock for hook calls
2015-01-03 22:20:30 +02:00
Rochet2
5bf5b11c6f
Change doc copyright
2015-01-02 19:59:49 +02:00
Tommy
803a835668
Happy New Year 2015
2015-01-01 13:59:33 -05:00
Rochet2
dfca1c67f2
Eluna fix reload crash and add more asserts
2014-12-26 01:30:48 +02:00
Rochet2
5330a3d9b9
Eluna Clean part of old code off
2014-12-24 00:49:28 +02:00
Rochet2
07d25f5031
Eluna Fix static analysis noted warnings and errors
2014-12-23 23:21:13 +02:00
Foereaper
36e8704853
Merge branch 'master' of https://github.com/elunaluaengine/eluna
2014-12-23 15:06:45 +01:00
Foereaper
6a407404ec
Reimplement a few methods
2014-12-23 15:06:24 +01:00
Patman64
9c63124205
Merge branch 'clear_events'
2014-12-23 00:41:08 -05:00
Foereaper
b76ffff56d
Updated team list
2014-12-23 02:01:19 +01:00
Foereaper
1271d6bc92
Added Method source group
2014-12-23 01:23:30 +01:00
Foereaper
40dd00f570
Fixes shutdown error for Mangos
2014-12-23 00:46:06 +01:00
Rochet2
66a624d5db
Fix item not working with gossip
...
Thanks @ak47sigh
2014-12-22 22:58:17 +02:00
Patman64
aa151da561
Improve Spell documentation.
2014-12-22 01:06:17 -05:00
Patman64
68df5d74fa
Improve WorldPacket documentation.
2014-12-22 00:57:57 -05:00
Patman64
3a83b8073b
Improve Map method documentation.
2014-12-22 00:57:47 -05:00
Patman64
340fe17f4f
Add Object method documentation and drop Object:UpdateUInt32.
...
UpdateUInt32 appears to be a deprecated method and isn't used anywhere
else in CMaNGOS. SetUInt32 should be used instead.
2014-12-22 00:30:22 -05:00
Foereaper
9e196581c2
Added temporary link to LuaFunctions documentation
2014-12-22 06:25:05 +01:00
Foereaper
8238ac05ca
Merge branch 'master' of https://github.com/elunaluaengine/eluna
2014-12-22 04:55:08 +01:00
Foereaper
7ce8db73b9
First part of Player documentation
2014-12-22 04:54:45 +01:00
Patman64
bce49b99e2
Add documentation of ElunaQuery and drop GetCString method.
...
From the Lua user's perspective there was no difference between GetString
and GetCString, so GetCString was dropped to reduce redundancy.
2014-12-21 22:06:45 -05:00
Patman64
bb0204a530
Improve description of Creatures in documentation.
2014-12-21 22:06:30 -05:00
Patman64
04c2d3edf1
Improve Corpse method documentation.
2014-12-21 21:23:53 -05:00
Patman64
289aec2c04
Update documentation standard.
2014-12-21 21:08:19 -05:00
Patman64
2fba7cc4f5
Improve BattleGround method documentation.
2014-12-21 20:52:56 -05:00
Patman64
0498e98fc6
Improve global function documentation.
2014-12-21 20:45:55 -05:00
Patman64
ce53dfb25b
Improve support for variable args in documentation.
...
Now prototypes are automatically generated with/without default arguments,
to better illustrate that they are optional.
2014-12-21 20:45:55 -05:00
Rochet2
c936555fbd
Merge branch 'master' of https://github.com/ElunaLuaEngine/Eluna
2014-12-22 00:34:10 +02:00
Rochet2
50aa663bde
Merge branch 'Rel20' of https://github.com/ElunaLuaEngine/Eluna
2014-12-22 00:33:42 +02:00
Rochet2
91606ed695
Fix documentation generation for GetMovementType
2014-12-21 23:57:22 +02:00
Foereaper
602d8f0585
Merge pull request #132 from ElunaLuaEngine/dev
...
Merge Dev changes into Master
2014-12-21 08:14:23 +01:00
Patman64
f15373ea43
Allow event handlers to be cleared.
2014-12-21 01:58:22 -05:00
Salja
c33f62d424
Merge branch 'master' of git@github.com:ElunaLuaEngine/Eluna.git into dev
2014-12-21 07:40:02 +01:00
Foereaper
a7a8885c0f
Missing indent from previous commit
...
Derp
2014-12-21 07:21:33 +01:00
Salja
a79d456872
Merge branch 'master' into dev
2014-12-21 07:00:03 +01:00
Foereaper
20eeccf815
Added requested movement method
...
Todo: Implement TC equivalent
Part of #80
2014-12-21 06:08:46 +01:00
Foereaper
d6b65cdf4c
Added Item method documentation
2014-12-21 02:13:33 +01:00
Foereaper
6d0c50977f
Added Guild method documentation
...
Todo: Move a couple methods to player methods
2014-12-21 01:24:43 +01:00
Patman64
b281fe052e
Merge branch 'dev' of github.com:ElunaLuaEngine/Eluna into dev
2014-12-20 18:08:48 -05:00
Rochet2
cbd35438a3
Fix messing up optional args and a warning
2014-12-20 18:24:55 +02:00
Rochet2
dcd0a0e89c
Fix linux build and warnings
2014-12-20 18:24:54 +02:00
Rochet2
78d18e8fee
Fix previous commits to be more efficient overall and have better logic. Also try fix clang error.
2014-12-20 18:24:53 +02:00