Files
nethack/include
nhmall 111ef1e1a5 consume a bit in obj.h for future resolution of a TODO in bones.c
Since EDITLEVEL is being incremented for the previous patch anyway,
add the "name_from" bit to the obj struct now, as groundwork for
the code change mentioned in a TODO comment in bones.c:

            /* strip user-supplied names */
            /* Statue and some corpse names are left intact,
               presumably in case they came from score file.
               [TODO: this ought to be done differently--names
               which came from such a source or came from any
               stoned or killed monster should be flagged in
               some manner; then we could just check the flag
               here and keep "real" names (dead pets, &c) while
               discarding player notes attached to statues.] */
            if (has_oname(otmp)
                && !(otmp->oartifact || otmp->otyp == STATUE
                     || otmp->otyp == SPE_NOVEL
                     || (otmp->otyp == CORPSE
                         && otmp->corpsenm >= SPECIAL_PM))) {
                free_oname(otmp);
            }

Also, the bitfield per-byte groupings identified in the struct
weren't accurately reflected, so rearrange the Bitfields,
and correct the per-byte groupings.

This invalidates existing save files and bones.
2024-12-19 17:54:14 -05:00
..
2022-02-04 11:01:20 -05:00
2022-03-13 13:58:56 -07:00
2022-11-29 21:53:21 -05:00
2024-02-28 11:47:16 -08:00
2024-12-15 09:53:50 -05:00
2024-11-23 19:04:12 +02:00
2022-06-30 23:48:18 -04:00
2024-09-06 13:08:07 -07:00
2024-09-06 13:08:07 -07:00
2024-09-06 13:08:07 -07:00
2023-03-01 14:00:29 +02:00
2024-10-12 14:56:36 -04:00
2021-01-26 21:06:16 -05:00
2024-10-12 10:14:44 -04:00
2024-11-30 17:07:10 +01:00
2024-12-09 15:52:29 -05:00
2024-10-05 15:55:20 -04:00
2024-07-07 17:34:37 -07:00
2024-09-06 13:08:07 -07:00
2022-06-19 02:30:45 -07:00
2024-09-06 13:08:07 -07:00
2024-02-28 20:15:56 -08:00
2024-02-24 13:49:51 -08:00
2024-02-28 20:15:56 -08:00
2024-09-18 21:39:55 +03:00
2024-12-19 13:11:25 +02:00
2023-11-22 16:01:58 -05:00
2024-09-06 13:08:07 -07:00
2024-11-26 20:57:11 -08:00
2022-10-26 14:21:23 -04:00
2022-10-26 14:21:23 -04:00
2022-10-26 14:21:23 -04:00
2023-10-16 09:11:05 -04:00
2024-03-07 11:01:04 -05:00
2024-02-28 20:15:56 -08:00
2024-09-06 13:08:07 -07:00
2024-12-19 13:11:25 +02:00
2024-03-07 11:01:04 -05:00
2024-08-17 11:19:45 -07:00
2024-11-13 09:07:10 -05:00
2023-11-22 16:01:58 -05:00
2020-08-12 16:15:28 -07:00
2024-06-15 19:04:57 +03:00
2024-03-23 10:11:35 -07:00
2023-11-22 16:01:58 -05:00
2024-09-06 13:08:07 -07:00
2022-06-30 23:48:18 -04:00
2024-09-06 13:08:07 -07:00
2024-09-06 13:08:07 -07:00
2024-12-15 09:53:50 -05:00
2024-06-09 11:17:54 -07:00
2022-10-26 14:21:23 -04:00
2022-10-26 14:21:23 -04:00
2024-11-26 20:57:11 -08:00