summaryrefslogtreecommitdiffhomepage
path: root/Stars45
AgeCommit message (Collapse)Author
2019-09-12Fix ill-formed and warning-causing new overloaded and delete operatorsYasha Jannoo
From VS2015 onwards, overloaded new and delete operators were no longer allowed to be declared inline. See https://docs.microsoft.com/en-us/cpp/porting/visual-cpp-what-s-new-2003-through-2015?view=vs-2019. As a consequence of moving the definitions into source files, we cannot simply include the headers in the files they are required in without also either creating a static library or including the source files in the projects. Do the latter as the pattern fits other examples of dependencies across projects in the solution. The overloaded operator definitions could be made neater in a future change. For now they are written as their declarations appear in the header file, with the same ifdefs as in the header file.
2019-09-10Turn off edit and continue.Yasha Jannoo
Fixes incompatibility between /ZI and /Gy- by not allowing ZI at all for the time-being. We can turn it on again later.
2019-09-10Turn off Minimal Rebuild across the boardYasha Jannoo
This is the \Gm compiler flag. There are warnings that this is deprecated, and the general advice is that setting the multiprocessor build flag should be used instead.
2019-09-10Revert "Turn off Minimal Rebuild across the board"Yasha Jannoo
This reverts commit f935fb0960b1563d6404d2fec21963b20f498a3b.
2019-09-10Turn off Minimal Rebuild across the boardYasha Jannoo
This is the \Gm compiler flag. There are warnings that this is deprecated, and the general advice is that setting the multiprocessor build flag should be used instead.
2019-09-10Remove FORCE flag from Stars projectYasha Jannoo
We shouldn't hide potential issues and it seems to be compiling okay without.
2019-09-09Naively turn off UseOfMfcYasha Jannoo
In addressing the complaint here, https://www.hard-light.net/forums/index.php?topic=80935.msg1853522#msg1853522 I have decided to include all the standard libraries for the debug build in the same way that the retail build does. I don't have enough information to know why this is different, but I could not resolve my build issues by instead adding more required libraries to the "Linked Dependencies". I could retry this solution later and roll this back.
2019-09-05Retarget for new MSBuild toolsetsYasha Jannoo
Retarget all projects in the Starshatter.sln from v110 (VS12) to v141 (VS17)
2013-07-10Updating the project files so that building works againfwoltermann@gmail.com
2013-07-07Removed unused Authorization class.milo24x7@gmail.com
2013-07-07Updated open source license declaration and fixed some formatting issues.milo24x7@gmail.com
2012-07-22PVS-Studio fix: V547 Expression is always true. Probably the '&&' operator ↵rhyskidd@gmail.com
should be used here. starshiptacticalai.cpp 205
2012-07-16Ignore PVS Studio warning V576FWoltermann@gmail.com
2012-07-16PVS Studio Warning fix: Part of conditional expression is always falseFWoltermann@gmail.com
2012-07-16PVS Studio warning fix: Part of conditional expression is always true (Note ↵FWoltermann@gmail.com
to self: this code is weeeeeiiird around line 221....)
2012-07-16PVS Studio warning fix: Part of conditional expression is always falseFWoltermann@gmail.com
2012-07-16PVS Studio warning fix: Possible Array underrunFWoltermann@gmail.com
2012-07-16PVS Studio fix: Comparison using || is always true, using && insteadFWoltermann@gmail.com
2012-07-16PVS-Studio fix: V624 The constant 3.1415 is being utilized. The resulting ↵rhyskidd@gmail.com
value could be inaccurate. Consider using the M_PI constant from <math.h>. mission.cpp 1203
2012-07-16PVS-Studio fix: V618 It’s dangerous to call the 'sprintf_s' function in ↵rhyskidd@gmail.com
such a manner, as the line being passed could contain format specification. The example of the safe code: printf("%s", str);
2012-06-24A few PVS studio things5.1.87FWoltermann@gmail.com
2012-06-17(Hopefully) Allows SWACS ships to do more than sit around. Needs testing.FWoltermann@gmail.com
2012-06-13One of these days, I'ma be done with project file updatesFWoltermann@gmail.com
2012-06-13Add a quick return here before we deref a null pointerFWoltermann@gmail.com
2012-06-13Remove dependency on content.dat (The file is still required, since it was ↵FWoltermann@gmail.com
part of the last patch, but the exe will no longer fail if it isn't present)
2012-06-13Remove a bit of commented-out codeFWoltermann@gmail.com
2012-06-06More project file fixesFWoltermann@gmail.com
2012-06-06Fix a potential invalid memory access issueFWoltermann@gmail.com
2012-06-06Aaaand more VS2012 compat stuff.FWoltermann@gmail.com
2012-06-05REdoing r71, without the mistakesFWoltermann@gmail.com
2012-06-05Add VS2012 configs to the project files.FWoltermann@gmail.com
2012-06-03Oops, forgot to actually change the version string5.1.66FWoltermann@gmail.com
2012-06-02REmoving STARSHATTER_DEMO ifdefs and setting version string to 5.1.66FWoltermann@gmail.com
2012-05-31Resovle a boolean being implicitly cast to a pointerrhyskidd
2012-05-30Fix signed/unsigned mismatchrhyskidd
2012-05-30Ensure check for NULL pointer occurs prior to use, not afterrhyskidd
2012-05-30Fix further instances of a class being passed as variable to Print(), ↵rhyskidd
instead of the string data itself
2012-05-30Resolve duplicate listing of TRANSPORT, and absence of ASSAULT typerhyskidd
2012-05-28Removes the ArrayList classes, and replaces all instances with std::vector ↵FWoltermann@gmail.com
implementations.
2012-05-28Sets a few properties for VS2011FWoltermann@gmail.com
2012-05-27A few things MSVC's analyzer found.FWoltermann@gmail.com
2012-05-26Updating the project files a bit. Also adding a solution file for MSVC 2011.FWoltermann@gmail.com
2012-01-07Adding experimental x64 build configs. THESE DO NOT WORK YET.FWoltermann@gmail.com
2011-12-10Adding a little helper to allow quicker turnaround. If you create an ↵FWoltermann@gmail.com
environment variable with the name "STARSHATTERPATH" pointing to the directory where Starshatter is installed (C:\Matrix Games\Starshatter by default), builds will automatically be copied there once compilation is finished.
2011-12-10This scanf_s blows up in our face, so let's revert to the non _s version.FWoltermann@gmail.com
2011-12-09More string safety stuffFWoltermann@gmail.com
2011-12-09Re-indenting the code to use standard tabs. Yes, I know this is pretty ↵FWoltermann@gmail.com
pointless, but who cares?
2011-12-09More string and fopen safety measuresFWoltermann@gmail.com
2011-12-09Changing the main Starshatter output name to "Starshatter_D.exe" for debug ↵FWoltermann@gmail.com
builds
2011-12-09A few fixes recommended by PVS StudioFWoltermann@gmail.com