I was wondering how I could utilise typedef and auto to make a weapons_t type definition. And how I could use it in multiple classes. My weapons declaration is all over my code and in many classes. Due to the polymorphism aspects of the program. Thank you.
The header file that defines CWeapons would be the obvious place to put it, because everywhere that wants to use weapons_t is going need to have CWeapons defined anyway.