if (f = fopen(fn, "rb")) {
f = fopen(fn, "rb"); if (f) {
void make_screenshot (bool silent){	char fn[15];	int i;	FILE *f;	bool namefound = false;	// look for the next available exult???.pcx file	for (i = 0; i < 1000 && !namefound; i++) {		sprintf(fn, "exult%03i.pcx", i);		if (f = fopen(fn, "rb")) {			fclose(f);		} else {			namefound = true;		}	}	if (!namefound) {		if (!silent) gwin->center_text("Too many screenshots");	} else {		SDL_RWops *dst = SDL_RWFromFile(fn, "wb");		if (gwin->get_win()->screenshot(dst)) {			cout << "Screenshot saved in " << fn << endl;			if (!silent) gwin->center_text("Screenshot");		} else {			if (!silent) gwin->center_text("Screenshot failed");		}	}	}