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 missiles to tile data debug command #7701

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

obligaron
Copy link
Contributor

This adds a new missiles data type to the debug lua tileData command.

After adding this, it turned out that debugGridTextBuffer can be too small (only 10 characters). This can be exceeded if there are many missiles on a tile or if there are many microTiles on a tile (e.g. cathedral levels).
This PR changes debugGridText to std::string to avoid such situations.

Example video:

TileDataMissiles.mp4

@obligaron obligaron changed the title Add missiles to show tile data debug command Add missiles to tile data debug command Feb 2, 2025
@AJenbo AJenbo merged commit ee42d2a into diasurgical:master Feb 3, 2025
23 checks passed
@obligaron obligaron deleted the datadmissiles branch February 3, 2025 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants