Conversation
… change for 24h), locations, prototype of generating new locations (towns, mainlocation), floodfill alghoritm for grouping a locations and generating an unique id for them example town1,town2 (if town is on two tiles it recognize as one town), files cleanup, main map is choosen only one randomly, mapdata -> map rename, importing many files from config files
…e to node and first logic for generating a submaps
…le world, refactor mapgeneratorservice
…hen in 'locations' key in bimoe exist some location and it is not defined in submapassignmentlocations wont be rendered
ktos
approved these changes
May 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
done:
Implemented cron job for cyclic map generation
Removed enums for TerrainType and BiomeType
Added a walkable flag to biomes (true/false)
Created a service that keeps the current map in memory and prevents generating multiple map versions on refresh
Refactored location generation to use the map JSON file
Enabled generation of multiple location types (e.g., caves, towns for now)
Added submaps for locations identified by the generation algorithm (e.g., towns, caves)
Developed a service for importing maps from a file
Separated the logic of single map generation from world map generation
Created InMemoryMapRepository – a repository for storing maps in memory
Introduced new map types: lava and desert