summaryrefslogtreecommitdiffstats
path: root/src/object/brain.cpp
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-10-17 21:55:45 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-10-17 21:55:45 +0200
commitf6e27099b294d55c15a6b5dad13cda7730a17a71 (patch)
tree2ce292b3fc476767bc4cd0040cea0fb83242146e /src/object/brain.cpp
parent9738631e5e49f6b8edc32b9128e0c5d52f7df44f (diff)
downloadcolobot-f6e27099b294d55c15a6b5dad13cda7730a17a71.tar.gz
colobot-f6e27099b294d55c15a6b5dad13cda7730a17a71.tar.bz2
colobot-f6e27099b294d55c15a6b5dad13cda7730a17a71.zip
Doxygen/comment fixes and some #include refactoring
Diffstat (limited to 'src/object/brain.cpp')
-rw-r--r--src/object/brain.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/object/brain.cpp b/src/object/brain.cpp
index 5403903..4ce1bf8 100644
--- a/src/object/brain.cpp
+++ b/src/object/brain.cpp
@@ -19,14 +19,20 @@
#include "common/misc.h"
#include "common/iman.h"
+
#include "graphics/core/color.h"
#include "graphics/engine/terrain.h"
+
#include "object/motion/motion.h"
#include "object/task/taskmanager.h"
+
#include "physics/physics.h"
+
#include "script/cmdtoken.h"
#include "script/script.h"
+
#include "sound/sound.h"
+
#include "ui/displaytext.h"
#include "ui/interface.h"
#include "ui/slider.h"
@@ -803,7 +809,7 @@ void CBrain::StopTask()
// Introduces a virus into a program.
-// Geturns true if it was inserted.
+// Returns true if it was inserted.
bool CBrain::IntroduceVirus()
{
@@ -2450,7 +2456,7 @@ void CBrain::UpdateScript(Ui::CWindow *pw)
pl->ShowSelect(true);
}
-// Geturns the rank of selected script.
+// Returns the rank of selected script.
int CBrain::GetSelScript()
{
@@ -2590,7 +2596,7 @@ void CBrain::RunProgram(int rank)
}
}
-// Geturns the first free program.
+// Returns the first free program.
int CBrain::FreeProgram()
{
@@ -2604,7 +2610,7 @@ int CBrain::FreeProgram()
}
-// Geturns the current program.
+// Returns the current program.
int CBrain::GetProgram()
{