Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entity vtable fixes and new stuff #397

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
0626e90
fix some virtual functions, add missing parameters etc.
Mr-Auto Aug 25, 2024
264b3de
look thru entity virtual functions to understand them better, fix som…
Mr-Auto Sep 11, 2024
2fedd8b
fix build
Mr-Auto Sep 11, 2024
a203288
fix build 2
Mr-Auto Sep 12, 2024
4477162
merge main
Mr-Auto Sep 12, 2024
38f0d5b
some post merge changes, update docs
Mr-Auto Sep 12, 2024
6b7d54f
update and fix entity casting, also rename variables in `Animation`
Mr-Auto Sep 12, 2024
c417296
update vtable names for `vtable_sizes.csv`, update full doscs
Mr-Auto Sep 12, 2024
b9acb98
exposing more vitrual functions and hooks
Mr-Auto Sep 12, 2024
8c1a691
add SOUNDID alias, add function to convert from it to `VANILLA_SOUND`…
Mr-Auto Sep 23, 2024
edd94cb
add and improve entity attach/detach
Mr-Auto Sep 29, 2024
5a09f69
fix invalidating iterator in `remove_spawn`
Mr-Auto Oct 6, 2024
665428d
fix Backpack subclass in lua, add more hookable functions to lua, tes…
Mr-Auto Nov 15, 2024
cf38c6a
typo
Mr-Auto Nov 16, 2024
02ae583
add small comment
Mr-Auto Nov 17, 2024
fd154ab
bring back move semantics
Mr-Auto Nov 17, 2024
b10aebc
more comments
Mr-Auto Nov 19, 2024
79dcb16
typos and YellowCape base
Mr-Auto Dec 7, 2024
380de08
rename `pickup` to `give_powerup` and expose it, fix comments for vta…
Mr-Auto Dec 8, 2024
85b8999
make b3f optional in `set_draw_depth`, manually align some comments i…
Mr-Auto Dec 12, 2024
0d42b36
rename `generate_fall_poof_particles`, also Floor and Door virtuals u…
Mr-Auto Dec 14, 2024
4da0fa8
rename `acquire` -> `equip`, changes the comment, update docs
Mr-Auto Dec 14, 2024
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
26 changes: 13 additions & 13 deletions docs/entities-hierarchy.md
Original file line number Diff line number Diff line change
Expand Up @@ -541,22 +541,22 @@ The list below shows the type hierarchy for each entity in the game. This makes
- 560 ITEM_POWERUP_ANKH = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Powerup](https://spelunky-fyi.github.io/overlunky/#Powerup) > [AnkhPowerup](https://spelunky-fyi.github.io/overlunky/#AnkhPowerup)
- 561 ITEM_POWERUP_TABLETOFDESTINY = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Powerup](https://spelunky-fyi.github.io/overlunky/#Powerup)
- 562 ITEM_POWERUP_SKELETON_KEY = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Powerup](https://spelunky-fyi.github.io/overlunky/#Powerup)
- 564 ITEM_CAPE = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Backpack](https://spelunky-fyi.github.io/overlunky/#Backpack) > [Cape](https://spelunky-fyi.github.io/overlunky/#Cape) > [YellowCape](https://spelunky-fyi.github.io/overlunky/#YellowCape)
- 565 ITEM_VLADS_CAPE = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Backpack](https://spelunky-fyi.github.io/overlunky/#Backpack) > [Cape](https://spelunky-fyi.github.io/overlunky/#Cape) > [VladsCape](https://spelunky-fyi.github.io/overlunky/#VladsCape)
- 566 ITEM_PURCHASABLE_CAPE = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [DummyPurchasableEntity](https://spelunky-fyi.github.io/overlunky/#DummyPurchasableEntity)
- 567 ITEM_JETPACK = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Backpack](https://spelunky-fyi.github.io/overlunky/#Backpack) > [Jetpack](https://spelunky-fyi.github.io/overlunky/#Jetpack)
- 568 ITEM_JETPACK_MECH = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Backpack](https://spelunky-fyi.github.io/overlunky/#Backpack) > [Jetpack](https://spelunky-fyi.github.io/overlunky/#Jetpack)
- 564 ITEM_CAPE = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Powerup](https://spelunky-fyi.github.io/overlunky/#Powerup) > [Backpack](https://spelunky-fyi.github.io/overlunky/#Backpack) > [Cape](https://spelunky-fyi.github.io/overlunky/#Cape) > [YellowCape](https://spelunky-fyi.github.io/overlunky/#YellowCape)
- 565 ITEM_VLADS_CAPE = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Powerup](https://spelunky-fyi.github.io/overlunky/#Powerup) > [Backpack](https://spelunky-fyi.github.io/overlunky/#Backpack) > [Cape](https://spelunky-fyi.github.io/overlunky/#Cape) > [VladsCape](https://spelunky-fyi.github.io/overlunky/#VladsCape)
- 566 ITEM_PURCHASABLE_CAPE = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable)
- 567 ITEM_JETPACK = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Powerup](https://spelunky-fyi.github.io/overlunky/#Powerup) > [Backpack](https://spelunky-fyi.github.io/overlunky/#Backpack) > [Jetpack](https://spelunky-fyi.github.io/overlunky/#Jetpack)
- 568 ITEM_JETPACK_MECH = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Powerup](https://spelunky-fyi.github.io/overlunky/#Powerup) > [Backpack](https://spelunky-fyi.github.io/overlunky/#Backpack) > [Jetpack](https://spelunky-fyi.github.io/overlunky/#Jetpack)
- 569 ITEM_PURCHASABLE_JETPACK = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [DummyPurchasableEntity](https://spelunky-fyi.github.io/overlunky/#DummyPurchasableEntity)
- 570 ITEM_TELEPORTER_BACKPACK = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Backpack](https://spelunky-fyi.github.io/overlunky/#Backpack) > [TeleporterBackpack](https://spelunky-fyi.github.io/overlunky/#TeleporterBackpack)
- 570 ITEM_TELEPORTER_BACKPACK = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Powerup](https://spelunky-fyi.github.io/overlunky/#Powerup) > [Backpack](https://spelunky-fyi.github.io/overlunky/#Backpack) > [TeleporterBackpack](https://spelunky-fyi.github.io/overlunky/#TeleporterBackpack)
- 571 ITEM_PURCHASABLE_TELEPORTER_BACKPACK = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [DummyPurchasableEntity](https://spelunky-fyi.github.io/overlunky/#DummyPurchasableEntity)
- 572 ITEM_HOVERPACK = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Backpack](https://spelunky-fyi.github.io/overlunky/#Backpack) > [Hoverpack](https://spelunky-fyi.github.io/overlunky/#Hoverpack)
- 572 ITEM_HOVERPACK = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Powerup](https://spelunky-fyi.github.io/overlunky/#Powerup) > [Backpack](https://spelunky-fyi.github.io/overlunky/#Backpack) > [Hoverpack](https://spelunky-fyi.github.io/overlunky/#Hoverpack)
- 573 ITEM_PURCHASABLE_HOVERPACK = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [DummyPurchasableEntity](https://spelunky-fyi.github.io/overlunky/#DummyPurchasableEntity)
- 574 ITEM_POWERPACK = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Backpack](https://spelunky-fyi.github.io/overlunky/#Backpack)
- 574 ITEM_POWERPACK = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Powerup](https://spelunky-fyi.github.io/overlunky/#Powerup) > [Backpack](https://spelunky-fyi.github.io/overlunky/#Backpack)
- 575 ITEM_PURCHASABLE_POWERPACK = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [DummyPurchasableEntity](https://spelunky-fyi.github.io/overlunky/#DummyPurchasableEntity)
- 576 ITEM_WEBGUN = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [Gun](https://spelunky-fyi.github.io/overlunky/#Gun)
- 577 ITEM_SHOTGUN = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [Gun](https://spelunky-fyi.github.io/overlunky/#Gun)
- 578 ITEM_FREEZERAY = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [Gun](https://spelunky-fyi.github.io/overlunky/#Gun)
- 579 ITEM_CROSSBOW = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Bow](https://spelunky-fyi.github.io/overlunky/#Bow)
- 579 ITEM_CROSSBOW = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [Bow](https://spelunky-fyi.github.io/overlunky/#Bow)
- 580 ITEM_CAMERA = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [Gun](https://spelunky-fyi.github.io/overlunky/#Gun)
- 581 ITEM_TELEPORTER = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [Teleporter](https://spelunky-fyi.github.io/overlunky/#Teleporter)
- 582 ITEM_MATTOCK = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [Mattock](https://spelunky-fyi.github.io/overlunky/#Mattock)
Expand All @@ -565,9 +565,9 @@ The list below shows the type hierarchy for each entity in the game. This makes
- 585 ITEM_EXCALIBUR = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Excalibur](https://spelunky-fyi.github.io/overlunky/#Excalibur)
- 586 ITEM_BROKENEXCALIBUR = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable)
- 587 ITEM_PLASMACANNON = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [Gun](https://spelunky-fyi.github.io/overlunky/#Gun)
- 588 ITEM_SCEPTER = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [Gun](https://spelunky-fyi.github.io/overlunky/#Gun)
- 588 ITEM_SCEPTER = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) - [Scepter](https://spelunky-fyi.github.io/overlunky/#Scepter)
- 589 ITEM_CLONEGUN = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [Gun](https://spelunky-fyi.github.io/overlunky/#Gun)
- 590 ITEM_HOUYIBOW = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Bow](https://spelunky-fyi.github.io/overlunky/#Bow)
- 590 ITEM_HOUYIBOW = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [Bow](https://spelunky-fyi.github.io/overlunky/#Bow)
- 591 ITEM_WOODEN_SHIELD = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [Shield](https://spelunky-fyi.github.io/overlunky/#Shield)
- 592 ITEM_METAL_SHIELD = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [Purchasable](https://spelunky-fyi.github.io/overlunky/#Purchasable) > [Shield](https://spelunky-fyi.github.io/overlunky/#Shield)
- 596 ACTIVEFLOOR_EGGSHIPPLATFORM = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable)
Expand Down Expand Up @@ -597,7 +597,7 @@ The list below shows the type hierarchy for each entity in the game. This makes
- 620 ACTIVEFLOOR_TIAMAT_PLATFORM = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable)
- 621 ACTIVEFLOOR_TIAMAT_SHOULDERPLATFORM = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable)
- 622 ACTIVEFLOOR_BUBBLE_PLATFORM = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable)
- 623 ACTIVEFLOOR_CRUSHING_ELEVATOR = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable)
- 623 ACTIVEFLOOR_CRUSHING_ELEVATOR = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [CrushElevator](https://spelunky-fyi.github.io/overlunky/#CrushElevator)
- 624 ACTIVEFLOOR_SHIELD = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable)
- 625 ACTIVEFLOOR_REGENERATINGBLOCK = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable) > [RegenBlock](https://spelunky-fyi.github.io/overlunky/#RegenBlock)
- 628 FX_EGGSHIP_SHELL = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [Movable](https://spelunky-fyi.github.io/overlunky/#Movable)
Expand Down Expand Up @@ -772,7 +772,7 @@ The list below shows the type hierarchy for each entity in the game. This makes
- 801 BG_BASECAMP_DININGTABLE_DISHES = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity)
- 802 BG_BASECAMP_SHORTCUTSTATIONBANNER = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity)
- 803 BG_SHOP = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity)
- 804 BG_SHOP_ENTRANCEDOOR = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [BGShopEntrence](https://spelunky-fyi.github.io/overlunky/#BGShopEntrence)
- 804 BG_SHOP_ENTRANCEDOOR = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity) > [BGShopEntrance](https://spelunky-fyi.github.io/overlunky/#BGShopEntrance)
- 805 BG_SHOP_BACKDOOR = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity)
- 806 BG_SHOPWANTEDPOSTER = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity)
- 807 BG_SHOPWANTEDPORTRAIT = [Entity](https://spelunky-fyi.github.io/overlunky/#Entity)
Expand Down
Loading
Loading