Trying to organize SDL Quake's mess
Trying to organize SDL Quake's mess
So, i'm trying to get SDL Quake organized, by removing unused and obsolete code. Based on the popular SDL Quake codebase, which of those files are safe to remove? vid_win.c, snd_dma.c, etc. They all seem useless since SDL was implemented. Or am i wrong?
Re: Trying to organize SDL Quake's mess
Labeling something as a 'mess' requires you to have at least a basic understanding of what it is and that you are asking whether snd_dma.c can be removed from it proves that you actually don't. Did you even try to compile it by removing it? snd_dma.c is the main snd module so no, you aren't supposed to remove it. (Speaking of sound code in it, SDLQuake has a seriously buggy snd_sdl module which will make the engine to occasionally Sys_Error().)JasonX wrote:So, i'm trying to get SDL Quake organized, by removing unused and obsolete code. Based on the popular SDL Quake codebase, which of those files are safe to remove? vid_win.c, snd_dma.c, etc. They all seem useless since SDL was implemented. Or am i wrong?