Added:
trunk/src/Joystick.h
trunk/src/lang.h
Modified:
trunk/po/Makefile.am
Log:
Add missing files.
Modified: trunk/po/Makefile.am
==============================================================================
--- trunk/po/Makefile.am (original)
+++ trunk/po/Makefile.am Fri Nov 9 09:39:29 2007
@@ -28,7 +28,6 @@
$(top_srcdir)/src/Sprite.h \
$(top_srcdir)/src/SpriteData.cc \
$(top_srcdir)/src/SpriteData.h \
- $(top_srcdir)/src/Trajectoire.h \
$(top_srcdir)/src/TypeBonus.cc \
$(top_srcdir)/src/TypeBonus.h \
$(top_srcdir)/src/TypeEnnemi.cc \
Added: trunk/src/Joystick.h
==============================================================================
--- (empty file)
+++ trunk/src/Joystick.h Fri Nov 9 09:39:29 2007
@@ -0,0 +1,13 @@
+#ifndef _ALTHREAT_JOYSTICK
+#define _ALTHREAT_JOYSTICK
+
+struct joystick_event
+{
+ Uint8 type; // SDL_AXISMOTION, SDL_JOYBUTTONUP or SDL_JOYBUTTONDOWN
+ Uint8 which; // joystick ID
+ Uint8 button_or_axis;
+ Sint16 value; // axis value or button state
+};
+
+#endif
+// vim:shiftwidth=2:shiftround:expandtab:cindent
Added: trunk/src/lang.h
==============================================================================
--- (empty file)
+++ trunk/src/lang.h Fri Nov 9 09:39:29 2007
@@ -0,0 +1,24 @@
+#ifndef _ALTHREAT_LANG_H
+#define _ALTHREAT_LANG_H
+
+#include "config.h"
+
+#if ENABLE_NLS
+
+#include <locale.h>
+#include <libintl.h>
+
+#define LOCALE_PACKAGE "AlThreat"
+#define LOCALE_DIR DATADIR"/locale/"
+
+#define _(String) gettext(String)
+#define N_(String) String
+
+#else
+
+#define _(String) String
+#define N_(String) String
+
+#endif
+
+#endif