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

Show buildings and citizens in City View #32

Open
SWY1985 opened this issue Sep 3, 2016 · 1 comment
Open

Show buildings and citizens in City View #32

SWY1985 opened this issue Sep 3, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@SWY1985
Copy link
Owner

SWY1985 commented Sep 3, 2016

We'd need to reverse engineer the city view code in order to get the buildings to render on the correct position.

Currently implementing an algorithm that is similar, which should be good enough until we have the original rendering figured out.
Current implementation status: https://github.com/SWY1985/CivOne/wiki/Status:-City-view-rendering

It seems likely that it will be finished soon, so I added this feature to 0.1.0-alpha.1.


For clarity, here's an overview of things to do:

  • Use the correct grid to draw buildings, so buildings don't appear off screen
  • Make sure at least a couple of houses are always drawn (prevent empty cities)
  • Draw city improvements closer to the rest of the buildings
  • Drawing order, prevent buildings from being drawn on top of each other
  • Draw all wonders/buildings
@SWY1985 SWY1985 added the feature label Sep 3, 2016
SWY1985 added a commit that referenced this issue Feb 20, 2017
SWY1985 added a commit that referenced this issue Feb 20, 2017
SWY1985 added a commit that referenced this issue Feb 21, 2017
Experimental code, similar but not the same is the original game
SWY1985 added a commit that referenced this issue Feb 22, 2017
New buildings: Library, Courthouse, Bank, Cathedral, University and
Colosseum. Also, roads are now generated horizontally and vertically.
@SWY1985 SWY1985 added this to the 0.1.0-alpha.1 milestone Feb 23, 2017
@SWY1985 SWY1985 self-assigned this Feb 23, 2017
@SWY1985
Copy link
Owner Author

SWY1985 commented Mar 2, 2017

Linked to #250

SWY1985 added a commit that referenced this issue Mar 6, 2017
...and simplified drawing code. The following buildings were added:
Factory, MfgPlant, SDI Defense, Recycling Center, Nuclear Plant.
SWY1985 added a commit that referenced this issue Mar 6, 2017
Implemented drawing Hanging Gardens, Oracle, Lighthouse, Darwin's Voyage
and Hoover Dam
This was referenced Mar 23, 2017
SWY1985 pushed a commit that referenced this issue Aug 8, 2018
SWY1985 pushed a commit that referenced this issue Aug 8, 2018
SWY1985 pushed a commit that referenced this issue Aug 8, 2018
Experimental code, similar but not the same is the original game
SWY1985 pushed a commit that referenced this issue Aug 8, 2018
New buildings: Library, Courthouse, Bank, Cathedral, University and
Colosseum. Also, roads are now generated horizontally and vertically.
SWY1985 pushed a commit that referenced this issue Aug 8, 2018
...and simplified drawing code. The following buildings were added:
Factory, MfgPlant, SDI Defense, Recycling Center, Nuclear Plant.
SWY1985 pushed a commit that referenced this issue Aug 8, 2018
Implemented drawing Hanging Gardens, Oracle, Lighthouse, Darwin's Voyage
and Hoover Dam
m35 pushed a commit to m35/CivOne that referenced this issue Oct 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant