Commit Graph
49 Commits
Author SHA1 Message Date
raczman e30e9a45cb Cleaned up include directories in cmakes.
--HG--
branch : trunk
2010-04-06 15:53:27 +02:00
Spp 8034a6c48e Rename 'Hostil' to 'Hostile'
Credits to NoFantasy (Mangos)
Closes issue #411

--HG--
branch : trunk
2010-03-09 11:11:10 +01:00
n0n4m3 bcd4a48328 Removed stupid/not needed file Spellid.h.
--HG--
branch : trunk
2010-02-15 18:23:39 +01:00
Xanadu f8d1920fa5 Yet more cleanup, mostly in the script system. This should conclude the script integration into core.
--HG--
branch : trunk
2010-02-05 13:01:32 +01:00
Rat 523dae2f63 *added new CMakeLists
-should speed up building on linux systems

--HG--
branch : trunk
2010-01-24 20:02:05 +01:00
win32 ce620223eb restore work scripts in *nix system
--HG--
branch : trunk
2010-01-21 08:23:30 +02:00
XTZGZoReX 48b085124e * Add basic AddonMgr.
* All this really does at the moment is save addon names + CRCs to DB for use for.. whatever, later.

--HG--
branch : trunk
2010-01-20 16:24:52 +01:00
Brian bbdca0aa43 * Cleaning Wintergrasp from the core part 1
* When someone feels like coding it properly, it can be added back in.

--HG--
branch : trunk
2010-01-20 06:26:13 -07:00
Rat 41bff63fe7 *added placeholders for SmartAI
--HG--
branch : trunk
2010-01-19 16:41:31 +01:00
Rat 0cc053ea4d *Integrate Script system to Core
-added ScriptMgr for loading scripts
-removed bindings
-moved script system to src/game
-moved scripts to src/scripts
-VC project files updated
-cmakes updated (not 100% done yet)

NOTE to Devs:
-file locations changed
-precompiled renamed to ScriptedPch
-ecsort_ai renamed to ScriptedEscortAI
-follower_ai renamed to ScriptedFollowerAI
-guard_ai renamed to ScriptedGuardAI
-simple_ai renamed to ScriptedSimpleAI
-sc_creature renamed to ScriptedCreature
-sc_gossip renamed to ScriptedGossip
-sc_instance  renamed to ScriptedInstance

*use the new headers in scripts, thank you

NOTE to ALL:
cmake not fully tested, please report any errors with it
could make creashes, incompability
USE AT YOUR OWN RISK before further tests!!

--HG--
branch : trunk
2010-01-19 11:36:05 +01:00
QAston 8e9d2cdf01 Update aura system:
* Change system logic - unify Auras, AreaAuras and PersistentAreaAuras:
  * Aura has now its owner - which is the WorldObject, which applies aura (creates AuraApplication object) dependant on aura radius, and effect type
  * Owner can be Dynobj (DynObjAura class) for PersistentAreaAuras, or Unit (UnitAura class) for Area and nonArea auras
  * Aura data is shared for all units which have AuraApplication of the Aura
   * Because of that AuraEffect handlers , and periodic tick functions can't modify AuraEffect object (they are const now)
  * Remove spell source and AreaAuraEffect classes
  * Add AuraEffect::UpdatePeriodic function, to allow periodic aura object modification (target independant)
  * Add AuraEffect::CalculateAmount and AuraEffect::CalculateSpellMod function, to allow non-default amount calculation
  * AreaAura updates are done in owner _UpdateSpells cycle
  * Since now you don't need to wait an aura update cycle to get area aura applied on it's correct target list
  * And you can access area aura target list
  * Add basic support for aura amount recalculation
  * Save recalculation state and base amount of auras to db
  * Add AuraEffect::CalculatePeriodic function to determine if aura is periodic, and to set correct tick number after aura is loaded from db
  * Add ChangeAmount function in addition to SetAmount function, to allow easy reapplication of AuraEffect handlers on all targets
  * Sort aura effect handlers in SpellAuras.cpp and .h by their use
  * Add check for already existing aura of that type to some AuraEffect handlers, to prevent incorrect effect removal
  * SPELL_AURA_CONVERT_RUNE and MOD_POWER_REGEN and MOD_REGEN hacky handlers are now implemented correctly
  * Send aura application client update only once per unit update - prevent unnecesary packet spam
 * Fix ByteBuffer::appendPackGUID function - it added additionall 0s at the end of the packet
 * Fix memory leak at player creation (not deleted auras)
 * Updated some naming conventions (too many to mention)
 * Added Unit::GetAuraOfRankedSpell() function
 * Remove procflags on aura remove, use Aura::HandleAuraSpecificMods instead
 * Added functions to maintain owned auras (GetOwnedAuras, GetOwnedAura, RemoveOwnedAura, etc)
 * Implement AURA_INTERRUPT_FLAG_LANDING
 * Implement EffectPlayerNotification (thanks to Spp)
 * Remove wrong aura 304 handler
 * Add better handler for death runes
 * Remove unnecesary variables from DynamicObject class, and cleanup related code, link dynobj duration with aura
 * Add GetAuraEffectTriggerTarget function in CreatureAi for special target selection for periodic trigger auras used in a script
 * Add many assert() procection from idiots using some functions in wrong way
 * I am to lazy to write here anything more
Thanks to Visagalis for testing this patch
PS: Do not make patches like this, please

--HG--
branch : trunk
2010-01-10 01:23:15 +01:00
p0wer 7fbab0f69e * Fix typo.
--HG--
branch : trunk
2009-12-25 10:54:57 -06:00
p0wer 695fad7bbd * Add SpellId.h to solution so we can begin to replace id's with more descriptive,
* self commenting variables. Thanks to Zor.

--HG--
branch : trunk
2009-12-25 10:45:58 -06:00
n0n4m3 250a00cc1c Temporary revert 6743 commit. I fix this patch across 1-2 days.
--HG--
branch : trunk
2009-12-24 10:20:15 +01:00
n0n4m3 3fe0bc5254 Replaced time(NULL) on sGameTime.GetGameTime() this is used for better performance.
Original Timer.h divided into 2 parts. Shared project has no need to know about GameTime Singleton.
2 Identical structures with different types are now replaced with one generic templated structure and 2 typedefs.

--HG--
branch : trunk
2009-12-23 08:04:10 +01:00
n0n4m3 5697ea9c94 Update BattleGround System for 322a
--HG--
branch : trunk
2009-12-17 10:43:12 +01:00
n0n4m3 2028f0658b Removed mtmaps OpenMP
Implement mtmaps based on ACE
For stable work MapUpdate.Threads=2 in config

--HG--
branch : trunk
2009-12-17 07:34:00 +01:00
spp 51a1a0aca9 Wintergrasp: Normalization of names to fit OutdoorPvP system
--HG--
branch : trunk
2009-12-14 03:53:38 +01:00
Brian 8390f7524f * Finally removed the empty AnimalRandomMovementGenerator.h file
--HG--
branch : trunk
2009-12-11 13:37:02 -07:00
tartalo d7262a6298 Implement No Fly Zone using Spell, by Spp. Needs db support. Closes #494
--HG--
branch : trunk
2009-12-01 11:43:57 +01:00
Brian 0c8d516147 * Remove empty header file
--HG--
branch : trunk
2009-11-26 20:48:59 -07:00
Brian 2e15d4454e * Removed empty header file
--HG--
branch : trunk
2009-11-26 20:46:33 -07:00
Brian 9bc9f11f6a * Removed empty header file
--HG--
branch : trunk
2009-11-26 20:43:01 -07:00
tartalo bcfff09c74 *Implementation of 'No Fly Zone' (Dalaran and Wintergrasp), by Spp
--HG--
branch : trunk
2009-11-02 21:05:54 +01:00
megamage 78a6a04db9 *Missing cmake change.
--HG--
branch : trunk
2009-08-23 15:00:59 -05:00
QAston 38026a2576 *Fix build on platforms using CMake - by Biglad
--HG--
branch : trunk
2009-07-31 14:30:17 +02: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
cca220v a013b9b55c *Remove 2 not needed files from CMakeLists.
--HG--
branch : trunk
2009-06-16 02:03:59 +02:00
raczman 19225e8880 Added basic support for multithreaded map updates using openmp standard.
Windows users need to install Platform SDK to use this feature,
linux users have everything they need in gcc.
Number of threads used to update world is set by confiuration file,
and can be changed dynamically without restarting core.
Thanks to megamage and Jeniczek for testing and helping out with this.

