Files
nethack/include
nethack.rankin 2c0a072ef1 main() reorganization (trunk only)
Move some internals-related code out of port-specific main so that
it isn't duplicated a bunch of times.  One minor side-effect of this
change is that if you auto-pickup something at the very start of a game,
it will happen after any full moon/new moon/Friday 13th message rather
than before.  There's a second change for some:  the shared main() used
by several of the micro ports had a small difference in game play--if you
saved a game while on an engraving, it would automatically be read when
you resume--that will now occur for everybody [Elbereth weenies rejoice!].
pcmain() was also calling update_inventory() at start of play.  That's
unnecessary for new games, where inventory initialization triggers a call
to it for each item added to your pack; but I wasn't sure about restored
games, so everybody gets it there now.

     The Mac and BeOS ports evidently haven't been touched it some time;
they still referenced flags.move which got replaced by context.move quite
a while back.  The Windows GUI code has a declaration for mswin_moveloop()
which appears to be non-existant, but I left it alone.  I assume that the
Qt interface uses the existing main() routines; at least I couldn't find
any start of game code specific to it.  vmsmain's revised main() is the
only one which has been tested.
2006-04-02 07:35:30 +00:00
..
2002-01-18 02:50:06 +00:00
2002-01-05 21:05:47 +00:00
2005-01-23 16:29:16 +00:00
2005-12-11 03:09:05 +00:00
2005-11-26 02:32:49 +00:00
2005-06-18 04:38:50 +00:00
2006-04-02 07:35:30 +00:00
2006-01-14 17:02:22 +00:00
2002-01-05 21:05:47 +00:00
2006-02-12 06:24:25 +00:00
2002-01-05 21:05:47 +00:00
2005-03-13 05:29:01 +00:00
2005-10-06 03:45:20 +00:00
2006-03-12 04:43:28 +00:00
2006-03-12 04:43:28 +00:00
2006-01-06 05:46:03 +00:00
2002-01-05 21:05:48 +00:00
2005-01-08 14:37:36 +00:00
2006-02-12 06:24:25 +00:00
2005-01-02 20:55:41 +00:00
2005-01-23 19:39:01 +00:00
2005-01-09 21:40:24 +00:00
2006-03-02 05:54:04 +00:00