aboutsummaryrefslogtreecommitdiff
path: root/src/server/collision
AgeCommit message (Collapse)Author
2012-09-11Merge remote-tracking branch 'origin/master' into mmapsNay
2012-09-10Core: Warning fixes (Also some -pedantic under game folder)Spp
2012-09-07Core/MMaps: Add several safety checks to confirm a valid path generation.kaelima
- Address some issues in TargetMovementGenerator. Thanks Chevron
2012-09-06Merge remote-tracking branch 'origin/master' into mmapsNay
Conflicts: src/server/game/Spells/Spell.cpp
2012-09-05Core/Mmaps: Fixed unloading mmap tiles, the x and y were swapped. thanks to ↵Subv
MaNGOS for original implementation, and thanks to @Chevron for noticing.
2012-09-04Core/Gameobject: another attempt at fixing collision. chest gameobject ↵Kandera
initial collision provided by vincent-michael
2012-08-30Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmapsSubv
2012-08-30Core: Fix many "errors"/warnings and coding style (1)Nay
Extractors, worldserver, authserver, shared and collision affected Errors were found using Cppcheck, open-source static analysis tool
2012-08-24Core/Mmaps: Fixed build after last mergeSubv
2012-08-22Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmapsSubv
Conflicts: dep/PackageList.txt src/server/game/Movement/MotionMaster.cpp src/server/game/Movement/MovementGenerators/HomeMovementGenerator.cpp src/server/game/Movement/MovementGenerators/PointMovementGenerator.h src/server/game/Movement/Spline/MoveSplineInit.h src/server/game/World/World.h
2012-08-20Core/Misc: Some fixes here and thereChaplain
Closes #7277
2012-08-16Core/Loading: Re-enable Server loading logSpp
2012-08-03Whitespace is the root of all evil (version 2)Nay
2012-08-03Core/Logging: Add Asyncronous logging with Loggers ("What to log") and ↵Spp
Appenders ("Where to log") system. Will allow to select to full log some parts of core while others are not even logged. - Logging System is asyncronous to improve performance. - Each msg and Logger has a Log Type and Log Level assigned. Each msg is assigned the Logger of same Log Type or "root" Logger is selected if there is no Logger configured for the given Log Type - Loggers have a list of Appenders to send the msg to. The Msg in the Logger is not sent to Appenders if the msg LogLevel is lower than Logger LogLevel. - There are three (at the moment) types of Appenders: Console, File or DB (this is WIP, not working ATM). Msg is not written to the resource if msg LogLevel is lower than Appender LogLevel. - Appender and Console Log levels can be changed while server is active with command '.set loglevel (a/l) name level' Explanation of use with Sample config: Appender.Console.Type=1 (1 = Console) Appender.Console.Level=2 (2 = Debug) Appender.Server.Type=2 (2 = File) Appender.Server.Level=3 (3 = Info) Appender.Server.File=Server.log Appender.SQL.Type=2 (2 = File) Appender.SQL.Level=1 (1 = Trace) Appender.SQL.File=sql.log Appenders=Console Server (NOTE: SQL has not been included here... that will make core ignore the config for "SQL" as it's not in this list) Logger.root.Type=0 (0 = Default - if it's not created by config, server will create it with LogLevel = DISABLED) Logger.root.Level=5 (5 = Error) Logger.root.Appenders=Console Logger.SQL.Type=26 (26 = SQL) Logger.SQL.Level=3 (2 = Debug) Logger.SQL.Appenders=Console Server SQL Logger.SomeRandomName.Type=24 (24 = Guild) Logger.SomeRandomName.Level=5 (5 = Error) Loggers=root SQL SomeRandomName * At loading Appender SQL will be ignored, as it's not present on "Appenders" * sLog->outDebug(LOG_FILTER_GUILD, "Some log msg related to Guilds") - Msg is sent to Logger of Type LOG_FILTER_GUILD (24). Logger with name SomeRandomName is found but it's LogLevel = 5 and Msg LogLevel=2... Msg is not logged * sLog->outError(LOG_FILTER_GUILD, "Some error log msg related to Guilds") - Msg is sent to Logger of Type LOG_FILTER_GUILD (24). Logger with name SomeRandomeName is found with proper LogLevel but Logger does not have any Appenders assigned to that logger... Msg is not logged * sLog->outDebug(LOG_FILTER_SQL, "Some msg related to SQLs") - Msg is sent to Logger SQL (matches type), as it matches LogLevel the msg is sent to Appenders Console, Server and SQL - Appender Console has lower Log Level: Msg is logged to Console - Appender Server has higher Log Level: Msg is not logged to file - Appender SQL has lower Log Level: Msg is logged to file sql.log * sLog->outDebug(LOG_FILTER_BATTLEGROUND, "Some msg related to Battelgrounds") - Msg is sent to Logger root (Type 0) as no Logger was found with Type LOG_FILTER_BATTLEGROUND (13). As Logger has higher LogLevel msg is not sent to any appender * sLog->outError(LOG_FILTER_BATTLEGROUND, "Some error msg related to Battelgrounds") - Msg is sent to Logger root (Type 0) as no Logger was found with Type LOG_FILTER_BATTLEGROUND (13). Msg has lower LogLevel and is sent to Appender Console - Appender Console has lower LogLevel: Msg is logged to Console
2012-07-01Core/VMaps: Use fabs instead of abs for float type. On some platforms abs ↵Shauren
has only int overload exists.
2012-06-30Core: Minor code style correctionsShauren
2012-06-21Core/Misc: Code-style + some const methods.Chaplain
2012-04-09Try to check existance of mmaps folder.Venugh
2012-04-09Core/Mmaps:Venugh
* implemented loading part.
2012-04-09Core:Venugh
+ add mmaps files. + add the generator for movement.
2012-03-07Core/PlayersShauren
* Add liquid special aura only if player is in it (not when above) * Use CastSpell instead of AddAura - checks all dbc conditions on spell
2012-03-07Core/MapsShauren
* Corrected liquid type extraction in maps - MCLQ chunk must be parsed together with MH2O (they stack) * Fixed liquid detection in WMO objects * Implemented LiquidType.dbc use, players will now get proper auras in special liquids * Turned off slime damage by default (Naxxramas uses periodic damage aura for this purpose) * Implemented liquid type overrides basing on area/zone * Renamed final temp_gameobject_models to GameObjectModels.dtree (the temporary one produced by vmap extractor remains unaffected) Note: Map and Vmap re-extraction is required
2012-03-04Core/Collisions: Reverted a commit about M2 models.Subv
closes #5312 and probably others
2012-02-27Core: Minor cleanup in ObjectMgr and warning fixesSpp
2012-02-23Compile fix for gcc 4.5 and higherShauren
2012-02-23Core/Vmaps: Fixed errors during loading gameobject models and improved error ↵Shauren
output (will now write to logs)
2012-02-19Core: Fix non-PCH buildingclick
2012-02-18Core: Clean up whitespace and tabs in the base sourcetreeclick
2012-02-16Fix a lot of warningsSpp
2012-02-15Core/VMaps: Logic fail in path cleanupleak
2012-02-14Core/Collision: Models with flag MOD_M2 (mostly trees, among some other ↵Subv
objects) should not be taken into account for LoS checks, this check does not apply to gameobjects (yet) closes #3495 Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-02-11Core/Spells: Blink wont be able to trespass solid objects anymore (walls/doors)Subv
Refactored some code Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-02-09Core/Collision: Ported dynamic line of sight patch by Silverice from MaNGOS andSubv2112
added lots of improvements Please re-extract vmaps
2012-01-01Update headers for 2012. HAPPY NEW YEAR!!!kiper
2011-12-01Fix vmapassemblermns
Signed-off-by: mns <pgameserver@gmail.com>
2011-11-26Core/Misc: Make VMapManager2::acquireModelInstance and releaseModelInstance ↵Machiavelli
thread safe Closes #4086
2011-11-23Core: Fixed a few warnings and silly typos in scriptsShauren
2011-10-18Minor changes here and there:Spp
- Cosmetic changes - 'Engrish fix' - Initialization of some vars - Remove some not needed includes
2011-09-29Random minor code cleanupunknown
2011-09-29Cosmetic: Multiple cosmetic changesSpp
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '(' - Added missing space after a comma and remove space before comma (with some exceptions) - Remove trailing spaces - Convert tab to spaces Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-15[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with ↵Spp
some exceptions)
2011-09-09Conditions/DisableMgr: converted from singleton to namespace with free ↵Spp-
functions.
2011-07-29Core: Append single character to stream as character, not as a stringSpp-
2011-07-18Core: Fix non-PCH build + clean up some sporadic warningsclick
2011-07-11Core/Disables: Allow to disable certain vMaps through Disables system. Wiki ↵Lopin
will be updated soon
2011-07-01Core: Do not use STL container size method to check if container is emptySpp-
2011-05-11Core/Collision: Fixed possible memory leaksShauren
2011-04-29Add spaces after commasleak
2011-04-27Core/Buildsystem: Update copyright-headers for 2011, and adjust with the ↵click
correct teamname as well.
2011-04-02Core/Vmaps: Made code more safe and fixed problems in ↵Lynx3d & Ambal
WmoLiquid::GetLiquidHeight()