diff --git a/pc/shared/Organization.h b/pc/shared/Organization.h index edfb6d48..4e0ccd2a 100644 --- a/pc/shared/Organization.h +++ b/pc/shared/Organization.h @@ -16,8 +16,9 @@ /* use HTTP so it can be easily forwarded in the future. Site will automatically convert it to HTTPS */ +#define WIKI_URL "https://wiki.snestracker.com" #define PATREON_URL "http://patreon.snestracker.com" #define MERCH_URL "http://shop.snestracker.com" +#define STREAM_URL "https://stream.snestracker.com" #define SOUNDCLOUD_URL "https://soundcloud.snestracker.com" -#define WIKI_URL "https://wiki.snestracker.com" -#define TWITTER_URL "https://twitter.snestracker.com" \ No newline at end of file +#define TWITTER_URL "https://twitter.snestracker.com" diff --git a/pc/tracker/Menu_Bar.cpp b/pc/tracker/Menu_Bar.cpp index 6573b15f..9c081f1b 100644 --- a/pc/tracker/Menu_Bar.cpp +++ b/pc/tracker/Menu_Bar.cpp @@ -527,6 +527,11 @@ int Menu_Bar::About_Context::clicked_wiki(void *nada) openUrl(WIKI_URL); } +int Menu_Bar::About_Context::clicked_stream(void *nada) +{ + DEBUGLOG("CLICKED STREAM\n"); + openUrl(STREAM_URL); +} int Menu_Bar::About_Context::clicked_twitter(void *nada) { DEBUGLOG("CLICKED TWITTER\n"); diff --git a/pc/tracker/Menu_Bar.h b/pc/tracker/Menu_Bar.h index 8ea1fc29..c706ab60 100644 --- a/pc/tracker/Menu_Bar.h +++ b/pc/tracker/Menu_Bar.h @@ -114,10 +114,11 @@ struct Menu_Bar static int clicked_merch(void *nada); static int clicked_soundcloud(void *nada); static int clicked_wiki(void *nada); + static int clicked_stream(void *nada); static int clicked_twitter(void *nada); Expanding_List menu; - Context_Menu_Item menu_items[9] = + Context_Menu_Item menu_items[10] = { { "About", true, NULL, NULL }, {"-", true, NULL, NULL, false}, @@ -126,6 +127,7 @@ struct Menu_Bar { "Patreon \x01", true, clicked_patreon, NULL }, { "Gift Shop", true, clicked_merch, NULL }, { "Soundcloud", true, clicked_soundcloud, NULL }, + { "Stream", true, clicked_stream, NULL }, { "Twitter", true, clicked_twitter, NULL }, {"", false, NULL, NULL} };