mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 08:30:50 +00:00
- temporarily disabled wipe code and removed old function stubs.
This still needs work. # Conflicts: # src/gl/data/gl_attributebuffer.cpp
This commit is contained in:
parent
e4a40c98ce
commit
29a54c33b2
3 changed files with 4 additions and 28 deletions
|
@ -888,10 +888,12 @@ void D_Display ()
|
||||||
I_FreezeTime(true);
|
I_FreezeTime(true);
|
||||||
screen->End2D();
|
screen->End2D();
|
||||||
auto wipend = screen->WipeEndScreen ();
|
auto wipend = screen->WipeEndScreen ();
|
||||||
|
auto wiper = Wiper::Create(wipe_type);
|
||||||
|
|
||||||
wipestart = I_msTime();
|
wipestart = I_msTime();
|
||||||
NetUpdate(); // send out any new accumulation
|
NetUpdate(); // send out any new accumulation
|
||||||
|
|
||||||
|
/*
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
do
|
do
|
||||||
|
@ -908,7 +910,8 @@ void D_Display ()
|
||||||
screen->End2DAndUpdate ();
|
screen->End2DAndUpdate ();
|
||||||
NetUpdate (); // [RH] not sure this is needed anymore
|
NetUpdate (); // [RH] not sure this is needed anymore
|
||||||
} while (!done);
|
} while (!done);
|
||||||
screen->WipeCleanup();
|
*/
|
||||||
|
delete wiper;
|
||||||
I_FreezeTime(false);
|
I_FreezeTime(false);
|
||||||
GSnd->SetSfxPaused(false, 1);
|
GSnd->SetSfxPaused(false, 1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -339,31 +339,6 @@ FTexture *DFrameBuffer::WipeEndScreen()
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
//==========================================================================
|
|
||||||
//
|
|
||||||
// DFrameBuffer :: WipeDo
|
|
||||||
//
|
|
||||||
// Draws one frame of a screenwipe. Should be called no more than 35
|
|
||||||
// times per second. If called less than that, ticks indicates how many
|
|
||||||
// ticks have passed since the last call.
|
|
||||||
//
|
|
||||||
//==========================================================================
|
|
||||||
|
|
||||||
bool DFrameBuffer::WipeDo(int ticks)
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
//==========================================================================
|
|
||||||
//
|
|
||||||
// DFrameBuffer :: WipeCleanup
|
|
||||||
//
|
|
||||||
//==========================================================================
|
|
||||||
|
|
||||||
void DFrameBuffer::WipeCleanup()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
//
|
//
|
||||||
// DFrameBuffer :: InitPalette
|
// DFrameBuffer :: InitPalette
|
||||||
|
|
|
@ -472,8 +472,6 @@ public:
|
||||||
// Screen wiping
|
// Screen wiping
|
||||||
virtual FTexture *WipeStartScreen();
|
virtual FTexture *WipeStartScreen();
|
||||||
virtual FTexture *WipeEndScreen();
|
virtual FTexture *WipeEndScreen();
|
||||||
virtual bool WipeDo(int ticks);
|
|
||||||
virtual void WipeCleanup();
|
|
||||||
|
|
||||||
virtual void PostProcessScene(int fixedcm, const std::function<void()> &afterBloomDrawEndScene2D) { if (afterBloomDrawEndScene2D) afterBloomDrawEndScene2D(); }
|
virtual void PostProcessScene(int fixedcm, const std::function<void()> &afterBloomDrawEndScene2D) { if (afterBloomDrawEndScene2D) afterBloomDrawEndScene2D(); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue