04-25-2010, 08:27 PM
We should have a more clear file structure within our trunk folder, which makes it easier to find stuff. This sorting can go on for as far as you can imagine, but by having seperate files for each function the time of searching for something dramaticly increases. We need to find a good balance.
My suggestion is that we create some main files (vars.pwn, lvp.pwn, defines.pwn etc.), like we already have now, but then a less amount of files, and that we move all handlers to a handler folder. Commands should all be in the commands folder, but should be sorted again, since not all commands are in the corresponding file.
Ideally we wouldn't need the maps and races folder anymore, because the best thing would be to have them in a DB to allow creating on the fly. Callbacks will be in their own folder, but other stuff like the anticheat handler should be in the handlers folder.
We should only have critical files with only the most critical things in the main folder, and sort the rest in other folders.
Ideas/suggestions?
PS: These changes are due for May 2 2010, and have their own milestone on the trac. Milestone 1.
My suggestion is that we create some main files (vars.pwn, lvp.pwn, defines.pwn etc.), like we already have now, but then a less amount of files, and that we move all handlers to a handler folder. Commands should all be in the commands folder, but should be sorted again, since not all commands are in the corresponding file.
Ideally we wouldn't need the maps and races folder anymore, because the best thing would be to have them in a DB to allow creating on the fly. Callbacks will be in their own folder, but other stuff like the anticheat handler should be in the handlers folder.
We should only have critical files with only the most critical things in the main folder, and sort the rest in other folders.
Ideas/suggestions?
PS: These changes are due for May 2 2010, and have their own milestone on the trac. Milestone 1.