Commit Graph
7674 Commits
Author SHA1 Message Date
nhmall 5e5e321378 Revert "Renamed UNDEFINED to UNDEFINED_VALUE."
This reverts commit cee4933c24.
2018-11-23 22:17:01 -05:00
nhmall 053baa8274 Revert "restore.c globals moved to instance_globals."
This reverts commit 865c4d5a7d.
2018-11-23 22:16:59 -05:00
nhmall 04fe16d938 Revert "Moved read.c globals to instance_globals."
This reverts commit d37a91a6b8.
2018-11-23 22:16:56 -05:00
nhmall 2fb68024fe Revert "Moved potion.c globals to instance_globals."
This reverts commit d3c192e5a8.
2018-11-23 22:16:54 -05:00
nhmall 6f3f1caee3 Revert "define nhassert if not defined by port."
This reverts commit cff9fb441a.
2018-11-23 22:16:52 -05:00
nhmall 9db124f650 Revert "Fix compiler warnings in macos build."
This reverts commit 0d59f1a22b.
2018-11-23 22:16:49 -05:00
nhmall 7f023c99fb Revert "Moved sex_change_ok to instance_globals."
This reverts commit ee22210a68.
2018-11-23 22:16:47 -05:00
nhmall 44af1c78f3 Revert "topl.c globals moved to instance_globals."
This reverts commit b384223e1b.
2018-11-23 22:16:45 -05:00
nhmall 01bc4ab5e2 Revert "Fix g.restoring comments."
This reverts commit ad725c0f0f.
2018-11-23 22:16:42 -05:00
nhmall 61a35d4ac0 Revert "Moved pickup globals to instance_globals."
This reverts commit 01596f1660.
2018-11-23 22:16:40 -05:00
nhmall 734a6c2ddb Revert "objnam.c globals moved to instance globals."
This reverts commit 041e55467a.
2018-11-23 22:16:35 -05:00
nhmall 3cbc6d4cf5 Revert "Modified objects initialization to support re-entry."
This reverts commit c3eefefc99.
2018-11-23 22:16:24 -05:00
nhmall efdfd2fa1d Revert "Removing prototype for decl_globals_init()."
This reverts commit 26d03b5017.
2018-11-23 22:15:37 -05:00
Bart House 26d03b5017 Removing prototype for decl_globals_init(). 2018-11-23 15:47:18 -08:00
Bart House 52736f367f Merge branch 'win-bart' of https://rodney.nethack.org:20040/git/NHsource into win-bart 2018-11-23 15:23:06 -08:00
Bart House c3eefefc99 Modified objects initialization to support re-entry. 2018-11-23 15:22:55 -08:00
Bart House 041e55467a objnam.c globals moved to instance globals. 2018-11-23 15:22:55 -08:00
Bart House 01596f1660 Moved pickup globals to instance_globals. 2018-11-23 15:22:55 -08:00
Bart House ad725c0f0f Fix g.restoring comments. 2018-11-23 15:22:54 -08:00
Bart House b384223e1b topl.c globals moved to instance_globals. 2018-11-23 15:22:54 -08:00
Bart House ee22210a68 Moved sex_change_ok to instance_globals. 2018-11-23 15:22:54 -08:00
Bart House 0d59f1a22b Fix compiler warnings in macos build. 2018-11-23 15:22:54 -08:00
Bart House cff9fb441a define nhassert if not defined by port. 2018-11-23 15:22:54 -08:00
Bart House d3c192e5a8 Moved potion.c globals to instance_globals. 2018-11-23 15:22:54 -08:00
Bart House d37a91a6b8 Moved read.c globals to instance_globals. 2018-11-23 15:22:54 -08:00
Bart House 865c4d5a7d restore.c globals moved to instance_globals. 2018-11-23 15:22:54 -08:00
Bart House cee4933c24 Renamed UNDEFINED to UNDEFINED_VALUE. 2018-11-23 15:22:54 -08:00
Bart House 716c2ceccf rfilter initialized to UNDEFINED. 2018-11-23 15:22:54 -08:00
Bart House 6a78b203e4 rumors.c static globals moved to instance_globals. 2018-11-23 15:22:53 -08:00
Bart House f9a0db6c44 Renamed instance_variables to global_variables and iv to g. 2018-11-23 15:22:53 -08:00
Bart House 14bf74c862 Instance variable work. 2018-11-23 15:22:53 -08:00
Bart House 8e316df117 Instance variable work check-point. 2018-11-23 15:22:53 -08:00
Bart House 244a473a19 Fixed nocreate. 2018-11-23 15:22:52 -08:00
Bart House 7814d9097a check. 2018-11-23 15:22:52 -08:00
Bart House 5bbe3cd6bb Initial check in of icontext. 2018-11-23 15:22:51 -08:00
Bart House 6272c37035 Moved petname_used to decl.c 2018-11-23 15:22:51 -08:00
Bart House 4e774197a6 Previous encumberance state moved to decl.c. 2018-11-23 15:22:51 -08:00
Bart House acbe4d9242 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-23 15:22:51 -08:00
Bart House 31dc1c9233 Added nhassert() support. 2018-11-23 15:22:51 -08:00
Bart House a27fd2d83d Added nhassert() support to tile2bmp. 2018-11-23 15:22:51 -08:00
Bart House 05c9ccc035 Revert "Modified how we initialize save file info."
This reverts commit 250ca464bc.
2018-11-23 15:22:51 -08:00
Bart House ea8cf6613a Added PLAYAGAIN experimental support definition. 2018-11-23 15:22:51 -08:00
Bart House 44b002c9f3 Modified how we initialize save file info.
There should be no net change other then improving code maintenance.
2018-11-23 15:22:50 -08:00
Bart House 74fc1403e3 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-23 15:22:50 -08:00
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