mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
- removed a few unused bits of code.
This commit is contained in:
parent
3cb68b2bf0
commit
fffe1753ec
5 changed files with 0 additions and 21 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -54,6 +54,4 @@ void sndProcess(void);
|
|||
void sndTerm(void);
|
||||
void sndInit(void);
|
||||
|
||||
extern Resource &gSoundRes;
|
||||
|
||||
END_BLD_NS
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue