d9556332e1
Hopefully fixed zone guards misplaced due to paths connecting at acute angles.
2016-07-24 18:15:23 +02:00
40f28778c2
Minor optimization, saves few seconds.
2016-07-14 14:24:11 +02:00
7d7b51d0db
Generated zones can now have different sizes depending on template.
2016-07-13 10:35:31 +02:00
1d8fb01f46
More even distribution of surface / underground zones + refactoring.
2016-07-13 07:54:52 +02:00
ac68dca328
Fixed zone placer so it now correctly evaluates found solution.
2016-07-12 21:23:45 +02:00
aecf834cc1
Fixed placing of close objects #2447 . Some additional refactoring.
2016-07-12 11:42:03 +02:00
e1e520f0a2
Removed "growing" zones which don't fit the rest of algorithm. Zones are now better connected on complex maps.
2016-07-11 15:44:24 +02:00
c3cbe89e2a
Last improvement: attract zones and push them bakc in separate steps.
2016-07-10 18:16:32 +02:00
87ef3701aa
Probably better fitness function.
2016-07-10 16:37:54 +02:00
8ceceb897e
Fixed zones falling into negative cordinates. Should fix "assert(size)" crashes.
2016-07-10 14:32:45 +02:00
fb3adf762a
Improved zone placer - zones on different levels are allowed to overlap completely.
2016-07-10 13:32:33 +02:00
27974786e3
Merge branch 'develop' of https://github.com/vcmi/vcmi into develop
2016-07-10 12:35:19 +02:00
f139b70279
Changed Subterranean Gate placement algorithm - now they are meant to be equidistant from both zone centers.
2016-07-10 12:29:48 +02:00
a66893af28
Fixed bug with Subterranean Gates:
...
Failed to connect (-1,-1,-1) with center of teh zone.
2016-07-10 10:11:29 +02:00
21fff9d827
Fixed old regression from 0cf969d5
2016-06-12 07:21:57 +03:00
cfacd1adc3
Random template format change:
...
Tempaltes now can have optional "name" parameter for different names than identifier.
2016-06-06 11:30:51 +02:00
201ed26795
Fixed #1213
2016-06-06 09:30:45 +02:00
4101cabc22
Hidden unnecessary log.
2016-06-05 10:25:52 +02:00
053b342721
Minor optimization for object selection.
2016-06-05 10:18:10 +02:00
259056339f
Merge pull request #201 from gakowalski/patch-1
...
Updated apt-get parameter list
2016-04-27 16:35:17 +03:00
4232b37784
Updated apt-get parameter list
...
Added "libboost-test-dev" to sudo apt-get install for Debian-based systems.
2016-04-27 14:32:43 +02:00
027d8765d5
Fixed 2437
2016-04-07 11:11:46 +03:00
2e70d29479
CGameHandler::applyBattleEffects: improve Fire Shield support
...
Now damage is limited to total health of defending stack and clone have no file shield damage. In same time damage calculation is likely remain incorrect.
2016-03-14 15:28:17 +03:00
4240ecad01
One more small fix for possible issues with gate surface
2016-03-14 13:11:04 +03:00
af05b025e7
CBattleInterface: avoid crashes on gate state changes. Fix issue 2415
2016-03-14 10:37:43 +03:00
605962019b
CGameHandler::giveSpells: improve Conflux grail building support
...
Aurora Borealis give hero spells of all levels even if only first level of mages guild is built. Widsom requirement is still remain in place of course.
2016-03-13 13:26:00 +03:00
bee0c6d705
CGameHandler::buildStructure: give spells after gs apply. Fix issue 2425
...
Hero will also immidiately get new spells when Library built in Tower or Grail in Conflux.
2016-03-13 11:31:09 +03:00
113bd1b9ea
CCallback::recruitCreatures: add refugee camp exception. Fix issue 2426
2016-03-13 09:02:08 +03:00
10dbbead2d
Fix indentation of logging code and around it
...
That wouldn't be as big issue if problem affected few files, but it everywhere in codebase.
Fixed it everywhere since in most files that is the only code with wrong indentation.
2016-03-12 04:46:21 +03:00
faae305ec0
CTradeWindow: avoid crash when right click on artifact
...
Fix suggested by @argarak in PR #199
2016-03-12 03:19:38 +03:00
fe4d871fe7
Version bump.
2016-03-01 19:42:40 +01:00
7886e8986e
Merge pull request #197 from vcmi/issue/2304_2418
...
Issues/2304/2418/2293
2016-03-01 15:20:59 +03:00
3873e5047e
Attempt to fix 2293
2016-03-01 13:24:46 +03:00
e3e27b9bfe
Move ghost creation to inner battle loop
2016-03-01 11:07:45 +03:00
8f1fba9551
Merge pull request #146 from vcmi/feature/VCMIMapFormat1
...
Ok let's try it.
2016-03-01 07:49:54 +01:00
42af83f0dd
Added todo note about ghost stack fadeout
2016-03-01 05:39:04 +03:00
4bf9036c7b
Ensure that ghost stacks are created only by BattleStacksRemoved packet.
...
This will allow client to receive notification.
2016-03-01 05:24:35 +03:00
5c716f6581
Fix hackfix for ghost stack drawing
2016-03-01 04:41:51 +03:00
277211e569
Fix summoning block by clones.
2016-03-01 04:16:51 +03:00
2c48c95c8d
Fix casualties calculation for commander
2016-03-01 04:06:32 +03:00
94770e7598
Cleanup
2016-03-01 03:09:50 +03:00
772bc9e6c1
Updated MSVS project files.
2016-02-29 16:32:29 +01:00
ace52cfdb1
Hackfix for ghost stack draw.
2016-02-29 05:09:13 +03:00
f890037008
Fixes
2016-02-29 04:42:15 +03:00
97504364e4
Rtmoved unused method BattleInfo::getStackT
2016-02-28 19:00:37 +03:00
5df8d1cbd0
Update low level battle stacks accessor for ghost selection support.
2016-02-28 05:10:20 +03:00
47b619a543
Centralize GHOST state handling
2016-02-28 01:35:23 +03:00
9036d39241
Do not remove battle stacks, make them ghosts instead.
...
* exclude ghost stacks from (hopefully all) get* results for now
2016-02-28 01:08:56 +03:00
5d5ad99436
Rename DEAD_CLONE -> GHOST, as this will be possible for any stack
2016-02-28 00:13:34 +03:00
d2a5e64542
Remove clone of killed or removed creature. Treat summoned creature as clone when killed.
2016-02-27 18:39:37 +03:00