- Fixed: Thing_ProjectileAimed did not set the missile's speed correctly.
- The net start pane is now given focus when it is created, so it can receive keyboard input. - Added playback of the "WeaponPickup" sound when a Hexen net game starts. - Separated the different startup screens into classes for better modularization (which I should have done in the first place). (Sorry, have not done it for Linux yet, so that won't compile as-is.) SVN r496 (trunk)
This commit is contained in:
parent
3f1a681451
commit
560d4f8140
12 changed files with 370 additions and 303 deletions
|
|
@ -1358,7 +1358,7 @@ bool DoArbitrate (void *userdata)
|
|||
|
||||
D_ReadUserInfoStrings (netbuffer[1], &stream, false);
|
||||
|
||||
ST_NetMessage ("Found %s (node %d, player %d)",
|
||||
StartScreen->NetMessage ("Found %s (node %d, player %d)",
|
||||
players[netbuffer[1]].userinfo.netname,
|
||||
node, netbuffer[1]+1);
|
||||
}
|
||||
|
|
@ -1503,8 +1503,8 @@ void D_ArbitrateNetStart (void)
|
|||
data.gotsetup[0] = 0x80;
|
||||
}
|
||||
|
||||
ST_NetInit ("Exchanging game information", 1);
|
||||
if (!ST_NetLoop (DoArbitrate, &data))
|
||||
StartScreen->NetInit ("Exchanging game information", 1);
|
||||
if (!StartScreen->NetLoop (DoArbitrate, &data))
|
||||
{
|
||||
exit (0);
|
||||
}
|
||||
|
|
@ -1522,7 +1522,7 @@ void D_ArbitrateNetStart (void)
|
|||
fprintf (debugfile, "player %d is on node %d\n", i, nodeforplayer[i]);
|
||||
}
|
||||
}
|
||||
ST_NetDone();
|
||||
StartScreen->NetDone();
|
||||
}
|
||||
|
||||
static void SendSetup (DWORD playersdetected[MAXNETNODES], BYTE gotsetup[MAXNETNODES], int len)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue