Commit Graph
7828 Commits
Author SHA1 Message Date
Bart House c9f390a9db Modified objects initialization to support re-entry. 2018-11-23 15:13:22 -08:00
Bart House 88fc8b79db objnam.c globals moved to instance globals. 2018-11-23 13:37:30 -08:00
Bart House 72490a9cac Moved pickup globals to instance_globals. 2018-11-23 13:30:51 -08:00
Bart House 3bb5c84bc7 Fix g.restoring comments. 2018-11-23 13:30:32 -08:00
Bart House 3394362f82 topl.c globals moved to instance_globals. 2018-11-23 13:13:28 -08:00
Bart House 97feda46e0 Moved sex_change_ok to instance_globals. 2018-11-23 12:43:38 -08:00
Bart House 302cd789e8 Fix compiler warnings in macos build. 2018-11-23 12:27:55 -08:00
Bart House 5e6e184c82 define nhassert if not defined by port. 2018-11-23 11:27:40 -08:00
Bart House 9177cc642b Moved potion.c globals to instance_globals. 2018-11-23 11:23:03 -08:00
Bart House 43cc162cf9 Moved read.c globals to instance_globals. 2018-11-23 10:47:52 -08:00
Bart House c91d560591 restore.c globals moved to instance_globals. 2018-11-23 10:36:45 -08:00
Bart House 9e40a1dfae Renamed UNDEFINED to UNDEFINED_VALUE. 2018-11-23 10:22:01 -08:00
Bart House 4744eeb765 rfilter initialized to UNDEFINED. 2018-11-23 10:15:22 -08:00
Bart House ee8ce55b7b rumors.c static globals moved to instance_globals. 2018-11-23 10:05:21 -08:00
Patric Mueller d60097b286 Send travis notification mails to mailing list 2018-11-23 18:56:25 +01:00
Bart House dfc8f071f6 Renamed instance_variables to global_variables and iv to g. 2018-11-23 09:27:10 -08:00
Pasi Kallinen 3517277467 Add some commented out flags to linux hints file 2018-11-23 19:26:13 +02:00
Patric Mueller a7ebb35d5e Adding a travis job for a minimal build 2018-11-23 17:44:31 +01:00
Patric Mueller 4c1a819511 Building tty, X11, and QT5 builds on Travis 2018-11-23 17:44:31 +01:00
Pasi Kallinen 80d1aae8a5 ifdef, not if 2018-11-23 15:15:04 +02:00
Bart House a188bc5d40 Instance variable work. 2018-11-23 05:13:06 -08:00
Bart House 53791ab1de Instance variable work check-point. 2018-11-23 04:49:51 -08:00
Bart House 47b1d71bf3 Merge branch 'win-bart' of https://rodney.nethack.org:20040/git/NHsource into win-bart 2018-11-22 22:19:47 -08:00
Bart House 8111624d0e Initial check in of icontext work. 2018-11-22 22:17:03 -08:00
Bart House b74330f0aa Merge branch 'win-bart' of https://rodney.nethack.org:20040/git/NHsource into win-bart 2018-11-22 22:07:22 -08:00
Bart House f305d1ab6c Fixed nocreate. 2018-11-22 22:06:55 -08:00
Bart House f8ab311e3d Fixed nocreate. 2018-11-22 21:55:03 -08:00
Bart House f0f0dea993 check. 2018-11-22 21:40:15 -08:00
Bart House ae9462e7f7 Merge branch 'win-bart' of https://rodney.nethack.org:20040/git/NHsource into win-bart 2018-11-22 21:39:57 -08:00
Bart House 455d2769e0 Initial check-in of icontext work. 2018-11-22 20:53:24 -08:00
Bart House 0ebe905ad1 Initial check in of icontext. 2018-11-22 20:47:22 -08:00
Bart House 48c89acef4 Moved petname_used to decl.c 2018-11-22 15:49:43 -08:00
Bart House 79e0a11c15 Previous encumberance state moved to decl.c. 2018-11-22 15:40:31 -08:00
Bart House 6737fee07d Added decl_early_init() which is called when PLAYAGAIN is supported.
decl_early_init() is called when we are starting a game.  On first
start, it validates that global state is in the expected state.
When called on subsequent starts, it initializes global state to
expected state.
2018-11-22 15:20:17 -08:00
Bart House 3e8d98dee5 Added nhassert() support. 2018-11-22 15:03:26 -08:00
Bart House 95208cff1d Added nhassert() support to tile2bmp. 2018-11-22 15:03:00 -08:00
Bart House d5c792a87c Revert "Modified how we initialize save file info."
This reverts commit 250ca464bc.
2018-11-22 14:21:31 -08:00
Bart House c1dbae9f1f Added PLAYAGAIN experimental support definition. 2018-11-22 13:05:44 -08:00
Bart House 250ca464bc Modified how we initialize save file info.
There should be no net change other then improving code maintenance.
2018-11-22 13:01:58 -08:00
Bart House 247626dfe5 Removed unnecessary use of static for nocreate values.
If multiple games are played without exiting the process, on the second
new player creation the nocreate values will already be set based
on the first player creation.
2018-11-22 12:49:10 -08:00
Bart House 96eae720ce Revert "Removed unnecessary use of static for nocreate values."
This reverts commit ff12c334af.
2018-11-22 12:15:13 -08:00
Pasi Kallinen 02749b7621 Fix guard shoving monsters away coordinate logic
The logic required both x and y coordinates of the guard location and
the new location the guard wanted to move to be different. This is
obviously wrong, as the guard may move horizontally or vertically.
2018-11-22 20:25:03 +02:00
Bart House ff12c334af Removed unnecessary use of static for nocreate values.
If multiple games are played without exiting the process, on the second
new player creation the nocreate values will already be set based
on the first player creation.
2018-11-22 10:15:43 -08:00
Bart House d7b77d0625 Additional cleanup of macosx10.14. 2018-11-21 22:58:05 -08:00
Bart House e321b6d1d2 Added ability to sign tty package. 2018-11-21 21:23:30 -08:00
Bart House f4fb476e50 Modified the spotless make rule to use double colon syntax. 2018-11-21 21:21:43 -08:00
Bart House 8b1fbd15b6 Improved the wording in XCode.xcconfig 2018-11-21 21:21:07 -08:00
PatR ac9bdc8aa7 fix #H7585 - can't untrap from edge of pit
Attempting to untrap an adjacent location failed if you had escaped a
pit, claiming that you couldn't reach.  You can't reach the bottom of
the pit if you're not in it, but you should be able to reach adjacent
spots normally.
2018-11-21 19:16:23 -08:00
PatR 55ad316079 more Schroedinger's Cat
Prevent food detection--scroll or crystal ball--from noticing the cat
corpse inside SchroedingersBox since its presence is tentative and
resolving its status during detection is a huge can of worms (live cat
placement on map from inside locked box, parallel resolution required
for monster detection/warning/telepathy that would render the box
fairly useless since it would probably end up getting resolved by ESP
before hero gains access).

Prevent cat corpse in the Box from being added to shop bill if unpaid
Box is picked up.  That prevents it from being listed as a bought item
if the player buys the box (instead of being described as unknown
contents; an older, more general bug which still hasn't been fixed).

As far as I'm aware, off the revised handling of Schroedingers Cat is
finished.
2018-11-21 18:32:04 -08:00
Bart House 1b8f07bc36 Created macosx10.14 from macosx10.10 with no other changes. 2018-11-21 18:19:07 -08:00