summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorXienDev <XienDev@gmail.com>2013-04-27 18:11:26 +0300
committerXienDev <XienDev@gmail.com>2013-04-27 18:11:26 +0300
commit41fb814e99adb1bbb6b62aeb821574713c8c799b (patch)
tree05527ae7d5bf60b799cf23d3f34b42d427698a3b /src/common
parent22c3f44c61c9fbb826c5c0e18baba4e6952364af (diff)
downloadcolobot-41fb814e99adb1bbb6b62aeb821574713c8c799b.tar.gz
colobot-41fb814e99adb1bbb6b62aeb821574713c8c799b.tar.bz2
colobot-41fb814e99adb1bbb6b62aeb821574713c8c799b.zip
Added build
Third patch
Diffstat (limited to 'src/common')
-rw-r--r--src/common/global.h2
-rw-r--r--src/common/restext.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/common/global.h b/src/common/global.h
index 7a5fdfd..db601df 100644
--- a/src/common/global.h
+++ b/src/common/global.h
@@ -55,6 +55,8 @@ enum Error
ERR_BUILD_BASE = 129, //! < too close to the rocket
ERR_BUILD_NARROW = 130, //! < buildings too close
ERR_BUILD_MOTOR = 131, //! < built: not possible in movement
+ ERR_BUILD_DISABLED = 132, //! < built: can not produce this object in this mission
+ ERR_BUILD_RESEARCH = 133, //! < built: can not produce not researched object
ERR_SEARCH_FLY = 140, //! < not possible in flight
ERR_SEARCH_VEH = 141, //! < inappropriate vehicle
ERR_SEARCH_MOTOR = 142, //! < impossible in movement
diff --git a/src/common/restext.cpp b/src/common/restext.cpp
index 729a883..9af73e4 100644
--- a/src/common/restext.cpp
+++ b/src/common/restext.cpp
@@ -563,6 +563,8 @@ void InitializeRestext()
stringsErr[ERR_BUILD_NARROW] = "Too close to a building";
stringsErr[ERR_BUILD_MOTOR] = "Impossible when moving";
stringsErr[ERR_SEARCH_FLY] = "Impossible when flying";
+ stringsErr[ERR_BUILD_DISABLED] = "Can not produce this object in this mission";
+ stringsErr[ERR_BUILD_RESEARCH] = "Can not produce not researched object";
stringsErr[ERR_SEARCH_VEH] = "Inappropriate bot";
stringsErr[ERR_SEARCH_MOTOR] = "Impossible when moving";
stringsErr[ERR_TERRA_VEH] = "Inappropriate bot";