int main( void ) { InitAll(); curGS = CreateGameState(); BuildResources (curGS->res); LoadUnlockProfile(curGS); BuildMainMenu(curGS); RunGameState(curGS); FreeGameState(curGS); return 0; }
VSkyPart::VSkyPart( std::string in_Mode, vuint in_Sides, vuint in_Slices, vuint in_DivSteps, vfloat32 in_fRadius, vfloat32 in_fWidth, vfloat32 in_fHeight, vbool in_ShowAsLine ) : m_ModeString(in_Mode), m_Sides(in_Sides), m_Slices(in_Slices), m_DivSteps(in_DivSteps), m_fRadius(in_fRadius), m_fWidth(in_fWidth), m_fHeight(in_fHeight), m_ShowAsLine(in_ShowAsLine) { BuildResources(); }