Commit graph

19 commits

Author SHA1 Message Date
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
ApoC
d469a604eb [7110] Make some methods in BattleGroundMgr static.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-18 21:25:18 +01:00
ApoC
5d63453deb BattleGroundMgr::RemoveBattleGround inlined.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-18 21:14:07 +01:00
ApoC
aa2a454ca1 Little clean up in BattleGroundMgr.h
Changed uint64 in method parameters to be passed by const reference.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-18 21:14:07 +01:00
ApoC
c4dba30b51 Use configuration values for arena directly instead of values cached in local variables. This should fix reloading arena configuration in runtime.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-18 21:14:06 +01:00
GriffonHeart
5332b4496d [7026] Current arena season id and state send and setting in mangosd.conf.
Also classes and DB data for new batlegrounds/arena.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-05 02:20:58 +03:00
arrai
c6f48843ad [7017] Updated copyright notice for new year 2009-01-03 18:09:51 +01:00
killdozer
39d1ca5ef0 [6944] Restore work after arena patch and reimplement battleground/arena announcer
Signed-off-by: killdozer <killdozer@mangos.ru>

Renumbering arena related mangos string to proper ranges and cleanup related code and DB data.
Set battleground/arena announcer disabled by default as extansion in server functionality.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-25 07:53:06 +03:00
tomrus88
71b1065c8b Merge branch 'master' into 303
Conflicts:
	src/game/CharacterHandler.cpp
	src/game/Chat.h
	src/game/Player.h
	src/game/World.h
	src/game/debugcmds.cpp
2008-12-16 07:30:23 +03: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
tomrus88
af1e1d7794 Merge branch 'master' into 303
Conflicts:
	src/game/Corpse.cpp
	src/game/DynamicObject.cpp
	src/game/GameObject.cpp
	src/game/Object.h
	src/game/Unit.cpp
	src/game/Unit.h
2008-12-05 18:16:31 +03:00
ApoC
d5da240913 [6871] Fixed BG Queue need players count announce.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-02 21:59:24 +01:00
tomrus88
78ec66babc Merge branch 'master' into 303
Conflicts:
	contrib/extractor/System.cpp
	contrib/extractor/ad.exe
	src/game/WorldSocket.cpp
2008-11-06 15:50:47 +03:00
hunuza
90828fa699 Cache highest arena team/guild ids. Some code clean up. 2008-11-05 16:58:57 +01:00
VladimirMangos
004bdf1d3c Fixed some format arg type/value pairs. Other warnings. 2008-11-03 14:21:24 +03:00
VladimirMangos
8563b88859 Fixed some format arg type/value pairs. Other warnings. 2008-11-01 23:53:35 +03:00
tomrus88
30142bd7cd Updated battlegrounds stuff 2008-10-26 10:22:30 +03:00
TheLuda
adc46ef907 Applied new coding standard, see http://github.com/mangos/mangos/wikis/codingstandards for more. 2008-10-15 18:26:08 +02:00
TheLuda
800ee76535 Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/ 2008-10-14 00:29:20 +02:00