- removed a few unused bits of code.

This commit is contained in:
Christoph Oelckers 2019-12-19 20:04:17 +01:00
parent 3cb68b2bf0
commit fffe1753ec
5 changed files with 0 additions and 21 deletions

View file

@ -1135,7 +1135,6 @@ int GameInterface::app_main()
#endif
//gSysRes.Init(pUserRFF ? pUserRFF : "BLOOD.RFF");
//gGuiRes.Init("GUI.RFF");
//gSoundRes.Init(pUserSoundRFF ? pUserSoundRFF : "SOUNDS.RFF");
HookReplaceFunctions();

View file

@ -37,8 +37,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
BEGIN_BLD_NS
Resource& gSoundRes = fileSystem;
int soundRates[13] = {
11025,
11025,

View file

@ -54,6 +54,4 @@ void sndProcess(void);
void sndTerm(void);
void sndInit(void);
extern Resource &gSoundRes;
END_BLD_NS

View file

@ -66,8 +66,6 @@ static inline void realloc_copy(char **fn, const char *buf)
int32_t getatoken(scriptfile *sf, const tokenlist *tl, int32_t ntokens);
int32_t G_CheckCmdSwitch(int32_t argc, char const * const * argv, const char *str);
int32_t maybe_append_ext(char *wbuf, int32_t wbufsiz, const char *fn, const char *ext);
// Approximations to 2D and 3D Euclidean distances. Initial EDuke32 SVN import says

View file

@ -57,20 +57,6 @@ int32_t getatoken(scriptfile *sf, const tokenlist *tl, int32_t ntokens)
//////////
int32_t G_CheckCmdSwitch(int32_t argc, char const * const * argv, const char *str)
{
int32_t i;
for (i=0; i<argc; i++)
{
if (str && !Bstrcasecmp(argv[i], str))
return 1;
}
return 0;
}
////
// Copy FN to WBUF and append an extension if it's not there, which is checked
// case-insensitively.