Commit graph

72 commits

Author SHA1 Message Date
VladimirMangos
722395be75 [7413] Fixed finally problems with node names localization in BattleGroundAB messages.
Also fix build at some platforms.
2009-03-08 14:39:53 +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
balrok
6c39db38f4 removed unneeded World.h includes
this is done by this script:
ack -c "World.h" | ack :1 | sed 's/:1//' | xargs grep -c sWorld | grep :0 | sed 's/:0//' | xargs sed -i '/#include "World.h"/d'
i didn't checked every change but gcc haven't complained
2009-03-08 01:26:52 +03:00
VladimirMangos
9b3daf3933 [7330] Code warnings and style cleanups. Some bugs fixes.
1) comparison singed and unsigned values
2) redundent includes
3) wrong constructor :-part field initilization
4) unused not-/*name*/-guarded args in template/virtual functions that not required like args.
5) explicitly list not implemented achievement types.

Also bugs fixed:
1) Drop wrong phase mask 0 check in WorldObject::InSamePhase.
2) ArenaTeamMember::ModifyPersonalRating incorrect work with move points in negative with infinity values in result.
3) ArenaTeam::SaveToDB code send uint64 value to string with arg format %u.
2009-02-24 01:54:53 +03:00
GriffonHeart
1fb8a52032 Propertly send SMSG_SET_PHASE_SHIFT to inform client about phase shift at phase change.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-15 12:00:47 +03:00
balrok
78a6d084bc add .debug bg to allow starting a battleground with just one player
it's implemented like .debug arena - so you toggle debug bg
on or off
2009-02-08 11:27:31 +03:00
arrai
dfa29a883f Replaced dynamic by static allocation in server packets header. Added command to test large packets. 2009-01-04 18:42:06 +01:00
arrai
c6f48843ad [7017] Updated copyright notice for new year 2009-01-03 18:09:51 +01: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
VladimirMangos
3da9f3f4cc [6889] Backport some not client version specific changes and fixes from 303 branch. 2008-12-09 14:08:29 +03:00
tomrus88
943963df7e Added vehicle*.dbc 2008-11-26 19:47:07 +03:00
tomrus88
871d5f8c99 Small progress with vehicles 2008-11-12 00:49:19 +03: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
VladimirMangos
88b1974df6 Fixed warnings, unused code and typos.
Including fix  _SCallback for 3 params, triggred mode correct call for .cast back and .cast target.
Remove outdated code for support old 19421 (and ranks) implementation in client data.
2008-11-05 05:06:35 +03:00
VladimirMangos
aaddf4b51b Avoid access to bag item prototype for getting bag size, use related item update field instead as more fast source. 2008-11-03 14:05:11 +03:00
VladimirMangos
6f6ec21b72 Avoid access to bag item prototype for getting bag size, use related item update field instead as more fast source. 2008-11-01 21:10:54 +03:00
tomrus88
a1d83ebc6f Updated fot new client build 9155 2008-10-29 23:07:41 +03:00
tomrus88
871d34b106 Infinity loop in sendopcode command 2008-10-29 23:07:38 +03:00
tomrus88
002a2fc5fc Fixed SMSG_TRANSFER_ABORT opcode 2008-10-27 09:08:25 +03:00
tomrus88
df09909ec5 Updated rest of game stuff 2008-10-26 10:25:08 +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