diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2016-01-19 13:20:45 -0500 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2016-01-19 13:20:45 -0500 |
commit | c1774c591f7897c1cfa28e05fdb7c72e07890933 (patch) | |
tree | ec37af95646fbaeaeea291ee1ecb0e3dec5915cf /src/ui.cpp | |
parent | fbd4ddbab2cc3a713430483b24642cbbc7050f0c (diff) |
Color Index can be used to color anything with a solid color
Diffstat (limited to 'src/ui.cpp')
-rw-r--r-- | src/ui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -835,6 +835,7 @@ DONE: break; case SDLK_b: currentWorld->addStructure(FIRE_PIT, player->loc.x, player->loc.y, NULL); + currentWorld->addLight({player->loc.x + SCREEN_WIDTH/2, player->loc.y},{1.0f,1.0f,1.0f}); break; case SDLK_F12: std::cout << "Took screenshot" << std::endl; |