Remove Usage of RGB8 + Fix Menu BG Color

This commit is contained in:
Andre Schweiger 2015-12-27 16:19:19 +01:00
parent 1d8ac2e6e1
commit 6243f8d855
4 changed files with 135 additions and 107 deletions

View file

@ -66,7 +66,7 @@ void setupGame(bool loadUpWorld) {
// Reset entity manager.
memset(&eManager, 0, sizeof(eManager));
sf2d_set_clear_color(RGBA8(0x82, 0x6D, 0x6C, 0xFF));
sf2d_set_clear_color(0xFF6C6D82); //sf2d_set_clear_color(RGBA8(0x82, 0x6D, 0x6C, 0xFF));
if (!loadUpWorld) {
initNewMap();
@ -255,7 +255,7 @@ int main() {
offsetX = xscr;
offsetY = yscr;
sf2d_draw_rectangle(0, 0, 400, 240, RGBA8(12, 12, 12, 255)); //You might think "real" black would be better, but it actually looks better that way
sf2d_draw_rectangle(0, 0, 400, 240, 0xFF0C0C0C); //RGBA8(12, 12, 12, 255)); //You might think "real" black would be better, but it actually looks better that way
renderLightsToStencil();
renderBackground(xscr, yscr);