Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 0449215

Browse files
committed
Tested, seems to work fine
1 parent b3ab332 commit 0449215

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

Activities/GameActivity.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -951,9 +951,7 @@ class GameActivity:
951951

952952

953953
// Comparison functor for sorting objective points by their y pos using STL's sort
954-
// TODO: Test to see if not having the binary_function part affects anything. Nothing immediately obvious is wrong without it.
955-
struct ObjPointYPosComparison //: public std::binary_function<ObjectivePoint &, ObjectivePoint &, bool>
956-
{
954+
struct ObjPointYPosComparison {
957955
bool operator()(ObjectivePoint &rhs, ObjectivePoint &lhs) { return rhs.m_ScenePos.m_Y < lhs.m_ScenePos.m_Y; }
958956
};
959957

Managers/MovableMan.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ const string MovableMan::m_ClassName = "MovableMan";
3131

3232

3333
// Comparison functor for sorting movable objects by their X position using STL's sort
34-
// TODO: Test to see if not having the binary_function part affects anything. Nothing immediately obvious is wrong without it.
35-
struct MOXPosComparison //: public std::binary_function<MovableObject *, MovableObject *, bool>
36-
{
34+
struct MOXPosComparison {
3735
bool operator()(MovableObject *pRhs, MovableObject *pLhs) { return pRhs->GetPos().m_X < pLhs->GetPos().m_X; }
3836
};
3937

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ First you need to download the necessary files:
1111

1212
1. Install the necessary tools.
1313
You'll probably want [Visual Studio Community Edition](https://visualstudio.microsoft.com/downloads/) (we mostly use 2017 but 2019 should be fine).
14-
You also need to have [Visual C++ Redistributable for Visual Studio 2015 (x86)](https://www.microsoft.com/en-us/download/confirmation.aspx?id=48145&6B49FDFB-8E5B-4B07-BC31-15695C5A2143=1) installed in order to run the compiled builds.
14+
You also need to have [Visual C++ Redistributable for Visual Studio 2017 (x86)](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads) installed in order to run the compiled builds.
1515
You may also want to check out the list of recommended Visual Studio plugins [here](https://github.com/cortex-command-community/Cortex-Command-Community-Project-Source/wiki/Information,-Recommended-Plugins-and-Useful-Links).
1616

1717
2. Clone this Source Repository and the [Data Repository](https://github.com/cortex-command-community/Cortex-Command-Community-Project-Data) in neighboring folders.

0 commit comments

Comments
 (0)