Id reccomend each game has its own source file, where the author can declare variables and stuff, and he makes a GAMENAME_init,GAMENAME_update,GAMENAME_input, and GAMENAME_end
init could take things like screen res,
update would take things like fps,
input would take a class with the current...