Files
nethack/sys/share
nhmall 61148f05bb SYSCF_FILE corrections for windows
Changes to be committed:
	modified:   src/files.c
	modified:   sys/share/pcmain.c

Related to #H4170, bz274

The current startup code seeks out the SYSCONFPREFIX using:
	envp = nh_getenv("COMMONPROGRAMFILES");
which is fine and usually translates to something like
"C:\\Program Files (x86)\\Common Files\\
NetHack then tacks on the NetHack subfolder to the path
"C:\\Program Files (x86)\\Common Files\\NetHack\\"

That should always be the definitive location.

However, in the event that there is no SYSCF_FILE actually
located at that system-wide spot (and ONLY in that event),
fall back to a secondary location of HACKDIR for locating
the SYSCF_FILE.

Also, there's some explicit tweaking added for the Microsoft
visual studio compiler debug execution to all a debug
session to correctly locate things. By default, on a
visual studio build, the executables are linked down in
subfolders of the build directory (Release, or Debug,
depending on visual studio build configuration options).
2016-01-01 20:33:14 -05:00
..
2002-01-05 21:05:59 +00:00
2015-03-31 09:50:02 -04:00
2015-12-03 04:23:53 -05:00
2015-12-08 14:52:01 -08:00
2015-05-25 09:21:31 +09:00
2015-12-03 04:23:53 -05:00
2015-12-08 14:52:01 -08:00
2015-12-04 07:57:35 -05:00
2015-05-25 09:21:31 +09:00
2016-01-01 20:33:14 -05:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-06-16 02:29:22 -07:00
2015-11-01 10:23:11 +02:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2002-01-05 21:05:58 +00:00
2002-01-05 21:05:58 +00:00
2015-05-25 09:21:31 +09:00