Skip to content

Commit

Permalink
Merge pull request #329 from spelunky-fyi/EntHooks
Browse files Browse the repository at this point in the history
Found some stashed entity vtable hooks
  • Loading branch information
Dregu authored Sep 9, 2023
2 parents 6a4b9b5 + b5eac8a commit bf9f2bd
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 7 deletions.
22 changes: 21 additions & 1 deletion docs/game_data/lua_enums.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ CONST = {
ROOM_HEIGHT = 8,
ROOM_WIDTH = 10
}
CORNER_FINISH = {
ADAPTIVE = 1,
CUT = 0,
NONE = 3,
REAL = 2
}
COSUBTHEME = {
DWELLING = 0,
ICE_CAVES = 5,
Expand Down Expand Up @@ -320,16 +326,30 @@ DYNAMIC_TEXTURE = {
KALI_STATUE = -9
}
ENTITY_OVERRIDE = {
ACTIVATE = 25,
APPLY_MOVEMENT = 71,
CAN_BE_PUSHED = 10,
CHECK_IS_FALLING = 75,
CREATE_RENDERING_INFO = 1,
DAMAGE = 48,
DESTROY = 5,
DTOR = 0,
FLOOR_UPDATE = 38,
FRICTION = 17,
GET_HELD_ENTITY = 22,
INIT = 36,
IS_IN_LIQUID = 12,
KILL = 3,
LEDGE_GRAB = 31,
ON_COLLISION1 = 4,
ON_COLLISION2 = 26,
PROCESS_INPUT = 77,
SET_INVISIBLE = 15,
STOOD_ON = 32,
TRIGGER_ACTION = 24,
UPDATE_STATE_MACHINE = 2
UPDATE_STATE_MACHINE = 2,
WALKED_OFF = 30,
WALKED_ON = 29
}
ENT_FLAG = {
CAN_BE_STOMPED = 15,
Expand Down
51 changes: 50 additions & 1 deletion docs/game_data/spel2.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bf9f2bd

Please sign in to comment.