balrok
6b2fd22a9c
[7632] more "if"-condition related codestyle in battlegroundfiles
...
this time with this regex:
sed -i 's/if *( *\(.*\) *)$/if (\1)/' BattleGround*
2009-04-07 17:25:53 +00:00
Triply
73d12d7ccf
replaced if( bla ) with if (bla) for applying mangos coding style
...
replaced it with sed -i 's/if( \(.*\) )$/if (\1)/' BattleGround*
written by triply
Signed-off-by: balrok <der-coole-carl@gmx.net>
2009-04-07 16:13:46 +00:00
Triply
846831e357
[7472] Fixed messages in Eye of Storm Battleground.
...
Signed-off-by: Triply <triply@getmangos.com>
2009-03-16 18:54:35 +01:00
Triply
e1f069e5b9
[7448] Fixed infinite honor gains in EoS.
...
Problem reported by LickedLurk. Thx.
Fixed Entering battleground bugged in [7447]
Signed-off-by: Triply <triply@getmangos.com>
2009-03-12 16:29:46 +01:00
Triply
424c8b39df
[7446] Applied mangos coding style for AB and EY.
...
Signed-off-by: Triply <triply@getmangos.com>
2009-03-12 13:34:20 +01:00
balrok
aebcf212dc
[7432] Fixed BattleGround's bonus_honor based on player level and reputation rewards. Implement functions for BattleGroundWeekends. Patch originally provided by Balrok. Thx
...
Correctly assigned some comments.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-09 22:32:11 +01:00
Triply
52696ce029
[7426] Mounted players now can capture tower point in Eye of Storm.
...
Renamed function isAllowUseBattleGroundObject to CanUseBattleGroundObject
Signed-off-by: Triply <triply@getmangos.com>
2009-03-09 16:40:13 +01:00
VladimirMangos
57e715857b
[7409] Support localization for messsages in specialized battagorund code BattleGround*.cpp
...
Note: BattleGroundAB still have problems with team/node localization in result wrong way LANG_ strings used.
2009-03-08 09:52:52 +03:00
VladimirMangos
27a2d88796
[7406] Remove string version of BattleGround::SendMessageToAll. Use only string_id versions always.
2009-03-08 05:48:05 +03:00
balrok
54f2dbefa0
[7403] much more unneeded includes removed
...
now i extended my script:
NAME="Chat"; ack -c $NAME | ack ":1$" | sed 's/:1//' | xargs /usr/bin/ack-grep -l "include \""$NAME".h\"" | xargs /bin/sed -i '/include "'$NAME'.h"/d'
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-08 02:22:17 +03:00
Triply
1ee2320484
[7399] Rewrited BattleGround starting code - moved it to battleground class.
...
Fixed message color for premature finish warnings.
Fixed .debug bg command won't allow 1v0 arenas now, only battlegrounds 1v0.
Added battleground announcer message removed in [7384].
Patch is tested, everything worked for me. You must execute attached sql file!
Signed-off-by: Triply <triply@getmangos.com>
2009-03-07 11:23:23 +01:00
VladimirMangos
9983286280
[7372] Cleanup BattleGround::GetClosestGraveYard related code.
2009-03-02 15:56:37 +03:00
Triply
1eadd9b7b4
[7276] Rewrited fix for same faction arena matches
...
Added better Object-oriented calls to BattleGround::Reset()
Added more checks to CreateBattleGround() method
This commit doesn't fix anything
2009-02-13 14:47:10 +01:00
VladimirMangos
5a4358dda9
[7250] Use bg type ids enum insted raw values and catch some bugs in result for fixing.
...
* Replace max bg type checks by DBC valid index check
* Use in functions and fields BattlegroundTypeId type instead uint32
* Fixed wrong use bg queue ids instead bg type ids in queue update/remove function calls.
Many bg have same raw values for type id and queue id but some can be affected by this bug:
BATTLEGROUND_EY, BATTLEGROUND_SA, and all areans (with small arena/team size exceptions)
* Move Battlemaster to bg type ids map fron ObjectMgr to BatteleGroundMgr.
* Remobe redundent for header itself includes for BG headers.
* Use Auction location enum instead raw valus.
2009-02-08 11:05:11 +03:00
ApoC
1718653e63
[7130] Changet all *::Update(time_t) to *::Update(uint32), there is no need to use time_t (mostly 64b) because time diffs are very small numbers and the base calculation of diff is done as uint32.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-21 02:48:32 +01:00
arrai
c6f48843ad
[7017] Updated copyright notice for new year
2009-01-03 18:09:51 +01:00
ApoC
a5331ab517
[6910] Implemented rewritten arenas. Original author w12x@getmangos.com
...
Many thanks also to:
Balrok@github.com for long time updating.
Triply@github.com for great work in rewriting process.
All who I forget to name.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 00:17:24 +01:00
arrai
d34899097f
[6847] Prevented mounted, stealthed or invisible players from capturing bases in EOTS
2008-11-24 19:52:13 +01:00
hunuza
90828fa699
Cache highest arena team/guild ids. Some code clean up.
2008-11-05 16:58:57 +01:00
VladimirMangos
8563b88859
Fixed some format arg type/value pairs. Other warnings.
2008-11-01 23:53:35 +03:00
TheLuda
800ee76535
Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/
2008-10-14 00:29:20 +02:00