Skip to content

Commit 2b998ce

Browse files
committed
Merge pull request #36 from Databean/comicNeueFont
Changed font to Comic Neue This is the future! Now we're a fortune 500 company!
2 parents d071495 + f1e8c62 commit 2b998ce

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

resources/ComicNeue-Bold.ttf

31.4 KB
Binary file not shown.
-49.5 KB
Binary file not shown.
-44.5 KB
Binary file not shown.

src/GameController.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ GameController::GameController(GameBoard& model, GameView& view) : model(model),
2323
view.addElement(makeViewButtonColor(std::bind(&GameController::handleRoadButtonEvent, this, _1), {{0, 0}, {0.1, 0.1}}, std::make_tuple(1.f, 0.f, 0.f)));
2424
view.addElement(makeViewButtonColor(std::bind(&GameController::handleSettlementButtonEvent, this, _1), {{0, 0.1}, {0.1, 0.2}}, std::make_tuple(0.f, 1.0f, 0.f)));
2525

26-
auto font = "resources/TypeWritersSubstitute-Black.ttf";
26+
auto font = "resources/ComicNeue-Bold.ttf";
2727
auto fontSize = 50;
2828

2929

src/GameView.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ void GameView::render() {
135135
highlightPoint(it);
136136
}
137137

138-
auto font = "resources/TypeWritersSubstitute-Black.ttf";
138+
auto font = "resources/ComicNeue-Bold.ttf";
139139
auto fontSize = 50;
140140

141141
glColor3d(1, 1, 1);
@@ -650,8 +650,8 @@ void DrawingGameVisitor::visit(DevelopmentCard& card) {
650650
*/
651651
TradingView::TradingView(Player& initiating, Player& receiving, std::function<bool(std::array<int, 5>, ScreenCoordinate)> trade, std::function<bool(ScreenCoordinate)> cancel, std::array<int, 5> initialOffer) :
652652
ViewElement({{0.1, 0.1},{0.9, 0.9}}), initiating(initiating), receiving(receiving),
653-
trade(std::bind(trade, std::ref(offer), std::placeholders::_1), {{0.7, 0.1}, {0.9, 0.2}}, "resources/TypeWritersSubstitute-Black.ttf", 50, "Trade"),
654-
cancel(cancel, {{0.1, 0.1}, {0.3, 0.2}}, "resources/TypeWritersSubstitute-Black.ttf", 50, "Cancel"),
653+
trade(std::bind(trade, std::ref(offer), std::placeholders::_1), {{0.7, 0.1}, {0.9, 0.2}}, "resources/ComicNeue-Bold.ttf", 50, "Trade"),
654+
cancel(cancel, {{0.1, 0.1}, {0.3, 0.2}}, "resources/ComicNeue-Bold.ttf", 50, "Cancel"),
655655
offer(initialOffer) {
656656

657657
}
@@ -696,7 +696,7 @@ void TradingView::render() {
696696
glVertex2f(topLeft.first, bottomRight.second);
697697
glEnd();
698698

699-
auto font = "resources/TypeWritersSubstitute-Black.ttf";
699+
auto font = "resources/ComicNeue-Bold.ttf";
700700
auto fontSize = 50;
701701

702702
std::string resources[] = {"Wood", "Brick", "Ore", "Wheat", "Wool"};
@@ -724,7 +724,7 @@ ConfirmationDialogue::ConfirmationDialogue(std::function<bool(ScreenCoordinate)>
724724
ScreenCoordinate cancelTopLeft = ScreenCoordinate(topLeft.first + (width*.6), topLeft.second + (height *.1));
725725
ScreenCoordinate cancelBottomRight = ScreenCoordinate(bottomRight.first - (width * .1), bottomRight.second - (height * .6));
726726

727-
auto font = "resources/TypeWritersSubstitute-Black.ttf";
727+
auto font = "resources/ComicNeue-Bold.ttf";
728728
auto fontSize = 50;
729729

730730
confirmButton = std::unique_ptr<ViewElement>(new ViewButtonText(confirm_action, {confirmTopLeft, confirmBottomRight}, font, fontSize, "Yes"));
@@ -751,7 +751,7 @@ void ConfirmationDialogue::render(){
751751
glVertex2f(topLeft.first, bottomRight.second);
752752
glEnd();
753753

754-
auto font = "resources/TypeWritersSubstitute-Black.ttf";
754+
auto font = "resources/ComicNeue-Bold.ttf";
755755
auto fontSize = 50;
756756
float width = bottomRight.first - topLeft.first;
757757
float height = bottomRight.second - topLeft.second;

0 commit comments

Comments
 (0)