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

Add VERTICAL_ROOMS define #430

Open
wants to merge 1 commit into
base: develop/2.4.0
Choose a base branch
from

Conversation

Reonu
Copy link
Contributor

@Reonu Reonu commented Jun 29, 2022

Allows for vertical rooms

  • If VERTICAL ROOMS is enabled, geo_switch_area will do a manual floor check every frame to check for intangible floors.
  • If VERTICAL_ROOMS is disabled:
    • If ENABLE_VANILLA_LEVEL_SPECIFIC_CHECKS is enabled, do a manual floor check ONLY in BBH (this vanilla level is the only that uses vertical cloors)
    • if ENABLE_VANILLA_LEVEL_SPECIFIC_CHECKS is disabled, never do a manual floor check.

@Reonu Reonu requested a review from Mr-Wiseguy as a code owner June 29, 2022 01:35
@Reonu Reonu changed the base branch from develop/2.0.1 to develop/2.1.0 June 29, 2022 01:36
@Reonu Reonu changed the title Adds VERTICAL_ROOMS define Add VERTICAL_ROOMS define Jun 29, 2022
@Reonu Reonu requested a review from Arceveti June 29, 2022 01:36
@Reonu Reonu self-assigned this Jun 29, 2022
@Reonu Reonu added enhancement New feature or request medium priority Semi-important issue or feature / medium priority labels Jun 29, 2022
@Reonu Reonu added this to the 2.1 milestone Jun 29, 2022
Copy link
Contributor

@thecozies thecozies left a comment

Choose a reason for hiding this comment

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

change request for question on possible improvement

#ifdef ENABLE_VANILLA_LEVEL_SPECIFIC_CHECKS
if (gCurrLevelNum == LEVEL_BBH) {
// In BBH, check for a floor manually, since there is an intangible floor. In custom hacks this can be removed.
#ifdef VERTICAL_ROOMS
Copy link
Contributor

Choose a reason for hiding this comment

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

is there any issue with checking if gCurrentArea->surfaceRooms != NULL instead of using this define? i feel like there has to be a way if checking that an area has rooms before doing this check, that way we dont need to have a define for this and its automatic

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good point, I'll see if that works and if so I'll remove the define

Copy link
Contributor

Choose a reason for hiding this comment

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

another consideration we're having: add a flag whether or not an area has surface intangible floors, then if flag then check

@arthurtilly arthurtilly requested a review from gheskett as a code owner November 2, 2022 23:19
@gheskett gheskett modified the milestones: 2.1, 3.0 Mar 6, 2023
@gheskett gheskett modified the milestones: 3.0, 2.2 Sep 27, 2023
@gheskett gheskett changed the base branch from develop/2.1.0 to develop/2.2.0 September 27, 2023 02:10
@someone2639
Copy link
Collaborator

also bumping this one to get status

@gheskett gheskett modified the milestones: 2.2, 2.3 Mar 2, 2024
@gheskett gheskett changed the base branch from develop/2.2.0 to develop/2.3.0 March 2, 2024 13:49
@Reonu
Copy link
Contributor Author

Reonu commented Mar 14, 2024

I will fix this I promise

@gheskett gheskett modified the milestones: 2.3, 2.4 Jul 4, 2024
@gheskett gheskett changed the base branch from develop/2.3.0 to develop/2.4.0 July 4, 2024 07:16
@arthurtilly
Copy link
Collaborator

He will apparently fix this, he promises. Someone kill him

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium priority Semi-important issue or feature / medium priority
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

5 participants