Done with header clean-up.
authorparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Sat, 10 Jun 2006 20:31:03 +0000 (20:31 +0000)
committerparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Sat, 10 Jun 2006 20:31:03 +0000 (20:31 +0000)
git-svn-id: https://s.snth.net/svn/neverball/trunk@446 78b8d119-cf0a-0410-b17c-f493084dd1d7

share/base_config.h
share/config.h
share/i18n.h

index 8fe2300..3e56d23 100644 (file)
  * 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
 
 /*---------------------------------------------------------------------------*/
 
index 5fe538c..b8ceda1 100644 (file)
@@ -18,9 +18,9 @@
 /*
  * 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>
@@ -151,7 +151,7 @@ int  config_get_d(int);
 
 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);
 
 
 /*---------------------------------------------------------------------------*/
index 9c3fd67..891d126 100644 (file)
 #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);
 
 /*---------------------------------------------------------------------------*/