* directory as given by the HOME environment var. If the config file
* is deleted, it will be recreated using the defaults.
*/
-#define USER_CONFIG_FILE "neverballrc"
-#define USER_REPLAY_FILE _("Last")
-#define REPLAY_EXT ".nbr"
-#define ALLOW_CHEAT 1
+
+#define USER_CONFIG_FILE "neverballrc"
+#define USER_REPLAY_FILE _("Last")
+#define REPLAY_EXT ".nbr"
+#define ALLOW_CHEAT 1
/*---------------------------------------------------------------------------*/
/*
* This file contains:
* 1- some global config methods (stored in a config file)
- * 2- some SDL based function
+ * 2- some SDL based functions
*
- * If you look for constants, you should also see base_config.h
+ * If you're looking for constants, you should also see base_config.h
*/
#include <SDL.h>
void config_set_s(int, const char *);
void config_get_s(int, char *, int);
-const char * config_simple_get_s(int i);
+const char *config_simple_get_s(int i);
/*---------------------------------------------------------------------------*/
#define LANGUAGE_H
#ifndef POSIX
-# include <libintl.h>
-# define _(String) gettext(String)
+# include <libintl.h>
+# define _(String) gettext(String)
#else
-# define _(String) (String)
+# define _(String) (String)
#endif
-#define N_(String) (String)
+#define N_(String) (String)
/*---------------------------------------------------------------------------*/
-const char * gettextdbg(const char *);
+const char *gettextdbg(const char *);
-const char * sgettext(const char *);
+const char *sgettext(const char *);
/*---------------------------------------------------------------------------*/
-void language_init(const char * domain, const char * locale_dir);
+void language_init(const char *domain, const char *locale_dir);
void language_set(int id);
/*---------------------------------------------------------------------------*/
int language_count();
-int language_from_code(const char * code);
-const char * language_get_name(int id);
-const char * language_get_code(int id);
+int language_from_code(const char *code);
+const char *language_get_name(int id);
+const char *language_get_code(int id);
/*---------------------------------------------------------------------------*/