- replaced a large batch of DWORDs.

Most of those which still rely on ZDoom's own definition should be gone, unfortunately the code in files that include Windows headers is a gigantic mess with DWORDs being longs there intead of ints, so this needs to be done with care. DWORD should only remain where the Windows type is actually wanted.
This commit is contained in:
Christoph Oelckers 2017-03-09 20:19:55 +01:00
commit 9b87a167d7
38 changed files with 207 additions and 207 deletions

View file

@ -85,7 +85,7 @@ bool FWarpTexture::CheckModified ()
const uint8_t *FWarpTexture::GetPixels ()
{
DWORD time = r_FrameTime;
uint32_t time = r_FrameTime;
if (Pixels == NULL || time != GenTime)
{
@ -96,7 +96,7 @@ const uint8_t *FWarpTexture::GetPixels ()
const uint32_t *FWarpTexture::GetPixelsBgra()
{
DWORD time = r_FrameTime;
uint32_t time = r_FrameTime;
if (Pixels == NULL || time != GenTime)
{
MakeTexture(time);
@ -115,7 +115,7 @@ const uint32_t *FWarpTexture::GetPixelsBgra()
const uint8_t *FWarpTexture::GetColumn (unsigned int column, const Span **spans_out)
{
DWORD time = r_FrameTime;
uint32_t time = r_FrameTime;
if (Pixels == NULL || time != GenTime)
{
@ -144,7 +144,7 @@ const uint8_t *FWarpTexture::GetColumn (unsigned int column, const Span **spans_
}
void FWarpTexture::MakeTexture(DWORD time)
void FWarpTexture::MakeTexture(uint32_t time)
{
const uint8_t *otherpix = SourcePic->GetPixels();