Added Module definition File to linker input for all configurations,
previously only added to debug as spotted by @ripieces Also changed the
relative pathing to $(ProjectDir)..\..\utils\smdlexp\smdlexp.def ->
Cleaner and makes more sense :)
Added a relative path to the required Module definition File smdlexp.def
found in halflife\utils\smdlexp
Although the project will compile fine without this step, 3DSMAX will
fail to load the plug-in giving errors such as "smdlexp.dle doesn't
implement LibVersion"
It seems that smdlexp.def needs to be explicitly defined in the vcxproj
in order to work.
Normalized line endings by touching (touch) the dsp files, no changes to
the files were made.
This is in order we can see actual modified lines in case s.o. modifies
the files.
The files will have CRLF as EOL on checkout due to the .gitattributes
setting.
fixesValveSoftware/halflife#1338
Changes:
- added project files for Visual C++ 2010 Express
- resolved function calls that would otherwise be ambiguous now
- solved ARRAYSIZE macro and HSPRITE type collisions with Windows.h and
winsock.h includes by guarding the includes
TODO:
We should think about if we actually should instead link to a .h that
defines / redirects the required macros, so that platform differences
would be limited to a few .cpp files (meaning not including windows.h in a
huge number of files as it is now), see the issue above for details.