You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are tons and tons of global variables tracking all manner of state and it's pretty confusing. We should reduce the number of globals as much as possible – even just gathering related individual globals into a global struct would be a huge improvement to how things are now.
The fact that some targets require spurious declarations just to compile is also a problem. We should avoid declaring extern globals in headers that are included in more than one target.
The text was updated successfully, but these errors were encountered:
Something like that, yeah. It may turn out we have a good reason to split it between a few structs, though – either independent structs, or sub-structs of the main one.
Oh, we actually can't use #ifdef GAME to separate code paths in common sources, because the define for GAME won't be set when it's build time for the common project.
There are tons and tons of global variables tracking all manner of state and it's pretty confusing. We should reduce the number of globals as much as possible – even just gathering related individual globals into a global struct would be a huge improvement to how things are now.
The fact that some targets require spurious declarations just to compile is also a problem. We should avoid declaring extern globals in headers that are included in more than one target.
The text was updated successfully, but these errors were encountered: