pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
doomlegacy-snapshot: Update to SVN revision 1766
Module Name: pkgsrc-wip
Committed By: Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By: micha
Date: Fri Nov 28 10:25:32 2025 +0100
Changeset: d39d21f71e576e9b9b9cb4c89faee26e5b2d5bc4
Modified Files:
doomlegacy-snapshot/Makefile
doomlegacy-snapshot/distinfo
Log Message:
doomlegacy-snapshot: Update to SVN revision 1766
- commit revision 1766
Enabled the reference_count.
There was a persistent segfault, and corruption
of some mobj lists, that seemed to be due
to deleted mobj.
The reference_count code was available and
easier than anything else I could think of.
Added SET_TARGET_REF3, to optimize transfer
of reference from lastenemy to target, and
similar operations.
This seems to stop the segfault but has
other expenses, such as the player
accumulating over 900 references, due to
making a sound in a sector.
There will be further work on this.
- commit revision 1765
Fix a bug from w111_007_linespecial.
Had changed the ffloortype to ffloorflags using
uint16_t, but those flags require uint32_t.
The player could not swim in water, and sank
right to the bottom because the FF_SWIMMABLE
flag was not contained in the uint16_t flags field.
Changed ffloorflags_e to a uint32_t field
- commit revision 1764
Optimize the P_RecursiveSound function.
Changed the sector soundtraversed, which had the
value of soundblock+1, to the soundblock_lev field,
which can be compared directly to the soundblock level.
Originally they had planned for the value 0 to mean
not checked yet. Because they did not want to clear
all the sector->soundtraversed to 0, they had to check
validcount anyway.
- commit revision 1763
Notify with a message at startup when the config file
vars are defaulted (they are not in any loaded config file).
This will notify the user about new cvar.
Set the default for "tired_run" and "drown" back to
default off, because many old WADs are not compatible
with that default setting, as they expect the player
to run and you cannot survive otherwise. The usual
player will not realize what is happening, so we end
up catering to the dumbest player.
- commit revision 1762
Comment all the thinker func.
Change some thinker func names to be T_xxx.
Fixed using P_RemoveThinker instead of T_RemoveThinker
in the TFI_xxx table.
Noticed that have this rare segfault due to bad mobj
ptrs in some lists.
- commit revision 1761
Some more macros to replace FRACUNIT in fixed_t conversions.
FLOAT_TO_FIXED()
FIXFL() // literal float to fixed
FRACTION_PART() // return the fraction part of the fixed_t
General cleanup of the code, not affecting the generated code.
Changing "mobj_t *mo" to "mobj_t* mo" everywhere I could find
for readability.
Changes to conform code to our style.
Made a conditional so tele_delay table is safe with
NEWTICRATERATIO > 4.
- commit revision 1760
Changed sector special from short to uint16_t.
Changed floortype from short to byte, as floortype_e has few members.
- commit revision 1759
General cleanup of the code, not affecting the generated code.
Changing "mobj_t *mo" to "mobj_t* mo" everywhere I could find
for readability.
Changes to conform code to our style.
- commit revision 1758
Changed line->special from short to uint16_t.
It did not have any usages of the negative value.
Optimized some usages that were cast (unsigned) before.
Changed ffloortype_e to ffloorflags, because they were flags,
not a type, and there was also another floortype_e.
- commit revision 1757
Change all gamemode to GM_xxx enum.
This had been put off for a long time because there are
so many uses.
- commit revision 1756
Made the flat and texture numbers uint16_t.
Made the counts and indexes into unsigned int.
Fixed up a few other index usages to be more readable,
making some repeated expressions into vars.
Added a check for textures exceeding the uint16_t.
This should not have any net effect on behavior.
- commit revision 1755
Found some suspicious code in P_SpawnMobj, abusing the mthing options.
A field extracted from spawnpoint->options was overlaying
existing MBF flags and extra legacy flags.
I could not find any place where that field was set, nor did
I find any documentation about this code.
The code does not appear in woof, nor in heretic.
It was in the oldest doomlegacy 1.42 I could find.
I put a warning printout in it, and enclosed it with a #if,
currently enabled.
I do not think it will be executed because there was a condition
that blocked it.
- commit revision 1754
Made use of macros to replace shifting with FRACBITS.
FIXINT( 2 )
INT_TO_FIXED( n )
FIXED_TO_INT( f )
Some code which changed from fixed to int, or int to fixed, in place,
was changed to use a separate variable. Changing the scaling of a
variable that way was hard to read, and inviting errors.
There should no net change in behavior.
- commit revision 1753
Created P_ApproxDistance_mbf function, that has mobj as parameters.
This can replace P_ApproxDistance in many places, simpler code, more
readable.
Created P_Spawn_Mapthing_MT, that has a MT_xxx parameter.
This replaces the added parameter in P_Spawn_Mapthing, that had
to be 0 in normal calls.
No net change in behavior.
- commit revision 1752
Use a macro for FLAGS in info.c, to get rid of having to use
#ifdef in every entry. Now only the macro define is subject
to the #ifdef test.
- commit revision 1751
Fix the release script and the README.rst template.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d39d21f71e576e9b9b9cb4c89faee26e5b2d5bc4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
doomlegacy-snapshot/Makefile | 4 ++--
doomlegacy-snapshot/distinfo | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs:
diff --git a/doomlegacy-snapshot/Makefile b/doomlegacy-snapshot/Makefile
index a47533954a..1c3f91b599 100644
--- a/doomlegacy-snapshot/Makefile
+++ b/doomlegacy-snapshot/Makefile
@@ -1,8 +1,8 @@
# $NetBSD$
-VERS= 1.48.16
+VERS= 1.48.18
#PKGNAME= doomlegacy-${VERS}
-SVNVERS= 1750
+SVNVERS= 1766
DISTNAME= doomlegacy-snapshot-0r${SVNVERS}
CATEGORIES= games
diff --git a/doomlegacy-snapshot/distinfo b/doomlegacy-snapshot/distinfo
index da435a5966..f50b9d69e1 100644
--- a/doomlegacy-snapshot/distinfo
+++ b/doomlegacy-snapshot/distinfo
@@ -1,7 +1,7 @@
$NetBSD$
-BLAKE2s (doomlegacy_1.48.16_common.zip) = 45f00f88cdda87766a45b3545d2d04a5cc6307c912a76d4c4e4d40c02feb7501
-SHA512 (doomlegacy_1.48.16_common.zip) = 250d3ffec9124220e96bea6136704bfa77cfe714d2dc16249af08e48e099942c6470ff9799b3b9d40fa284912763c45e2a17c26177da248654773b03b04f69d9
-Size (doomlegacy_1.48.16_common.zip) = 1066414 bytes
+BLAKE2s (doomlegacy_1.48.18_common.zip) = 621f0ad2f941ce1def6a964d61e38c02f76ebfe62fa21cc4670148c159799996
+SHA512 (doomlegacy_1.48.18_common.zip) = 36235e52ec553b7b280485c725fb5a25759e04b4ecef7be472323d770c500ac3c22c628dbb0bc1a87bcb89d40bb7c0a98ae2e3f288f64617a31acb3c98280362
+Size (doomlegacy_1.48.18_common.zip) = 1104556 bytes
SHA1 (patch-src_am__map.c) = 14b3c8b70c63778ad043827ab2f0b6f4fe07bcde
SHA1 (patch-src_z__zone.c) = 13f4ff4a4af836f62779544b72e83b9eb109f7a5
Home |
Main Index |
Thread Index |
Old Index