this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

suggest pro when trying to open source with standard

+22 -3
+2 -2
CMakeLists.txt
··· 748 748 ${TIC80LIB_DIR}/ext/png.c 749 749 ) 750 750 751 - if(${BUILD_PRO}) 751 + #if(${BUILD_PRO}) 752 752 set(TIC80STUDIO_SRC ${TIC80STUDIO_SRC} ${TIC80LIB_DIR}/studio/project.c) 753 - endif() 753 + #endif() 754 754 755 755 set(TIC80_OUTPUT tic80) 756 756
+20 -1
src/studio/screens/console.c
··· 59 59 #define CONSOLE_BACK_TEXT_COLOR tic_color_grey 60 60 #define CONSOLE_FRONT_TEXT_COLOR tic_color_light_grey 61 61 #define CONSOLE_ERROR_TEXT_COLOR tic_color_red 62 + #define CONSOLE_LINK_TEXT_COLOR tic_color_blue 62 63 #define CONSOLE_CURSOR_BLINK_PERIOD TIC80_FRAMERATE 63 64 #define CONSOLE_CURSOR_DELAY (TIC80_FRAMERATE / 2) 64 65 #define CONSOLE_BUFFER_WIDTH (STUDIO_TEXT_BUFFER_WIDTH) ··· 416 417 static void printFront(Console* console, const char* text) 417 418 { 418 419 consolePrint(console, text, CONSOLE_FRONT_TEXT_COLOR); 420 + } 421 + 422 + static void printLink(Console* console, const char* text) 423 + { 424 + consolePrint(console, text, CONSOLE_LINK_TEXT_COLOR); 419 425 } 420 426 421 427 static void printError(Console* console, const char* text) ··· 926 932 } 927 933 else printError(console, "\nfile not found"); 928 934 #else 929 - printError(console, "\ncart loading error"); 935 + if(tic_project_ext(name)) { 936 + printError(console, "\nproject loading error"); 937 + printFront(console, "\nThis version only supports binary cartridges (GIF, PNG, or TIC)."); 938 + printLine(console); 939 + printFront(console, "\nTIC-80 "); 940 + consolePrint(console,"PRO",tic_color_light_blue); 941 + printFront(console, " is needed for projects."); 942 + printLine(console); 943 + printFront(console, "\nLearn more:\n"); 944 + printLink(console, "https://tic80.com/pro"); 945 + } else { 946 + printError(console, "\ncart loading error"); 947 + } 948 + 930 949 #endif 931 950 } 932 951 }