Spp
4635fbc020
Code Style (game + scripts only):
...
"!=" --> " != " (when needed)
" !=" --> " !="
"!= " --> "!= "
--HG--
branch : trunk
2010-04-08 08:20:08 +02:00
Spp
46f0674e23
Code Style (game + scripts only):
...
">=" --> " >= " (when needed)
" >=" --> " >="
">= " --> ">= "
"<=" --> " <= " (when needed)
" <=" --> " <="
"<= " --> "<= "
" ==" --> " =="
"== " --> "== "
--HG--
branch : trunk
2010-04-07 23:56:35 +02:00
Spp
2454c290b8
Code Style (game + scripts only):
...
"==" --> " == " (when needed)
--HG--
branch : trunk
2010-04-07 23:25:02 +02:00
Spp
49d05ba9aa
Code style (game + scripts only):
...
"( " --> "("
" )" --> ")"
--HG--
branch : trunk
2010-04-07 22:59:46 +02:00
Spp
d19e127080
Code style (game + scripts only):
...
"if(" --> "if ("
--HG--
branch : trunk
2010-04-07 19:14:10 +02:00
Spp
2e127f7a30
Code style (game + scripts only):
...
"while(" --> "while ("
--HG--
branch : trunk
2010-04-07 19:13:19 +02:00
Spp
8034a6c48e
Rename 'Hostil' to 'Hostile'
...
Credits to NoFantasy (Mangos)
Closes issue #411
--HG--
branch : trunk
2010-03-09 11:11:10 +01:00
raczman
07f3b91426
Some Creature* casts moved to new ToCreature.
...
Added const Creature* ToCreature()
--HG--
branch : trunk
2010-03-07 18:30:53 +01:00
Xanadu
f8d1920fa5
Yet more cleanup, mostly in the script system. This should conclude the script integration into core.
...
--HG--
branch : trunk
2010-02-05 13:01:32 +01:00
silver1ce
a307ba784c
*Move object's field\visibility update functions to object from accessor
...
removed useless SendUpdateObjectToAllExcept - anyway fields will be updated, there is no sense to force update them
--HG--
branch : trunk
2010-02-03 16:53:40 +02:00
Rat
0cc053ea4d
*Integrate Script system to Core
...
-added ScriptMgr for loading scripts
-removed bindings
-moved script system to src/game
-moved scripts to src/scripts
-VC project files updated
-cmakes updated (not 100% done yet)
NOTE to Devs:
-file locations changed
-precompiled renamed to ScriptedPch
-ecsort_ai renamed to ScriptedEscortAI
-follower_ai renamed to ScriptedFollowerAI
-guard_ai renamed to ScriptedGuardAI
-simple_ai renamed to ScriptedSimpleAI
-sc_creature renamed to ScriptedCreature
-sc_gossip renamed to ScriptedGossip
-sc_instance renamed to ScriptedInstance
*use the new headers in scripts, thank you
NOTE to ALL:
cmake not fully tested, please report any errors with it
could make creashes, incompability
USE AT YOUR OWN RISK before further tests!!
--HG--
branch : trunk
2010-01-19 11:36:05 +01:00
QAston
f5dea61b66
*Remove some of no longer needed debug code.
...
--HG--
branch : trunk
2010-01-18 23:47:26 +01:00
QAston
9a7746c9fc
*Add some debug info to trac reason of assertion fail in Unit destructor.
...
--HG--
branch : trunk
2010-01-18 18:42:36 +01:00
n0n4m3
99f66a6bc9
Updated copyright for new year.
...
--HG--
branch : trunk
2010-01-16 20:19:18 +03:00
n0n4m3
eccf162be2
Fixed compile errors and some typos
...
--HG--
branch : trunk
2009-12-17 14:06:20 +01:00
maximius
3f338cc1c3
*Massive cleanup redux.
...
--HG--
branch : trunk
2009-10-17 16:20:24 -07:00
maximius
e585187b24
*Backed out changeset 3be01fb200a5
...
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius
26b5e033ff
*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
...
*Fix a possible crash in Spell::DoAllEffectOnTarget
--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
megamage
2a4c9bcaf9
*Make position as a class;
...
--HG--
branch : trunk
2009-08-29 14:58:45 -05:00
megamage
1ee90e1022
*Update vehicle system. Make vehicle a seperate class from creature.
...
--HG--
branch : trunk
2009-08-23 22:09:43 -05:00
maximius
e581351794
*Replace every tab with 4 spaces, checked by hand
...
--HG--
branch : trunk
2009-08-15 19:08:39 -07:00
QAston
2e34af64cf
*Allow ItemExpire events to be scripted.
...
*Add .debug itemexpire command
*Add script for Disgusting Jar and Mysterious Egg - original patch by Elron.
--HG--
branch : trunk
2009-08-04 01:44:14 +02:00
QAston
0fdd7cd5de
*Remove data from world.sql - it exists now only for structure documentation.
...
*Remove debug spell_check command - such things shouldn't belong to core.
--HG--
branch : trunk
2009-07-31 15:35:31 +02:00
megamage
e1762e3e6d
[8169] Implement new optional table spell_check and console command .debug spellcheck Author: VladimirMangos
...
* Table expected to be store data mirror same data in code:
- explicit spell ids with related expected spell properties like effects, spell family or auras
- implicit requirements for select some spell sets like spell family masks, icons or visual values
* For check can be used .debug spellcheck _console_ only command.
* Main purpose table and related command check code parts for outdated data at client switch.
It also can be used for check data in patch writing time to be sure code correctness.
--HG--
branch : trunk
2009-07-16 10:13:12 +08:00
megamage
6f25682423
[8167] Use more consistence debug command handler names and move its code to debugcmds.cpp Author: VladimirMangos
...
--HG--
branch : trunk
2009-07-16 09:28:00 +08:00
megamage
b5d802b70c
[8151] Fixed some format warnings and typos. Author: Win32
...
--HG--
branch : trunk
2009-07-12 17:52:27 +08:00
megamage
02a83001a4
[8083] New debug command: .debug setaurastate for test target/caster aura states. Author: VladimirMangos
...
--HG--
branch : trunk
2009-06-27 18:27:31 -05:00
megamage
e192d8f39b
*Some work on vehicle.
...
--HG--
branch : trunk
2009-06-14 09:57:57 -05:00
megamage
4e130dcdfd
[7980] Implement item use target requirements store and check (new table item_required_target). Author: NoFantasy
...
Signed-off-by: VladimirMangos <[email protected] >
* Also implement this table reload
* Static Spell::SendCastResult function for call not from spell code.
Can be also used in scripts where need send explicitly spell cast error to client.
--HG--
branch : trunk
2009-06-08 17:25:02 -05:00
megamage
8d1f4f9ea0
*Provide another way to implement dynamic spawns. Now a creature will call its zonescript before spawn to determine the spawned entry. This can be used to implement zones such as wintergrasp with less data requirement (only need to know the entry of counterpart creatures, not require spawn points)
...
*Use zonescript as basic class of opvp script and dugeon script (can also be used for bg)
*Store zonescript in worldobject.
*Add door for sapphiron.
--HG--
branch : trunk
2009-05-30 22:15:05 -05:00
megamage
2475390852
*Fix a bug that player can change to an occupied seat on vehicle.
...
(The commit message of the last rev should be: do not allow player to use unusable vehicle seat)
--HG--
branch : trunk
2009-05-23 20:41:48 -05:00
megamage
40c58e5992
*Allow use gm command to set value for gobjects.
...
--HG--
branch : trunk
2009-05-21 09:59:49 -05:00
megamage
68c1d0feab
*Allow send gobject guid in send opcode command.
...
--HG--
branch : trunk
2009-05-19 15:26:43 -05:00
megamage
de11b9e901
[7730] Some optimizantion and code style. Author: zhenya
...
--HG--
branch : trunk
2009-04-29 00:26:07 -05:00
megamage
09af28301e
[7716] Fixed some typos and possible crashes. Author: AlexDereka
...
--HG--
branch : trunk
2009-04-27 18:42:35 -05:00
megamage
a72f23f56b
*Some update of vehicle code.
...
--HG--
branch : trunk
2009-04-25 08:58:16 -05:00
megamage
32e44b6c99
*Fix build.
...
--HG--
branch : trunk
2009-04-21 15:07:02 -05:00
megamage
297498f1f7
*Fix the bug that all vehicles are broken.
...
--HG--
branch : trunk
2009-04-21 14:05:54 -05:00
megamage
c7d78b5ff9
*Some work on vehicles.
...
--HG--
branch : trunk
2009-04-17 15:08:58 -05:00
megamage
24e24d3c02
[7616] Implement .debug play cinematic and .debig play movie. Rename .debug playsound to .debug play sound. Author: VladimirMangos
...
*Note: some conflicts of string.
--HG--
branch : trunk
2009-04-05 16:58:20 -05:00
megamage
274759b04a
[7614] Sort/rename debug commands, Move packet send commands to new ".debug send " subcommands list. Author: VladimirMangos
...
Also drop not implemented .debug inarc
Add to .debug send spellfail support for up to 2 additional args for spell fail packet.
--HG--
branch : trunk
2009-04-05 16:43:17 -05:00
megamage
783e4fd3ff
*Add new creature_template column VehicleId
...
*Allow spawn vehicles
*Make vehicles grid objects.
--HG--
branch : trunk
2009-03-28 22:44:09 -06:00
megamage
a47d2e1c22
*Note some script id are changed. DB change may be needed.
...
[7518] Implement new script command SCRIPT_COMMAND_PLAY_SOUND (look in World.h for args) Author: VladimirMangos
* Also rewrite use SMSG_PLAY_OBJECT_SOUND/SMSG_PLAY_SOUND
Now WorldObject have 2 function for sound level dependent from distance (PlayDistanceSound)
and for not depednet (PlayDirectSound)
* Old Player::PlaySound function removed and uses need to be updated to WorldObject functions
Note: function called for _source_ of sound in different from old function.
* chat command .debug ps removed and .debug playsound can used for bother packects test:
if no selection used SMSG_PLAY_SOUND, if selection exist including self then SMSG_PLAY_OBJECT_SOUND.
--HG--
branch : trunk
2009-03-22 19:20:03 -06:00
megamage
de849cc508
Small code cleanup and partial merge with dev branch Author: tomrus88
...
--HG--
branch : trunk
2009-03-21 14:53:38 -06:00
megamage
59ce40e484
*Remove dual ERROR in logs Author: AlexDereka
...
--HG--
branch : trunk
2009-03-21 14:28:02 -06:00
megamage
3fb72a5b9e
*Update debug command sendopcode.
...
--HG--
branch : trunk
2009-03-20 09:40:40 -06:00
megamage
bf7cfe6964
*Rename and sort some gm commands. By Vladimir.
...
--HG--
branch : trunk
2009-03-19 15:06:30 -06:00
megamage
01b67a1f6a
[7413] Fixed finally problems with node names localization in BattleGroundAB messages. Author: VladimirMangos
...
Also fix build at some platforms.
Note: GetTrinityString should be removed in the future when AV is updated.
--HG--
branch : trunk
2009-03-09 17:06:13 -06:00
megamage
328345ac1a
[7403] much more unneeded includes removed Author: balrok
...
--HG--
branch : trunk
2009-03-08 13:05:56 -06:00
megamage
5fda499266
*Merge.
...
--HG--
branch : trunk
2009-02-24 21:14:00 -06:00