pkgsrc-WIP-changes archive

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

doomlegacy-devel: Update to SVN revision 1594



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Mon Oct 18 11:45:42 2021 +0200
Changeset:	86ad65a558b985bd58346fde474fee26114eadec

Modified Files:
	doomlegacy-devel/Makefile
	doomlegacy-devel/distinfo
	doomlegacy-devel/patches/patch-src_hardware_hw__main.c
	doomlegacy-devel/patches/patch-src_p__setup.c

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

Changes
=======
- The wad light field is int16_t, but the valid light range is 0..255.
  Most ports allow the light field to exceed 255, allowing some
  lighting tricks (that few wads take advantage of).
  Some wad editors put in a default light value of 256.
  Avactor.wad has some lights at 256, and these show up as black
  sectors.
  Fixed the hardware draws to clip lights at 0..255.
  Fixed the light values passed around in the code to use the proper
  type.

- Revise the hardware render blend mutually exclusive flags to be a
  field.
  Revise the OpenGL and other hardware drivers to use a lookup table
  for blend, and more efficient attribute setting where possible.
  Possibly slightly faster code.
  No change in capabilities, but can expand the blends.
  Moved the invisibility flag to a blend.

- Make the hardware render texture memory sizes a power of two,
  so GL renders more efficiently for all video cards.
  This is what the Voodoo card was forcing, so it mostly restores
  part of one function.

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

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

diffstat:
 doomlegacy-devel/Makefile                              | 2 +-
 doomlegacy-devel/distinfo                              | 5 +++--
 doomlegacy-devel/patches/patch-src_hardware_hw__main.c | 2 +-
 doomlegacy-devel/patches/patch-src_p__setup.c          | 2 +-
 4 files changed, 6 insertions(+), 5 deletions(-)

diffs:
diff --git a/doomlegacy-devel/Makefile b/doomlegacy-devel/Makefile
index 13db5cf55f..ff30d9fe55 100644
--- a/doomlegacy-devel/Makefile
+++ b/doomlegacy-devel/Makefile
@@ -2,7 +2,7 @@
 
 VERS=		1.48.8
 #PKGNAME=	doomlegacy-${VERS}
-SVNVERS=	1591
+SVNVERS=	1594
 DISTNAME=	doomlegacy-devel-0r${SVNVERS}
 CATEGORIES=	games
 
diff --git a/doomlegacy-devel/distinfo b/doomlegacy-devel/distinfo
index 4e29d1804c..47ae48b5f9 100644
--- a/doomlegacy-devel/distinfo
+++ b/doomlegacy-devel/distinfo
@@ -1,11 +1,12 @@
 $NetBSD$
 
+SHA1 (doomlegacy_1.48.8_common.zip) = 536f387824d50208e7494547afd21a92a6ef877d
 RMD160 (doomlegacy_1.48.8_common.zip) = 7fa66010f384411972f052ecf3676ce22d43f267
 SHA512 (doomlegacy_1.48.8_common.zip) = 4b93aed03bcfd9eb0dd22f0b9231e93e63ee2cc0eee6a3a9854def384c4c290dbdb586eb8d888392c53d8a5d549718eb7b4f55cecb1c4924c03b18125876b292
 Size (doomlegacy_1.48.8_common.zip) = 1011350 bytes
 SHA1 (patch-src_Makefile) = a5f42fcf91d516271942d82d574bc25291e987af
 SHA1 (patch-src_am__map.c) = 14b3c8b70c63778ad043827ab2f0b6f4fe07bcde
 SHA1 (patch-src_dstrings.c) = 9c3f8418a25684de72e9ad980f0390b58db12d58
-SHA1 (patch-src_hardware_hw__main.c) = 7eef54453b3ecbfc37a7705887f89b8b6350baf2
+SHA1 (patch-src_hardware_hw__main.c) = 39fb78e49e8ea155f6bce07780ed2cab3d5353e6
 SHA1 (patch-src_p__local.h) = ad6c770b95e87fb06e34ec7643e98f59d41e71f4
-SHA1 (patch-src_p__setup.c) = b89ff33339c9fb32eec5da774e9a3692ef5d6f62
+SHA1 (patch-src_p__setup.c) = f2ef19104efb673b1df7b1573a5ff7a6d95846db
diff --git a/doomlegacy-devel/patches/patch-src_hardware_hw__main.c b/doomlegacy-devel/patches/patch-src_hardware_hw__main.c
index 11ab92b77e..56c522f153 100644
--- a/doomlegacy-devel/patches/patch-src_hardware_hw__main.c
+++ b/doomlegacy-devel/patches/patch-src_hardware_hw__main.c
@@ -6,7 +6,7 @@ https://sourceforge.net/p/doomlegacy/bugs/679/
 
 --- src/hardware/hw_main.c.orig	2021-10-15 10:34:51.000000000 +0000
 +++ src/hardware/hw_main.c
-@@ -3079,6 +3079,9 @@ bad_subsector:
+@@ -3118,6 +3118,9 @@ bad_subsector:
          // Error situations, should not get here.
  #ifdef PARANOIA
          GenPrintf( EMSG_warn, "Bad BSP subsector: %i\n", subsecnum );
diff --git a/doomlegacy-devel/patches/patch-src_p__setup.c b/doomlegacy-devel/patches/patch-src_p__setup.c
index 7b45a399a3..e84a7d3c25 100644
--- a/doomlegacy-devel/patches/patch-src_p__setup.c
+++ b/doomlegacy-devel/patches/patch-src_p__setup.c
@@ -33,7 +33,7 @@ https://sourceforge.net/p/doomlegacy/feature-requests/96/
  
  // origin of block map
  // The bottom left corner of the most SW block.
-@@ -2211,14 +2214,25 @@ boolean P_SetupLevel (int      to_episod
+@@ -2221,14 +2224,25 @@ boolean P_SetupLevel (int      to_episod
      }
  
      // note: most of this ordering is important


Home | Main Index | Thread Index | Old Index