Download

Performance on reading config files

Can I safely call GConfig->GetFloat(…) every tick without a noticeable drop in performance ?

You can, but why not cache it instead? The engine doesn’t re-read the config files if something changed in them any way. Use something like:

static float Cached_Float = GConfig->GetFloat(…);