diff --git a/Language Defines.h b/Language Defines.h index 66660a6c8..81fb8348c 100644 --- a/Language Defines.h +++ b/Language Defines.h @@ -84,8 +84,8 @@ #if !defined(ENGLISH) && !defined(GERMAN) && !defined(RUSSIAN) && !defined(DUTCH) && !defined(POLISH) && !defined(FRENCH) && !defined(ITALIAN) && !defined(TAIWANESE) && !defined(CHINESE) /* please set one manually here (by uncommenting) if not willingly to set Workspace wide */ -#define ENGLISH -//#define GERMAN +//#define ENGLISH +#define GERMAN //#define RUSSIAN //#define DUTCH //#define FRENCH diff --git a/Laptop/IMP Prejudice.cpp b/Laptop/IMP Prejudice.cpp index f8959cb68..c40a93752 100644 --- a/Laptop/IMP Prejudice.cpp +++ b/Laptop/IMP Prejudice.cpp @@ -124,7 +124,7 @@ void EnterIMPPrejudice( void ) ////////////////// DropDown_Appearance ////////////////////////// std::vector > entryvecDropDown_Appearance; for(UINT8 i = 0; i < NUM_APPEARANCES; ++i) - entryvecDropDown_Appearance.push_back( std::make_pair(i, szAppearanceText[i]) ); + entryvecDropDown_Appearance.push_back( std::make_pair(i, szAppearanceText[i]) ); DropDownTemplate::getInstance().SetEntries(entryvecDropDown_Appearance); DropDownTemplate::getInstance().SetHelpText( szPersonalityHelpText[DROPDOWNNR_APPEARANCE] ); @@ -135,7 +135,7 @@ void EnterIMPPrejudice( void ) ////////////////// DropDown_AppearanceCare ////////////////////////// std::vector > entryvecDropDown_AppearanceCare; for(UINT8 i = 0; i < NUM_CARELEVELS; ++i) - entryvecDropDown_AppearanceCare.push_back( std::make_pair(i, szCareLevelText[i]) ); + entryvecDropDown_AppearanceCare.push_back( std::make_pair(i, szCareLevelText[i]) ); DropDownTemplate::getInstance().SetEntries(entryvecDropDown_AppearanceCare); DropDownTemplate::getInstance().SetHelpText( szPersonalityHelpText[DROPDOWNNR_APPEARANCECARE] ); @@ -148,7 +148,7 @@ void EnterIMPPrejudice( void ) ////////////////// DropDown_Refinement ////////////////////////// std::vector > entryvecDropDown_Refinement; for(UINT8 i = 0; i < NUM_REFINEMENT; ++i) - entryvecDropDown_Refinement.push_back( std::make_pair(i, szRefinementText[i]) ); + entryvecDropDown_Refinement.push_back( std::make_pair(i, szRefinementText[i]) ); DropDownTemplate::getInstance().SetEntries(entryvecDropDown_Refinement); DropDownTemplate::getInstance().SetHelpText( szPersonalityHelpText[DROPDOWNNR_REFINEMENT] ); @@ -159,7 +159,7 @@ void EnterIMPPrejudice( void ) ////////////////// DropDownTemplate ////////////////////////// std::vector > entryvecDropDown_RefinementCare; for(UINT8 i = 0; i < NUM_CARELEVELS; ++i) - entryvecDropDown_RefinementCare.push_back( std::make_pair(i, szCareLevelText[i]) ); + entryvecDropDown_RefinementCare.push_back( std::make_pair(i, szCareLevelText[i]) ); DropDownTemplate::getInstance().SetEntries(entryvecDropDown_RefinementCare); DropDownTemplate::getInstance().SetHelpText( szPersonalityHelpText[DROPDOWNNR_REFINEMENTCARE] ); @@ -172,7 +172,7 @@ void EnterIMPPrejudice( void ) ////////////////// DropDownTemplate ////////////////////////// std::vector > entryvecDropDown_Nationality; for(UINT8 i = 0; i < NUM_NATIONALITIES; ++i) - entryvecDropDown_Nationality.push_back( std::make_pair(i, szNationalityText[i]) ); + entryvecDropDown_Nationality.push_back( std::make_pair(i, szNationalityText[i]) ); DropDownTemplate::getInstance().SetEntries(entryvecDropDown_Nationality); DropDownTemplate::getInstance().SetHelpText( szPersonalityHelpText[DROPDOWNNR_NATIONALITY] ); @@ -183,10 +183,10 @@ void EnterIMPPrejudice( void ) ////////////////// DropDownTemplate ////////////////////////// std::vector > entryvecDropDown_HatedNationality; // we can also hate no nation at all... - entryvecDropDown_HatedNationality.push_back( std::make_pair(-1, szNationalityText_Special[1]) ); + entryvecDropDown_HatedNationality.push_back( std::make_pair(-1, szNationalityText_Special[1]) ); for(UINT8 i = 0; i < NUM_NATIONALITIES; ++i) - entryvecDropDown_HatedNationality.push_back( std::make_pair(i, szNationalityText[i]) ); + entryvecDropDown_HatedNationality.push_back( std::make_pair(i, szNationalityText[i]) ); DropDownTemplate::getInstance().SetEntries(entryvecDropDown_HatedNationality); DropDownTemplate::getInstance().SetHelpText( szPersonalityHelpText[DROPDOWNNR_HATEDNATIONALITY] ); @@ -197,7 +197,7 @@ void EnterIMPPrejudice( void ) ////////////////// DropDownTemplate ////////////////////////// std::vector > entryvecDropDown_HatedNationalityCare; for(UINT8 i = 0; i < NUM_CARELEVELS; ++i) - entryvecDropDown_HatedNationalityCare.push_back( std::make_pair(i, szCareLevelText[i]) ); + entryvecDropDown_HatedNationalityCare.push_back( std::make_pair(i, szCareLevelText[i]) ); DropDownTemplate::getInstance().SetEntries(entryvecDropDown_HatedNationalityCare); DropDownTemplate::getInstance().SetHelpText( szPersonalityHelpText[DROPDOWNNR_HATEDNATIONALITYCARE] ); @@ -210,7 +210,7 @@ void EnterIMPPrejudice( void ) ////////////////// DropDownTemplate ////////////////////////// std::vector > entryvecDropDown_Racist; for(UINT8 i = 0; i < NUM_RACIST; ++i) - entryvecDropDown_Racist.push_back( std::make_pair(i, szRacistText[i]) ); + entryvecDropDown_Racist.push_back( std::make_pair(i, szRacistText[i]) ); DropDownTemplate::getInstance().SetEntries(entryvecDropDown_Racist); DropDownTemplate::getInstance().SetHelpText( szPersonalityHelpText[DROPDOWNNR_RACIST] ); @@ -222,7 +222,7 @@ void EnterIMPPrejudice( void ) ////////////////// DropDownTemplate ////////////////////////// std::vector > entryvecDropDown_Race; for(UINT8 i = 0; i < NUM_RACES; ++i) - entryvecDropDown_Race.push_back( std::make_pair(i, szRaceText[i]) ); + entryvecDropDown_Race.push_back( std::make_pair(i, szRaceText[i]) ); DropDownTemplate::getInstance().SetEntries(entryvecDropDown_Race); DropDownTemplate::getInstance().SetHelpText( szPersonalityHelpText[DROPDOWNNR_RACE] ); @@ -234,7 +234,7 @@ void EnterIMPPrejudice( void ) ////////////////// DropDownTemplate ////////////////////////// std::vector > entryvecDropDown_Sexist; for(UINT8 i = 0; i < NUM_SEXIST; ++i) - entryvecDropDown_Sexist.push_back( std::make_pair(i, szSexistText[i]) ); + entryvecDropDown_Sexist.push_back( std::make_pair(i, szSexistText[i]) ); DropDownTemplate::getInstance().SetEntries(entryvecDropDown_Sexist); DropDownTemplate::getInstance().SetHelpText( szPersonalityHelpText[DROPDOWNNR_SEXIST] ); diff --git a/Standard Gaming Platform/DEBUG.cpp b/Standard Gaming Platform/DEBUG.cpp index c7aa80dd8..9b1bb528c 100644 --- a/Standard Gaming Platform/DEBUG.cpp +++ b/Standard Gaming Platform/DEBUG.cpp @@ -419,7 +419,7 @@ void _FailMessage(const char* message, unsigned lineNum, const char * functionNa basicInformation << " in file " << sourceFileName << "]"; std::stringstream outputString; - outputString << "{ " << GetTickCount() << " } " << basicInformation; + outputString << "{ " << GetTickCount() << " } " << basicInformation.str(); //Build the output strings if( message ) diff --git a/Utils/INIReader.h b/Utils/INIReader.h index 0b586b08f..340028f31 100644 --- a/Utils/INIReader.h +++ b/Utils/INIReader.h @@ -1,6 +1,7 @@ #ifndef INIREADER_H #define INIREADER_H - +#define NOMINMAX +#include #include #include #include diff --git a/ext/VFS/include/vfs/Core/vfs_string.h b/ext/VFS/include/vfs/Core/vfs_string.h index d3319a9d7..f2d0ba234 100644 --- a/ext/VFS/include/vfs/Core/vfs_string.h +++ b/ext/VFS/include/vfs/Core/vfs_string.h @@ -28,6 +28,7 @@ #include #include #include +#include namespace vfs {