Commit graph

45 commits

Author SHA1 Message Date
sanctum32
1f45a416cc its nasty thing when vbox even can't load freebsd to make full tests with clang, linux situation is same. There still exists pitty code style issues where clang still issues... 2020-02-17 10:50:38 +00:00
sanctum32
cef11429f1 correction 2020-02-17 10:50:12 +00:00
sanctum32
0a11d293b9 Fixed " invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]" 2020-02-17 10:49:02 +00:00
Antz
12257a5bc2 Second set of Moves and Year update 2020-02-17 09:22:48 +00:00
Antz
f1c9e0f94b [Sync] Project header sync 2020-02-17 09:22:26 +00:00
billy1arm
ef445ea523 [12632] Revert previous commit (see Notes) 2020-02-17 00:54:15 +00:00
Dramacydal
bf5c6b1ddd [c12562] Cleanup Style 2020-02-16 23:12:16 +00:00
Schmoozerd
a27787851c [c12537] Update Authorship information
(based on commit [12388] - 037f217)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
2020-02-16 21:27:46 +00:00
Schmoozerd
a05738717a [c12536] Happy New Year 2013
Update authorship information and prepare for easier ways next year

Signed-off-by: Schmoozerd <schmoozerd@cmangos>

(based on commit [12325] - b7dbcda)
2020-02-16 21:25:01 +00:00
Schmoozerd
835d1c7479 [12069] Cleanup comment style 2012-07-22 14:39:31 +02:00
stfx
3707b04330 [12066] Optimize some parts for ++C 2012-07-21 17:15:11 +02:00
Schmoozerd
e32b9953a1 Cleanup Operator padding 2012-07-20 17:38:23 +02:00
Schmoozerd
c5c09cee3c Various Cleanups (game C-E) 2012-07-19 21:45:58 +02:00
Schmoozerd
8068dcf6dd [11875] Update Copyright notice to year 2012
Start timemachine and a Happy new year to all!
2012-01-16 17:43:59 +01:00
TOM_RUS
ea1076899b Some lost changes. 2011-04-14 08:30:54 +04:00
unknown
71add7c73b As of patch 3.3.0:
Players below level 10 may not join raids.
2011-04-09 19:41:29 +04:00
TOM_RUS
d1f03cec61 Edited src/game/CalendarHandler.cpp via GitHub 2011-03-26 07:02:39 -07:00
VladimirMangos
108feb993d [11127] Rename src/game/InstanceSaveMgr.* -> src/game/MapPersistentStateMgr.* 2011-02-10 05:35:07 +03:00
VladimirMangos
dde16bc48c [11126] Rewrite InstanceSaveMgr related code.
* For better fit name to related map type class InstanceMap renamed -> DungeonMap.
  This clarify usage Instanceable()/IsDungeon() because BG/Arenas maps also instanceable maps.

* InstanceSave have many code related to only DungeonMap case, so it replaced by 3 new classes:
   - MapPersistentState as base class, used for non-instanceable maps (continents and some other) (!Instenceable())
   - DungeonPersistentState subclass of MapPersistentState, used for DungeonMap states (IsDungoen())
   - BattlegroundPersistentState subclass of MapPersistentState, used for BattlegroundMap states (IsBattleGroundOrArena())

   Now all dungeon resets code moved to subclass and all player/gpoup bound functions/structures also use it.

* Map::GetInstanceSave renamed to Map::GetPersistentState and DungeonMap have specialized version
  return DungeonPersistentState (same pointer in fact with proper subcalss type)

