ManaPlus
Macros
buildhex.h File Reference

(986a3bf)

#include "utils/cast.h"
#include "localconsts.h"
#include <SDL_endian.h>

Go to the source code of this file.

Macros

#define buildHex(a, b, c, d)    ((a) * 16777216U + (b) * 65536U + (c) * 256U + CAST_U32(d))
 
#define buildHexOgl(a, b, c, d)    ((a) * 16777216U + (b) * 65536U + (c) * 256U + CAST_U32(d))
 

Macro Definition Documentation

◆ buildHex

#define buildHex (   a,
  b,
  c,
 
)     ((a) * 16777216U + (b) * 65536U + (c) * 256U + CAST_U32(d))

Definition at line 42 of file buildhex.h.

◆ buildHexOgl

#define buildHexOgl (   a,
  b,
  c,
 
)     ((a) * 16777216U + (b) * 65536U + (c) * 256U + CAST_U32(d))

Definition at line 46 of file buildhex.h.