Fix emulator compilation and crash, and implement Monopoly payment modal

This commit is contained in:
Adolfo Reyna
2026-02-06 23:13:32 -05:00
parent 75e17fb26b
commit 64f61759d7
10 changed files with 309 additions and 66 deletions

View File

@@ -8,11 +8,11 @@ CXXFLAGS = -std=c++17 -Wall
# Paths for Homebrew on macOS (Silicon/M1/M2/M3)
ifeq ($(OS), Darwin)
SFML_DIR = $(shell brew --prefix sfml@2)
INCLUDES = -I. -I$(SFML_DIR)/include -I../display -I../fonts -I../games
INCLUDES = -I. -I.. -I$(SFML_DIR)/include -I../display -I../fonts -I../games
LIBS = -L$(SFML_DIR)/lib -lsfml-graphics -lsfml-window -lsfml-system
else
# Standard Linux paths
INCLUDES = -I. -I../display -I../fonts -I../games
INCLUDES = -I. -I.. -I../display -I../fonts -I../games
LIBS = -lsfml-graphics -lsfml-window -lsfml-system
endif