This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"lookups": { | |
"test": { | |
"desc": "a basic 5e stats test", | |
"uri": "https://gist.githubusercontent.com/ttocsneb/b253ebd2028067f3ada8a27c2e71ead7/raw/a59a33c8d8cebfb8095ae379a5a2bc45f244aaaf/test.json" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
Color::Color(uint8_t r, uint8_t g, uint8_t b) { | |
this->r = r; | |
this->g = g; | |
this->b = b; | |
} | |
uint32_t Color::to32() { | |
return ((uint32_t)r << 16) | ((uint32_t)g << 8) | b; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef __DEBUG_H__ | |
#define __DEBUG_H__ | |
/** | |
This Debug Header is used improve debugging. | |
@see https://github.com/ttocsneb/cs235resources | |
@code | |
#define DEBUG |