Un-break the Windows borg screensaver init code (possibly).
Make MAINFILES only include the objects that have been configured to be included

Signed-off-by: Peter Denison <angband@marshadder.org>
(cherry picked from commit b95d7f4b9aa48672cf90962977fe85738a47845f)
Fixes to allow compilation and build under VS 2010 on Windows

Signed-off-by: Peter Denison <angband@marshadder.org>
(cherry picked from commit bb7ef10756035a68b2da77098d919370f20f0887)
Compilation warning fixes for Windows
Change cptr to char * throughout borg
Replace char with wchar_t where necessary
Remove translate_visuals from borg
Minor other casts to keep it happy

Signed-off-by: Peter Denison <angband@marshadder.org>
(cherry picked from commit d83c6da983ef7c6966b22e1f413430f4a298d420)
More borg compilation warning fixes

Signed-off-by: Peter Denison <angband@marshadder.org>
(cherry picked from commit 3c3ec5496572211ac77b735d1b46b5f6d5c14c12)
Allow MinGW compilation for Windows to use main buildsys Makefiles
Unconditionally set the WINDOWS symbol, even when using autoconf
Make Windows file handling and dirent.h file handling into alternatives
Add --enable-win configure option. Needs more checking of allowable combinations

Signed-off-by: Peter Denison <angband@marshadder.org>
(cherry picked from commit f4e1503899c36a9027d0484f0f8c0240ea91b3d8)
Fix configure and makefiles so that cross-compilation with MinGW works

Signed-off-by: Peter Denison <angband@marshadder.org>
(cherry picked from commit 51f81355750709be469fddcafe5d14c5735a918b)
Make cross-compilation produce the correct executable name

Signed-off-by: Peter Denison <angband@marshadder.org>
(cherry picked from commit 9baff6386f66791d77e6b5f170dc50f15c4fcf78)
Yet more borg compilation warning fixes

Signed-off-by: Peter Denison <angband@marshadder.org>
(cherry picked from commit da4c55c299e7cb52188dafaf86bde0f7f190144c)
Update buildsys to rev 117 (69e38f40905e), preserving local changes

Signed-off-by: Peter Denison <angband@marshadder.org>
(cherry picked from commit 3df1267037063d319091a6d3e969b6d64c724115)
Updated compilation instructions

Signed-off-by: Peter Denison <angband@marshadder.org>
(cherry picked from commit cc297cfd36132b376719ced9a0909b8e2fb0a180)
Merge pull request #122 from pnd10/win-make

Build system and compilation updates for Windows
fix off-by-one error with queue size (thanks PowerWyrm)
Allow pass_wall monsters to revert to normal pathfinding if near perma-rock.  An improvement over current behavior and partially fixes #1433
Merge pull request #123 from fizzix/passwall_pathfind

Allow pass_wall monsters to revert to normal pathfinding if near perma-rock.  Ta to will_asher.
More borg warning elimination

Signed-off-by: Peter Denison <angband@marshadder.org>
Rework MAINFILES to be defined in terms of file groups by configure.ac
This allows Makefile.src to be less GNU-specific and more widely compatible

Signed-off-by: Peter Denison <angband@marshadder.org>
Merge pull request #124 from pnd10/win-make

Noz's further improvements to the build system. 
Fix bug in summon_specific (thanks PowerWyrm).
Fix #1526: Mimics now silently take monster attacks.
(cherry picked from commit d4d2e33f5751e570d1d0f57620303bacca3b7539)