Strangely, game.disable_antialiasing doesn't actually read the current state of anti-aliasing. It always returns 0 until you've changed it yourself.
However, you could use File.ReadRawLineBack() to check acsetup.cfg for the line "antialias=1", and - if it exists - display a message about the antialiasing being deactivated for technical reasons. Something like this:
File *cfgfile = File.Open("acsetup.cfg", eFileRead);
if (cfgfile != null) {
while (!cfgfile.EOF) {
String cfgline = cfgfile.ReadRawLineBack();
if (cfgline.Contains("antialias=1") != -1) {
Display("You've selected smooth character scaling, but for technical reasons this feature has been disabled.");
}
}
cfgfile.Close();
}
game.disable_antialiasing = 1;
You could set another variable to finish reading the file as soon as the correct line is found, but since the .cfg is so short and "antialias=1" is often the last line, I didn't bother.