NoFantasy
4ca8b0defc
[8952] Use default gossip menu options if no options exist for "top level" menu.
...
Also not close gossip menu in cases where no action_menu_id is set.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-08 21:52:05 +01:00
NoFantasy
090c8b8854
[8923] Restructure gossip menus and make it possible to build selections by database
...
As result, gossip for GO is now possible. Moved related data structures and remove useless from code.
Please note that after some time, table npc_gossip will be fully removed (use menuId in _template in relation to gossip_menu as replacement).
Special thanks to GriffonHeart for help with research, discussions and ideas of code and thanks to Vladimir for helpful input.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-06 02:27:26 +01:00
balrok
56d694b5fb
[8846] corrections for my last commit
...
thx to vladimir and apoc :)
2009-11-20 13:25:54 +01:00
balrok
1d362eace4
[8845] fixed some gcc warnings
2009-11-20 12:57:19 +01:00
XTZGZoReX
0734adb746
[8789] Rename several singleton macros to use more consistent names.
...
* objmgr -> sObjectMgr
* spellmgr -> sSpellMgr
* WaypointMgr -> sWaypointMgr
* poolhandler -> sPoolMgr
* objaccessor -> sObjectAccessor
* mapmgr -> sMapMgr
* sInstanceSaveManager -> sInstanceSaveMgr
* ticketmgr -> sTicketMgr
* CreatureEAI_Mgr -> sEventAIMgr
* auctionmgr -> sAuctionMgr
* achievementmgr -> sAchievementMgr
2009-11-08 12:11:34 +01:00
XTZGZoReX
1f23884757
Don't use singleton to access static functions.
...
* This affects especially ObjectMgr functions:
- GetCreatureInfo
- GetGameObjectInfo
- GetInstanceTemplate
These are in fact static functions.
2009-11-08 03:54:27 +01:00
Daveh
71c031b478
[8770] Fix dynamic quest levels.
...
QuestLevel -1 is now to be used for dynamic quest level instead of older 0. DB support needed for update of quests.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-11-03 22:20:02 +01:00
tomrus88
3cc7f36006
[8720] Added missing ReqItem 5 and 6 to database.
...
(backported from commit 7a722b8)
2009-10-24 04:07:57 +04:00
tomrus88
3193896935
Some changes from 3.3.0, that applies to 3.2.2 as well.
2009-10-04 11:22:21 +04:00
tomrus88
cffbb8661b
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/Player.cpp
src/game/SpellAuras.cpp
2009-06-02 15:01:26 +04:00
NoFantasy
82f16a6579
[7945] Implement support quest data for DetailsEmoteDelay and OfferRewardEmoteDelay value for set time ordering details and reward emotes.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-02 14:47:13 +04:00
tomrus88
42f8ce5f3e
[7911] Applied coding style.
2009-05-29 19:07:28 +04:00
tomrus88
908f41b031
Attempt to fix quests. Some other fixes.
2009-05-07 02:04:43 +04:00
tomrus88
b980e9ac59
Updated to 3.1.2.9855 client build, fixed quests, some work on monster movement. Not tested.
2009-05-02 19:41:00 +04:00
tomrus88
d4323e0071
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/CharacterHandler.cpp
src/game/Player.cpp
2009-04-29 11:51:15 +04:00
AlexDereka
cb72302a8a
[7732] Fixed compile warnings.
2009-04-29 05:17:02 +04:00
zhenya
8144f30199
[7730] Some optimizantion and code style.
...
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-04-29 01:05:21 +04:00
VladimirMangos
ce8bd43bef
Merge commit 'origin/master' into 310 (at [7360])
2009-03-01 01:18:20 +03:00
tomrus88
4155a63696
Fixed quest details packet
2009-02-28 17:27:22 +03:00
VladimirMangos
64158d61b3
[7345] Use in most cases dynamic quest level as expected (player level for quests witl level 0)
...
Original patch provided by NoFantasy.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-27 01:25:20 +03:00
VladimirMangos
9b3daf3933
[7330] Code warnings and style cleanups. Some bugs fixes.
...
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.
2009-02-24 01:54:53 +03:00
NoFantasy
2399ee22cf
[7308] Send source items (reagents for quest casts/crafting) to client.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Strange thing happens, years ago it has been added as internal server data field ;)
2009-02-20 19:22:43 +03:00
GriffonHeart
9b2a772413
[7292] Implement storage for points of interest data in DB.
...
It can be in current state used for simplify scripting code that set POI and more advansed way later..
Call void PlayerMenu::SendPointOfInterest( float X, float Y, uint32 Icon, uint32 Flags, uint32 Data, char const * locName )
will removed after some time delay, and only void PlayerMenu::SendPointOfInterest( uint32 poi_id ) will exist.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-18 00:29:05 +03:00
GriffonHeart
25a57cca18
[7289] Make quest related check work in case absent English localization in DB.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-17 11:26:26 +03:00
zhenya
8dc3586889
[7285] More code cleanups in static data structures use.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-16 17:10:24 +03:00
NoFantasy
93328cc861
[7273] Fix show 0-level quests in gossip quest list. Another case.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-13 00:22:20 +03:00
NoFantasy
109813be29
[7268] Fix show 0-level quests in gossip quest list.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-12 06:00:10 +03:00
VladimirMangos
889817235d
Fixed quest items objectived show in quest description SMSG_QUEST_QUERY_RESPONSE.
...
Original patch provided by traponinet.
TODO: implement 5 item objective use in ciode and DB.
2009-01-28 06:14:43 +03:00
tomrus88
8ffa79211b
Merge branch 'master' into 308
2009-01-21 10:59:27 +03:00
VladimirMangos
ac9b14d70c
[7116] Correctly show quest/gossip menues.
...
In case non defeault gossip text with quest only
In case empty quest and gossip menus and gossip text.
2009-01-20 00:05:03 +03:00
tomrus88
77f11162dc
Merge branch 'master' into 308
2009-01-13 20:08:41 +03:00
arrai
c6f48843ad
[7017] Updated copyright notice for new year
2009-01-03 18:09:51 +01:00
tomrus88
a38078d0c2
Some 308 changes
2008-12-26 14:21:42 +03:00
tomrus88
5d4d7292b9
Merge branch 'master' into 303
...
Conflicts:
src/game/Player.h
2008-12-12 18:14:49 +03:00
hunuza
0f12997ef1
[6899] Pass const reference instead of value for some strings in some functions.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-12 14:17:37 +01:00
VladimirMangos
3da9f3f4cc
[6889] Backport some not client version specific changes and fixes from 303 branch.
2008-12-09 14:08:29 +03:00
tomrus88
ef69f6b80c
Merge branch 'master' into 303
...
Conflicts:
src/game/Player.cpp
src/shared/revision_nr.h
2008-12-09 00:32:47 +03:00
balrok
2e08a63da7
[6884] Replaced iterator++ with ++iterator in for-loop-headers
...
i used this script
for i in ls *.[ch]*; do cat $i | sed -r 's/(.*for.*iterator.*;\
*)([a-z0-9\_\*]+)\ *\+\+(.*)/\1++\2\3/' > /tmp/mangos/$i; done
for i in ls *.[ch]*; do cp /tmp/mangos/$i $i; done
and rechecked it with my eyes, if everything is right
i took only for-loops cause they can be gathered easier with a script
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-07 19:49:45 +01:00
tomrus88
5114c17da2
Packet fixes
2008-11-03 18:58:32 +03:00
tomrus88
81693c4c15
Added new quest template fields, updated some enums and opcodes
2008-11-03 14:22:55 +03:00
tomrus88
a2ed231947
Compile fix
2008-11-01 17:38:32 +03:00
tomrus88
df09909ec5
Updated rest of game stuff
2008-10-26 10:25:08 +03:00
arrai
406ac0abe5
* [sql/updates/2008_10_22_01_mangos_quest_template.sql] Implemented honor rewards from quests
2008-10-22 01:20:18 +02:00
TheLuda
800ee76535
Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/
2008-10-14 00:29:20 +02:00