Skip to content

Commit

Permalink
add steam deck specific artwork to options menu
Browse files Browse the repository at this point in the history
  • Loading branch information
fallahn committed Jul 12, 2023
1 parent a699e0b commit 96a1abb
Show file tree
Hide file tree
Showing 4 changed files with 248 additions and 143 deletions.
4 changes: 2 additions & 2 deletions samples/golf/buildnumber.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#ifndef BUILD_NUMBER_H_
#define BUILD_NUMBER_H_

#define BUILDNUMBER 688
#define BUILDNUMBER_STR "688"
#define BUILDNUMBER 725
#define BUILDNUMBER_STR "725"

#endif /* BUILD_NUMBER_H_ */
6 changes: 3 additions & 3 deletions samples/golf/src/golf/ClubhouseState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ ClubhouseState::ClubhouseState(cro::StateStack& ss, cro::State::Context ctx, Sha
gg.unloadPlugin();

std::fill(m_readyState.begin(), m_readyState.end(), false);

sd.baseState = StateID::Clubhouse;
sd.mapDirectory = "pool";

ctx.mainWindow.loadResources([this]() {
addSystems();
Expand All @@ -151,9 +154,6 @@ ClubhouseState::ClubhouseState(cro::StateStack& ss, cro::State::Context ctx, Sha

ctx.mainWindow.setMouseCaptured(false);

//sd.inputBinding.controllerID = 0;
sd.baseState = StateID::Clubhouse;
sd.mapDirectory = "pool";

//this is actually set as a flag from the pause menu
//to say we want to quit
Expand Down
Loading

0 comments on commit 96a1abb

Please sign in to comment.