mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
Set functions static
This commit is contained in:
@@ -343,7 +343,7 @@ static void BuildLoadscreenFilename(std::string& dst, const char* path, int reso
|
|||||||
dst.append(".sti");
|
dst.append(".sti");
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string GetResolutionSuffix(SCREEN_RESOLUTION resolution)
|
static std::string GetResolutionSuffix(SCREEN_RESOLUTION resolution)
|
||||||
{
|
{
|
||||||
switch (resolution)
|
switch (resolution)
|
||||||
{
|
{
|
||||||
@@ -375,7 +375,7 @@ std::string GetResolutionSuffix(SCREEN_RESOLUTION resolution)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string FindBestFittingLoadscreenFilename(const std::string& baseName, SCREEN_RESOLUTION resolution)
|
static std::string FindBestFittingLoadscreenFilename(const std::string& baseName, SCREEN_RESOLUTION resolution)
|
||||||
{
|
{
|
||||||
for (SCREEN_RESOLUTION res = resolution; res <= _2560x1600; res = (SCREEN_RESOLUTION)(res + 1))
|
for (SCREEN_RESOLUTION res = resolution; res <= _2560x1600; res = (SCREEN_RESOLUTION)(res + 1))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user