mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Disabled git version of C::B projects
This commit is contained in:
		| @@ -12,6 +12,10 @@ | ||||
|  | ||||
| #include "StdInc.h" | ||||
|  | ||||
| #ifndef VCMI_NO_EXTRA_VERSION | ||||
| #include "../Version.h" | ||||
| #endif | ||||
|  | ||||
| #include "VCMI_Lib.h" | ||||
| #include "mapObjects/CObjectClassesHandler.h" | ||||
| #include "CArtHandler.h" | ||||
| @@ -31,6 +35,15 @@ const PlayerColor PlayerColor::NEUTRAL = PlayerColor(255); | ||||
| const PlayerColor PlayerColor::PLAYER_LIMIT = PlayerColor(PLAYER_LIMIT_I); | ||||
| const TeamID TeamID::NO_TEAM = TeamID(255); | ||||
|  | ||||
| namespace GameConstants | ||||
| { | ||||
| #ifdef VCMI_NO_EXTRA_VERSION | ||||
| 	const std::string VCMI_VERSION = std::string("VCMI 0.98h"); | ||||
| #else | ||||
| 	const std::string VCMI_VERSION = std::string("VCMI 0.98h ") + GIT_SHA1; | ||||
| #endif | ||||
| } | ||||
|  | ||||
| const CArtifact * ArtifactID::toArtifact() const | ||||
| { | ||||
| 	return VLC->arth->artifacts.at(*this); | ||||
|   | ||||
| @@ -11,11 +11,10 @@ | ||||
|  */ | ||||
|  | ||||
| #include "ConstTransitivePtr.h" | ||||
| #include "Version.h" | ||||
|  | ||||
| namespace GameConstants | ||||
| { | ||||
| 	const std::string VCMI_VERSION = std::string("VCMI 0.98h ") + GIT_SHA1; | ||||
| 	DLL_LINKAGE extern const std::string VCMI_VERSION; | ||||
|  | ||||
| 	const int BFIELD_WIDTH = 17; | ||||
| 	const int BFIELD_HEIGHT = 11; | ||||
|   | ||||
| @@ -110,6 +110,7 @@ | ||||
| 			<Add option="-DBOOST_SYSTEM_NO_DEPRECATED" /> | ||||
| 			<Add option="-D_WIN32_WINNT=0x0501" /> | ||||
| 			<Add option="-D_WIN32" /> | ||||
| 			<Add option="-DVCMI_NO_EXTRA_VERSION" /> | ||||
| 			<Add directory="." /> | ||||
| 			<Add directory="$(#sdl2.include)" /> | ||||
| 			<Add directory="$(#zlib.include)" /> | ||||
| @@ -121,6 +122,7 @@ | ||||
| 			<Add directory="$(#zlib.lib)" /> | ||||
| 		</Linker> | ||||
| 		<Unit filename="../Global.h" /> | ||||
| 		<Unit filename="../Version.h" /> | ||||
| 		<Unit filename="../include/vstd/CLoggerBase.h" /> | ||||
| 		<Unit filename="AI_Base.h" /> | ||||
| 		<Unit filename="BattleAction.cpp" /> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user