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
An intermediate step is to keep the global variables, but:
name them with a g* prefix so they are easily visible
pass them through parameters instead of having different functions reference them
try to get to the stage where only one module or function ever uses the global directly
This means it'll be easy to simplify the lifetime management of the variables, and eventually combine them into local structures. This was done with the credits loading/displaying system recently.
No description provided.
The text was updated successfully, but these errors were encountered: