Commit Graph
100 Commits
Author SHA1 Message Date
Sebastian Valle 8fb1f7cc97 Tools/MeshExtractor: Implemented 7ca6f56a06 in MeshExtractor and fixed a memory leak. 2013-10-01 16:27:57 -05:00
Sebastian Valle a8611de906 Tools/MeshExtractor: Fixed a few mistakes in MPQManager::GetFileFrom and Utils::SaveToDisk 2013-10-01 15:45:55 -05:00
Sebastian Valle 1588e27f1e Tools/MeshExtractor: Fixed the generated mesh for continents.
Fixed a few more issues.
2013-10-01 14:13:37 -05:00
Sebastian Valle c5c3b7ab2a Tools/MeshExtractor: Implemented the code to generate mesh files for continent maps.
Fixed a few more things
ToDo:
Test the generated navmesh.
2013-09-30 23:31:09 -05:00
Sebastian Valle 3ed0a11679 Tools/MeshExtractor: Do not delete the polygons before we are done using them. 2013-09-30 21:08:33 -05:00
Sebastian Valle 1e23710b11 Tools/MeshExtractor: Forgot to push some changes. 2013-09-30 18:00:00 -05:00
Sebastian Valle 520ff5a6e7 Tools/MeshExtractor: Some more cleanup. 2013-09-30 17:46:19 -05:00
Sebastian Valle 271a57b80d Tools/MeshExtractor: Fixed mmap extracting for instance maps and fixed a number of issues.
ToDo:
Cleanup the code a bit.
WILL NOT CURRENTLY WORK WITH TrinityCore, if you want to test it, use the --extract 32 flag of MeshExtractor.
2013-09-30 17:27:37 -05:00
Sebastian Valle 15e7f7ab21 Tools/MeshExtractor: Implemented mmap mesh generation for instances (They do not have ADT files, they're just a big WMO).
Cleaned up some things and fixed some errors.
ToDo:
* Test this a bit more.
* Cleanup the codebase for this, remove duplicated code.
2013-09-30 01:05:07 -05:00
Sebastian Valle 9876108f3e Tools/MeshExtractor: Removed some redundant code 2013-09-29 20:15:35 -05:00
Sebastian Valle 02a543b0a0 Tools/MeshExtractor: Some more cleanup and memory management improvements. 2013-09-29 20:06:44 -05:00
Sebastian Valle 371dd07037 Tools/MeshExtractor: Fixed Doodads and WMOs in the terrain.
Cleaned up a little.
2013-09-29 19:47:52 -05:00
Sebastian Valle 279183737c Tools/MeshExtractor: Fixed(??????) Doodads in the terrain.
Semi-fixed WMOs in the terrain, they are wrongly rotated.
P.D: HALP
P.P.D: Entered "I don't know what i'm doing" mode.
2013-09-29 16:52:20 -05:00
Sebastian Valle a68c29e15c Tools/MeshExtractor: Fixed a lot of stuff, finally made the Doodads render, the WMO's have been disabled for now.
ToDo:
* Fix the doodads positions.
* Review and re-implement some code.

P.D: Help me please.
2013-09-29 02:05:28 -05:00
Sebastian Valle 85d6b7b7b3 Tools/MeshExtractor: Added some debug messages. 2013-09-27 16:42:00 -05:00
Sebastian Valle b7b870be82 Tools/MeshExtractor: Removed the fool-proof code. 2013-09-27 16:01:28 -05:00
Sebastian Valle da60e515f0 Tools/MeshExtractor: Fixed it's build, still in pre-alpha 2013-09-27 15:09:24 -05:00
Sebastian Valle a37f18a67a Core/Build: Fixed build 2013-09-03 21:55:35 -05:00
Sebastian Valle 88df2ca6d4 Core/Build: Updated the header files to fix the build. 2013-09-03 17:43:11 -05:00
Sebastian Valle 07d793b94b Core/Misc: Fixed some more issues found by static code analysis tools. 2013-09-03 17:31:02 -05:00
Sebastian Valle 2cfcf9d3ef Scripts/HallsOfReflection: Fixed a typo detected by static analysis tool. 2013-09-03 16:58:57 -05:00
Sebastian Valle 24f8b2b994 Core/Misc: Fixed some more issues found by code analysis tools. 2013-09-03 15:09:37 -05:00
Subv ac6fcda030 Merge pull request #10178 from mweinelt/master
Core/Spells: Remove correct stack of Deadly Poison when using Envenom
2013-07-02 05:06:51 -07:00
Subv 538f3a6bda Merge pull request #9946 from Ascathor/master
Core/Conditions: Adding more information to the invalid quest condition log error
2013-06-04 08:55:52 -07:00
Subv 1d1bb84cf9 Merge pull request #9854 from Ascathor/master
Core/Command: Optimized .pinfo more
2013-06-02 17:52:27 -07:00
Subv 55b3819d12 Core/Database: Deleted characters will no longer be loaded when sending the SMSG_CHAR_ENUM packet. 2013-06-01 12:57:37 -05:00
Subv 16e1703872 Core/Build: Missing include. 2013-05-31 12:59:33 -05:00
Subv 905ca8e1e4 Core/Movement: Follower creatures in a formation will now follow their leader when the leader was moved with PointMovementGenerator 2013-05-31 12:38:05 -05:00
Subv 6ce9e7f185 Core/Build: Fixed the build 2013-05-17 23:20:47 -05:00
Subv 98ad7309c9 * Another small batch of fixes from static analysis tool. 2013-05-17 23:08:28 -05:00
Subv 60a88a08f5 * Some more static analysis issues fixed. 2013-05-17 22:29:58 -05:00
Subv 1c3121b9cf * Another issue found by static analysis fixed. 2013-05-17 21:56:31 -05:00
Subv 25acef2572 * Batch of fixes for issues found by static analysis. 2013-05-17 21:11:18 -05:00
Subv 17c116a346 Merge pull request #9727 from Ascathor/master
Core/Player: CharDelete.Heroic.MinLevel as seperated unlink requirement for Heroic classes
2013-04-27 22:45:08 -07:00
Subv b104544d15 Merge pull request #9648 from xjose93/ImproveLog
Core/Log: Added more information to log when a map cant be created.
2013-04-15 08:59:02 -07:00
Subv 176ec5b089 Merge pull request #9612 from Ascathor/master
Clearify the guild limitation message on world server initation
2013-04-09 13:33:24 -07:00
Subv ef9f2aca0d Merge pull request #8753 from MrSmite/Pet_SpeedFix
Fix pets lagging behind and despawning
2013-01-03 17:04:50 -08:00
Subv b4be02c8a0 Core/Conditions: Rename CONDITION_INSTANCE_DATA to CONDITION_INSTANCE_INFO.
And allow it to be used with GetData, GetData64 and GetBossState.
2012-12-30 16:03:25 -05:00
Subv 2002bc785e Core/SAI: Fixed SMART_ACTION_SET_RANGED_MOVEMENT 2012-12-29 15:35:56 -05:00
Subv 9bc339cd89 Core/Movement: MSG_MOVE_TELEPORT is not supposed to be sent to the player being teleported.
Thanks @vlad852
Closes #8798
Closes #8774
2012-12-29 15:25:48 -05:00
Subv 3d3a8107e0 Core/Entities: Account for creatures that are spawned below ground level when adding flying flags. (Triggers, mostly) 2012-12-29 14:23:23 -05:00
Subv 3ad9dafdb6 Core/Entities: Update movement flags for flying/swimming creatures on Creature::Update 2012-12-29 04:01:55 +01:00
Subv 8f589dcdd0 Core/Entities: Add a delta to the ground level difference for removing the flying movementflags when landing. 2012-12-28 13:53:44 -05:00
Subv ff5b0a14a4 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into mmaps 2012-12-28 11:45:46 -05:00
Subv 873aa5f2a7 Core/Movement: Do not set movement flags for creatures based only on their InhabitType, check if they are actually on air/water. newline. Should allow us to fix some problems on ICC and the mmaps branch. 2012-12-27 19:31:34 +01:00
Subv 1a8d7d738a Merge pull request #8787 from joschiwald/load_spell_procs
Core/Spells: fix possible crash when loading `spell_proc` table
2012-12-27 06:48:45 -08:00
Subv 81d53f8a87 Scripts/Ick&Krick: Krick should only say his KilledUnit text when the victim is a player. 2012-12-26 13:36:07 -05:00
Subv f6f3680995 Core/BuildSystem: Added some more headers to the collisions project PCH 2012-12-24 10:34:36 -05:00
Subv c33a1724ae Core/Spells: Spells that are usable while stunned should no longer have problems with stun auras that don't apply any mechanic. 2012-12-23 13:21:00 -05:00
Subv a0ad8f7a46 Core/Entities: Also send MSG_MOVE_TELEPORT to the player 2012-12-23 12:39:51 -05:00
Subv 24466d721c Core/Entities: Missing change from previous commit
Calling UpdateObjectVisibility() will make sure that the semi-far teleports (those where the destination position is not in direct sight) will work correctly.
2012-12-23 09:33:29 -05:00
Subv 143340b38c Core/Movement: Fixed near teleports, big thanks to @Trista who basically figured this out on his own. 2012-12-23 08:09:56 -05:00
Subv 3f4c6a9d45 Merge pull request #8739 from MrSmite/PetAI_CanAttack_bugfix
Fix a minor PetAI behavioral issue
2012-12-22 09:23:55 -08:00
Subv 957571e18c Merge pull request #8662 from MrSmite/ItemContainer_1.1
Item Loot Saving
2012-12-20 07:00:29 -08:00
Subv 136dbd69fd Merge pull request #8583 from Gacko/scripttexts
Core/DB: Drop table script_texts
2012-12-14 18:11:31 -08:00
Subv 4b1e65d057 Core/PetAI: Fixed a crash in PetAI::CanAttack
Closes #8660
2012-12-14 11:06:56 -05:00
Subv 01f118bf77 Merge pull request #8416 from MrSmite/PetAI_2.0
Core/PetAI: Several changes.
Closes #7455
Closes #8398
2012-12-09 07:50:33 -08:00
Subv 1f55b890b7 Merge pull request #8560 from ille/pointercheck02
Core/Spells: Add safety NULL check for Evasive Maneuvers proc.
2012-12-04 05:19:24 -08:00
Subv 4a66290fb9 Merge pull request #8284 from Warpten/miscFix
Core/Spells: Misc fixes.
2012-12-01 07:38:58 -08:00
Subv bdbafc0184 Core/Conditions: Add CONDITION_GENDER = 20 2012-11-26 14:35:28 -05:00
Subv 31f6612baa Merge pull request #8384 from Amit86/toc_fix_typo
Fix a typo in Trial Of The Crusader ELEGIBLE -> ELIGIBLE
2012-11-21 05:18:59 -08:00
Subv 17071df235 Merge pull request #8383 from blipi/lfg_fixes
Core/Dungeon Finder: Properly save old state for LfgPlayerData
2012-11-20 19:35:45 -08:00
Subv a17d44bcc2 Merge pull request #8381 from blipi/lfg_fixes
Core/Dungeon Finder: Old state should be saved, not the new one
2012-11-20 19:19:30 -08:00
Subv d42212b595 Core/Battlegrounds: Add methods for determining the winner of a BG if it has ended due to not enough players.
Implemented for Arathi Basin, Alterac Valley, Warsong Gulch and Eye Of The Storm.
All other BGs winner are currently decided based on the number of players of each side, they will be implemented later.
2012-11-18 22:07:44 -05:00
Subv a337abc436 Scripts/Instances: Added missing definition from previous commit. 2012-11-18 20:53:27 -05:00
Subv bbe146d104 Scripts/Instances: Save Magister's Terrace door (and statue) state.
Closes #6889
2012-11-18 20:33:03 -05:00
Subv b768ebc68f Fixed build.
Thanks vincent-michael
2012-11-17 15:21:05 -05:00
Subv 01d2126e7c Core/SAI: Allow the actions CALL_KILLEDMONSTER, CALL_GROUPEVENTHAPPENS and CALL_AREAEXPLOREDOREVENTHAPPENS to be used on vehicles, affecting all of their passengers. 2012-11-17 14:57:20 -05:00
Subv d55771267a Core/EventAI: Removed table creature_ai_summons. 2012-11-16 12:30:48 -05:00
Subv aff6684b7a SQL: Reorganized SQL files regarding previous merge. 2012-11-16 09:21:51 -05:00
Subv cef716ff86 Core/SQL: Renamed SQL from previous merge 2012-11-16 08:35:56 -05:00
Subv ecf3f6c2c7 Merge pull request #8291 from Gacko/utgardekeep
Core/DB: Utgarde Keep
2012-11-16 05:33:16 -08:00
Subv d13ca54ecc Core/Log: Added more information to the log in MoveSplineInitArgs::Validate 2012-11-15 08:27:23 -05:00
Subv cb9dd9bd7e Merge pull request #8280 from DjYXA/patch-1
Daze mechanics Fix - By Arrakio
2012-11-14 07:59:17 -08:00
Subv 6325060804 Core/Spells: Enslave Demon shouldn't be usable on player pets.
Closes #7133
2012-11-14 10:33:56 -05:00
Subv 10a8a4f8f6 Missing variable in the function call. 2012-11-14 09:42:05 -05:00
Subv 51414967c4 Core/Build: Fixed a little mistake. 2012-11-14 09:35:45 -05:00
Subv e61c09242a Merge pull request #8299 from rocky517/mmaps
Fixed build.
2012-11-12 04:49:27 -08:00
Subv 4e22731467 Merge pull request #8258 from ille/pointercheck
Core/Scripts: tweak code in pyrewood_ambushAI::SummonCreatureWithRandomT...
2012-11-05 10:10:33 -08:00
Subv ebdbe869af Core/SQL: Changed codification of recent SQL file to ANSI 2012-10-25 10:54:22 -05:00
Subv 9084c89ea8 Core/SQL: Renamed file from previous merge.
Corrected the guids.
2012-10-25 10:11:56 -05:00
Subv 55892048ef Merge pull request #8127 from Gacko/childrens_week
Core/DB: Children's Week
2012-10-25 07:43:02 -07:00
Subv 69a81836ab Merge pull request #8174 from tibbi/sota
correcting SotA teleports + cleanup
2012-10-25 05:56:01 -07:00
Subv 43d57c7547 Core/Build: Build fix from previous merge 2012-10-21 17:28:04 -05:00
Subv 4fd9f8693b Core/SQL: Renamed SQL from previous merge. 2012-10-21 17:13:18 -05:00
Subv 82c251dc3d Merge pull request #8088 from Gacko/q13038
Core/DB: Quest 'Distortions in time'
Closes #3011
2012-10-21 15:11:50 -07:00
Subv bc1714161a Merge pull request #8146 from Gacko/usetraps
Core: Implement Gameobject::Use() for traps
Closes #8137
Closes #4811
2012-10-21 15:10:42 -07:00
Subv e475b50f58 Core/Conditions: Fixed a mistake in Conditions loading which didn't allow to use SAI conditions with negative source entry (guid) 2012-10-21 15:33:31 -05:00
Subv 5548e89191 Merge pull request #8138 from durotar/master
Core/Script: Gnomeregan - Deleting duplicate texts and script adjusted
2012-10-21 05:35:40 -07:00
Subv 1252e167e5 Core/SQL: Corrected a mistake from previous merge.
Author: @Gacko
2012-10-20 10:41:16 -05:00
Subv 14adb5bcac Merge pull request #8134 from Gacko/q2987
Core/DB: Quest 'Gordunni Cobalt'
2012-10-20 07:07:21 -07:00
Subv 19d7f68592 Tools/MeshExtractor: Changed some things, lots of thanks to Faramir. 2012-10-20 07:17:11 -05:00
Subv 9dc2b7ecd5 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into mmaps 2012-10-19 17:57:30 -05:00
Subv 38ca1531d8 Core/SQL: Renamed SQL from previous pull request merge. 2012-10-19 17:37:20 -05:00
Subv 5362fc54f5 Merge pull request #8107 from durotar/master
Core/Script: Update creature_text for Gnomeregan
2012-10-19 15:34:45 -07:00
Subv 27f091806a Core/SpellAreas: Changed the way quest_start and quest_end works.
They now follow this rule:
The player's quest status of quest_start must have the mask defined in quest_start_status in order for the spell to be applied/kept.
The player's quest status of quest_end must _NOT_ have the mask defined in quest_end_status in order for the spell to be removed
To generate the mask:
Take the QuestStatus enum in QuestDef.h, use (1 << theValueYouWant) to obtain a mask and you can use | to combine masks.
This expands the usage of the spell_area table, making possible to give a player an aura while he has a quest, but remove it as soon as the quest is completed (not rewarded).
Feature request by @Svannon
2012-10-16 21:44:28 -05:00
Subv fba9c0a82e Scripts/Halion: Fixed some warnings 2012-10-16 09:39:56 -05:00
Subv 8536b360a0 Core/Spells: Fix a possible crash in Light's Beacon when a player logged in with the aura. 2012-10-16 09:24:53 -05:00
Subv b06e9cfd41 Revert "Core/Entities: Do not create the model twice for a GameObject."
This reverts commit 0f166336ca.
2012-10-12 09:33:34 -05:00
Subv 7918ac0dea Merge pull request #8051 from Aokromes/master
Core/Battlefield: Compile Fix
2012-10-11 18:40:40 -07:00