--HG--
branch : trunk
2009-06-15 09:07:51 +02:00
megamage 8d1f4f9ea0 *Provide another way to implement dynamic spawns. Now a creature will call its zonescript before spawn to determine the spawned entry. This can be used to implement zones such as wintergrasp with less data requirement (only need to know the entry of counterpart creatures, not require spawn points)
*Use zonescript as basic class of opvp script and dugeon script (can also be used for bg)
*Store zonescript in worldobject.
*Add door for sapphiron.

--HG--
branch : trunk
2009-05-30 22:15:05 -05:00
megamage ab5b273d3c *Some work on wintergrasp. Player can get ranks by killing other players and can build vehicles at workshop. Vehicles can be used to destroy buildings. Except these no other thing is done.
--HG--
branch : trunk
2009-05-22 10:29:48 -05:00
megamage dcf41256dd *Move some AI functions to core. No real change.
--HG--
branch : trunk
2009-05-10 16:07:49 -05:00
Chaz Brown 43e1e54634 Add newline to src/game/CMakeLists.txt <rolleyes>
--HG--
branch : trunk
2009-04-28 08:39:11 -04:00
raczman aebb58dd34 Fix build on linux.
--HG--
branch : trunk
2009-04-08 14:22:52 +02:00
XTZGZoReX cc2a089a9d * Trailing whitespace removed.
--HG--
branch : trunk
2009-04-06 21:14:51 +02:00
Chaz Brown b9ae9144f9 Fix errors with cmake and revision.h fix by raczman
--HG--
branch : trunk
2009-04-03 18:32:12 -04:00
Chaz Brown 98642ff69e Fix errors with cmake and revision.h fix by raczman
--HG--
branch : trunk
2009-04-03 18:31:29 -04:00
Drahy adf25d2db6 * Used trinity sql coding style
* Remember to use 2227_mangos_7546_02_realmd_uptime to your realm database
* Be careful 2227_mangos_7544_01_world_uptime will wipe all your data in uptime table
* Added 2254_world for correction in command table
* Fixed linux compile

--HG--
branch : trunk
2009-03-27 17:35:41 +01:00
XTZGZoReX 20b4427d55 * Added new repmgr to CMake.
--HG--
branch : trunk
2009-03-27 13:35:50 +01:00
panaut0lordv b488796d99 CMake build fix.
--HG--
branch : trunk
2009-03-07 11:45:27 +01:00
Paradox 7b47d509e3 New AHBot plus AuctionHouse changes
--HG--
branch : trunk
2009-03-06 17:47:11 -06:00
Muhaha f709da7d86 * cmake fix.
--HG--
branch : trunk
2009-02-20 15:12:45 +01:00
panaut0lordv b3bc31a69f Missing cmake AH related file.
--HG--
branch : trunk
2009-02-15 15:20:56 +01:00
panaut0lordv e95edc09c6 Cmake fix.
--HG--
branch : trunk
2009-02-14 10:17:54 +01:00
megamage 4d008f2043 Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
2009-02-04 10:33:18 -06:00
KingPin e1f765a972 AuctionHouseBot patch added. thanx to everyone who worked on it especially Paradox. Only apply 930_characters.sql if you dont already have AHBot installed. AHBot requires an account ID and a character ID to work with, set them in trinitycore.conf and also login atleast once to this character.
--HG--
branch : trunk
2009-01-20 16:44:05 -06:00
megamage df7499e056 *Merge.
--HG--
branch : trunk
2009-02-04 10:53:58 -06:00
panaut0lordv 60061f969c Build on linux fixed. Thx raczman
--HG--
branch : trunk
2009-01-26 20:07:06 +01:00
raczman 09ddc711f4 Cmake build system for trinity
--HG--
branch : trunk
2009-01-17 09:23:33 -05:00