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

Jsonify parking lot #44933

Merged
merged 8 commits into from
Oct 27, 2020
Merged

Jsonify parking lot #44933

merged 8 commits into from
Oct 27, 2020

Conversation

Night-Pryanik
Copy link
Contributor

Summary

SUMMARY: Content "Jsonify parking lot."

Purpose of change

Continuation of hardcode-to-json project.

Describe the solution

Added json mapgen variant which is almost identical to previous hardcoded variant. Created a city_building overmap special definition for it. Removed directive to use built-in hardcoded function in overmap terrain. Removed all mentions of hardcoded function from .cpp and .h files.

Describe alternatives you've considered

None

Testing

Debug-spawned separate parking lot location. Debug-spawned mine entrance location. Naturally found parking lot in cities. Checked if all is ok in all cases.

Additional context

None.

@Night-Pryanik Night-Pryanik added [JSON] Changes (can be) made in JSON Map / Mapgen Overmap, Mapgen, Map extras, Map display [C++] Changes (can be) made in C++. Previously named `Code` labels Oct 18, 2020
@Night-Pryanik Night-Pryanik marked this pull request as draft October 19, 2020 09:02
@Night-Pryanik Night-Pryanik marked this pull request as ready for review October 20, 2020 06:26
@ZhilkinSerg ZhilkinSerg merged commit 415056f into CleverRaven:master Oct 27, 2020
@Night-Pryanik Night-Pryanik deleted the jsonify-parking-lot branch October 27, 2020 11:48
@ZhilkinSerg
Copy link
Contributor

Hey, I forgot about savegame migration:

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` [JSON] Changes (can be) made in JSON Map / Mapgen Overmap, Mapgen, Map extras, Map display
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants