Commit Graph

60 Commits

Author SHA1 Message Date
n0n4m3 c3ee3f537d Set use mtmaps by default, and cleanup some code in MapManager.
TODO: Set MapUpdate.Threads=0 in config, for full disable mtmaps, for correct work mtmaps, need ACE 5.7.2+, recommend 5.7.5

--HG--
branch : trunk
2009-12-21 07:58:19 +01:00
Rat 6fe36efe0f *apply trinity style to whole source
*comment out all mangos to trinity defines
*this will make merging a little harder, but code will be more clear

--HG--
branch : trunk
2009-12-20 15:20:04 +01:00
n0n4m3 3e03b0aa2d Fixed crash in LinkedListElement, thx Alexsot
--HG--
branch : trunk
2009-12-17 06:42:04 +01:00
Brian 2547e5c109 * Removed all unneeded Makefile.am files that were leftover from merges with
* MaNGOS

--HG--
branch : trunk
2009-12-11 13:52:46 -07:00
Kudlaty a73a8dc549 Add option to cmake if should compile with multi thread maps or not.
Usage with: -DUSE_MULTI_THREAD_MAP=true (this will compile with multi thread maps

--HG--
branch : trunk
2009-11-28 15:37:55 +01:00
maximius 654519d1a6 *Some cleanup (mostly whitespace changes)
--HG--
branch : trunk
2009-11-20 19:11:28 -08:00
Paradox d8572155ca Disable MTMaps by default, since it seems to be such a big headache for some people to do this for themselves.
--HG--
branch : trunk
2009-10-25 22:33:23 -04:00
maximius 3f338cc1c3 *Massive cleanup redux.
--HG--
branch : trunk
2009-10-17 16:20:24 -07:00
maximius e585187b24 *Backed out changeset 3be01fb200a5
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius 26b5e033ff *Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget

--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
maximius f980dd9ac6 *Merge [8524] New cell search algorithm implemented. You can now choose different
visibility distances on continents, in BG/Arenas and instances. Author: Ambal
*Some warning cleanup

--HG--
branch : trunk
2009-09-27 02:24:25 -07:00
Chaz Brown 135888af84 * Hopefully, MTMaps will only be enabled in release, and not in debug modes (This was causing debug builds to not run under windows)
* Fixed a bug in AHBot where auctions being removed were sometimes seen as the wrong faction, leading to problems with replacing them with new auctions.
* Added loopbreaker back in, just in case...

--HG--
branch : trunk
2009-09-24 17:34:29 -04:00
Chaz Brown 7aa91dd81b * AHBot rewritten to cause less lag spikes when checking for bids and when adding new auctions.
* AH Deposit function rewritten to generate deposits closer to official.
* AH Mail system rewritten to fix some bugs.
* MULTI_THREAD_MAP enabled by default (I have no idea why this was commented out before)
* CLIENT_VER added for allowing parts of the code to be enabled/disabled depending on the client version supported.
  Only used in AHBot for now.
* Various code cleanups.

--HG--
branch : trunk
2009-09-22 20:40:34 -04:00
megamage 5b4006ceed [8194] Use _SECURE_SCL=0 for speedup iterators work at Windows platform in release mode. Author: Ambal
Change added for VC80/VC90, but not added for VC10.

--HG--
branch : trunk
2009-07-24 09:02:24 +08:00
megamage a49c2982ba *Merge.
*mtmap is disabled by default. To use it, define MULTI_THREAD_MAP in define.h
*mtmap support is not provided for windows users. Because there is no free openmp lib for windows. If you have openmp lib and want to use openmp, you need to manually change the setting.

--HG--
branch : trunk
2009-06-18 19:27:17 -05:00
megamage b96dea29c7 *Merge.
--HG--
branch : trunk
2009-05-25 13:17:41 -05:00
megamage c2588042e9 *Move some random generator functions to map class: functions in map/object/movementgenerator/spell
--HG--
branch : trunk
2009-05-25 12:05:23 -05:00
Anubisss 0b8e6ee15a *Some changes in bindings/interface.
*Fix the bug that You build it without Trinity Script the emu try to load the libtrinityscript lib instead of libtrinityinterface.

--HG--
branch : trunk
2009-05-23 20:48:32 +02:00
megamage 25e5c99dec [7810] Moved ZThread related code on ACE framework. Author: Ambal
Remove ZThread source code from mangos.

--HG--
branch : trunk
2009-05-13 18:22:21 -05:00
raczman d8bd91cf34 Removed automake from TC for good. ACE automake is still there, for folks who want to build ACE from dep/ACE_wrappers.
--HG--
branch : trunk
2009-03-29 23:14:53 +02:00
megamage 0a6ef039b2 [7420] Not set cdecl calling convention for x64 platform for Unic/Linux. Author: VladimirMangos
This will prevent generation "warning: 'cdecl' attribute ignored"

--HG--
branch : trunk
2009-03-09 17:46:07 -06:00
megamage c1ea842cf7 *Merge.
--HG--
branch : trunk
2009-03-05 09:17:57 -06:00
megamage e3eba9331e *Fix a crash.
--HG--
branch : trunk
2009-03-03 19:07:52 -06:00
megamage 5238b534ad [7356] Use tabs for indent in Makefiles Author: freghar
--HG--
branch : trunk
2009-03-02 16:41:20 -06:00
megamage d3a6900667 *Merge.
--HG--
branch : trunk
2009-02-26 20:43:35 -06:00
megamage ff24a59dd5 *Fix build.
--HG--
branch : trunk
2009-02-26 13:06:42 -06:00
megamage 4b19153a79 *Fix a crash caused by far sight spells.
--HG--
branch : trunk
2009-02-26 10:42:37 -06:00
megamage 1af157d012 *Initialize some variables of grid lock. By Vladimir.
--HG--
branch : trunk
2009-02-26 10:31:28 -06:00
megamage bf66375bc7 *Update active object code. By VladimirMangos.
--HG--
branch : trunk
2009-02-25 20:52:20 -06:00
megamage ccde296fd3 *Fix some crash bugs.
--HG--
branch : trunk
2009-02-25 17:53:05 -06:00
megamage 699bc588b8 [7330] Code warnings and style cleanups. Some bugs fixes. Author: VladimirMangos
1) comparison singed and unsigned values
    2) redundent includes
    3) wrong constructor :-part field initilization
    4) unused not-/*name*/-guarded args in template/virtual functions that not required like args.
    5) explicitly list not implemented achievement types.

    Also bugs fixed:
    1) Drop wrong phase mask 0 check in WorldObject::InSamePhase.
    2) ArenaTeamMember::ModifyPersonalRating incorrect work with move points in negative with infinity values in result.
    3) ArenaTeam::SaveToDB code send uint64 value to string with arg format %u.

