Original Post
My project is getting too large to scroll around in one file. I think I want to split the functions up into groups like main, file, render, game logic, sound, etc and then minimize interaction between them. What's the proper way to do this? Source files can share functions if they've been prototyped but I don't know how to share global variables. Should I just keep one source file and make the rest header files instead?