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

Annotate code related to collision beam entities #6627

Merged
merged 14 commits into from
Jan 18, 2025

Conversation

lL1l1
Copy link
Contributor

@lL1l1 lL1l1 commented Jan 17, 2025

Description of the proposed changes

Annotate collision beam entities, the default beam weapon class, and related Intellisense warnings.

Testing done on the proposed changes

DefaultBeamWeapon, CollisionBeam, and CollisionBeamEntity files don't have warnings

Checklist

  • Changes are annotated, including comments where useful
  • Changes are documented in the changelog for the next game version

lL1l1 added 13 commits January 16, 2025 15:55
spec is from the disassembly strings
`Disable` is from logging the `moho.CollisionBeamEntity` table (excluding what's already in `moho.entity_methods`)
Type doesn't propagate without using Class(base)(spec), even though base(spec) is functional. Not sure how to fix that.
The beam is only instantiated once so we don't need to do the metatable trick we did with projectiles
@lL1l1 lL1l1 added area: sim Area that is affected by the Simulation of the Game type: intellisense labels Jan 17, 2025
@lL1l1 lL1l1 added this to the Development Iteration I of 2025 milestone Jan 17, 2025
@lL1l1 lL1l1 marked this pull request as ready for review January 17, 2025 03:38
Copy link
Member

@Garanas Garanas left a comment

Choose a reason for hiding this comment

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

Looks good!

@Garanas Garanas merged commit 345f5ca into FAForever:develop Jan 18, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: sim Area that is affected by the Simulation of the Game type: intellisense
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants