click
8ea4b32fab
Update copyright headers (following the same standard in all files = good)
...
--HG--
branch : trunk
2010-10-07 12:41:56 +02:00
silinoron
b21490357b
Core/Object: Add an assert in Object::RemoveFlag to help explain the crash introduced in r2969543fa565b71242cb471e0e85f39203f2bce9
...
The crash is NOT fixed yet.
--HG--
branch : trunk
2010-09-21 19:26:59 -07:00
linencloth
d8a854d6e0
Core: Cleanup locale handling.
...
It also fixes the recent problem of strange strings.
--HG--
branch : trunk
2010-09-17 07:04:29 +02:00
click
bf664b7a44
Cleanup/Core: Remove whitespace and tabs
...
--HG--
branch : trunk
2010-09-12 01:40:27 +02:00
silinoron
5179d3149a
Core/Game: Fix remaining warnings on windows (and most likely almost all of the ones on *nix)
...
--HG--
branch : trunk
2010-09-03 21:55:57 -07:00
Spp
849ae84f5b
Core: Fix more warnings and fix compile under linux 64
...
--HG--
branch : trunk
2010-08-31 10:23:22 +02:00
Spp
405f312918
Core: Fix more warnings
...
--HG--
branch : trunk
2010-08-30 15:25:15 +02:00
Liberate
a96d884bf8
Revert unintended change to UpdateFields.h. This file should NEVER be changed. My mistake.
...
--HG--
branch : trunk
2010-08-27 18:38:48 +02:00
Liberate
9bd804dece
Updates the arena rating system to use Matchmaker Rating.
...
The arena_team_stats sql in this commit sets all ratings to 0.
You start with 0 Team Rating and 1500 Matchmaker Rating.
Personal rating is moved to character_arena_stats, and will not reset when disbanding an arena team.
This new system is based on all the info I could get, but Blizzard didn't leak much info about the new system.
At least this system is really close to the official system.
Any issues found should be reported in an issue.
Huge thanks go to Aokromes for the intensive testing he has done with me.
Also thanks to Parzival for hearing me out and giving his ideas.
Fixes issue #3189
--HG--
branch : trunk
2010-08-27 18:18:26 +02:00
QAston
3fcb7dd643
*Backout r9c4be12837.
...
--HG--
branch : trunk
2010-08-26 22:05:57 +02:00
azazel
e3c2bdb722
Core/Cleanup: move repeating code for locale strings retrieval into separate method. Related code cleanup.
...
--HG--
branch : trunk
2010-08-27 00:57:49 +06:00
QAston
4b5b4afbe9
*Allow WorldObject::FindNearestGameOobject to search in distance bigger than grid size.
...
--HG--
branch : trunk
2010-08-26 19:41:48 +02:00
azazel
341e6303ef
Core:
...
* add helping methods for manipulating unit's health and use it where applicable
* fix some conversion warnings and cleanup code (formatting, CRLF, tabs to spaces)
--HG--
branch : trunk
2010-08-26 01:20:57 +06:00
Spp
9e4357c9ad
Core: Fix more warnings
...
--HG--
branch : trunk
2010-08-24 14:44:56 +02:00
silinoron
8649bee17f
Replace World::getConfig with World::getFloatConfig, World::getIntConfig, and World::getBoolConfig.
...
Also fix a warning from a previous commit.
--HG--
branch : trunk
2010-08-23 19:56:47 -07:00
silinoron
5cbae843d5
Core/Game: fix all warnings related to converting doubles and floats.
...
--HG--
branch : trunk
2010-08-22 12:39:39 -07:00
Spp
c3343638cb
Core: Remove lots warnings:
...
- All "'xxx' will be initialized after 'yyy' when initialized here"
- Some "unused variable"
- Some "enumeration value 'xxx' not handled in switch"
--HG--
branch : trunk
2010-08-21 20:08:47 +02:00
QAston
617a56ba29
*Implement spell casting on transports (no more out of range error, etc)
...
*Add MO transports to ObjectAccessor storage
*Add functions Position::RelocateOffset and Position::GetPositionOffsetTo to help offset manipulations - BIG thanks to azazelkon for creating formulas!
*Add function to output debug info for MovementInfo and SpellCastTargets
*Throw ByteBufferException on incorrect packGUID read
*Add rfinish function to finish bytebuffer read.
--HG--
branch : trunk
2010-08-08 20:32:14 +02:00
click
1f80c7b3c0
Sourcefile sleanups -> tabs to spaces, remove whitespace - also update the cleanupscripts very slightly
...
--HG--
branch : trunk
2010-08-08 19:45:53 +02:00
azazel
590199d8e1
* Rename InstanceData to InstanceScript
...
* Rename *mgr to their new names in scripts project
* Mass convert all the scripts (NEEDS THOROUGH TESTING, because it was done automatically) Please, report bugs on issue tracker.
--HG--
branch : trunk
rename : src/server/game/Instances/InstanceData.cpp => src/server/game/Instances/InstanceScript.cpp
rename : src/server/game/Instances/InstanceData.h => src/server/game/Instances/InstanceScript.h
2010-08-08 22:54:58 +06:00
XTZGZoReX
9083271a2f
* Some singleton renames for consistency:
...
accmgr -> AccountMgr
objmgr -> ObjectMgr
auctionmgr -> sAuctionMgr
spellmgr -> sSpellMgr
CreatureEAI_Mgr -> sEventAIMgr
achievementmgr -> sAchievementMgr
gameeventmgr -> sGameEventMgr
sInstanceSaveManager -> sInstanceSaveMgr
poolhandler -> sPoolMgr
--HG--
branch : trunk
2010-08-08 05:25:45 +02:00
XTZGZoReX
909e332579
* Rename: BattleGround -> Battleground.
...
--HG--
branch : trunk
2010-08-08 04:37:24 +02:00
click
0caaa3e478
Revert changes done in r0074e32c2f and r4d86e4199a - fixes buildissues ( if()+reinterpret_cast is faster than dynamic_casts btw )
...
--HG--
branch : trunk
2010-08-06 03:00:39 +02:00
Shauren
4773aad26b
Make use of new ToItem() casts
...
--HG--
branch : trunk
2010-08-05 18:43:30 +02:00
Shauren
c94046b065
Make typecasting methods *really* safe and get rid of redundant typeId/Typemask checks, thanks Zor and Machiavelli for help
...
--HG--
branch : trunk
2010-08-05 17:01:25 +02:00
QAston
96eb7c513f
*Some more research about spell target flags - thanks to Zor for info.
...
--HG--
branch : trunk
2010-08-04 19:16:44 +02:00
QAston
6353e7dd8c
*Update movement enums - thanks to Zor for info.
...
*Add functions for position data streaming.
--HG--
branch : trunk
2010-08-04 14:39:45 +02:00
Shauren
46c1a4640d
Groups are now stored by low guid in map
...
Creatures and gameobjects also store looting group by low guid instead of full guid
--HG--
branch : trunk
2010-08-02 17:28:47 +02:00
silinoron
71b1c781e3
Add basic support for NPCs on transports; DB data required.
...
Currently no support for combat while the transport is in motion.
Based on a patch by Socolin.
Fixes issue #168
--HG--
branch : trunk
2010-07-30 21:54:46 -07:00
click
c298bdb662
Remove duplicate "Error:" from some outError messages...
...
--HG--
branch : trunk
2010-07-31 03:12:51 +02:00
QAston
48b360097c
*use ASSERT macro instead of regular assert for better output.
...
--HG--
branch : trunk
2010-07-30 20:04:28 +02:00
Shauren
77fc91bde8
Deleted data blob in item_instance
...
Fixed issues with displaying sockets/enchants/durability on heroic items
--HG--
branch : trunk
2010-07-30 13:15:31 +02:00
QAston
dd89c54c6e
*Move target handling of TARGET_DEST_CASTER_FRONT_LEAP out of SPELL_EFFECT_LEAP handler, this fixes spells with SPELL_EFFECT_LEAP using other target types.
...
--HG--
branch : trunk
2010-07-21 02:06:51 +02:00
Brian
fe39f4f59a
* Version update
...
--HG--
branch : trunk
2010-07-08 12:46:04 -06:00
Brian
4d00596e95
* Update for 3.3.5a
...
--HG--
branch : trunk
2010-06-30 13:11:44 -06:00
Brian
f1bcd2c5bc
* Fix expected client build
...
--HG--
branch : trunk
2010-06-30 12:46:19 -06:00
Machiavelli
0f7657b68c
Get rid of Trinity Singleton and Threading patterns and replace them with ACE_Singletons and ACE_GUARD_x macro´s with ACE_Thread_Mutex´es respectively.
...
Also get rid of unused CountedReference class that used Trinity threading pattern.
--HG--
branch : trunk
2010-06-25 00:18:01 +02:00
click
0b2dad9c97
Remove a possible NaN-value in WorldObject::HasInArc (thanks to arrai)
...
+ do some hack'n'slash-work on the CMakeLists with my trusted axe ( I just LOVE being a viking - I get to wield an axe for free!)
--HG--
branch : trunk
2010-06-24 17:32:50 +02:00
Machiavelli
d50cb473cb
Use original taxipath data in taxi flight movement generator. Author: Vladimir
...
+ Cleanup
--HG--
branch : trunk
2010-06-23 00:57:16 +02:00
Machiavelli
95ddfbd9e2
Remove some redundant explicit NULL checks for pointers before ´delete´ or ´delete[]´ calls since this check is done implicitly when deleting.
...
Also fixes a memory leak in .reload creature_template command
--HG--
branch : trunk
2010-06-21 23:20:58 +02:00
Brian
dee7fd1382
* Remove more not needed relative paths in include files
...
--HG--
branch : trunk
2010-06-08 16:13:55 -06:00
Brian
b76b6700ed
* Linux compile with and without PCH fixed
...
* Script library compile fixed
* --todo: fix all scripts themselves :)
--HG--
branch : trunk
2010-06-08 13:05:47 -06:00
Brian
6650068b5e
* Nearly done with fixing the Linux build.
...
* Thanks to samccstudios for saving me some time with the Outlands scripts.
--HG--
branch : trunk
2010-06-07 15:59:21 -06:00
Tartalo
c834449400
More fixes for game/ cmake compilation
...
--HG--
branch : trunk
2010-06-07 23:40:17 +02:00
Brian
2e0f8fb6e5
* Nope not yet
...
--HG--
branch : trunk
2010-06-07 09:23:19 -06:00
Brian
2435b4152d
* Nope still won't build yet
...
--HG--
branch : trunk
2010-06-07 09:04:14 -06:00
XTZGZoReX
62200e8d02
* Even more restructuring of the game library.
...
--HG--
branch : trunk
2010-06-06 22:55:56 +02:00
Rat
75b80d9f5b
rearranged core files
...
--HG--
branch : trunk
2010-06-05 23:40:08 +02:00