pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

doomlegacy-devel: Update to SVN revision 1582



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Wed Aug 18 15:47:11 2021 +0200
Changeset:	0ad17197198e0189724435ff94b5919158f6bf00

Modified Files:
	doomlegacy-devel/Makefile

Log Message:
doomlegacy-devel: Update to SVN revision 1582

- commit revision 1581
Players are kicked during netgame when their blood splat setting
is different than the server.  The control variable is not NETVAR,
and it uses P_Random.

It was desireable to allow players to turn off blood splats
independently of the server setting.
This was fixed by creating a dummy splat function, that uses
the correct number of P_Random to keep random number sync.
A DemoAdapt var was created to control calling this splat function.
Fixes bug 0678.
This also fixes a demo consistency error.

- commit revision 1582
There are several places where MAXPLAYERS is used, such as modulo
calculations.  Demos may expect a different value for MAXPLAYERS.
This is already determined in the demo read function.
Export this value as max_number_players, and use it in place
of MAXPLAYERS where appropriate.

Changed the netgame repair random_state_checkset function to correctly
report differences in random number settings for the server.
The message syntax was only appropriate for the client,
as it reversed the server/client values in the server.

Adjusted some of the uses of P_Random to more closely follow
PrBoom, with comments to that effect.  Commented where there
was a usage of P_Random that was controlled by something optional.

Adjusted the xdir/ydir logic that calls TryWalk to more closely
follow PrBoom, even though it looks like it should not matter.
The resultant code should also be very slightly faster.

Caught some typos in optional code.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0ad17197198e0189724435ff94b5919158f6bf00

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 doomlegacy-devel/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diffs:
diff --git a/doomlegacy-devel/Makefile b/doomlegacy-devel/Makefile
index c5197233d9..c0acb7f32f 100644
--- a/doomlegacy-devel/Makefile
+++ b/doomlegacy-devel/Makefile
@@ -2,7 +2,7 @@
 
 VERS=		1.48.8
 #PKGNAME=	doomlegacy-${VERS}
-SVNVERS=	1579
+SVNVERS=	1582
 DISTNAME=	doomlegacy-devel-0r${SVNVERS}
 CATEGORIES=	games
 


Home | Main Index | Thread Index | Old Index