2
votes
3answers
271 views

“CVar system” - are CVar always looked up or cached?

Many famous game such as Quake or Half-Life use CVars to allow easy and flexible game parameter manipulations. You can simply open up the console and write something like sv_cheats 1 to enable ...
5
votes
3answers
363 views

What's the appropriate way to define configuration settings of game objects for a proper code accessed via C++?

I defined a lot of configuration and settings of certain types of enemy characters inside header via #define similar to the following. // --- RULES --- #define MAX_INC_ATTACK_POINT 50 #define ...