Added Soldier of Fortune 2 support with master
git-svn-id: http://svn.code.sf.net/p/xqf/code/trunk@193 d2ac09be-c843-0410-8b1f-f8a84130e0ec
This commit is contained in:
parent
7eef35a663
commit
a6d22927a6
@ -1,3 +1,6 @@
|
||||
July 7, 2002: Alex Burger <alex@fragit_dot_net>
|
||||
- Added Soldier of Fortune 2 support and master
|
||||
|
||||
Sep 27, 2002: Ludwig Nussel <l-n@users.sourceforge.net>
|
||||
- q3a gametypes for afterwards. that stuff should really be stored in a runtime
|
||||
parsed, external file
|
||||
|
@ -456,6 +456,34 @@ struct game games[] = {
|
||||
NULL, // real_dir
|
||||
NULL // game_cfg
|
||||
},
|
||||
{
|
||||
SOF2S_SERVER,
|
||||
GAME_CONNECT | GAME_RCON,
|
||||
"Soldier of Fortune 2",
|
||||
SOF2S_DEFAULT_PORT,
|
||||
0,
|
||||
"SOF2S",
|
||||
"SOF2S",
|
||||
"-sof2s",
|
||||
"-sof2m",
|
||||
&sof2s_pix,
|
||||
|
||||
q2_parse_player,
|
||||
quake_parse_server,
|
||||
q2_analyze_serverinfo,
|
||||
config_is_valid_generic,
|
||||
NULL,
|
||||
q2_exec_generic,
|
||||
NULL,
|
||||
quake_save_info,
|
||||
NULL, // arch_identifier
|
||||
NULL, // identify_cpu
|
||||
NULL, // identify_os
|
||||
NULL, // cmd
|
||||
NULL, // dir
|
||||
NULL, // real_dir
|
||||
NULL // game_cfg
|
||||
},
|
||||
{
|
||||
T2_SERVER,
|
||||
GAME_CONNECT | GAME_RCON,
|
||||
|
@ -48,6 +48,7 @@
|
||||
#include "xpm/hl.xpm"
|
||||
#include "xpm/kp.xpm"
|
||||
#include "xpm/sfs.xpm"
|
||||
#include "xpm/sof2s.xpm"
|
||||
#include "xpm/t2.xpm"
|
||||
#include "xpm/hr2.xpm"
|
||||
#include "xpm/un.xpm"
|
||||
@ -107,6 +108,7 @@ struct pixmap sn_pix;
|
||||
struct pixmap hl_pix;
|
||||
struct pixmap kp_pix;
|
||||
struct pixmap sfs_pix;
|
||||
struct pixmap sof2s_pix;
|
||||
struct pixmap t2_pix;
|
||||
struct pixmap hr_pix;
|
||||
struct pixmap un_pix;
|
||||
@ -211,6 +213,7 @@ void free_pixmaps (void) {
|
||||
free_pixmap (&hl_pix);
|
||||
free_pixmap (&kp_pix);
|
||||
free_pixmap (&sfs_pix);
|
||||
free_pixmap (&sof2s_pix);
|
||||
free_pixmap (&t2_pix);
|
||||
free_pixmap (&hr_pix);
|
||||
free_pixmap (&un_pix);
|
||||
@ -284,6 +287,7 @@ void init_pixmaps (GtkWidget *window) {
|
||||
create_pixmap (window, &hl_pix, hl_xpm);
|
||||
create_pixmap (window, &kp_pix, kp_xpm);
|
||||
create_pixmap (window, &sfs_pix, sfs_xpm);
|
||||
create_pixmap (window, &sof2s_pix, sof2s_xpm);
|
||||
create_pixmap (window, &t2_pix, t2_xpm);
|
||||
create_pixmap (window, &hr_pix, hr2_xpm);
|
||||
create_pixmap (window, &un_pix, un_xpm);
|
||||
|
@ -58,6 +58,7 @@ extern struct pixmap sn_pix;
|
||||
extern struct pixmap hl_pix;
|
||||
extern struct pixmap kp_pix;
|
||||
extern struct pixmap sfs_pix;
|
||||
extern struct pixmap sof2s_pix;
|
||||
extern struct pixmap t2_pix;
|
||||
extern struct pixmap hr_pix;
|
||||
extern struct pixmap un_pix;
|
||||
|
@ -1011,6 +1011,8 @@ static char *builtin_masters_update_info[] = {
|
||||
"ADD GPS http://www.gameaholic.com/servers/qspy-shogo Shogo - gameaholic.com",
|
||||
|
||||
"ADD RUNESRV http://www.gameaholic.com/servers/qspy-rune gameaholic.com",
|
||||
|
||||
"ADD SOF2S master://master.sof2.ravensoft.com:20110 Raven",
|
||||
|
||||
NULL
|
||||
};
|
||||
|
@ -53,6 +53,7 @@
|
||||
#define HL_DEFAULT_PORT 27015 /* Half-Life */
|
||||
#define KP_DEFAULT_PORT 31510 /* Kingpin */
|
||||
#define SFS_DEFAULT_PORT 28910 /* Soldier of Fortune */
|
||||
#define SOF2S_DEFAULT_PORT 20100 /* Soldier of Fortune 2 */
|
||||
#define T2_DEFAULT_PORT 28000 /* Tribes 2 */
|
||||
#define HR_DEFAULT_PORT 28910 /* Heretic2 */
|
||||
#define UN_DEFAULT_PORT 7777 /* Unreal */
|
||||
@ -100,6 +101,7 @@ enum server_type {
|
||||
HL_SERVER,
|
||||
KP_SERVER,
|
||||
SFS_SERVER,
|
||||
SOF2S_SERVER,
|
||||
T2_SERVER,
|
||||
HR_SERVER,
|
||||
#ifdef QSTAT_HAS_UNREAL_SUPPORT
|
||||
|
Loading…
x
Reference in New Issue
Block a user