Commit Graph

39 Commits

Author SHA1 Message Date
Shauren
fdffb3ebd0 Core: Fixed some compile warnings 2013-02-06 22:18:41 +01:00
Spp
fa5dd4bd4e Core/Misc: Remove some calls to const_cast 2013-01-30 08:39:06 +01:00
Spp
802657250c Core/Misc: Apply codestyle to multiple files 2013-01-14 09:50:59 +01:00
Nay
a509aea659 Core/Misc: Fix a couple of warnings, some of them performance related
Errors were found using Cppcheck, open-source static analysis tool
2013-01-04 23:14:14 +00:00
Vincent_Michael
eef7754dc2 Update more copyright note for 2013. 2013-01-01 15:35:09 +01:00
Spp
e954498560 Core/Misc: Random changes here and there to minimize differences with 4.3.4 branch 2012-11-27 13:03:12 +01:00
Shauren
0cd59ec210 Merge pull request #8318 from blipi/battlefield_fix
Core/Battlefield: Fix crashes due to invalid pointers use
2012-11-25 01:57:42 -08:00
Blipi
880151c854 Core/Battlefield: Fix crashes due to invalid pointers use 2012-11-20 12:35:27 +01:00
Spp
81606e5d1e Core/Misc: Define some methods const 2012-11-20 09:29:52 +01:00
Spp
9fbc4c0ae2 Core/Misc: reduced amount of string memory allocations (Step II) 2012-10-24 15:34:48 +02:00
kaelima
8c013955ac Core/Misc: Fix some possible issues detected by static code analysis 2012-10-07 01:31:43 +02:00
Spp
358c6a26d6 Core: Warning fixes (Also some -pedantic under game folder) 2012-09-10 13:04:31 +02:00
kaelima
bf84a0a97a Core/Misc: Fix typo from 7c971be3c5. Thanks Shauren 2012-09-05 17:34:25 +02:00
kaelima
7c971be3c5 Core/Misc: Fix some warnings and logic mistakes found by static code analysis 2012-09-05 17:18:05 +02:00
kaelima
76be70a4dc Core/Battlefield: Fix some memory leaks 2012-09-04 00:37:40 +02:00
Nay
e3d9768a50 Core: Fix many "errors"/warnings and coding style (3)
Game

Errors were found using Cppcheck, open-source static analysis tool
2012-08-30 22:44:33 +01:00
Nay
fc16106823 Scripts/Spells: Fix a typo in spell_q12372_cast_from_gossip_trigger and cleanup whitespace 2012-08-27 14:40:12 +01:00
Vincent-Michael
24a3f6c27c Core/Battlefield: Fix queue invite in war time 2012-08-25 01:44:05 +02:00
Vincent-Michael
6891fe6248 Core/Battlefield: Add missing stuff for wintergrasp 2012-08-21 23:03:30 +02:00
Vincent-Michael
910755bbb3 Core/Battlefield: Fix more codestyle 2012-08-21 20:17:20 +02:00
Vincent-Michael
9f8ea0da1e Core/Battlefield:
* Update Logs filter
* Fix typo in worldserver config (thx filo)
* Fix some code style
2012-08-21 19:40:21 +02:00
Kandera
b9f60fe56c Core/Wintergrasp: finish implementation for battlefields. this is highly experimental enable at you're own risk. will almost definatly cause issues with the wintergrasp patch floating around 2012-08-20 16:23:24 -04:00
Kandera
e56ff2e93a Core/Battlefield: fix crash (thx joschiwald) closes #6726 2012-08-20 14:00:04 -04:00
Kandera
8dfbff7b15 fix build 2012-08-20 14:00:03 -04:00
Warpten
094f98d3a9 Battlefield/Wintergrasp:
* Use correct spells on losing and winning factions
* Enums renaming, lowerCamelCase wherever applicable
* Rename some methods and class attributes for them to sound more English and less Engrish or even Frenglish (\o/)
* Use correct spells when trying to build mechanical units at the Workshops.
2012-08-20 13:50:49 -04:00
Subv
5ec5bc1721 Battlefields/Wintergrasp: Fixed a crash when leaving a capture point.
Fixed the worldstate counters

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-08-20 13:49:19 -04:00
thomas33
7988edda1c Core/Battlefield: Cleanup 2012-08-20 13:49:17 -04:00
thomas33
547bb47575 Core/Battlefield: plr -> player 2012-08-20 13:49:14 -04:00
Kandera
b04ad4401d Core/Battlefield: Cleaned up all incrementquest functions as this is a hacky way to do it 2012-08-20 13:48:53 -04:00
Kandera
7491926e0c Core/Battlefield: fix stupid mistakes. sorry! 2012-08-20 13:48:52 -04:00
Kandera
00f8858838 Core/Battlefield: attempt to correctly fix again. 2012-08-20 13:48:51 -04:00
Manuel Carrasco
ce17607595 BF/Battlefield: Small improvement, thanks to Subv. 2012-08-20 13:48:48 -04:00
Manuel Carrasco
27bfafe0e1 BF/Wintergrasp: Removed harcoded Workshops related spawns, db data is used now. 2012-08-20 13:48:47 -04:00
Manuel Carrasco
d7a7a9800b Battlefield: Make sBattlefieldMgr a pointer. By Subv. 2012-08-20 13:48:47 -04:00
Manuel Carrasco
3478f3e7b7 BF/Wintergrasp: Now graveyards use db spawned spirits. 2012-08-20 13:36:37 -04:00
Kandera
4c3692cc36 Battlefield/Wintergrasp/Scripts: removed a few unneeded casts. 2012-08-20 13:36:09 -04:00
Kandera
dd05f1dcd2 fix crash with groups, added enum for battlfield leave reasons 2012-08-20 13:36:09 -04:00
Kandera
16f2c3a48e merge master into wintergrasp and fix build errors. yay me! 2012-08-20 13:34:04 -04:00
tobmaps
c28a8aafc0 Core/Battlefield
* Fix battle start
* cleanups and code style fixes
2012-08-20 13:30:19 -04:00