* InstanceResetScheduler renamed to DungeonResetScheduler
2011-02-10 05:20:56 +03:00
VladimirMangos
bf0ecf6e71 [10947] Update copyright notice for 2011 year. 2011-01-01 20:33:43 +03:00
Tasssadar
d53fe93e9d [10640] Implement instance guids with proper HIGHGUID_INSTANCE use.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-24 14:54:11 +04:00
VladimirMangos
851e15c70a [10635] Convert many opcode handlers to ObjectGuid use.
Also re-enabled anticheating check for bank window open
base at .bank command access rights.
2010-10-21 10:43:14 +04:00
VladimirMangos
722135b326 [9838] More log filters and macro uses.
* LogFilter_Weather
* LogFilter_PeriodicAffects
* LogFilter_PlayerMoves
* LogFilter_SQLText
* LogFilter_AIAndMovegens
* LogFilter_PlayerStats
2010-05-05 18:46:10 +04:00
AlexDereka
ccfd42bf3e [9381] Fixed some compile warnings. 2010-02-14 18:16:07 +03:00
VladimirMangos
fe6e2e1746 [9122] Updated copyright notice for new year.
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
VladimirMangos
a9af7f2b1c Use reset time for normal/heroic from new DBC. Improve basic support for raid difficalties. 2009-10-06 02:12:02 +04:00
tomrus88
fec1a1954c Merge commit 'origin/master' into 320
Conflicts:
	src/game/MovementHandler.cpp
2009-08-20 16:24:37 +04:00
VladimirMangos
35121cdd34 [8389] Implement check really read received packet size and warning it not all data read.
* This let more easy catch packet structure chnages at client switch.
* Fixed structure CMSG_GUILD_BANK_SWAP_ITEMS
* Fixed structure CMSG_SPLIT_ITEM, CMSG_SELL_ITEM
* Added read data amount fixes for some other packets.

Thanks to TOM_RUS in help check correct packets structure.

Note: not all packets possible fixed. Please report for not fixed cases at errors:
"opcode %s (0x%.4X) have unprocessed tail data (read stop at %u from %u)"
2009-08-19 00:45:24 +04:00
tomrus88
373a837aa5 Merge commit 'origin/master' into 320 2009-08-18 09:30:02 +04:00
VladimirMangos
2b534cbc23 [8382] Implement ByteArray functions for skip read of fields not needed for server in received packets.
* Use this fucntions in some case.
* Change some packets to form: read fields first check later for better control recieved packets structure.
* Fix CMSG_STAND_STATE_CHANGE packet structure to more correct.
2009-08-18 03:49:50 +04:00
tomrus88
02bcc56919 Added placeholders for new battlegrounds, some other stuff. 2009-06-25 19:08:53 +04:00
AlexDereka
f874c86052 add scructures for CMGS calendar handlers. 2009-06-07 11:49:49 +04:00
zhenya
8144f30199 [7730] Some optimizantion and code style.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-04-29 01:05:21 +04:00
VladimirMangos
0fd361a0a3 Switch to support client 3.0.8a (build 3506)
Merge commit 'origin/308'
2009-01-30 02:10:23 +03:00
Energy
fb317f5aaa Update CMSG_CALENDAR_GET_CALENDAR structure and re-enable for 3.0.8.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-29 02:21:30 +03:00
VladimirMangos
661cc9bf5b Disable recently added at master CMSG_CALENDAR_GET_CALENDAR sent, not compatiable with client. 2009-01-26 22:31:20 +03:00
VladimirMangos
512747db7f [7187] Replace some tabs in sources. 2009-01-26 22:31:03 +03:00
Energy
cec3da69fd [7186] Implement instance reset time show in calender.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-26 22:31:02 +03:00
VladimirMangos
de277ad917 [7187] Replace some tabs in sources. 2009-01-26 15:07:12 +03:00
Energy
8ab2de55c9 [7186] Implement instance reset time show in calender.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-26 14:35:22 +03:00
freghar
11ed0e99a8 [7146] Trailing whitespace code cleanup
Signed-off-by: freghar <compmancz@gmail.com>
2009-01-22 18:10:16 +01:00
arrai
c6f48843ad [7017] Updated copyright notice for new year 2009-01-03 18:09:51 +01:00
tomrus88
857e7ae7ee Updated opcodes enum. 2008-12-12 18:12:28 +03:00
tomrus88
5fae2418ab Misc fixes 2008-11-23 16:18:14 +03:00
tomrus88
612b22dc87 Added calendar placeholder 2008-10-26 10:08:43 +03:00