Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,10 @@ export enum BackdropType {
MINES_SHAFT = 58,
ASHPIT_SHAFT = 59,
DARK_CLOSET = 60,

/** Added in Repentance+. */
DEATHMATCH = 61,

/** Added in Repentance+. */
LIL_PORTAL = 62,
}
112 changes: 98 additions & 14 deletions packages/isaac-typescript-definitions/src/enums/ButtonAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,50 @@ export enum ButtonAction {
/** This only fires on `InputHook.IS_ACTION_TRIGGERED` (1). */
MENU_BACK = 15,

/** This only fires on `InputHook.IS_ACTION_PRESSED` (0). */
RESTART = 16,
/**
* This only fires on `InputHook.IS_ACTION_PRESSED` (0).
*
* This enum value changed in Repentance+ from 16 to 18.
*/
RESTART_REPENTANCE = 16,

/** This only fires on `InputHook.IS_ACTION_TRIGGERED` (1). */
FULLSCREEN = 17,
/**
* This only fires on `InputHook.IS_ACTION_TRIGGERED` (1).
*
* This enum value changed in Repentance+ from 17 to 16.
*/
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
FULLSCREEN_REPENTANCE_PLUS = 16,

/** This only fires on `InputHook.IS_ACTION_TRIGGERED` (1). */
MUTE = 18,
/**
* This only fires on `InputHook.IS_ACTION_TRIGGERED` (1).
*
* This enum value changed in Repentance+ from 17 to 16.
*/
FULLSCREEN_REPENTANCE = 17,

/**
* This only fires on `InputHook.IS_ACTION_TRIGGERED` (1).
*
* This enum value changed in Repentance+ from 18 to 17.
*/
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
MUTE_REPENTANCE_PLUS = 17,

/**
* This only fires on `InputHook.IS_ACTION_TRIGGERED` (1).
*
* This enum value changed in Repentance+ from 18 to 17.
*/
MUTE_REPENTANCE = 18,

/**
* This only fires on `InputHook.IS_ACTION_PRESSED` (0).
*
* This enum value changed in Repentance+ from 16 to 18.
*/
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
RESTART_REPENTANCE_PLUS = 18,

/** Does not seem to trigger any input hooks while on keyboard. */
JOIN_MULTIPLAYER = 19,
Expand All @@ -76,15 +112,63 @@ export enum ButtonAction {
/** Does not seem to trigger any input hooks while on keyboard. */
MENU_DOWN = 23,

/** Does not seem to trigger any input hooks while on keyboard. */
MENU_LT = 24,
/** This enum value changed in Repentance+ from 24 to 26. */
MENU_LEFT_TRIGGER_REPENTANCE = 24,

/** Does not seem to trigger any input hooks while on keyboard. */
MENU_RT = 25,
/** Added in Repentance+. (It took the old value for "MENU_LEFT_TRIGGER".) */
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
MENU_LEFT_SHOULDER = 24,

/** Does not seem to trigger any input hooks while on keyboard. */
MENU_TAB = 26,
/** This enum value changed in Repentance+ from 25 to 27. */
MENU_RIGHT_TRIGGER_REPENTANCE = 25,

/** This only fires on `InputHook.IS_ACTION_TRIGGERED` (1). */
CONSOLE = 28,
/** Added in Repentance+. (It took the old value for "MENU_RIGHT_TRIGGER".) */
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
MENU_RIGHT_SHOULDER = 25,

/** This enum value changed in Repentance+ from 26 to 28. */
MENU_TAB_REPENTANCE = 26,

/**
* Does not seem to trigger any input hooks while on keyboard.
*
* This enum value changed in Repentance+ from 24 to 26.
*/
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
MENU_LEFT_TRIGGER_REPENTANCE_PLUS = 26,

/**
* Does not seem to trigger any input hooks while on keyboard.
*
* This enum value changed in Repentance+ from 25 to 27.
*/
MENU_RIGHT_TRIGGER_REPENTANCE_PLUS = 27,

/**
* This only fires on `InputHook.IS_ACTION_TRIGGERED` (1).
*
* This enum value changed in Repentance+ from 28 to 32.
*/
CONSOLE_REPENTANCE = 28,

/**
* Does not seem to trigger any input hooks while on keyboard.
*
* This enum value changed in Repentance+ from 26 to 28.
*/
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
MENU_TAB_REPENTANCE_PLUS = 28,

/** Added in Repentance+. */
MENU_EX = 29,

/** Added in Repentance+. */
EMOTES = 30,

/**
* This only fires on `InputHook.IS_ACTION_TRIGGERED` (1).
*
* This enum value changed in Repentance+ from 28 to 32.
*/
CONSOLE_REPENTANCE_PLUS = 32,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/** Added in Repentance+. */
export enum DrawStringAlignment {
TOP_LEFT = 0,
TOP_CENTER = 1,
TOP_RIGHT = 2,
MIDDLE_LEFT = 3,
MIDDLE_CENTER = 4,
MIDDLE_RIGHT = 5,
BOTTOM_LEFT = 6,
BOTTOM_CENTER = 7,
BOTTOM_RIGHT = 8,
}
12 changes: 12 additions & 0 deletions packages/isaac-typescript-definitions/src/enums/GameStateFlag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,16 @@ export enum GameStateFlag {

/** Set when the player takes Dad's Note. The "backwards path" refers to the Ascent. */
BACKWARDS_PATH = 48,

/** Added in Repentance+. */
MEGA_SATAN_DOOR_OPENED = 49,

/** Added in Repentance+. */
URIEL_KILLED = 50,

/** Added in Repentance+. */
GABRIEL_KILLED = 51,

/** Added in Repentance+. */
MOTHER_HEART_DOOR_OPENED = 52,
}
6 changes: 6 additions & 0 deletions packages/isaac-typescript-definitions/src/enums/GridRoom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,10 @@ export enum GridRoom {

/** The shop that you go to when you climb the ladder from The Stairway. */
ANGEL_SHOP = -18,

/** Added in Repentance+. */
DEATHMATCH = -19,

/** Added in Repentance+. */
LIL_PORTAL = -20,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/** Added in Repentance+. */
export enum JacobEsauControls {
CLASSIC = 0,
BETTER = 1,
}
3 changes: 3 additions & 0 deletions packages/isaac-typescript-definitions/src/enums/Music.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,7 @@ export enum Music {
MINESHAFT_AMBIENT = 116,
MINESHAFT_ESCAPE = 117,
REVERSE_GENESIS = 118,

/** Added in Repentance+. */
MUSIC_DEATHMATCH = 119,
}
3 changes: 3 additions & 0 deletions packages/isaac-typescript-definitions/src/enums/RoomType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,7 @@ export enum RoomType {
BLUE = 28,

ULTRA_SECRET = 29,

/** Added in Repentance+. */
DEATHMATCH = 30,
}
Loading
Loading