TheStarport / FLHook

A Server Improvement for Freelancer.
GNU General Public License v3.0
30 stars 16 forks source link

Removal of global variables where ever possible. #287

Closed Lazrius closed 1 year ago

Lazrius commented 1 year ago

For the most part, global variables should be ignored and prevented from being used. If they are needed, we should put them in relevant structs that can be accessed elsewhere, and are created through const unique_ptrs. In some rare cases, like those accessed through assembly, the variables cannot be updated.