-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
66 additions
and
100 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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#include "global/types.h" | ||
|
||
#include <libtrx/enum_map.h> | ||
#include <libtrx/game/objects/ids.h> | ||
|
||
void EnumMap_Init(void) | ||
{ | ||
#include "global/enum_map.def" | ||
|
||
#undef OBJ_ID_DEFINE | ||
#define OBJ_ID_DEFINE(object_id, value) \ | ||
EnumMap_Define("GAME_OBJECT_ID", object_id, #object_id); | ||
#include <libtrx/game/objects/ids.def> | ||
} |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
ENUM_MAP_DEFINE(UI_STYLE, UI_STYLE_PS1, "ps1") | ||
ENUM_MAP_DEFINE(UI_STYLE, UI_STYLE_PC, "pc") | ||
|
||
ENUM_MAP_DEFINE(BAR_SHOW_MODE, BSM_DEFAULT, "default") | ||
ENUM_MAP_DEFINE(BAR_SHOW_MODE, BSM_FLASHING_OR_DEFAULT, "flashing-or-default") | ||
ENUM_MAP_DEFINE(BAR_SHOW_MODE, BSM_FLASHING_ONLY, "flashing-only") | ||
ENUM_MAP_DEFINE(BAR_SHOW_MODE, BSM_ALWAYS, "always") | ||
ENUM_MAP_DEFINE(BAR_SHOW_MODE, BSM_NEVER, "never") | ||
ENUM_MAP_DEFINE(BAR_SHOW_MODE, BSM_PS1, "ps1") | ||
ENUM_MAP_DEFINE(BAR_SHOW_MODE, BSM_BOSS_ONLY, "boss-only") | ||
|
||
ENUM_MAP_DEFINE(BAR_LOCATION, BL_TOP_LEFT, "top-left") | ||
ENUM_MAP_DEFINE(BAR_LOCATION, BL_TOP_CENTER, "top-center") | ||
ENUM_MAP_DEFINE(BAR_LOCATION, BL_TOP_RIGHT, "top-right") | ||
ENUM_MAP_DEFINE(BAR_LOCATION, BL_BOTTOM_LEFT, "bottom-left") | ||
ENUM_MAP_DEFINE(BAR_LOCATION, BL_BOTTOM_CENTER, "bottom-center") | ||
ENUM_MAP_DEFINE(BAR_LOCATION, BL_BOTTOM_RIGHT, "bottom-right") | ||
|
||
ENUM_MAP_DEFINE(BAR_COLOR, BC_GOLD, "gold") | ||
ENUM_MAP_DEFINE(BAR_COLOR, BC_BLUE, "blue") | ||
ENUM_MAP_DEFINE(BAR_COLOR, BC_GREY, "grey") | ||
ENUM_MAP_DEFINE(BAR_COLOR, BC_RED, "red") | ||
ENUM_MAP_DEFINE(BAR_COLOR, BC_SILVER, "silver") | ||
ENUM_MAP_DEFINE(BAR_COLOR, BC_GREEN, "green") | ||
ENUM_MAP_DEFINE(BAR_COLOR, BC_GOLD2, "gold2") | ||
ENUM_MAP_DEFINE(BAR_COLOR, BC_BLUE2, "blue2") | ||
ENUM_MAP_DEFINE(BAR_COLOR, BC_PINK, "pink") | ||
|
||
ENUM_MAP_DEFINE(TARGET_LOCK_MODE, TLM_FULL, "full-lock") | ||
ENUM_MAP_DEFINE(TARGET_LOCK_MODE, TLM_SEMI, "semi-lock") | ||
ENUM_MAP_DEFINE(TARGET_LOCK_MODE, TLM_NONE, "no-lock") | ||
|
||
ENUM_MAP_DEFINE(SCREENSHOT_FORMAT, SCREENSHOT_FORMAT_JPEG, "jpg") | ||
ENUM_MAP_DEFINE(SCREENSHOT_FORMAT, SCREENSHOT_FORMAT_JPEG, "jpeg") | ||
ENUM_MAP_DEFINE(SCREENSHOT_FORMAT, SCREENSHOT_FORMAT_PNG, "png") | ||
|
||
ENUM_MAP_DEFINE(UNDERWATER_MUSIC_MODE, UMM_FULL, "full") | ||
ENUM_MAP_DEFINE(UNDERWATER_MUSIC_MODE, UMM_QUIET, "quiet") | ||
ENUM_MAP_DEFINE(UNDERWATER_MUSIC_MODE, UMM_FULL_NO_AMBIENT, "full_no_ambient") | ||
ENUM_MAP_DEFINE(UNDERWATER_MUSIC_MODE, UMM_QUIET_NO_AMBIENT, "quiet_no_ambient") | ||
ENUM_MAP_DEFINE(UNDERWATER_MUSIC_MODE, UMM_NONE, "none") |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Submodule libtrx
updated
from d20543 to 3e5142