- Started writing Direct3D-friendly wipe code. It's just a Q&D crossfade for

now. More to come later.
- What is it about updaterevision.vcproj that makes it keep changing?

SVN r658 (trunk)
This commit is contained in:
Randy Heit 2007-12-30 04:18:39 +00:00
commit db54c43175
9 changed files with 444 additions and 139 deletions

View file

@ -60,6 +60,7 @@
#include "sbar.h"
#include "hardware.h"
#include "r_translate.h"
#include "f_wipe.h"
IMPLEMENT_ABSTRACT_CLASS (DCanvas)
IMPLEMENT_ABSTRACT_CLASS (DFrameBuffer)
@ -846,6 +847,28 @@ FNativeTexture *DFrameBuffer::CreatePalette(FRemapTable *remap)
return NULL;
}
bool DFrameBuffer::WipeStartScreen(int type)
{
return wipe_StartScreen(type);
}
void DFrameBuffer::WipeEndScreen()
{
wipe_EndScreen();
Unlock();
}
bool DFrameBuffer::WipeDo(int ticks)
{
Lock(true);
return wipe_ScreenWipe(ticks);
}
void DFrameBuffer::WipeCleanup()
{
wipe_Cleanup();
}
//===========================================================================
//
// multi-format pixel copy with colormap application