liblashgame

Pathfinder and path decision making library for 2D tile game
git clone git://holbrook.no/liblashgame.git
Info | Log | Files | Refs

lash_game_color.c (169B)


      1 #include "lash_game_color.h"
      2 
      3 lash_color_t lash_mapColor(unsigned char r, unsigned char g, unsigned char b, unsigned char a) {
      4 	return r << 24 | g << 16 | b << 8 | a;
      5 }