pkgsrc-WIP-changes archive

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

doomlegacy-devel: Update to SVN revision 1636



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Fri Nov 4 11:47:20 2022 +0100
Changeset:	62a502942a2e14ad22f08b9e8b1fa0b634f8467e

Modified Files:
	doomlegacy-devel/Makefile

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

- commit revision 1636
OpenGL display, wall textures would distort when a fireball or rocket
would pass by.
This would happen on any wall under a 3d floor (but not the top floor).
Hitting the top wall with a plasma, would cause distortion of the
lower walls.
Disabling dynamic lights would stop the distortion.

This occured because the HWR_SplitWall function was going through the
light planes, displaying each, using the GL vertexes as if they would
not change.
The dynamic lights overwrites the tow and sow of the GL vertexes with
light values.  As the x,y,z values were the same, and as the dynamic
lights are projected after the wall is projected, for most walls this
was more efficient.
Fixed the HWR_SplitWall function by adding explicit saving of the sow
and tow values, restoring them before each call to project the wall.

Also added some conditional code that would give the dynamic light
projection its own copy of the GL vertexes.  This also worked, but
was much more expensive.

- commit revision 1635
 Optimize some sprite clipping loops.

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

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 815b09e57b..90782a02c2 100644
--- a/doomlegacy-devel/Makefile
+++ b/doomlegacy-devel/Makefile
@@ -2,7 +2,7 @@
 
 VERS=		1.48.10
 #PKGNAME=	doomlegacy-${VERS}
-SVNVERS=	1635
+SVNVERS=	1636
 DISTNAME=	doomlegacy-devel-0r${SVNVERS}
 CATEGORIES=	games
 


Home | Main Index | Thread Index | Old Index