Permalink
Browse files

Move over some defines from defines.pwn to the only file they are act…

…ually used in.
  • Loading branch information...
xhoogland committed Feb 10, 2017
1 parent 6ecc689 commit e66a54d2e89eba90495ae537635cedbce0ec3abc
Showing with 8 additions and 7 deletions.
  1. +0 −7 pawn/Interface/defines.pwn
  2. +8 −0 pawn/Resources/Callbacks/Others/OnDialogResponse.pwn
@@ -41,11 +41,6 @@ new __iCMDIDX;
* Dialog IDs
*/
#define DIALOG_COMMANDS_LIST 4000
-#define DIALOG_COMMANDS_MAIN 4001
-#define DIALOG_COMMANDS_COMMUNICATION 4002
-#define DIALOG_COMMANDS_TELEPORTATION 4003
-#define DIALOG_COMMANDS_FIGHTING 4004
-#define DIALOG_COMMANDS_MONEY 4005
#define DIALOG_MINIGAMES 4007
#define DIALOG_DRIVEBY 4008
#define DIALOG_GYM_FIGHT 4009
@@ -60,9 +55,7 @@ new __iCMDIDX;
#define DIALOG_FIGHTCLUB_DUEL_INVITE 4018
#define DIALOG_FIGHTCLUB_WATCH 4019
#define DIALOG_DERBY_MAIN 4033
-#define DIALOG_JUMP_RACES 4035
#define DIALOG_TELES_MAIN 4036
-#define DIALOG_TELES_TUNE_SHOPS 4037
#define DIALOG_TAXI_LOCATIONS 4038
#define DIALOG_MINIGAME_DM 4039
#define DIALOG_JUMPS_LIST 4041
@@ -2,6 +2,14 @@
// Use of this source code is governed by the GPLv2 license, a copy of which can
// be found in the LICENSE file.
+#define DIALOG_COMMANDS_MAIN 4001
+#define DIALOG_COMMANDS_COMMUNICATION 4002
+#define DIALOG_COMMANDS_TELEPORTATION 4003
+#define DIALOG_COMMANDS_FIGHTING 4004
+#define DIALOG_COMMANDS_MONEY 4005
+#define DIALOG_JUMP_RACES 4035
+#define DIALOG_TELES_TUNE_SHOPS 4037
+
deprecated_OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
switch (dialogid) {
case DIALOG_DRIVEBY: {

0 comments on commit e66a54d

Please sign in to comment.