Home
last modified time | relevance | path

Searched refs:LEN_PLAYERNAME (Results 1 – 11 of 11) sorted by relevance

/dports/games/bomberclone/bomberclone-0.11.9/src/
H A Ddebug.c80 char name[MAX_TEAMS][LEN_PLAYERNAME]; in d_teamdetail()
86 else strncpy (name[0], teams[0].players[p]->name, LEN_PLAYERNAME); in d_teamdetail()
88 else strncpy (name[1], teams[1].players[p]->name, LEN_PLAYERNAME); in d_teamdetail()
90 else strncpy (name[2], teams[2].players[p]->name, LEN_PLAYERNAME); in d_teamdetail()
92 else strncpy (name[3], teams[3].players[p]->name, LEN_PLAYERNAME); in d_teamdetail()
H A Dconfiguration.c230 if (strlen (value) > LEN_PLAYERNAME) { in config_read()
233 LEN_PLAYERNAME); in config_read()
235 value[LEN_PLAYERNAME - 1] = 0; in config_read()
240 if (strlen (value) > LEN_PLAYERNAME) { in config_read()
243 LEN_PLAYERNAME); in config_read()
245 value[LEN_PLAYERNAME - 1] = 0; in config_read()
417 strncpy (teams[i].name, value, LEN_PLAYERNAME); in config_read()
779 strncpy (bman.playername, argv[++i], LEN_PLAYERNAME); in ReadPrgArgs()
787 strncpy (bman.player2name, argv[++i], LEN_PLAYERNAME); in ReadPrgArgs()
H A Dplayermenu.c279 strncpy (playerlist[i].text, players[pl_nr].name, LEN_PLAYERNAME); in playermenu()
397 strncpy (teamlist[i].text, teams[i].name, LEN_PLAYERNAME); in teammenu_select()
440 …menu_create_entry (menu, "Name :", 25, y, 200, teams[i].name, LEN_PLAYERNAME, MENU_entrytext, 2*i … in teammenu()
471 …menu_create_entry (menu, "Player 1:", -1, 50, 300, &bman.playername, LEN_PLAYERNAME, MENU_entrytex… in playernamemenu()
472 …menu_create_entry (menu, "Player 2:", -1, 80, 300, &bman.player2name, LEN_PLAYERNAME, MENU_entryte… in playernamemenu()
H A Dpackets.c143 if (strncmp (pl->name, p_jg->name, LEN_PLAYERNAME) == 0) in do_joingame()
155 strncpy (pl->name, p_jg->name, LEN_PLAYERNAME); in do_joingame()
221 strncpy (p_jg.name, name, LEN_PLAYERNAME); in send_joingame()
392 strncpy (pl->name, p_id->name, LEN_PLAYERNAME); in do_playerid()
439 strncpy (p_id.name, name, LEN_PLAYERNAME); in send_playerid()
501 strncpy (teams[td->team_nr].name, td->name, LEN_PLAYERNAME); in do_teamdata()
532 strncpy (td.name, teams[team_nr].name, LEN_PLAYERNAME); in send_teamdata()
577 strncpy (players[s_mod->p_nr].name, bman.playername, LEN_PLAYERNAME); in do_servermode()
589 strncpy (players[s_mod->p_nr].name, bman.player2name, LEN_PLAYERNAME); in do_servermode()
H A Dnetmenu.c163 strncpy (players[0].name, bman.playername, LEN_PLAYERNAME); in host_multiplayer_game()
H A Dsingle.c583 strncpy (players[bman.p_nr].name, bman.playername, LEN_PLAYERNAME); in single_playergame()
589 strncpy (players[bman.p_nr].name, bman.playername, LEN_PLAYERNAME); in single_playergame()
H A Dplayer.c1093 strncpy (players[pl_nr].name, bman.player2name, LEN_PLAYERNAME); in player2_add()
/dports/games/bomberclone/bomberclone-0.11.9/include/
H A Dbomberclone.h68 char playername[LEN_PLAYERNAME];
69 char player2name[LEN_PLAYERNAME];
H A Dplayer.h109 char name[LEN_PLAYERNAME]; // name oder name[0] == 0
127 char name[LEN_PLAYERNAME];
H A Dpackets.h98 char name[LEN_PLAYERNAME];
164 char name[LEN_PLAYERNAME];
170 char name[LEN_PLAYERNAME];
H A Dbasic.h64 #define LEN_PLAYERNAME 16 macro