Skip to content

Commit aa451ad

Browse files
committed
Merge branch 'move_dice'
2 parents dffd4b9 + acfdddc commit aa451ad

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export EXECUTABLE := warsofcatan
77
ALLFILES := $(wildcard $(SRC_HOME)/*) $(wildcard $(INCL_HOME)/*)
88
export CXX := g++
99
export LD := g++
10-
export CXXFLAGS := -g -I$(INCL_HOME) -std=c++0x -Wall
11-
export LDFLAGS := -L/usr/local/lib -lSDL2 -lSDL2_ttf -lGL -lGLU
10+
export CXXFLAGS := -g -I$(INCL_HOME) -std=c++0x -I/usr/include/SDL -Wall
11+
export LDFLAGS := -L/usr/local/lib -lSDL2 -lSDL2_ttf -lGL -lGLU -Wl,-R/usr/local/lib
1212

1313
.PHONY: all
1414
all: $(EXECUTABLE)
@@ -25,4 +25,4 @@ tests: $(EXECUTABLE)
2525
.PHONY: clean
2626
clean:
2727
rm -f $(EXECUTABLE)
28-
rm -f obj/*.o
28+
rm -f obj/*.o

src/GameView.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,11 +511,11 @@ void DrawingGameVisitor::visit(GameDice& dice) {
511511
};
512512

513513
drawTexturedRectangle(topLeftOffset.find(dice.getFirst())->second, 95.f,
514-
make_pair(.7f, .9f), 0.06);
514+
make_pair(.7f, .8f), 0.06);
515515

516516

517517
drawTexturedRectangle(topLeftOffset.find(dice.getSecond())->second, 95.f,
518-
make_pair(.78f, .9f), 0.06);
518+
make_pair(.78f, .8f), 0.06);
519519

520520

521521

0 commit comments

Comments
 (0)