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

Load the Civ3 techs from save games and scenarios #513

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

TomWerner
Copy link
Contributor

This doesn't yet add any support for rendering them or working on techs, but this is the first step towards doing that.

#392

C7GameData/Save/SaveTech.cs Show resolved Hide resolved
public int AdvanceIcon;
public int X;
public int Y;
public Tech Prerequisite1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should use a collection here to reduce code duplication and avoid hard-coding a maximum number of prerequisites.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call, done.

This doesn't yet add any support for rendering them or working on techs, but this is the first step towards doing that.
@TomWerner TomWerner merged commit 09d8acc into Development Jan 21, 2025
3 checks passed
@TomWerner TomWerner deleted the twrner/load-techs branch January 21, 2025 23:01
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