Commit Graph

40 Commits

Author SHA1 Message Date
click
5411e1ce52 Core: Clean up whitespace and tabs in the base sourcetree 2012-02-18 16:52:08 +01:00
Spp
03c34ee507 Fix a lot of warnings 2012-02-16 13:56:28 +01:00
leak
bfc657defe Core/VMaps: Logic fail in path cleanup 2012-02-15 16:42:40 +01:00
Subv
c53d722aa2 Core/Collision: Models with flag MOD_M2 (mostly trees, among some other 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-14 18:19:40 -05:00
Subv2112
93d199f043 Core/Collision: Ported dynamic line of sight patch by Silverice from MaNGOS and
added lots of improvements
Please re-extract vmaps
2012-02-09 13:58:22 -05:00
kiper
8299627ed9 Update headers for 2012. HAPPY NEW YEAR!!! 2012-01-01 00:32:13 +01:00
mns
8f8d45fdaf Fix vmapassembler
Signed-off-by: mns <pgameserver@gmail.com>
2011-12-01 04:19:38 +03:30
Shauren
44693cfa99 Core: Fixed a few warnings and silly typos in scripts 2011-11-23 16:57:08 +01:00
Spp
b16d2245bb Cosmetic: Multiple cosmetic changes
- 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-29 12:43:05 +02:00
Spp
af05915b9e [Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions) 2011-09-15 14:12:57 +02:00
Spp-
e47b96af3e Core: Append single character to stream as character, not as a string 2011-07-29 14:18:28 +02:00
Shauren
2fd70ed49d Core/Collision: Fixed possible memory leaks 2011-05-11 14:11:20 +02:00
leak
1003f30448 Add spaces after commas 2011-04-29 20:47:02 +02:00
Shauren
2f79b0f266 Core: Removed all double (and more) empty lines 2011-03-21 10:52:14 +01:00
Shauren
e5347a3bda Core: Fixed warnings:
C4100: 'variable' : unreferenced formal parameter
C4701: potentially uninitialized local variable
C4389: '!=' : signed/unsigned mismatch
C4245: 'argument' : conversion from 'X' to 'Y', signed/unsigned mismatch
2011-03-08 16:42:00 +01:00
Machiavelli
e07e20ffca Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf. 2011-02-20 20:16:34 +01:00
Machiavelli
957c69de83 Update copyright note for 2011.
Happy new year.
2011-01-01 15:01:13 +01:00
Shauren
928443d899 Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Spp
408fce1de6 Core: Some optimizations
- Declare some functions const
- Fix some mem leak
- Fix some resource leak
- Remove unused variables and functions
- Remove duplicate functions
- Reduce the scope of some variables
- Remove unused file

--HG--
branch : trunk
2010-12-06 02:07:53 +01:00
click
613b81f36f REALLY fix the CRLF-crap...
--HG--
branch : trunk
2010-10-07 15:54:07 +02:00
click
a67d7c9afd Copyright header updates - part 3... (and some whitespace cleanups)
--HG--
branch : trunk
2010-10-07 14:00:52 +02: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
16d95d3115 Core: Fix some warnings
--HG--
branch : trunk
2010-08-23 07:51:19 +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
click
e5b7f6ad01 Add option for search distance to getHeight() functions and make Creature::FallGround() use VMaps properly. (Fix by Lynx3d)
This finally prevents flying creatures from falling to infinity (basically instantly diappearing) in several instances, aswell
as prevent creatures from falling inside larger solid object around the world.

--HG--
branch : trunk
2010-07-27 17:29:33 +02:00
click
63179eb772 Fix typo in previous commit *sighs*
--HG--
branch : trunk
2010-07-10 05:46:21 +02:00
click
478946284d Fix incorrect blocked LOS-calculation on certain locations (by Lynx3d)
--HG--
branch : trunk
2010-07-10 05:14:05 +02:00
teacher
89ea8ccdf9 Fixed Extractors' windows compile issue (with click's blessing and ever viewing eye!)
--HG--
branch : trunk
2010-07-09 20:32:00 +02:00
click
45e2a65fad Update VMap3 to "final" release (REEXTRACTION OF MAPS/VMAPS IS REQUIRED!) - thanks to Lynx3d (again)
- add magic-header to .vmtile files
- calculate waterlevels for non-flat surfaces in a more correct way
- make MSVC shut up about float-issues
- change logging around a bit (output function that the respective logentry comes from)
- remove remaining Stormlib leftovers
- set indoor/outdoor check to enabled by default (more blizzlike)

--HG--
branch : trunk
2010-07-09 18:02:46 +02:00
Machiavelli
f43727e18c Change some map/vmap-related runtime output to sLog format.
--HG--
branch : trunk
2010-06-19 22:08:03 +02:00
Xanadu
09923bde06 Fixed win build of vmap assembler, too.
--HG--
branch : trunk
2010-06-19 21:50:34 +02:00
click
29d9e40f74 Some smaller fixes to the vmapextractor courtesy of Lynx3d (not using corefunctions + update errormessages to use the new fileextensions)
--HG--
branch : trunk
2010-06-19 21:35:32 +02:00
Machiavelli
8c8986b2bc Fix usage of uninitialized waypoint array variables in ConfusedMovementGenerator<T>::Initialize and revert 9b1c565510+ad8ce5245e that covered up this problem without fixing it and introduced a faulty LOS calculation.
With thanks to Lynx3d and click, and Aokromes and ritchy for testing.

--HG--
branch : trunk
2010-06-19 17:26:12 +02:00
click
7fe641c99e Fix a small "typo" regarding the calculation of LoS from the r9b1c565510 vmap-fix - fix by Gyullo, after being busy slapping himself for the mistake
--HG--
branch : trunk
2010-06-17 22:28:16 +02:00
click
aa74cac7cb Add plane/finitecheck tests for OOB intersection-vectors (this should fix vmap-related freezes) - patch by Gyullo
--HG--
branch : trunk
2010-06-17 20:38:46 +02:00
Shauren
ebb0785817 Commit from Lynx3d: Add assert to values that can cause nasty freeze, but should never occur with
valid input.

--HG--
branch : trunk
2010-06-15 17:08:04 +02:00
Brian
c08a7d6348 * Finally it compiles (thanks click for noticing the "typo").
* However, still need to get linking fixed.

--HG--
branch : trunk
2010-06-07 19:04:11 -06:00
Brian
1fd7082712 * Reverted to the old G3D library, however collision still will not compile
* and is therefore commented out.

--HG--
branch : trunk
2010-06-07 18:32:20 -06:00
Tartalo
a5f4e3de94 more cmake fixes. comment collision compilation until fixed
--HG--
branch : trunk
2010-06-08 01:20:06 +02:00
XTZGZoReX
fcd58c134d * Move VMap3 code to a separate static 'collision' library.
--HG--
branch : trunk
2010-06-07 13:57:34 +02:00