gl-adventure
|
glAdventure
is a project dedicated to the building of a very little adventure game using OpenGl and GLX.
The translations are assured by gettext
. To update them, please try :
xgettext -d glAdventure -s -o xAdventure-new.pot *.c def.h msgmerge -s -U french.po glAdventure-new.pot
Then you can edit the french.po
file, for example with qtranslator
. And you need to install the new translation file after having compiled it :
msgfmt -c -v -o glAdventure.mo french.po cp xAdventure.mo /usr/share/locale/fr_FR/LC_MESSAGES
XLib uses keysym for keyboard events. You can find them in the /usr/include/X11/keysymdef
.h header.
For computation of elapsed time and other time-related function, please see time_utils.h.