Working 1.6 modding (currently only forge)
This commit is contained in:
@ -9,4 +9,15 @@ OpSys OpSys_fromString(QString name)
|
||||
if(name == "osx")
|
||||
return Os_OSX;
|
||||
return Os_Other;
|
||||
}
|
||||
|
||||
QString OpSys_toString(OpSys name)
|
||||
{
|
||||
switch(name)
|
||||
{
|
||||
case Os_Linux: return "linux";
|
||||
case Os_OSX: return "osx";
|
||||
case Os_Windows: return "windows";
|
||||
default: return "other";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user