Add MathEngineTest and Commects and clean ups

This commit is contained in:
2018-08-18 20:50:06 -04:00
parent bd3c111fa1
commit a815367c9d
52 changed files with 386 additions and 144 deletions
@@ -122,18 +122,18 @@ namespace VideoEngine {
static cVideo* sp_inst;/// = nullptr
/*SDL interprets each pixel as a 32-bit number, so our masks must depend
/* SDL interprets each pixel as a 32-bit number, so our masks must depend
on the endianness (byte order) of the machine */
#if SDL_BYTEORDER == SDL_BIG_ENDIAN
const unsigned long int m_rmask;// = 0xff000000;
const unsigned long int m_gmask;// = 0x00ff0000;
const unsigned long int m_bmask;// = 0x0000ff00;
const unsigned long int m_amask;// = 0x000000ff;
const unsigned long int m_rmask;/// = 0xff000000;
const unsigned long int m_gmask;/// = 0x00ff0000;
const unsigned long int m_bmask;/// = 0x0000ff00;
const unsigned long int m_amask;/// = 0x000000ff;
#else
const unsigned long int m_rmask;// = 0x000000ff;
const unsigned long int m_gmask;// = 0x0000ff00;
const unsigned long int m_bmask;// = 0x00ff0000;
const unsigned long int m_amask;// = 0xff000000;
const unsigned long int m_rmask;/// = 0x000000ff;
const unsigned long int m_gmask;/// = 0x0000ff00;
const unsigned long int m_bmask;/// = 0x00ff0000;
const unsigned long int m_amask;/// = 0xff000000;
#endif
};/// END CLASS DEFINITION cVideo
}/// END NAMESPACE DEFINITION VideoEngine