forked from DizzyEggg/pokeemerald
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Converts a bunch of defines to enums" (#6082)
- Loading branch information
1 parent
2a8f4b0
commit a1c47a9
Showing
38 changed files
with
387 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,25 @@ | ||
#ifndef GUARD_CONSTANTS_MAP_TYPES_H | ||
#define GUARD_CONSTANTS_MAP_TYPES_H | ||
|
||
enum MapType | ||
{ | ||
MAP_TYPE_NONE, | ||
MAP_TYPE_TOWN, | ||
MAP_TYPE_CITY, | ||
MAP_TYPE_ROUTE, | ||
MAP_TYPE_UNDERGROUND, | ||
MAP_TYPE_UNDERWATER, | ||
MAP_TYPE_OCEAN_ROUTE, | ||
MAP_TYPE_UNKNOWN, // Not used by any map. | ||
MAP_TYPE_INDOOR, | ||
MAP_TYPE_SECRET_BASE, | ||
}; | ||
#define MAP_TYPE_NONE 0 | ||
#define MAP_TYPE_TOWN 1 | ||
#define MAP_TYPE_CITY 2 | ||
#define MAP_TYPE_ROUTE 3 | ||
#define MAP_TYPE_UNDERGROUND 4 | ||
#define MAP_TYPE_UNDERWATER 5 | ||
#define MAP_TYPE_OCEAN_ROUTE 6 | ||
#define MAP_TYPE_UNKNOWN 7 // Not used by any map. | ||
#define MAP_TYPE_INDOOR 8 | ||
#define MAP_TYPE_SECRET_BASE 9 | ||
|
||
enum MapBattleScene | ||
{ | ||
MAP_BATTLE_SCENE_NORMAL, | ||
MAP_BATTLE_SCENE_GYM, | ||
MAP_BATTLE_SCENE_MAGMA, | ||
MAP_BATTLE_SCENE_AQUA, | ||
MAP_BATTLE_SCENE_SIDNEY, | ||
MAP_BATTLE_SCENE_PHOEBE, | ||
MAP_BATTLE_SCENE_GLACIA, | ||
MAP_BATTLE_SCENE_DRAKE, | ||
MAP_BATTLE_SCENE_FRONTIER, | ||
}; | ||
#define MAP_BATTLE_SCENE_NORMAL 0 | ||
#define MAP_BATTLE_SCENE_GYM 1 | ||
#define MAP_BATTLE_SCENE_MAGMA 2 | ||
#define MAP_BATTLE_SCENE_AQUA 3 | ||
#define MAP_BATTLE_SCENE_SIDNEY 4 | ||
#define MAP_BATTLE_SCENE_PHOEBE 5 | ||
#define MAP_BATTLE_SCENE_GLACIA 6 | ||
#define MAP_BATTLE_SCENE_DRAKE 7 | ||
#define MAP_BATTLE_SCENE_FRONTIER 8 | ||
|
||
#endif // GUARD_CONSTANTS_MAP_TYPES_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.