diff options
Diffstat (limited to 'game/menus/mainmenu/MainMenuScene.cpp')
| -rw-r--r-- | game/menus/mainmenu/MainMenuScene.cpp | 15 | 
1 files changed, 14 insertions, 1 deletions
| diff --git a/game/menus/mainmenu/MainMenuScene.cpp b/game/menus/mainmenu/MainMenuScene.cpp index 43418e3..743fe43 100644 --- a/game/menus/mainmenu/MainMenuScene.cpp +++ b/game/menus/mainmenu/MainMenuScene.cpp @@ -64,7 +64,7 @@ void MainMenuScene::load_scene() {  		ButtonSubScene::Data {  			.text = "SHOP",  			.text_offset = {-20, 0}, -			.text_width = 115, +			.text_width = 110,  			.icon_offset = {60, 0},  			.icon_type = ButtonSubScene::IconSelect::SHOP,  			.position = pos_btn, @@ -72,6 +72,19 @@ void MainMenuScene::load_scene() {  		}  	); +	//Credits btn +	pos_btn.y += MENU_BUTTON_SPACING + LARGE_OVERLAY_SIZE.y; +	button.create( +		*this, +		ButtonSubScene::Data { +			.text = "CREDITS", +			.text_offset = {0, 0}, +			.text_width = 200, +			.position = pos_btn, +			//.script_type = ButtonSubScene::ScriptSelect::SHOP, +		} +	); +  	//Start of map  	StartSubScene start;  	HallwaySubScene hallway; |