diff --git a/src/app/app.cpp b/src/app/app.cpp
index 2d253aa3..51bdea01 100644
--- a/src/app/app.cpp
+++ b/src/app/app.cpp
@@ -593,7 +593,7 @@ bool CApplication::Create()
h = atoi(hs.c_str());
}
- // Why not just set m_deviceConfig.size to w,h? Because this way if the resolution is no longer supported (e.g. changimg monitor) defaults will be used instead
+ // Why not just set m_deviceConfig.size to w,h? Because this way if the resolution is no longer supported (e.g. changing monitor) defaults will be used instead
for (auto it = modes.begin(); it != modes.end(); ++it)
{
if (it->x == w && it->y == h)
@@ -1866,7 +1866,7 @@ void CApplication::SetLanguage(Language language)
}
else
{
- GetLogger()->Warn("Enviromnent locale ('%s') is not supported, setting default language\n", envLang);
+ GetLogger()->Warn("Environment locale ('%s') is not supported, setting default language\n", envLang);
m_language = LANGUAGE_ENGLISH;
}
}
@@ -1935,7 +1935,7 @@ void CApplication::SetLanguage(Language language)
}
catch (...)
{
- GetLogger()->Warn("Failed to update locale, possibly incorect system configuration. Will fallback to classic locale.\n");
+ GetLogger()->Warn("Failed to update locale, possibly incorrect system configuration. Will fallback to classic locale.\n");
try
{
std::locale::global(std::locale::classic());
diff --git a/src/app/app.h b/src/app/app.h
index 45e41464..234a13f7 100644
--- a/src/app/app.h
+++ b/src/app/app.h
@@ -218,7 +218,7 @@ public:
//! Returns the relative time since last update [seconds]
float GetRelTime() const;
- //! Returns the exact realative time since last update [nanoseconds]
+ //! Returns the exact relative time since last update [nanoseconds]
long long GetExactRelTime() const;
//! Returns the exact relative time since last update disregarding speed setting [nanoseconds]
@@ -411,7 +411,7 @@ protected:
//! Application language
Language m_language;
- //! Screen resoultion overriden by commandline
+ //! Screen resolution overriden by commandline
bool m_resolutionOverride;
//! Headles mode
diff --git a/src/app/main.cpp b/src/app/main.cpp
index b20a6b2f..528c7f74 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -60,14 +60,14 @@ object-oriented language, CBOT, which can be used to program the robots availabl
The original version of the game was developed by [Epsitec](http://www.epsitec.ch/) and released in 2001.
Later, in 2005 another version named Ceebot was released. In March 2012, through attempts
-by Polish Colobot fans, Epsitec agreeed to release the source code of the game on GPLv3 license.
+by Polish Colobot fans, Epsitec agreed to release the source code of the game on GPLv3 license.
The license was given specifically to our community, TerranovaTeam,
part of International Colobot Community (ICC) (previously known as Polish Portal of Colobot (PPC);
Polish: Polski Portal Colobota) with our website at http://colobot.info/.
\section Intro Introduction
-The source code released by Epitec was sparsely documented. This documentation, written from scratch,
+The source code released by Epsitec was sparsely documented. This documentation, written from scratch,
will aim to describe the various components of the code.
Currently, the only documented classes are the ones written from scratch or the old ones rewritten
@@ -92,7 +92,7 @@ The current layout is the following:
- src/graphics/opengl - concrete implementation of CDevice class in OpenGL: CGLDevice
- src/graphics/d3d - in (far) future - perhaps a newer implementation in DirectX (9? 10?)
- src/math - mathematical structures and functions
- - src/object - non-grphical game object logic, that is robots, buildings, etc.
+ - src/object - non-graphical game object logic, that is robots, buildings, etc.
- src/level - main part of non-graphical game engine, that is loading levels etc.
- src/level/parser - parser for loading/saving level files from format known as scene files
- src/ui - 2D user interface (menu, buttons, check boxes, etc.)