Commit graph

32 commits

Author SHA1 Message Date
VladimirMangos
15dd77873e [9779] Drop trailing whitespaces. 2010-04-23 05:28:51 +04:00
NoFantasy
dbe089b66d [9572] Add script calls for GameObject GossipHello and GossipSelect
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-11 15:35:13 +01:00
freghar
c8e45058a6 [9448] Ignore anything untracked in src/bindings/
NOTE: works only on directories

(only modification / deletion of tracked files
will show up in "git status")

To force-stage a file/directory, use "git add -f",
an exception was made for universal/ .

Signed-off-by: freghar <compmancz@gmail.com>

(based on commit 0a4057f)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-25 03:18:33 +03:00
NoFantasy
24f2d4658f [9444] Add script call EffectAuraDummy, called at dummy aura(4) apply/remove
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-24 17:15:23 +01:00
DasBlub
528b2cf324 [9439] Auto-exclude from git tracking changes any non universal binding subdir files
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also resolve small exclude conflict for dep subdir.
2010-02-23 04:36:46 +03:00
VladimirMangos
79a54286fd [9413] Use SpellEffectIndex in EffectDummy* script calls.
Scripts used this script calls will need update...
2010-02-19 17:42:41 +03:00
VladimirMangos
fe6e2e1746 [9122] Updated copyright notice for new year.
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
VladimirMangos
503496e09c [9048] Add src\bindings\universal\Scripts\sc_defines.cpp to script.vcproj 2009-12-23 16:59:55 +03:00
NoFantasy
65965bc5fa [8642] Replace the Spanish word 'hostil' with the English one.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-10-14 12:46:10 +02:00
freghar
1eb308a2eb [8095] Added gitignore for src/bindings/
Signed-off-by: freghar <compmancz@gmail.com>
2009-06-29 13:59:43 +02:00
VladimirMangos
788cdf9b3a [7826] Avoid use GetDistance* that used slow sqrt call where possible, other related speedups. 2009-05-14 18:51:13 +04:00
VladimirMangos
d910610600 [7697] Interrupt casting at enter to evade mode. 2009-04-22 18:05:59 +04:00
VladimirMangos
78dd259c38 [7672] Move ReceiveEmote from script API to AI API.
This is also fix triggering ReceiveEmote for EventAI broken at it move to mangos sources.
2009-04-15 06:08:52 +04:00
VladimirMangos
d85e95295d [7668] Cleanup In CreatureAI function descriptions and AttackStart/AttackedBy use.
* Use AI::AttackStart calls only in case explicit request creature attack from core or AI code "attack it if can".
  Like taunt, pet handler attack command.
* Use AI::AttackedBy for reaction at hostile action "do something at hostile action"
  Like non-dot damage, swing, negative spell landing, or fade fear/etc.
  And provided by default call AttackStart if no current target.

This fix some problems, like:
* Civilian will react propertly at attack by another creature (not pet or player).
* Will not cases (at least triggred by core) when attack target start run to attacker before any real hostile action apply.
2009-04-14 10:14:10 +04:00
VladimirMangos
69fb9736cc [7667] Add to CreatureAI field pointing to creature itself. Use it instead diff. fields in subclases.
Also send pointer to AI constructors ans mark constructors as explicit.

This changes allow move now some generic often used AI code to CreatureAI helper functions.
2009-04-14 06:52:16 +04:00
VladimirMangos
840d7d5e0a [7588] Remove redendent GO support and switch back to original suggested by Lightguard version with Unit only case 2009-03-30 02:07:43 +04:00
Lightguard
4717f68984 [7586] New caster AI::SpellHitTarget call at casted spell landing to target (player/creature/pet/go)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-30 00:44:35 +04:00
Lightguard
f280c96770 [7454] Support scripting for dummy spell effects.
Note: scripting calls specially added in end of function for allow calling only
      if internal implementaion absent for dummy effect.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-14 00:21:06 +03:00
freghar
74b9874fd8 [7356] Use tabs for indent in Makefiles
Signed-off-by: freghar <compmancz@gmail.com>
2009-02-27 21:23:19 +01:00
VladimirMangos
bf5e1908d6 Drop Say/Yell/etc string versions.
1) DB based string_id versions must be used.
2) for debug purposes raw WorldObject::MonsterSay/etc versions can be used
2009-02-19 11:59:01 +03:00
arrai
c6f48843ad [7017] Updated copyright notice for new year 2009-01-03 18:09:51 +01:00
freghar
d75812749f [6922] Whitespace and newline fixes
This should fix the GCC "no newline at end of file" warnings.

Signed-off-by: freghar <compmancz@gmail.com>
2008-12-22 12:47:33 +03:00
tomrus88
e738198eb4 Merge branch 'master' into 303
Conflicts:
	src/game/ItemPrototype.h
	src/game/ObjectMgr.cpp
	src/shared/Database/SQLStorage.cpp
2008-11-16 17:20:43 +03:00
Wyk3d
766654c85d [6828] Added script name indexing for creature, gameobject, item, areatrigger and instance scripts.
* loaded all distinct script names into one vector at server startup
* added custom loaders to convert the script names to indices
* converted all the script lookup functions to use the index instead of the name
2008-11-16 03:20:16 +02:00
tomrus88
233e5eac6f Merge branch 'master' into 303
Conflicts:
	src/game/ObjectMgr.h
2008-10-27 01:27:48 +03:00
VladimirMangos
6f190fedd4 Output DB/ScriptLib versions in ".server info" command.
Required support by used scripting library.
2008-10-26 16:29:39 +03:00
tomrus88
434f1ec87b Updated scripts 2008-10-26 10:14:55 +03:00
freghar
95840fd2c3 Removed trailing whitespaces and CRLFs
With /contrib/ and /dep/ excluded.

Signed-off-by: freghar <compmancz@gmail.com>
2008-10-22 11:52:03 +02:00
TheLuda
5f036c189d Merge branch 'master' of git@github.com:mangos/mangos 2008-10-15 18:28:20 +02:00
TheLuda
2c38c1a8ee Applied new coding standard, see http://github.com/mangos/mangos/wikis/codingstandards for more. 2008-10-15 18:25:49 +02:00
tomrus88
9a908ac515 Added missing files 2008-10-15 18:42:03 +04:00
TheLuda
800ee76535 Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/ 2008-10-14 00:29:20 +02:00