Make the sfml parts a separate dependency so you can use them if you want.

This commit is contained in:
Zed A. Shaw 2025-05-16 10:31:04 -04:00
parent de0d957c66
commit b7c49711b6
4 changed files with 47 additions and 31 deletions

View file

@ -143,6 +143,7 @@ namespace guecs {
bool UI::mouse(float x, float y, bool hover) {
int action_count = 0;
// BUG: use lel::Parser.hit instead of this
query<lel::Cell>([&](auto ent, auto& cell) {
if((x >= cell.x && x <= cell.x + cell.w) &&