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

Allow dynamic models to be created as buildings #3880

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TheNormalnij
Copy link
Member

No description provided.

@TheNormalnij TheNormalnij added the enhancement New feature or request label Dec 9, 2024
Client/game_sa/CModelInfoSA.h Show resolved Hide resolved
@CArg22
Copy link

CArg22 commented Dec 10, 2024

Review and comments "maybe const", "typo" are pointless, those changes are invisible for end user and have no effect on functionality.

Instead You should checkout branch and test if it doesn't crash, does it work but the problem i see is that @TheNormalnij didn't provide any instruction what he actualy changed.

Also, he should include example script ideally in code so i can run some .bat script that install for me "test scripts" then i can "/run 3880" and see if it after year of other changes still work as intended.

@TracerDS
Copy link
Contributor

TracerDS commented Dec 10, 2024

Review and comments "maybe const", "typo" are pointless, those changes are invisible for end user and have no effect on functionality

The same could be said about any refactors, ArgumentParser, utilities, changing vendors, etc. Completely irrelevant and a huge blunder. Just because the end user doesn't notice doesn't mean its pointless.

@TheNormalnij
Copy link
Member Author

Review and comments "maybe const", "typo" are pointless, those changes are invisible for end user and have no effect on functionality.

"typo" is relevant. "maybe const" is less relevant, but ok here.

Instead You should checkout branch and test if it doesn't crash, does it work but the problem i see is that @TheNormalnij didn't provide any instruction what he actualy changed.

It's not a big feature. I replaced a dirty hack to add behavior for createBuilding from it.
The test command is simply: crun createBuilding(1502, 0, 0, 4) - creates a door without physics.

@TracerDS
Copy link
Contributor

TracerDS commented Dec 10, 2024

Review and comments "maybe const", "typo" are pointless, those changes are invisible for end user and have no effect on functionality.

"typo" is relevant. "maybe const" is less relevant, but ok here.

Its actually the opposite:
Typo in comments make no difference to functionality, only reading.
const makes a significant difference to functionality, but no readability difference

In either case both are relevant

@TheNormalnij
Copy link
Member Author

In either case both are relevant

It is less relevant because it's outside of the PR scope. I didn't add that method. Only a constant was replaced there.

@CArg22
Copy link

CArg22 commented Dec 10, 2024

Review and comments "maybe const", "typo" are pointless, those changes are invisible for end user and have no effect on functionality.

"typo" is relevant. "maybe const" is less relevant, but ok here.

Instead You should checkout branch and test if it doesn't crash, does it work but the problem i see is that @TheNormalnij didn't provide any instruction what he actualy changed.

It's not a big feature. I replaced a dirty hack to add behavior for createBuilding from it. The test command is simply: crun createBuilding(1502, 0, 0, 4) - creates a door without physics.

And thats what should be part of pull request, resource that i can easily grab and quickly test some previous pull request. In your example it could spawn this door with helper text "you should be able to go through the door". This pattern should be applied to all pull requests ( if possible ) to speedup testing and reduce regression.

@TracerDS
Copy link
Contributor

And thats what should be part of pull request, resource that i can easily grab and quickly test some previous pull request. In your example it could spawn this door with helper text "you should be able to go through the door". This pattern should be applied to all pull requests ( if possible ) to speedup testing and reduce regression.

Lets be realistic. With the huge decrease in PR activity this will be impossible to keep track of.
Especially with quick prs that are ready to merge (but stay in the ready-for-merge state for years).
If you want to test it, wait for it to get merged. That way more people can report potential issues and not just a selected few who opted into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants