mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Added draft of new file structure
This commit is contained in:
		| @@ -56,6 +56,10 @@ set(lib_SRCS | ||||
|  | ||||
| 		spells/CSpellHandler.cpp | ||||
| 		spells/ISpellMechanics.cpp | ||||
|                 spells/AdventureSpellMechanics.cpp | ||||
|                 spells/BattleSpellMechanics.cpp | ||||
|                 spells/CreatureSpellMechanics.cpp | ||||
|                 spells/CDefaultSpellMechanics.cpp | ||||
|  | ||||
| 		BattleAction.cpp | ||||
| 		BattleHex.cpp | ||||
|   | ||||
| @@ -189,6 +189,10 @@ | ||||
|     <ClCompile Include="CRandomGenerator.cpp" /> | ||||
|     <ClCompile Include="spells\CSpellHandler.cpp" /> | ||||
|     <ClCompile Include="spells\ISpellMechanics.cpp" /> | ||||
|     <ClCompile Include="spells\AdventureSpellMechanics.cpp" /> | ||||
|     <ClCompile Include="spells\BattleSpellMechanics.cpp" /> | ||||
|     <ClCompile Include="spells\CreatureSpellMechanics.cpp" /> | ||||
|     <ClCompile Include="spells\CDefaultSpellMechanics.cpp" /> | ||||
|     <ClCompile Include="filesystem\AdapterLoaders.cpp" /> | ||||
|     <ClCompile Include="filesystem\CArchiveLoader.cpp" /> | ||||
|     <ClCompile Include="filesystem\CBinaryReader.cpp" /> | ||||
|   | ||||
							
								
								
									
										13
									
								
								lib/spells/AdventureSpellMechanics.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								lib/spells/AdventureSpellMechanics.cpp
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| /* | ||||
|  * AdventureSpellMechanics.cpp, part of VCMI engine | ||||
|  * | ||||
|  * Authors: listed in file AUTHORS in main folder | ||||
|  * | ||||
|  * License: GNU General Public License v2.0 or later | ||||
|  * Full text of license available in license.txt file, in main folder | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #include "StdInc.h" | ||||
|  | ||||
| #include "AdventureSpellMechanics.h" | ||||
							
								
								
									
										13
									
								
								lib/spells/AdventureSpellMechanics.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								lib/spells/AdventureSpellMechanics.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| /* | ||||
|  * AdventureSpellMechanics.h, part of VCMI engine | ||||
|  * | ||||
|  * Authors: listed in file AUTHORS in main folder | ||||
|  * | ||||
|  * License: GNU General Public License v2.0 or later | ||||
|  * Full text of license available in license.txt file, in main folder | ||||
|  * | ||||
|  */ | ||||
|   | ||||
|  #pragma once | ||||
|   | ||||
|  #include "CDefaultSpellMechanics.h" | ||||
							
								
								
									
										13
									
								
								lib/spells/BattleSpellMechanics.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								lib/spells/BattleSpellMechanics.cpp
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| /* | ||||
|  * BattleSpellMechanics.cpp, part of VCMI engine | ||||
|  * | ||||
|  * Authors: listed in file AUTHORS in main folder | ||||
|  * | ||||
|  * License: GNU General Public License v2.0 or later | ||||
|  * Full text of license available in license.txt file, in main folder | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #include "StdInc.h" | ||||
|  | ||||
| #include "BattleSpellMechanics.h" | ||||
							
								
								
									
										13
									
								
								lib/spells/BattleSpellMechanics.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								lib/spells/BattleSpellMechanics.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| /* | ||||
|  * BattleSpellMechanics.h, part of VCMI engine | ||||
|  * | ||||
|  * Authors: listed in file AUTHORS in main folder | ||||
|  * | ||||
|  * License: GNU General Public License v2.0 or later | ||||
|  * Full text of license available in license.txt file, in main folder | ||||
|  * | ||||
|  */ | ||||
|   | ||||
|  #pragma once | ||||
|   | ||||
|  #include "CDefaultSpellMechanics.h" | ||||
							
								
								
									
										13
									
								
								lib/spells/CDefaultSpellMechanics.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								lib/spells/CDefaultSpellMechanics.cpp
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| /* | ||||
|  * CDefaultSpellMechanics.cpp, part of VCMI engine | ||||
|  * | ||||
|  * Authors: listed in file AUTHORS in main folder | ||||
|  * | ||||
|  * License: GNU General Public License v2.0 or later | ||||
|  * Full text of license available in license.txt file, in main folder | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #include "StdInc.h" | ||||
|  | ||||
| #include "CDefaultSpellMechanics.h" | ||||
							
								
								
									
										13
									
								
								lib/spells/CDefaultSpellMechanics.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								lib/spells/CDefaultSpellMechanics.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| /* | ||||
|  * CDefaultSpellMechanics.h, part of VCMI engine | ||||
|  * | ||||
|  * Authors: listed in file AUTHORS in main folder | ||||
|  * | ||||
|  * License: GNU General Public License v2.0 or later | ||||
|  * Full text of license available in license.txt file, in main folder | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #pragma once | ||||
|  | ||||
| #include "ISpellMechanics.h" | ||||
							
								
								
									
										13
									
								
								lib/spells/CreatureSpellMechanics.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								lib/spells/CreatureSpellMechanics.cpp
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| /* | ||||
|  * CreatureSpellMechanics.cpp, part of VCMI engine | ||||
|  * | ||||
|  * Authors: listed in file AUTHORS in main folder | ||||
|  * | ||||
|  * License: GNU General Public License v2.0 or later | ||||
|  * Full text of license available in license.txt file, in main folder | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #include "StdInc.h" | ||||
|  | ||||
| #include "CreatureSpellMechanics.h" | ||||
							
								
								
									
										13
									
								
								lib/spells/CreatureSpellMechanics.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								lib/spells/CreatureSpellMechanics.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| /* | ||||
|  * CreatureSpellMechanics.h, part of VCMI engine | ||||
|  * | ||||
|  * Authors: listed in file AUTHORS in main folder | ||||
|  * | ||||
|  * License: GNU General Public License v2.0 or later | ||||
|  * Full text of license available in license.txt file, in main folder | ||||
|  * | ||||
|  */ | ||||
|   | ||||
|  #pragma once | ||||
|   | ||||
|  #include "CDefaultSpellMechanics.h" | ||||
		Reference in New Issue
	
	Block a user