Skip to content

Conversation

@Rainyan
Copy link
Collaborator

@Rainyan Rainyan commented Jul 12, 2025

Description

Some cleanup of the code base.

  • Removed the old unused teammate position vectors that were cluttering up the player send/receive tables.

  • Refactored the way dummy positions are networked to client, so they're not coupled to the gamerules entity.

  • Converted dynamic_casts to static_casts in player & HUD classes where possible, for performance.

  • Silenced some debug asserts spam for the tutorial map.

Toolchain

  • Windows MSVC VS2022

Linked Issues

@Rainyan Rainyan requested a review from a team July 12, 2025 16:15
Masterkatze
Masterkatze previously approved these changes Jul 19, 2025
Copy link
Contributor

@Masterkatze Masterkatze left a comment

Choose a reason for hiding this comment

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

LGTM

@Rainyan Rainyan requested a review from a team July 19, 2025 16:28
AdamTadeusz
AdamTadeusz previously approved these changes Jul 23, 2025
Rainyan added 9 commits July 23, 2025 23:24
Because this runs really often
Silence some debug assertions that trigger for the tutorial map, related
to the outro sequence with the dangling VR helmet prop.
Gather the dummy bots in a C_EntityClassList so that we can decouple
their counting from the gamerules entity.
optimize casts
@Rainyan
Copy link
Collaborator Author

Rainyan commented Jul 23, 2025

Rebased to master to fix a merge conflict.

@Rainyan Rainyan merged commit bab4a6d into NeotokyoRebuild:master Jul 23, 2025
7 checks passed
@Rainyan Rainyan deleted the refactor branch July 23, 2025 21:27
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.

3 participants