--- a/gfx.c Tue Jul 25 19:18:31 2006 +0000
+++ b/gfx.c Wed Jul 26 03:33:12 2006 +0000
@@ -677,8 +677,8 @@
typedef struct BlitterParams {
int start_x, start_y;
- const byte* sprite;
- const byte* sprite_org;
+ const byte *sprite;
+ const byte *sprite_org;
Pixel *dst;
int mode;
int width, height;
@@ -690,12 +690,12 @@
static void GfxBlitTileZoomIn(BlitterParams *bp)
{
- const byte* src_o = bp->sprite;
- const byte* src;
+ const byte *src_o = bp->sprite;
+ const byte *src;
int num, skip;
byte done;
Pixel *dst;
- const byte* ctab;
+ const byte *ctab;
if (bp->mode & 1) {
src_o += ReadLE16Aligned(src_o + bp->start_y * 2);
@@ -892,12 +892,12 @@
static void GfxBlitTileZoomMedium(BlitterParams *bp)
{
- const byte* src_o = bp->sprite;
- const byte* src;
+ const byte *src_o = bp->sprite;
+ const byte *src;
int num, skip;
byte done;
Pixel *dst;
- const byte* ctab;
+ const byte *ctab;
if (bp->mode & 1) {
src_o += ReadLE16Aligned(src_o + bp->start_y * 2);
@@ -1097,12 +1097,12 @@
static void GfxBlitTileZoomOut(BlitterParams *bp)
{
- const byte* src_o = bp->sprite;
- const byte* src;
+ const byte *src_o = bp->sprite;
+ const byte *src;
int num, skip;
byte done;
Pixel *dst;
- const byte* ctab;
+ const byte *ctab;
if (bp->mode & 1) {
src_o += ReadLE16Aligned(src_o + bp->start_y * 2);
@@ -1313,7 +1313,7 @@
static void GfxBlitZoomOutUncomp(BlitterParams *bp)
{
- const byte* src = bp->sprite;
+ const byte *src = bp->sprite;
Pixel *dst = bp->dst;
int height = bp->height;
int width = bp->width;
@@ -1361,9 +1361,9 @@
typedef void (*BlitZoomFunc)(BlitterParams *bp);
-static void GfxMainBlitter(const Sprite* sprite, int x, int y, int mode)
+static void GfxMainBlitter(const Sprite *sprite, int x, int y, int mode)
{
- const DrawPixelInfo* dpi = _cur_dpi;
+ const DrawPixelInfo *dpi = _cur_dpi;
int start_x, start_y;
byte info;
BlitterParams bp;
@@ -1496,8 +1496,8 @@
void DoPaletteAnimations(void)
{
- const Colour* s;
- Colour* d;
+ const Colour *s;
+ Colour *d;
/* Amount of colors to be rotated.
* A few more for the DOS palette, because the water colors are
* 245-254 for DOS and 217-226 for Windows. */
@@ -1712,7 +1712,7 @@
static void DbgScreenRect(int left, int top, int right, int bottom)
{
DrawPixelInfo dp;
- DrawPixelInfo* old;
+ DrawPixelInfo *old;
old = _cur_dpi;
_cur_dpi = &dp;
@@ -1864,7 +1864,7 @@
SetDirtyBlocks(0, 0, _screen.width, _screen.height);
}
-bool FillDrawPixelInfo(DrawPixelInfo* n, const DrawPixelInfo* o, int left, int top, int width, int height)
+bool FillDrawPixelInfo(DrawPixelInfo *n, const DrawPixelInfo *o, int left, int top, int width, int height)
{
int t;