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
kaelima
07c294b0c2
Core/Vehicle: Corrected the flag of VEHICLE_SEAT_FLAG_B_USABLE_FORCED_4
2011-12-23 14:32:32 +01:00
Machiavelli
bb2696a688
Core/Vehicles: Define and implement VEHICLE_SEAT_FLAG_B_USABLE_FORCED_4
2011-12-22 14:10:05 +01:00
horn
c0f66ff07c
Core/Achievements: Define new achievement criteria condition ACHIEVEMENT_CRITERIA_CONDITION_NO_SPELL_HIT
2011-12-19 23:07:35 +01:00
Machiavelli
d7d79f058d
Forgotten change to seat flag defines, thanks to Venugh.
2011-12-11 15:28:33 +01:00
Machiavelli
c7cdd786fe
Core/Vehicles: In CMSG_ATTACKSWING check if current vehicle seat flags permit attacking before updating standstate etc. Client also checks this.
...
Furthermore, removed incorrect vehicle_seat_flag_b definition and added an unknown vehicle_seat_flag that was found in the client.
2011-12-11 14:44:58 +01:00
Machiavelli
8444532746
Core/Units: Second part of SMSG_MOVE_SET_COLLISION_HGT implementation: compute proper collision height according to client formulae and send this to the client when mounting up.
2011-11-22 20:28:10 +01:00
Machiavelli
a14cbcaa3e
Core/Units: Partial implementation of SMSG_MOVE_SET_COLLISION_HGT - send proper character collision height on dismount.
...
Fixes #2642
NOTE: Still have to properly implement collision height calculation for mounting up.
2011-11-21 22:54:25 +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
852ffcc139
Core/Scripting: Remove unnecesary reference in param function OnMemberRemove
2011-09-28 10:35:59 +02:00
QAston
e07535c3e3
Core/Entities: Add new functions: Unit::GetReactionTo and Unit::GetFactionReactionTo for more direct reaction checks than Unit::IsFriendly/HostileTo (those functions have many duplicated code and have many checks unrelated to unit reaction).
2011-09-15 17:44:03 +02:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
kaelima
60f7737272
Core/DataStore: Add struct for LiquidTypeEntry.dbc, unused for now.
2011-09-14 15:02:12 +02:00
Shauren
f13f32c972
Core/Achievements: Award normal mode achievements when instance was done on heroic mode
2011-09-05 15:21:37 +02:00
QAston
81a841ed20
Database/Spells: Add AttributesEx6 and AttributesEx7 columns to spell_dbc table.
2011-09-03 21:05:26 +02:00
Spp-
aa85553bfd
Core: Crash fix (TemporarySummon), remove some warnings and some other minor changes
...
- "const uint64" and "uint64 const" --> uint64
- Add some info in LFGDungeonEntry
- Move some definitions from ".h" files and move to ".cpp"
2011-08-30 13:46:36 +02:00
Chaplain
fb27848510
Core: Clean up here and there.
...
*replase postfix iterator increment\decrement with prefix in cycles
*replase strlen(*char) != 0 with *char[0] != '\0'
*replase strlen(rStr.c_str()) with rStr.length()
2011-08-23 18:09:08 +03:00
Spp
7e53a73059
Core/Vehicles: Remove Vehicle.h dependency from other header files
2011-08-03 12:28:42 +02:00
Spp-
e47b96af3e
Core: Append single character to stream as character, not as a string
2011-07-29 14:18:28 +02:00
QAston
b0fe236265
Core: Use new SpellInfo class in core. Sadly, this commit is not compatibile with some of the custom code. To make your code work again you may need to change:
...
*SpellEntry is now SpellInfo
*GetSpellProto is now GetSpellInfo
*SpellEntry::Effect*[effIndex] is now avalible under SpellInfo.Effects[effIndex].*
*sSpellStore.LookupEntry is no longer valid, use sSpellMgr->GetSpellInfo()
*SpellFunctions from SpellMgr.h like DoSpellStuff(spellId) are now: spellInfo->DoStuff()
*SpellMgr::CalculateEffectValue and similar functions are now avalible in SpellEffectInfo class.
*GET_SPELL macro is removed, code which used it is moved to SpellMgr::LoadDbcDataCorrections
*code which affected dbc data in SpellMgr::LoadSpellCustomAttr is now moved to LoadDbcDataCorrections
2011-07-26 23:09:28 +02:00
click
f778c5e739
Whitespace cleanups...
2011-06-18 19:51:28 +02:00
kaelima
b9e8694540
Core: Continued cleanup
...
If and for whitespaces.
2011-06-12 02:30:32 +02:00
click
158966dc79
Core: Codestyle cleanup
2011-06-11 22:35:29 +02:00
tobmaps
9f1a4f33c0
Core/Players: Implemented AREA_FLAG_ALLOW_DUELS. Duels should be possible only at areas with this flag. Tnx to Destalker for pointing out this flag
2011-05-29 02:40:37 +07:00
kaelima
bc2cca0733
Core/DBC: Update some Summon-properties enums and added some research for WorldStates in dbc.
2011-05-27 12:08:00 +02:00
kaelima
685868df88
Core/DBCStructure: Update HolidaysEntry structure. Research mainly by Click.
2011-05-27 01:25:38 +02:00
kaelima
78692e1246
Core/Area: Updated AreaFlags documentation to match 3.3.5 dbcs.
2011-05-27 00:58:18 +02:00
Shauren
3d8e4300b7
Core/Achievements: Achievement criteria type 39 should check player's personal rating, not team rating
...
Closes #803
2011-05-25 23:39:17 +02:00
Shauren
24a8cc24da
Core/Achievements: Implemented ACHIEVEMENT_CRITERIA_TYPE_GET_KILLING_BLOWS
2011-05-14 12:26:49 +02:00
Lynx3d
b1d2fbc0c2
Core/Player: Use dbc data for calculating combat ratings
...
Closes #1156
2011-05-13 04:11:03 +07:00
click
b5fcd880e3
Core: Fix another warning (Implicit checking of flags in VehicleSeatEntry::IsUsableByOverride)
2011-05-09 02:05:55 +02:00
Shauren
acd81d6570
Core/Achievements: Fixed Children's Week achievements
2011-04-30 12:41:14 +02:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
Azazel
6fb2bf4224
Core: use enum InventoryResult as return type for functions working with player items.
...
Original patch by TOM_RUS.
2011-04-29 16:48:15 +06:00
Shauren
316b85652e
Core/Achievements: Reset all possible crieteria with "in single battleground" requirement on BG start
2011-04-21 21:14:49 +02:00
Shauren
6a9fa42a60
Core/GameObjects: Destructible gameobjects now read display info from dbc files
2011-04-09 22:04:56 +02:00
Shauren
3bc45e121f
Core/DBC: Cleaned LoadDBCStores function, added semi-automated counting dbc files count
2011-04-09 20:50:39 +02:00
Shauren
9f5ca0bf29
Core/DBC: Implemented achievement_dbc db table for filling in missing achievements and added sample data
2011-04-03 13:18:21 +02:00
gwrde & alexbolotsin
00f343af52
Core/Cleanup: More typo fixes.
...
Closes #730 , #667
2011-03-26 05:33:46 +02:00
Shauren
2f79b0f266
Core: Removed all double (and more) empty lines
2011-03-21 10:52:14 +01:00
Shauren
8e1b653fb2
Core/Achievements: Reverted ACHIEVEMENT_CRITERIA_FLAG_HIDDEN implementation
2011-03-05 11:31:41 +01:00
Shauren
704491101f
Core/Achievements:
...
Implemented map and group requirements for achievements
Changed possible methods to const
Implemented hidden flag for achievement criteria
2011-03-04 12:11:20 +01:00
Machiavelli
918f1ce8ec
Core/Vehicles:
...
- Allow configurable TempSummonType and timer for vehicle_accessory table instead of hard coded values
- Reimplement some earlier charted VehicleSeatFlagsB, that were temporarily removed because of VEHICLE_SEAT_FLAG_UNCONTROLLED (they now work in conjunction with eachother)
2011-02-22 23:47:28 +01:00
Machiavelli
c0b29fd0ad
Core/Vehicles: Chart VEHICLE_SEAT_FLAG_UNCONTROLLED and implement usage. Concerns vehicleseat enter/exit capabilities. Fixes vehicles related to Malygos encounter.
...
Original research by rsa, thanks to Manuel for pointing out.
2011-02-19 21:58:50 +01:00
Shauren
c2b0bcbd6c
Core/Instances: Implemented DungeonEncounter.dbc for creating completed encounters mask to use in packets
...
Core/Dungeon Finder: Implemented new way of giving random dungeon rewards, linked to DungeonEncounter.dbc
2011-02-03 22:20:40 +01:00
TOM_RUS
c006f1b904
Core/Quests: Implemented proper calculation of quest honor reward using DBC
...
Signed-off-by: Shauren <[email protected] >
2011-01-31 16:27:23 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
Machiavelli
11cc3eac7a
Core/Vehicles: Implement VEHICLE_SEAT_FLAG_B_CANSWITCH restriction, and do some cleanup.
2010-12-30 19:57:50 +01:00
Machiavelli
948a2136c4
Core/Vehicles: - Redefine VEHICLE_SEAT_FLAG_USABLE as VEHICLE_SEAT_FLAG_CAN_ENTER_OR_EXIT. This flag determines whether or not the player has control over entering/exiting a vehicleseat. Thanks to linencloth for help with research.
...
- Implement VEHICLE_SEAT_FLAG_CAN_ENTER_OR_EXIT exit restriction
- Remove MOVEMENTFLAG_ROOT on vehicle exit
2010-12-30 19:10:46 +01:00