From 41fb814e99adb1bbb6b62aeb821574713c8c799b Mon Sep 17 00:00:00 2001 From: XienDev Date: Sat, 27 Apr 2013 18:11:26 +0300 Subject: Added build Third patch --- src/common/global.h | 2 ++ src/common/restext.cpp | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/common') 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"; -- cgit v1.2.3-1-g7c22