Merge branch 'master' into new_blit
This commit is contained in:
		@@ -852,6 +852,13 @@ static void onConsoleSurfCommand(Console* console, const char* param)
 | 
				
			|||||||
	commandDone(console);
 | 
						commandDone(console);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					static void onConsoleCodeCommand(Console* console, const char* param)
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
						gotoCode();
 | 
				
			||||||
 | 
						commandDone(console);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void onConsoleKeymapCommand(Console* console, const char* param)
 | 
					static void onConsoleKeymapCommand(Console* console, const char* param)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	setStudioMode(TIC_KEYMAP_MODE);
 | 
						setStudioMode(TIC_KEYMAP_MODE);
 | 
				
			||||||
@@ -1840,6 +1847,7 @@ static const struct
 | 
				
			|||||||
	{"config",	NULL, "edit TIC config",			onConsoleConfigCommand},
 | 
						{"config",	NULL, "edit TIC config",			onConsoleConfigCommand},
 | 
				
			||||||
	{"keymap",	NULL, "configure keyboard mapping",	onConsoleKeymapCommand},
 | 
						{"keymap",	NULL, "configure keyboard mapping",	onConsoleKeymapCommand},
 | 
				
			||||||
	{"version",	NULL, "show the current version",	onConsoleVersionCommand},
 | 
						{"version",	NULL, "show the current version",	onConsoleVersionCommand},
 | 
				
			||||||
 | 
						{"edit",	NULL, "open cart editor",			onConsoleCodeCommand},
 | 
				
			||||||
	{"surf",	NULL, "open carts browser",			onConsoleSurfCommand},
 | 
						{"surf",	NULL, "open carts browser",			onConsoleSurfCommand},
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -721,6 +721,11 @@ void gotoSurf()
 | 
				
			|||||||
	setStudioMode(TIC_SURF_MODE);
 | 
						setStudioMode(TIC_SURF_MODE);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					void gotoCode()
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
						setStudioMode(TIC_CODE_MODE);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void initMenuMode()
 | 
					static void initMenuMode()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	initMenu(&studio.menu, studio.tic, studio.fs);
 | 
						initMenu(&studio.menu, studio.tic, studio.fs);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -189,6 +189,7 @@ bool studioCartChanged();
 | 
				
			|||||||
void playSystemSfx(s32 id);
 | 
					void playSystemSfx(s32 id);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void runGameFromSurf();
 | 
					void runGameFromSurf();
 | 
				
			||||||
 | 
					void gotoCode();
 | 
				
			||||||
void gotoSurf();
 | 
					void gotoSurf();
 | 
				
			||||||
void exitFromGameMenu();
 | 
					void exitFromGameMenu();
 | 
				
			||||||
void runProject();
 | 
					void runProject();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user