mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +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
|
||||
|
||||
add_custom_target( revision_check ALL
|
||||
COMMAND updaterevision src/gitinfo.h
|
||||
COMMAND updaterevision source/gitinfo.h
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
DEPENDS updaterevision )
|
||||
|
||||
|
|
|
@ -61,6 +61,7 @@ char Wait(int nTicks)
|
|||
|
||||
char DoFade(char r, char g, char b, int nTicks)
|
||||
{
|
||||
#if 0
|
||||
dassert(nTicks > 0);
|
||||
scrSetupFade(r, g, b);
|
||||
totalclock = gFrameClock = 0;
|
||||
|
@ -73,11 +74,13 @@ char DoFade(char r, char g, char b, int nTicks)
|
|||
if (keyGetScan())
|
||||
return 0;
|
||||
} while (totalclock <= nTicks);
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
||||
char DoUnFade(int nTicks)
|
||||
{
|
||||
#if 0
|
||||
dassert(nTicks > 0);
|
||||
scrSetupUnfade();
|
||||
totalclock = gFrameClock = 0;
|
||||
|
@ -89,6 +92,7 @@ char DoUnFade(int nTicks)
|
|||
if (keyGetScan())
|
||||
return 0;
|
||||
} while (totalclock <= nTicks);
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue