Skip to content

Backport Actor Extension and Actor List Index from 2ship.#5204

Closed
leggettc18 wants to merge 2 commits intoHarbourMasters:developfrom
leggettc18:feat/ActorExtension/BackportFrom2Ship
Closed

Backport Actor Extension and Actor List Index from 2ship.#5204
leggettc18 wants to merge 2 commits intoHarbourMasters:developfrom
leggettc18:feat/ActorExtension/BackportFrom2Ship

Conversation

@leggettc18
Copy link
Contributor

@leggettc18 leggettc18 commented Mar 24, 2025

Backports the Actor Extension system and Actor List Index from 2ship. Currently Actor List Index is the only thing using the Actor Extension system, and the only place the Actor List Index is actually used is in the Actor Viewer, where I added the Actor List Index there specifically to show it off. Actor List Index can be used later instead of coordinates for some of the rando actor identifications, and the Actor Extension system can be used for much more in the future. For instance, I plan to use it to track what RC we are currently collecting on the player actor so that the game do different things depending on where the item came from, such as making items that came from Skulltula locations behave more like vanilla Skull Tokens.

Build Artifacts

@leggettc18 leggettc18 added the do not merge Not ready or not valid changes label Mar 24, 2025
@leggettc18
Copy link
Contributor Author

Putting on do not merge until 9.0 releases, this should be post-9.0, I just wanted to get it out there so no one did any duplicated effort.

@leggettc18 leggettc18 force-pushed the feat/ActorExtension/BackportFrom2Ship branch from 6457496 to 64710b5 Compare April 2, 2025 14:53
@leggettc18 leggettc18 removed the do not merge Not ready or not valid changes label Apr 2, 2025
@leggettc18
Copy link
Contributor Author

9.0 is out, so do-not-merge comes off! This is good for review/merge anytime!


#include "textures/icon_item_static/icon_item_static.h"
#include "textures/icon_item_24_static/icon_item_24_static.h"
#include <soh/ActorExtension/ActorListIndex.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When importing our own files from within the src, use quotes instead of brackets

Suggested change
#include <soh/ActorExtension/ActorListIndex.h>
#include "soh/ActorExtension/ActorListIndex.h"

#include "textures/place_title_cards/g_pn_56.h"
#include "textures/place_title_cards/g_pn_57.h"
#endif
#include <soh/ActorExtension/ActorListIndex.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing

Suggested change
#include <soh/ActorExtension/ActorListIndex.h>
#include "soh/ActorExtension/ActorListIndex.h"

#define ACTOR_LIST_INDEX_H

#include <libultraship/libultraship.h>
#include <soh/ActorExtension/ActorExtension.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

Suggested change
#include <soh/ActorExtension/ActorExtension.h>
#include "soh/ActorExtension/ActorExtension.h"

@Malkierian
Copy link
Contributor

I believe this can be closed now that #5429 is merged.

@Malkierian Malkierian closed this Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants