nosoop / rcbot2

A Metamod:Source plugin that provides customizable bot players.
http://rcbot.bots-united.com
GNU Affero General Public License v3.0
5 stars 0 forks source link

Use global class instances instead of static classes and members #7

Open nosoop opened 5 years ago

nosoop commented 5 years ago

Probably the largest refactor here.

Avoids having static const values declared outside of the class definition, and lets us use RAII and destructors instead of custom ::freeMemory() calls.

Or at least I think that's the case. It's difficult to say until it's actually tried.