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

Connect Settlements with Roads #44

Merged
merged 9 commits into from Jul 5, 2019

Conversation

@mayant15
Copy link
Contributor

commented Jun 21, 2019

This PR will create roads connecting cities.

TO TEST:

  1. Launch a new game with an implementation of DynamicCities
  2. Find at least two cities
  3. Straight roads connecting settlements will be built

Roads
close

mayant15 added some commits Jun 20, 2019

Setup road construction pipeline
 - Created basic container classes
 - Created temporary mock functions
 - Setup SettlementEntityManager to create roads as it creates buildings
Better place and clear out space for roads
- Buildings of the source will not be built upon roads
- RoadSegments will be laid down better

@mayant15 mayant15 changed the title [WIP] Connect Settlements with Roads Connect Settlements with Roads Jun 29, 2019

@Cervator
Copy link
Member

left a comment

Ran over the changes real quick and verified it doesn't seem to cause crashes (an older DC issue did though). Having a hard time finding good test worlds, I suggest adding in test seeds in future PRs for easier testing :-)

@Cervator Cervator merged commit a9e68a3 into Terasology:master Jul 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.