--HG--
branch : trunk
2009-02-24 11:14:28 -06:00
megamage 3e8d76087d *Merge.
--HG--
branch : trunk
2009-02-22 17:30:09 -06:00
raczman 6f7c53b7f5 fix cmake/ACE for freeBSD and Mac OSX
--HG--
branch : trunk
2009-02-20 18:22:39 -06:00
megamage 31637d4aac *Merge.
--HG--
branch : trunk
2009-02-18 11:36:19 -06:00
KingPin 14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
megamage 4d008f2043 Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
2009-02-04 10:33:18 -06:00
megamage d69198732e *Merge.
--HG--
branch : trunk
2009-02-04 17:22:43 -06:00
megamage df7499e056 *Merge.
--HG--
branch : trunk
2009-02-04 10:53:58 -06:00
Drahy 5dab980495 * Updated copyright notice for new year (2009) part 2
* Changed mangos website

--HG--
branch : trunk
2009-02-04 12:42:26 +01:00
Drahy 7c19c420c6 * Updated copyright notice for new year (2009) part 1 - Mercurial cant convert all files at once
--HG--
branch : trunk
2009-02-04 12:04:12 +01:00
megamage 68c0bcd069 *Update to Mangos 7125.
--HG--
branch : trunk
2009-01-20 19:59:43 -06:00
raczman 09ddc711f4 Cmake build system for trinity
--HG--
branch : trunk
2009-01-17 09:23:33 -05:00
megamage bb3eece60e *Reapply rev 666.
--HG--
branch : trunk
2008-12-26 16:07:26 -06:00
megamage 5818075b28 Backed out changeset: 2c9f52df4699
--HG--
branch : trunk
2008-12-26 15:59:39 -06:00
w12x 54ba9c12df Added missing initialization to 3-parameter _SCallback. This fixes 2-parameter async sql callbacks, for instance character renaming.
--HG--
branch : trunk
2008-12-26 20:15:53 +01:00
megamage e26beb36c2 *Update to Mangos 6856. Source: Mangos.
--HG--
branch : trunk
2008-11-28 11:38:28 -06:00
megamage 0521e2d017 *Update to Mangos 6849. Source: Mangos.
--HG--
branch : trunk
2008-11-26 14:23:50 -06:00
megamage ea68727d27 *Merge from Mangos. Add MapReference. Author: hunuza.
*Also re-commit the patches reverted in 255.

--HG--
branch : trunk
2008-11-18 19:40:06 -06:00
KingPin ad217ed2f4 [svn] * more fixes for hash/unordered map. source mangos.
--HG--
branch : trunk
2008-11-12 06:41:30 -06:00
KingPin 943b4b68b9 [svn] * GCC compile fix - Source Derex
* Cleanups

*** This revision made by ogres due to our Gnome engineers getting a little too drunk at yesterdays Trinity office party(It's true, would I lie to you?).

--HG--
branch : trunk
2008-11-10 20:11:14 -06:00