view src/palview.h @ 25:8eaf72e2041b

Reindent the source using GNU indent and "indent -i4 -bli0 -npcs -nprs -npsl". Fix the problems introduced afterwards.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 24 Sep 2011 14:16:04 +0300
parents 241c93442be0
children a68786b9c74b
line wrap: on
line source

/*
 *	palview.h
 *	Palette (PLAYPAL & COLORMAP) viewer
 *	AYM 1999-11-11
 */


#ifndef YH_PALVIEW
#define YH_PALVIEW


class Palette_viewer
{
    public:void run();

      private: void draw_cursor(int c, bool phase);

    static const int ncolours = DOOM_COLOURS;
    static const int pixels = 16;
    static const int columns = 16;
    int i;
    int ofs;
    int ix0;
    int iy0;
};


#endif