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
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
Bart House
dfc8f071f6
Renamed instance_variables to global_variables and iv to g.
2018-11-23 09:27:10 -08: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
36be0c0f0c
Merge branch 'macosx-curses-fall2018' of https://rodney.nethack.org:20040/git/NHsource into macosx-curses-fall2018
2018-11-20 16:11:42 -08:00
Bart House
d10a18ff00
Switching back to tty on picked by default for XCode biuld.
2018-11-20 16:11:22 -08:00
Bart House
b195025635
Added all header files to Xcode project.
2018-11-20 13:22:48 -08:00
Bart House
aa939a62b0
Adding README for building NetHack with XCode.
2018-11-20 11:16:24 -08:00
Bart House
da1e7de925
Adjusted compiler settings to reduce warnings in XCode project.
2018-11-20 10:51:03 -08:00
Bart House
2a6bd3e8ac
Addressed compiler warnings.
...
Added the initialization of several locals.
In check_fields, validate that we have a valid index (idx) before using.
2018-11-20 10:48:44 -08:00
Bart House
520b130a5c
Added initialization of locals to quite compiler warnings.
2018-11-20 10:47:12 -08:00
Bart House
d177b5e705
Addressed compiler warnings.
...
Fixed declarations of draw_classic, draw_vertical and draw_horizontal.
Moved definitions of locals before code. Added initialization of
locals. Changed comments to c-style.
2018-11-20 10:46:45 -08:00
Bart House
e66a8c4c73
Changed comments to c-style.
2018-11-20 10:45:04 -08:00
Bart House
347c45b420
Addressed compiler warnings.
...
Changed to c-style comments. Placed locals before code. Added
initialization of local value ret in curses_block.
2018-11-20 10:44:44 -08:00
Bart House
fcb28cd2e5
Addressed compiler warnings.
...
Moved local declarations before code. Changed comments to c-style.
2018-11-20 10:43:35 -08:00
Bart House
616e946393
Scoped existing code in a new block to quite compiler warnings.
2018-11-20 10:42:13 -08:00
Bart House
0b1e975b07
Addressed compiler warnings.
...
Moved locals before code. Changed comment type.
2018-11-20 10:35:25 -08:00
Bart House
be11d50d91
Added use of SCCS_Id to quite compiler warnings.
2018-11-20 10:33:36 -08:00
Bart House
c987a3dc2f
Added initialization of locals in create_room() to quite compiler warnings.
2018-11-20 10:30:11 -08:00
Bart House
a19b05d262
Added initialization of cc in do_look() to quite compiler warnings.
2018-11-20 10:29:05 -08:00
Bart House
d1cd20998f
Added initialization if ilet to quite compiler warnings.
2018-11-20 10:27:35 -08:00
Bart House
7f4a4188a0
Added initialization of newlevel to quite compiler warnings.
2018-11-20 10:27:09 -08:00
Bart House
8799f05904
Fix lrand48 and srand48 declarations.
2018-11-20 10:26:09 -08:00
Bart House
8c61ac476d
Fixed HACKDIR buid setting.
2018-11-20 07:32:23 -08:00
Bart House
9f8b419ec8
Added necessary build dependencies for xcode project.
2018-11-19 19:58:21 -08:00
Bart House
a68a8f21d4
Full build of nethack now supported in xcode.
2018-11-19 19:48:01 -08:00
Bart House
1af98716f2
Added the building of nhdat to xcode project.
2018-11-19 17:23:04 -08:00
Bart House
dd9ca9202c
Added building of nhdat to xcode project.
2018-11-19 16:54:31 -08:00
Bart House
6cf6e3c750
Added support for building Guidebook in xcode build.
2018-11-19 16:22:16 -08:00
Bart House
abb59e7283
Added building dungeon to xcode project.
2018-11-19 14:51:24 -08:00
Bart House
8dc9a3d930
Merge branch 'macosx-curses-fall2018' of https://rodney.nethack.org:20040/git/NHsource into macosx-curses-fall2018
2018-11-19 14:11:59 -08:00
Bart House
9f525b3241
Added building of special and quest levels in xcode build.
2018-11-19 14:11:39 -08:00
Bart House
d1b6581c08
Added building of more resources in xcode build.
2018-11-19 13:03:06 -08:00
Bart House
cbe2669e05
Removing personal data.
2018-11-19 12:17:37 -08:00
Bart House
d83ae1a4da
Adding the ignoring of xcuserdata.
2018-11-19 12:17:20 -08:00
Bart House
f47893258d
Removed personal user data.
2018-11-19 12:14:45 -08:00
Bart House
b2e65ad9cd
Adding the ignoring of xcuserdata.
2018-11-19 12:14:27 -08:00
Bart House
f221db4a94
Added NH_INC_DIR to xcode project build settings.
2018-11-19 12:13:58 -08:00