- 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 #endif
//gSysRes.Init(pUserRFF ? pUserRFF : "BLOOD.RFF"); //gSysRes.Init(pUserRFF ? pUserRFF : "BLOOD.RFF");
//gGuiRes.Init("GUI.RFF"); //gGuiRes.Init("GUI.RFF");
//gSoundRes.Init(pUserSoundRFF ? pUserSoundRFF : "SOUNDS.RFF");
HookReplaceFunctions(); HookReplaceFunctions();

View File

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

View File

@ -54,6 +54,4 @@ void sndProcess(void);
void sndTerm(void); void sndTerm(void);
void sndInit(void); void sndInit(void);
extern Resource &gSoundRes;
END_BLD_NS 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 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); 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 // 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 // Copy FN to WBUF and append an extension if it's not there, which is checked
// case-insensitively. // case-insensitively.