ff7tk 0.80.25
Work with Final Fantasy 7 game data
Classes | Macros
PsColor.h File Reference
#include <QtCore>
#include <QRgb>
#include "ff7tkutils_export.h"
Include dependency graph for PsColor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PsColor
 

Macros

#define COEFF_COLOR   8.2258064516129032258064516129032
 
#define psColorAlphaBit(color)    ((color >> 15) & 1)
 
#define setPsColorAlphaBit(color, alpha)    ((color & 0x7FFF) | (alpha << 15))
 

Macro Definition Documentation

◆ COEFF_COLOR

#define COEFF_COLOR   8.2258064516129032258064516129032

◆ psColorAlphaBit

#define psColorAlphaBit (   color)     ((color >> 15) & 1)

◆ setPsColorAlphaBit

#define setPsColorAlphaBit (   color,
  alpha 
)     ((color & 0x7FFF) | (alpha << 15))