diff --git a/ext/vjson/block_allocator.cpp b/ext/vjson/block_allocator.cpp index 83bd02110c..16f3c4f9ec 100644 --- a/ext/vjson/block_allocator.cpp +++ b/ext/vjson/block_allocator.cpp @@ -2,7 +2,8 @@ #include #include "block_allocator.h" -block_allocator::block_allocator(size_t blocksize): m_head(0), m_blocksize(blocksize) +block_allocator::block_allocator(size_t blocksize) + : m_head(0), m_blocksize(blocksize) { } diff --git a/file/file_util.cpp b/file/file_util.cpp index 344aff99cf..c4ecf16cbc 100644 --- a/file/file_util.cpp +++ b/file/file_util.cpp @@ -9,6 +9,7 @@ #include #include #include +#include #include "base/logging.h" #include "base/basictypes.h" diff --git a/input/gesture_detector.h b/input/gesture_detector.h index a52636b9f0..dc3911edf3 100644 --- a/input/gesture_detector.h +++ b/input/gesture_detector.h @@ -16,6 +16,4 @@ namespace GestureDetector // x/ydelta is (smoothed?) difference from current location to the position from the last frame. // Returns true if button/finger is down, for convenience. bool dragDelta(int finger, float *xdelta, float *ydelta); - - }; diff --git a/input/input_state.h b/input/input_state.h index cebc112863..9978da0953 100644 --- a/input/input_state.h +++ b/input/input_state.h @@ -27,7 +27,7 @@ enum { #define MAX_POINTERS 8 #endif -// Agglomeration of all possible inputs, and automatically computed +// Collection of all possible inputs, and automatically computed // deltas where applicable. struct InputState { // Lock this whenever you access the data in this struct. @@ -66,6 +66,8 @@ struct InputState { bool accelerometer_valid; Vec3 acc; + // TODO: Add key arrays + private: DISALLOW_COPY_AND_ASSIGN(InputState); }; diff --git a/math/lin/matrix4x4.cpp b/math/lin/matrix4x4.cpp index ec0ef64633..1dcab71f90 100644 --- a/math/lin/matrix4x4.cpp +++ b/math/lin/matrix4x4.cpp @@ -231,7 +231,6 @@ void Matrix4x4::setOrtho(float left, float right, float bottom, float top, float wz = -(far + near) / (far - near); } -// This is a D3D style matrix. void Matrix4x4::setProjectionInf(const float near_plane, const float fov_horiz, const float aspect) { empty(); float f = fov_horiz*0.5f; diff --git a/native.vcxproj b/native.vcxproj index f83b166621..7cbd19bc41 100644 --- a/native.vcxproj +++ b/native.vcxproj @@ -227,6 +227,7 @@ + @@ -306,6 +307,7 @@ + diff --git a/native.vcxproj.filters b/native.vcxproj.filters index fff6d79d76..24db528ab2 100644 --- a/native.vcxproj.filters +++ b/native.vcxproj.filters @@ -221,6 +221,9 @@ ui + + math + @@ -391,6 +394,9 @@ ui + + math + diff --git a/ui/screen.cpp b/ui/screen.cpp index 5b2357cc65..c4994b85c7 100644 --- a/ui/screen.cpp +++ b/ui/screen.cpp @@ -21,10 +21,10 @@ void ScreenManager::switchScreen(Screen *screen) { while (dialog_.size()) pop(); } - // TODO: is this still true? // Note that if a dialog is found, this will be a silent background switch that // will only become apparent if the dialog is closed. The previous screen will stick around // until that switch. + // TODO: is this still true? if (nextScreen_ != 0) { FLOG("WTF? Already had a nextScreen_"); }