mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
- made Blood start again by commenting out the fade functions which somehow broke during the CMake transition.
This commit is contained in:
parent
2cbe211e7c
commit
f49284d47c
2 changed files with 5 additions and 1 deletions
|
@ -492,7 +492,7 @@ endif()
|
||||||
# Update gitinfo.h
|
# Update gitinfo.h
|
||||||
|
|
||||||
add_custom_target( revision_check ALL
|
add_custom_target( revision_check ALL
|
||||||
COMMAND updaterevision src/gitinfo.h
|
COMMAND updaterevision source/gitinfo.h
|
||||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||||
DEPENDS updaterevision )
|
DEPENDS updaterevision )
|
||||||
|
|
||||||
|
|
|
@ -61,6 +61,7 @@ char Wait(int nTicks)
|
||||||
|
|
||||||
char DoFade(char r, char g, char b, int nTicks)
|
char DoFade(char r, char g, char b, int nTicks)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
dassert(nTicks > 0);
|
dassert(nTicks > 0);
|
||||||
scrSetupFade(r, g, b);
|
scrSetupFade(r, g, b);
|
||||||
totalclock = gFrameClock = 0;
|
totalclock = gFrameClock = 0;
|
||||||
|
@ -73,11 +74,13 @@ char DoFade(char r, char g, char b, int nTicks)
|
||||||
if (keyGetScan())
|
if (keyGetScan())
|
||||||
return 0;
|
return 0;
|
||||||
} while (totalclock <= nTicks);
|
} while (totalclock <= nTicks);
|
||||||
|
#endif
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
char DoUnFade(int nTicks)
|
char DoUnFade(int nTicks)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
dassert(nTicks > 0);
|
dassert(nTicks > 0);
|
||||||
scrSetupUnfade();
|
scrSetupUnfade();
|
||||||
totalclock = gFrameClock = 0;
|
totalclock = gFrameClock = 0;
|
||||||
|
@ -89,6 +92,7 @@ char DoUnFade(int nTicks)
|
||||||
if (keyGetScan())
|
if (keyGetScan())
|
||||||
return 0;
|
return 0;
|
||||||
} while (totalclock <= nTicks);
|
} while (totalclock <= nTicks);
|
||||||
|
#endif
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue