- fix ut2k4 and doom3 master query not working after starting xqf
git-svn-id: http://svn.code.sf.net/p/xqf/code/trunk@719 d2ac09be-c843-0410-8b1f-f8a84130e0ec
This commit is contained in:
parent
72e3dbce25
commit
235ad4d95f
@ -1,3 +1,6 @@
|
||||
Feb 22, 2005: Ludwig Nussel <l-n@users.sourceforge.net>
|
||||
- fix ut2k4 and doom3 master query not working after starting xqf
|
||||
|
||||
Feb 20, 2005: Ludwig Nussel <l-n@users.sourceforge.net>
|
||||
- fix logic for applying colors
|
||||
|
||||
|
@ -54,6 +54,8 @@
|
||||
extern void q1_cmd_or_dir_changed(struct game* g);
|
||||
extern void qw_cmd_or_dir_changed(struct game* g);
|
||||
extern void q2_cmd_or_dir_changed(struct game* g);
|
||||
extern void ut2004_cmd_or_dir_changed(struct game* g);
|
||||
extern void doom3_cmd_or_dir_changed(struct game* g);
|
||||
|
||||
static struct player *poqs_parse_player(char *tokens[], int num, struct server *s);
|
||||
static struct player *qw_parse_player(char *tokens[], int num, struct server *s);
|
||||
|
@ -231,6 +231,7 @@ struct game games[] = {
|
||||
arch_identifier : "si_version",
|
||||
identify_cpu : identify_cpu,
|
||||
identify_os : identify_os,
|
||||
cmd_or_dir_changed : doom3_cmd_or_dir_changed,
|
||||
update_prefs : doom3_update_prefs,
|
||||
default_home : "~/.doom3",
|
||||
pd : &doom3_private,
|
||||
@ -508,6 +509,7 @@ struct game games[] = {
|
||||
save_info : quake_save_info,
|
||||
init_maps : unreal_init_maps,
|
||||
has_map : unreal_has_map,
|
||||
cmd_or_dir_changed : ut2004_cmd_or_dir_changed,
|
||||
update_prefs : ut2004_update_prefs,
|
||||
default_home : "~/.ut2004",
|
||||
pd : &ut2004_private,
|
||||
|
@ -199,6 +199,7 @@
|
||||
<get_mapshot>doom3_get_mapshot</get_mapshot>
|
||||
<arch_identifier>si_version</arch_identifier>
|
||||
<command>doom3</command>
|
||||
<cmd_or_dir_changed>doom3_cmd_or_dir_changed</cmd_or_dir_changed>
|
||||
<update_prefs>doom3_update_prefs</update_prefs>
|
||||
<default_home>~/.doom3</default_home>
|
||||
<main_mod>base</main_mod>
|
||||
@ -415,6 +416,7 @@
|
||||
<icon>ut2004.xpm</icon>
|
||||
<command>ut2004demo</command>
|
||||
<command>ut2004</command>
|
||||
<cmd_or_dir_changed>ut2004_cmd_or_dir_changed</cmd_or_dir_changed>
|
||||
<update_prefs>ut2004_update_prefs</update_prefs>
|
||||
<default_home>~/.ut2004</default_home>
|
||||
<pd>ut2004_private</pd>
|
||||
|
@ -5736,3 +5736,13 @@ void q2_cmd_or_dir_changed(struct game* g)
|
||||
{
|
||||
update_q2_skins (NULL);
|
||||
}
|
||||
|
||||
void ut2004_cmd_or_dir_changed(struct game* g)
|
||||
{
|
||||
ut2004_detect_cdkey(g);
|
||||
}
|
||||
|
||||
void doom3_cmd_or_dir_changed(struct game* g)
|
||||
{
|
||||
doom3_detect_version(g);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user