bzflag
bzflag copied to clipboard
Flags should be able to be added and removed dynamically.
Add required features to add/remove flags dynamically during the game. Make the client and the server keep variable sized lists instead of fixed size arrays.
Plan:
Replace the fixed size flag vector with a dynamic flag list. Use messages to tell the client when to add or remove flag instances.
Max flags then simply becomes a max value for the server to use in it's default logic and can be overridden at any time.
Will also be useful when doing map change, as entire flagset can be replaced.