VGames, on 26 August 2025 - 05:38 AM, said:
Does it help to have lots of events and states separated into multiple files or is it ok to just keep them all in 1 big file? Just wondering if making separate files for different code mentioned above would maybe help eDuke process all that easier.
Having done it various ways for different projects, honestly I think it's better to keep them in a smaller number of files. It makes it quicker to search for stuff. Also, when you first divide them up the organizational scheme may seem clear and intuitive to you, but then edge cases tend to pile up and you can be uncertain which file some new code goes in. Which comes back to looking for stuff -- you may not know which file to look in later.
Forget all of that if there are multiple coders working on the same project though. Not something I've done but obviously that's different.