mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Win/loss conditions based on logical expressions, yet another large
changeset: - victory/defeat will be detected using triggered events - vcmi will convert h3 conditions into set of triggered events - it is possible to either change number of days without towns or even remove this loss condition completely - possibility of custom win/loss text and icons in pregame (no longer connected to win/loss conditions) Still missing: - No interface to pass custom events/victory conditions into the game - AI would benefit from improvemets (handle all victory conditions, select best one to fulfill) - You have X days till defeat message still hardcoded to 7 days
This commit is contained in:
		| @@ -3,6 +3,8 @@ | ||||
| #include "CDefObjInfoHandler.h" | ||||
| #include "JsonNode.h" | ||||
| #include "filesystem/Filesystem.h" | ||||
| #include "filesystem/AdapterLoaders.h" | ||||
| #include "filesystem/CFilesystemLoader.h" | ||||
|  | ||||
| #include "CCreatureHandler.h" | ||||
| #include "CArtHandler.h" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user