- int sx = mSX + ALIGNED_TEXT_XPOS(pos);
- int sy = mSY + ALIGNED_TEXT_YPOS(pos);
+ boolean multiple_users = (game_status == GAME_MODE_PSEUDO_TYPENAMES);
+ int sx = (multiple_users ? amSX + pos->x : mSX + ALIGNED_TEXT_XPOS(pos));
+ int sy = (multiple_users ? amSY + pos->y : mSY + ALIGNED_TEXT_YPOS(pos));
sprintf(text, "%s%c", name, (active ? '_' : '\0'));
pos->width = strlen(text) * font_width;
sprintf(text, "%s%c", name, (active ? '_' : '\0'));
pos->width = strlen(text) * font_width;
DrawText(sx, sy, text, font_nr);
}
DrawText(sx, sy, text, font_nr);
}
TreeInfo *node_first = getTreeInfoFirstGroupEntry(ti);
int xpos = MENU_SCREEN_START_XPOS;
int ypos = MENU_SCREEN_START_YPOS + ti->cl_cursor;
TreeInfo *node_first = getTreeInfoFirstGroupEntry(ti);
int xpos = MENU_SCREEN_START_XPOS;
int ypos = MENU_SCREEN_START_YPOS + ti->cl_cursor;
type_name_node = getTreeInfoFromPos(node_first, entry_pos);
type_name_nr = entry_pos;
strcpy(name, type_name_node->name);
type_name_node = getTreeInfoFromPos(node_first, entry_pos);
type_name_nr = entry_pos;
strcpy(name, type_name_node->name);
setString(&node->name_sorting, name);
node->color = (strEqual(name, EMPTY_PLAYER_NAME) ? FC_BLUE : FC_RED);
setString(&node->name_sorting, name);
node->color = (strEqual(name, EMPTY_PLAYER_NAME) ? FC_BLUE : FC_RED);