More compiling. Things are starting to get hacky (adding stubs, commenting

out unimplemented windows stuff, and so on).
This commit is contained in:
Steven Fuller 2001-07-29 20:57:33 +00:00 committed by Patryk Obara
parent 5c497c61a6
commit 4db15e7459
13 changed files with 420 additions and 60 deletions

View file

@ -1,7 +1,7 @@
#ifndef _INCLUDED_AWTEXLD_HPP_
#define _INCLUDED_AWTEXLD_HPP_
#include "awTexLd.h"
#include "awtexld.h"
#include "media.hpp"
#include "db.h"
#ifndef DB_COMMA
@ -51,7 +51,7 @@ namespace AwTl {
unsigned blueLeftShift;
unsigned blueRightShift;
DDPIXELFORMAT ddpf;
// DDPIXELFORMAT ddpf;
};
// DO SOMTHING ABOUT THIS
@ -76,7 +76,8 @@ namespace AwTl {
static_cast<unsigned>(_colP->r)>>pixelFormat.redRightShift<<pixelFormat.redLeftShift
|static_cast<unsigned>(_colP->g)>>pixelFormat.greenRightShift<<pixelFormat.greenLeftShift
|static_cast<unsigned>(_colP->b)>>pixelFormat.blueRightShift<<pixelFormat.blueLeftShift
|pixelFormat.ddpf.dwRGBAlphaBitMask
/* TODO */
/*|pixelFormat.ddpf.dwRGBAlphaBitMask*/
;
}
static inline unsigned DoConv(BYTE const * _colP, Colour const * _paletteP db_code1(DB_COMMA unsigned _paletteSize))