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
Reorganize FOCS files #1718
Reorganize FOCS files #1718
Conversation
Could you also move FOCS read only by the server or the AIs move to separate directory like |
@o01eg I fail to see what would establish statistics to the domain of server? I also do not see any definitions (or other files within |
As I've just rechecked only server calls code
Ok. |
I don't think categorizing stuff as "server only" is useful conceptually. AI stuff is doing something conceptually different. Statistics, even if only actually parsed by the server, are just another part of the game content, and they do appear in the client. |
Thanks for the notice about the conflict with #1343. |
@geoffthemedio It's about changes could be made without breaking compatibility with the client. |
I think the client would require matching stringtable updates for changes to statistics, so that could be potentially misleading... |
Unlike last time this doesn't conflict with any of my current work so that's a relief. I would rather keep the stats where they are, they're written using FOCS and I sometimes use them for testing purposes, plus at some point we want to gate them in some way based on intelligence/spying/diplomacy which'll be part of scripting. But it's a soft preference, if there's a strong reason to change I don't object, I'm just not sure I understand why you'd want to. Regarding the PR overall, it looks fine to me, haven't got time to test it currently but the principle is sound. |
@o01eg Thank you for the info on statistics, I had not looked into those in the past. |
ce8eb3c
to
573e923
Compare
Reorganizes FOCS files in a consistent manner using sub directories and limiting to one definition per file.
Superceeds #1631
Open PRs with conflicts: #1709 #1343