mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 03:00:38 +00:00
- fixed a few typos and uninitialized variables.
This commit is contained in:
parent
78e7b2dd8c
commit
c82d6de6c3
5 changed files with 4 additions and 4 deletions
|
@ -387,7 +387,6 @@ static void PrecacheSounds(void)
|
||||||
|
|
||||||
void PreloadCache(void)
|
void PreloadCache(void)
|
||||||
{
|
{
|
||||||
char tempbuf[128];
|
|
||||||
if (gDemo.at1)
|
if (gDemo.at1)
|
||||||
return;
|
return;
|
||||||
PrecacheSounds();
|
PrecacheSounds();
|
||||||
|
|
|
@ -382,7 +382,7 @@ void UpdateJoystickMenu(IJoystickConfig *selected)
|
||||||
{
|
{
|
||||||
it = new FOptionMenuItemStaticText("$JOYMNU_DISABLED1");
|
it = new FOptionMenuItemStaticText("$JOYMNU_DISABLED1");
|
||||||
opt->mItems.Push(it);
|
opt->mItems.Push(it);
|
||||||
it = new FOptionMenuItemStaticText("$JOYMNU_DISABLED1");
|
it = new FOptionMenuItemStaticText("$JOYMNU_DISABLED2");
|
||||||
opt->mItems.Push(it);
|
opt->mItems.Push(it);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,7 @@ char(&_ArraySizeHelper(T(&array)[N]))[N];
|
||||||
bool FileExists (const char *filename);
|
bool FileExists (const char *filename);
|
||||||
bool DirExists(const char *filename);
|
bool DirExists(const char *filename);
|
||||||
bool DirEntryExists (const char *pathname, bool *isdir = nullptr);
|
bool DirEntryExists (const char *pathname, bool *isdir = nullptr);
|
||||||
|
bool GetFileInfo(const char* pathname, size_t* size, time_t* time);
|
||||||
|
|
||||||
extern FString progdir;
|
extern FString progdir;
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ private:
|
||||||
//char Name[1]; // + length of name
|
//char Name[1]; // + length of name
|
||||||
};
|
};
|
||||||
|
|
||||||
FConfigSection *Sections;
|
FConfigSection* Sections = nullptr;
|
||||||
FConfigSection **LastSectionPtr;
|
FConfigSection **LastSectionPtr;
|
||||||
FConfigSection *CurrentSection;
|
FConfigSection *CurrentSection;
|
||||||
FConfigEntry *CurrentEntry;
|
FConfigEntry *CurrentEntry;
|
||||||
|
|
|
@ -1088,7 +1088,7 @@ OptionValue "AimMode"
|
||||||
{
|
{
|
||||||
0, "$OPTVAL_NEVER"
|
0, "$OPTVAL_NEVER"
|
||||||
1, "$OPTVAL_ALWAYS"
|
1, "$OPTVAL_ALWAYS"
|
||||||
2, "$OPTRAL_HITSCAN"
|
2, "$OPTVAL_HITSCAN"
|
||||||
}
|
}
|
||||||
|
|
||||||
OptionValue "RunMode"
|
OptionValue "RunMode"
|
||||||
|
|
Loading…
Reference in a new issue