#include <iostream>
// Function to display the mod menu and get user input
int modMenu() {
int choice;
std::cout << "Assetto Corsa Mod Menu:\n"\
<< "1. Custom Car\n"\
<< "2. Custom Track\n"\
<< "3. Custom Weather\n"\
<< "4. Exit Mod Menu\n"\
<< "Enter your choice: ";
std::cin >> choice;
return choice;
}
// Function to activate a specific mod
void activateMod(int modCode) {
switch (modCode) {
case 1:
std::cout << "Activating Custom Car mod...\n";
break;
case 2:
std::cout << "Activating Custom Track mod...\n";
break;
case 3:
std::cout << "Activating Custom Weather mod...\n";
break;
case 4:
std::cout << "Exiting mod menu...\n";
break;
default:
std::cout << "Invalid choice, try again.\n";
modMenu();
break;
}
}
int main() {
while (true) {
const auto choice = modMenu();
if (choice == 4) {
break;
}
activateMod(choice);
}
return 0;
}
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}