#include "glext.h"
#include "config.h"
#include "image.h"
+#include "text.h"
#include "set.h"
#include "game.h"
if (!res && errno != ENOENT)
{
fprintf(stderr,
- _("Error while loading user high-score file '%s': %s\n"),
- fn, errno ? strerror(errno) : _("Incorrect format"));
+ L_("Error while loading user high-score file '%s': %s\n"),
+ fn, errno ? strerror(errno) : L_("Incorrect format"));
}
}
if (!fin)
{
- fprintf(stderr, _("Cannot load the set file '%s': %s\n"),
+ fprintf(stderr, L_("Cannot load the set file '%s': %s\n"),
filename, strerror(errno));
return 0;
}
if (game_init(&level_v[i], 0, 0))
{
- int shadow;
-
- if ((shadow = config_get_d(CONFIG_SHADOW)))
- config_set_d(CONFIG_SHADOW, 0);
-
/* Render the level and grab the screen. */
config_clear();
SDL_GL_SwapBuffers();
image_snap(filename);
-
- if (shadow)
- config_set_d(CONFIG_SHADOW, 1);
}
}