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

Cleanup unused stuff in mapgen_functions.cpp #72954

Merged
merged 4 commits into from
Apr 11, 2024

Conversation

Procyonae
Copy link
Contributor

@Procyonae Procyonae commented Apr 10, 2024

Summary

None

Purpose of change

Unused code not cool

Describe the solution

Removes rift and hellmouth functions that stopped spawning in #32464.
Removes mapgen_null which as far as I can see can't possibly spawn bc the null id for oter_t is "" not "null", and purposefully doesn't have a map so it triggers an error.
Removes header definitions of mapgen_cave and mapgen_cave_rat that don't exist anymore.
Unhardcodes empty_rock and open_air.

Describe alternatives you've considered

Testing

Game compiles, no relevant errors tping around

Additional context

@github-actions github-actions bot added [JSON] Changes (can be) made in JSON Mods Issues related to mods or modding Map / Mapgen Overmap, Mapgen, Map extras, Map display [C++] Changes (can be) made in C++. Previously named `Code` Fields / Furniture / Terrain / Traps Objects that are part of the map or its features. labels Apr 10, 2024
@github-actions github-actions bot added json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions labels Apr 10, 2024
@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Apr 10, 2024
@dseguin dseguin merged commit a573b71 into CleverRaven:master Apr 11, 2024
24 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions [C++] Changes (can be) made in C++. Previously named `Code` Fields / Furniture / Terrain / Traps Objects that are part of the map or its features. [JSON] Changes (can be) made in JSON json-styled JSON lint passed, label assigned by github actions Map / Mapgen Overmap, Mapgen, Map extras, Map display Mods Issues related to mods or modding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants