UQM: fix to data paths

This commit is contained in:
pelya
2010-11-11 19:17:52 +02:00
parent e85bd4cbbe
commit 004f298065
3 changed files with 11 additions and 8 deletions
@@ -11,19 +11,19 @@
#define _CONFIG_UNIX_H
/* Directory where the UQM game data is located */
#define CONTENTDIR "./"
#define CONTENTDIR ""
/* Directory where game data will be stored */
#define USERDIR "./config/"
#define USERDIR "config/"
/* Directory where config files will be stored */
#define CONFIGDIR USERDIR
/* Directory where supermelee teams will be stored */
#define MELEEDIR "./teams/"
#define MELEEDIR "teams/"
/* Directory where save games will be stored */
#define SAVEDIR "./save/"
#define SAVEDIR "save/"
/* Defined if words are stored with the most significant byte first */
#ifdef __ARMEL__
+1 -1
View File
@@ -1 +1 @@
sc2
REminiscence
@@ -314,7 +314,7 @@ static int try_init()
pos.x = screen_width - screen_width / 16;
pos.y = screen_height - screen_height / 8;
pos.w = screen_width / (SDL_ANDROID_GetScreenKeyboardSize() + 2) / 4;
pos.w = screen_width / 2 /*(SDL_ANDROID_GetScreenKeyboardSize() + 2)*/ / 4;
pos.h = pos.w;
pos.x -= pos.w/2;
pos.y -= pos.h/2;
@@ -334,8 +334,11 @@ static int try_init()
SDL_ANDROID_SetScreenKeyboardButtonPos(SDL_ANDRIOD_SCREENKEYBOARD_BUTTON_3, &pos);
pos.y = screen_height - screen_height / 8 - screen_height / 4;
pos.y -= pos.h/2;
//pos.y = screen_height - screen_height / 8 - screen_height / 4;
//pos.y -= pos.h/2;
pos.y -= pos.h;
pos.x = screen_width / 16;
pos.x -= pos.w/2;