bzflag icon indicating copy to clipboard operation
bzflag copied to clipboard

Flags should be able to be added and removed dynamically.

Open JeffM2501 opened this issue 7 years ago • 1 comments

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.

JeffM2501 avatar Jun 08 '18 15:06 JeffM2501

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.

JeffM2501 avatar Jun 08 '18 19:06 JeffM2501