Permalink
Browse files

[9930] Move enum QuestTypes to QuestDef.h where it only used.

This is also fix build at GCC
  • Loading branch information...
VladimirMangos
VladimirMangos committed May 19, 2010
1 parent 01c542b commit 41175820a293dc11cbc4e3935a5a24987c9d1c6e
Showing with 17 additions and 17 deletions.
  1. +16 −0 src/game/QuestDef.h
  2. +0 −16 src/game/SharedDefines.h
  3. +1 −1 src/shared/revision_nr.h
View
@@ -118,6 +118,22 @@ enum __QuestGiverStatus
DIALOG_STATUS_REWARD = 10 // yellow dot on minimap
};
+// values based at QuestInfo.dbc
+enum QuestTypes
+{
+ QUEST_TYPE_ELITE = 1,
+ QUEST_TYPE_LIFE = 21,
+ QUEST_TYPE_PVP = 41,
+ QUEST_TYPE_RAID = 62,
+ QUEST_TYPE_DUNGEON = 81,
+ QUEST_TYPE_WORLD_EVENT = 82,
+ QUEST_TYPE_LEGENDARY = 83,
+ QUEST_TYPE_ESCORT = 84,
+ QUEST_TYPE_HEROIC = 85,
+ QUEST_TYPE_RAID_10 = 88,
+ QUEST_TYPE_RAID_25 = 89
+};
+
enum __QuestFlags
{
// Flags used at server and sent to client
View
@@ -1980,22 +1980,6 @@ enum HolidayIds
HOLIDAY_CALL_TO_ARMS_ISLE_OF_C = 420
};
-// values based at QuestInfo.dbc
-enum QuestTypes
-{
- QUEST_TYPE_ELITE = 1,
- QUEST_TYPE_LIFE = 21,
- QUEST_TYPE_PVP = 41,
- QUEST_TYPE_RAID = 62,
- QUEST_TYPE_DUNGEON = 81,
- QUEST_TYPE_WORLD_EVENT = 82,
- QUEST_TYPE_LEGENDARY = 83,
- QUEST_TYPE_ESCORT = 84,
- QUEST_TYPE_HEROIC = 85,
- QUEST_TYPE_RAID_10 = 88,
- QUEST_TYPE_RAID_25 = 89
-};
-
// values based at QuestSort.dbc
enum QuestSort
{
View
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
- #define REVISION_NR "9929"
+ #define REVISION_NR "9930"
#endif // __REVISION_NR_H__

0 comments on commit 4117582

Please sign in to comment.