Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

This is also fix build at GCC
  • Loading branch information...
commit 41175820a293dc11cbc4e3935a5a24987c9d1c6e 1 parent 01c542b
Vladimir authored
16  src/game/QuestDef.h
@@ -118,6 +118,22 @@ enum __QuestGiverStatus
118 118
     DIALOG_STATUS_REWARD                   = 10             // yellow dot on minimap
119 119
 };
120 120
 
  121
+// values based at QuestInfo.dbc
  122
+enum QuestTypes
  123
+{
  124
+    QUEST_TYPE_ELITE               = 1,
  125
+    QUEST_TYPE_LIFE                = 21,
  126
+    QUEST_TYPE_PVP                 = 41,
  127
+    QUEST_TYPE_RAID                = 62,
  128
+    QUEST_TYPE_DUNGEON             = 81,
  129
+    QUEST_TYPE_WORLD_EVENT         = 82,
  130
+    QUEST_TYPE_LEGENDARY           = 83,
  131
+    QUEST_TYPE_ESCORT              = 84,
  132
+    QUEST_TYPE_HEROIC              = 85,
  133
+    QUEST_TYPE_RAID_10             = 88,
  134
+    QUEST_TYPE_RAID_25             = 89
  135
+};
  136
+
121 137
 enum __QuestFlags
122 138
 {
123 139
     // Flags used at server and sent to client
16  src/game/SharedDefines.h
@@ -1980,22 +1980,6 @@ enum HolidayIds
1980 1980
     HOLIDAY_CALL_TO_ARMS_ISLE_OF_C   = 420
1981 1981
 };
1982 1982
 
1983  
-// values based at QuestInfo.dbc
1984  
-enum QuestTypes
1985  
-{
1986  
-    QUEST_TYPE_ELITE               = 1,
1987  
-    QUEST_TYPE_LIFE                = 21,
1988  
-    QUEST_TYPE_PVP                 = 41,
1989  
-    QUEST_TYPE_RAID                = 62,
1990  
-    QUEST_TYPE_DUNGEON             = 81,
1991  
-    QUEST_TYPE_WORLD_EVENT         = 82,
1992  
-    QUEST_TYPE_LEGENDARY           = 83,
1993  
-    QUEST_TYPE_ESCORT              = 84,
1994  
-    QUEST_TYPE_HEROIC              = 85,
1995  
-    QUEST_TYPE_RAID_10             = 88,
1996  
-    QUEST_TYPE_RAID_25             = 89
1997  
-};
1998  
-
1999 1983
 // values based at QuestSort.dbc
2000 1984
 enum QuestSort
2001 1985
 {
2  src/shared/revision_nr.h
... ...
@@ -1,4 +1,4 @@
1 1
 #ifndef __REVISION_NR_H__
2 2
 #define __REVISION_NR_H__
3  
- #define REVISION_NR "9929"
  3
+ #define REVISION_NR "9930"
4 4
 #endif // __REVISION_NR_H__

0 notes on commit 4117582

Please sign in to comment.
Something went wrong with that request. Please try again.