Files
nethack/include
PatR d37fa4138a found_artifact() groundwork
Lay groundwork for generating a log event when finding an artifact
on the floor or carried by a monster.  This part should not produce
any change in behavior.

Move g.artidisco[] and g.artiexist[] out of the instance_globals
struct back to local within artifact.c.  They are both initialized
at the start of a game (and only used in that file) so don't need
to be part of any bulk reinitialization if restart-instead-of-exit
ever gets implemented.

Convert artiexist[] from an array of booleans to an array of structs
containing a pair of bitfields.  artiexist[].exists is a direct
replacement for the boolean; artiexist[].found is new but not put to
any significant use yet.  If will be used to suppress the future
found-an-artifact event for cases where a more specific event (like
crowning or divine gift as #offer reward) is already produced.

Remove g.via_naming altogether and add an extra argument to oname()
calls to replace it.

Add an extra argument to artifact_exists() calls.
2022-03-07 02:06:55 -08:00
..
2022-02-04 11:01:20 -05:00
2022-02-03 00:27:43 -08:00
2021-02-07 22:25:25 -06:00
2020-10-14 09:25:45 -07:00
2022-01-29 11:13:01 -08:00
2022-03-04 13:07:14 -08:00
2022-03-07 02:06:55 -08:00
2022-02-22 14:41:20 +02:00
2021-01-26 21:06:16 -05:00
2022-03-07 02:06:55 -08:00
2022-03-07 02:06:55 -08:00
2019-01-28 10:02:08 +01:00
2021-01-20 22:18:34 -06:00
2021-12-26 00:16:55 -08:00
2020-12-04 09:30:21 +02:00
2022-02-16 23:04:02 +02:00
2022-02-19 17:31:34 -08:00
2022-02-02 05:26:03 -08:00
2022-01-28 08:30:08 +02:00
2022-03-04 19:39:45 -08:00
2021-12-19 19:31:19 -08:00
2022-02-23 12:53:09 +02:00
2021-09-18 19:51:04 -04:00
2022-03-02 13:09:42 -08:00
2022-02-01 13:03:41 -05:00
2020-08-12 16:15:28 -07:00
2022-02-24 16:24:02 +02:00
2021-10-21 08:48:23 -04:00
2021-12-20 08:16:13 -08:00
2021-09-20 09:32:40 -04:00
2022-01-29 16:28:06 -05:00
2021-01-26 10:27:51 -05:00
2022-02-27 01:55:25 -08:00
2022-01-11 10:25:50 -08:00