Open ChillerDragon opened 3 weeks ago
I tested it 5 seconds and it kinda worked. But not sure if that is the right approach anyways. There are so many map pools already. There is maps registered in the db used by ddnets random map. There is maps in the maps/ folder. There is maps in the vote list. Adding yet another pool seems bloat.
Also the code is a mess and quickly hacked down. Ideally there should not be any std::string and not even any std::vector.
ddnet also uses std::vector of std::string for the censorlist.txt so it should be fine
14 year old teeworlds style would be to use a linked list and some self rolled allocator code that seems worse.
The map pool can be defined in the config and manually changed by the admin in game
It is not synced to any other list of maps. This gives full control.