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 removeAllGameBuildings / restoreAllGameBuildings API #3275

Conversation

TheNormalnij
Copy link
Contributor

After #3274

removeAllGameBuildings frees the building pool completely. This allows creating 13000 buildings without SA world.

bool removeAllGameBuildings()
bool restoreAllGameBuildings()

@StrixG StrixG added the enhancement New feature or request label Dec 21, 2023
@TheNormalnij TheNormalnij changed the title Remove and restore all buildings API Add removeAllGameBuildings / restoreAllGameBuildings API Jan 8, 2024
@TheNormalnij TheNormalnij force-pushed the TheNormalnij/remove_restore_buildings branch from 7b65f14 to 3e48846 Compare February 29, 2024 17:25
@TheNormalnij TheNormalnij marked this pull request as ready for review February 29, 2024 17:26
@TheNormalnij TheNormalnij marked this pull request as draft February 29, 2024 17:34
@TheNormalnij TheNormalnij marked this pull request as ready for review March 4, 2024 20:42
Client/game_sa/CIplStoreSA.cpp Outdated Show resolved Hide resolved
Client/game_sa/CBuildingsPoolSA.cpp Outdated Show resolved Hide resolved
@TheNormalnij
Copy link
Contributor Author

I forgot to delete buildings elements too

@TheNormalnij
Copy link
Contributor Author

Fixed

@Dutchman101
Copy link
Member

Please resolve conflicts
@TheNormalnij

@Dutchman101
Copy link
Member

It passed 1 code review, the rest can be tested in upcoming nightly (as soon build server is fixed) along with other related merged PR's

@Dutchman101 Dutchman101 merged commit eb6b18a into multitheftauto:master Apr 5, 2024
6 checks passed
MTABot pushed a commit that referenced this pull request Apr 5, 2024
eb6b18a Add removeAllGameBuildings / restoreAllGameBuildings API (#3275)
aa932d2 Update client en_US pot
@TheNormalnij TheNormalnij deleted the TheNormalnij/remove_restore_buildings branch June 10, 2024 18:33
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.

None yet

4 participants