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
Rochet2
631e220b31
Eluna changes
...
* Attempt fix VS 2010 pow error
* Tweak the doc parser a little to work with variable arugments ... and show
enum names and similar.
* Change push and check to work with more types like size and time (fix osx)
* Add errors to using not implemented operations on eluna objects
* Change some SQL comments to work with documentation better
* Add functions to create uint64 and int64 values (may need rename)
* Change doc generation documentation a little to make it clearer how proto is used
2014-12-20 18:24:53 +02:00
Rochet2
809a0ac2bc
Fixes #130
2014-12-20 18:15:59 +02:00
Patman64
ed8edf065c
Fix bug in previous commit that caused temporary bindings to die early.
...
Instead of decrementing all their counters every time an event occurs,
only the counters of the bindings being executed will be decremented.
`_LuaTemporariesDied` is a small optimization to prevent unnecessary calls
to `UpdateTemporaryBindings`. It will only be called when a temporary
binding has run out of shots and needs to be cleaned up.
2014-12-19 00:46:50 -05:00
Patman64
7364facff6
Merge branch 'master' of github.com:ElunaLuaEngine/Eluna
2014-12-18 22:12:06 -05:00
Patman64
8c40dd1692
Allow temporary event handlers for all events.
...
This allows you to register a handler to only fire N times.
Dynamic event handler binding/unbinding is now possible.
For backwards compatibility, if the number of shots is missing, the event
handler will never be removed from the event.
2014-12-18 22:09:34 -05:00
Rochet2
53ef010c3d
Fix shady comment
2014-12-18 19:22:14 +02:00
Rochet2
130735de43
Fix DurabilityRepairAll default value
2014-12-18 19:19:34 +02:00
Rochet2
f819245308
Eluna Fix Print functions
2014-12-16 01:54:12 +02:00
Rochet2
662babc806
Eluna Fix checking of objects with varying types
2014-12-16 01:21:42 +02:00
Rochet2
cb7f9d5145
Eluna add int64 datatype, rename functions for osx, enhance object checking code
2014-12-15 23:29:49 +02:00
Rochet2
7671054425
Eluna fix TC errors from previous commits, fix merge and fix a crash on osx
2014-12-15 23:25:09 +02:00
Rochet2
525e108b83
Implement log print functions
2014-12-15 23:25:08 +02:00
Rochet2
e683f48fbb
Expose time diff functions
2014-12-15 23:25:08 +02:00
Rochet2
a068a33bed
Fix GetTargetDest
...
Deleting function cache. It is causing problems with few functions and there is not much use for it, especially with our current setup.
2014-12-15 16:58:06 +02:00
Patman64
3ff4c5f26e
Allow multiple callbacks for the same entry/event combo.
...
The callbacks will be called in reverse-order of registration.
2014-12-15 02:16:37 -05:00
Patman64
967a8045eb
Fix calling Eluna functions from coroutines.
...
Fixes #126 .
2014-12-15 00:33:46 -05:00
Patman64
3f08b37fd0
Make ReactorAI the default AI on mangos and allow overriding.
...
All AI event handlers (except OnReset) can now override the default AI
behavior on both mangos and Trinity by returning true.
For default behavior, return false or nothing.
Fixes #124 .
2014-12-14 23:24:41 -05:00
Rochet2
28788e0efe
Eluna fix aura update for (c)mangos tbc and classic
2014-12-01 21:31:34 +02:00
Rochet2
7f496959f5
Eluna fix (c)mangos build for mthread changes
2014-12-01 19:56:44 +02:00
Rochet2
19f3dc297a
Eluna fix visual updates for aura methods for (c)mangos
2014-12-01 17:34:14 +02:00
Rochet2
6268216a64
Eluna implement changes from new_mthread to master ~ Does not add multithread support
2014-11-30 01:37:45 +02:00
Rochet2
a7f4954fbe
Eluna implement functions from #121 , implement hidden file ignoring closes #122 , enhance documentation in places, change requiring some now only allowing unique filenames
2014-11-22 17:16:41 +02:00
Rochet2
93982a16c1
Correct error messages to be clearer
2014-11-10 14:17:52 +02:00
Rochet2
02316cd182
Revert changes to extension from 2343f1b2d6
2014-11-09 23:03:57 +02:00
Rochet2
2343f1b2d6
Eluna fix require path to lua script folder structure. Implement .ext.lua and comment them in the ext files that exist.
2014-11-09 17:16:47 +02:00
Rochet2
d7920b4bb7
Fix loading debug messages to avoid confusion
2014-10-23 14:54:57 +03:00
Rochet2
0d7318c109
Eluna fix TC cata+
2014-10-20 13:00:17 +03:00
Foereaper
6afc38a743
Moved include due to changes done to Mangos.
...
Do mind, this might need to change slightly for the cmangos sources!
2014-10-19 01:31:01 +02:00
Rochet2
817c5c96e1
Fix TC copy step and tweak mangos'
2014-10-11 12:20:51 +03:00
Foereaper
69177843b6
Fixed RegisterPacketEvent typo
2014-10-07 15:33:49 +02:00
Rochet2
1a4eac6c3b
Eluna fix warning
...
V690 The 'WorldObjectInRangeCheck' class implements a copy constructor, but lacks the the '=' operator. It is dangerous to use such a class. elunautility.h 103
2014-10-03 17:20:04 +03:00
Rochet2
95b103d285
Eluna fix TC build
2014-10-02 21:50:35 +03:00
Rochet2
644200fa50
Merge branch 'master' of https://github.com/elunaluaengine/eluna
2014-09-29 16:37:21 +03:00
Rochet2
5f2a079dc1
Some CMake configuring for mangos
2014-09-29 16:27:56 +03:00
Rochet2
9814d8571a
Update MERGING.md
2014-09-24 20:11:00 +03:00
Rochet2
8b0a89e68f
Update MERGING.md
2014-09-24 20:09:10 +03:00
Foereaper
98f9ea7b80
CMake files changed for Eluna module on Mangos
2014-09-22 22:58:19 +02:00
Foereaper
0c72883009
Changed AddItem to return item object
2014-09-22 19:34:43 +02:00
emudevs
774df595a6
Corrected typo
2014-09-22 01:08:10 -04:00
emudevs
696de1309b
Updated GetAITarget documentation with target types
2014-09-22 01:05:53 -04:00
Foereaper
afd9bf7b4b
[Mangos/CMake] Needed change for windows cmake support
2014-09-21 23:17:16 +02:00
Rochet2
4784c2052a
Eluna: Correct whitespace
2014-09-20 22:07:24 +03:00
Rochet2
2f17600f43
Eluna: ObjectGuid is now used by all cores
2014-09-20 18:44:28 +03:00
Rochet2
5b337c7f2b
Eluna remove WorldObject::GetWorldObjct, use Map::GetWorldObject
2014-09-20 18:04:34 +03:00
Rochet2
ecb076b654
Eluna: Fix warnings
2014-09-20 17:44:50 +03:00
Rochet2
16185423ab
Eluna: fix compatibility with new guid changes, fix bg methods for cata
2014-09-20 17:27:42 +03:00
emudevs
ea6f6bcff2
Global methods documentation
...
All methods should be documented, but some still need to be updated with appropriate explanation
Updated LuaFunctions.cpp and removed the comments from documented methods. Hooks comments can stay if need be
2014-09-19 00:11:20 -04:00
emudevs
093ab2d740
Corrected Spell:Cast method documentation
...
Thanks @Rochet2 for the info
2014-09-18 16:26:37 -04:00