7eed456753
Tower: use bonus system for lookout tower and grail extra sight radius
...
Skyship code in GH::newTurn can be also dropped since darkness will never cover tiles team have sight over.
2017-09-15 00:48:18 +03:00
c8d8e38a31
Sight map: add asserts to make sure we'll notice if something broke
...
If something goes wrong FoW that mean it's messed up completely so this code should not break.
2017-09-15 00:47:59 +03:00
06b50d5eb6
Sight map: add enum with readable names to FoWChange netpack
2017-09-15 00:47:16 +03:00
33f8686ca6
Sight map: new version of FoW. Using TeamState fogOfWarMap as storage
...
Before FoW code was really messy and slow in cases when tiles are hidden.
Since we didn't knew what we shouldn't hide we had to re-check every object.
Instead we'll store how many team-owned objects have sight over every tile on map.
Now we have to be more careful when GS changes, but overall FoW code become much cleaner.
2017-09-15 00:46:37 +03:00
1162923d93
update VS files
2017-09-13 02:04:37 +03:00
feba7e1979
tactics distance increased to 1 + bonus ( #375 )
2017-09-10 00:26:56 +03:00
d01ecbba90
Merge pull request #372 from vcmi/guiCleanup2
...
Gui cleanup2
2017-09-07 02:46:54 +03:00
a7104377d6
fixed CREATURE_TYPE_LIMITER for creatures without a stack instance ( #374 )
2017-09-06 15:27:26 +03:00
3bbff27127
Wiped CDefEssential
2017-09-06 15:13:28 +03:00
3a9d73da23
[c::b] Update project, fixed build
2017-09-05 14:31:34 +03:00
ca066841f1
Merge pull request #370 from vcmi/issue/2780
...
Issue/2780
2017-09-05 01:21:58 +03:00
2f7968b803
Fixed wrong animation paths
2017-09-04 18:41:22 +03:00
37df5c9d88
reworked mod loading to follow standard approach
2017-09-03 23:49:36 +12:00
cd35ece10c
fixed DLL_LINKAGE for << operators
2017-08-31 10:29:25 +12:00
03b7da93e2
use logMod for all mod-related logging
2017-08-31 09:23:19 +12:00
abdca71828
skill names and descriptions are fully managed by CSkillHandler
2017-08-30 22:35:23 +12:00
dba5186a6f
fixed skill schema definition
2017-08-30 20:01:09 +12:00
3764ec8be1
more code format issues
2017-08-30 19:47:06 +12:00
654ca96e9d
fixed code format and other minor issues
2017-08-30 19:19:54 +12:00
36d671b093
changed indentation from spaces to tabs
2017-08-30 16:23:03 +12:00
aadb5d93f7
added comment (and commented-out code) about skill legacy data
2017-08-30 16:03:24 +12:00
899e8403f7
skills.json uses base and struct for effects
2017-08-30 10:25:36 +12:00
3fe9bc34b8
CGHeroInstance::recreateSecondarySkillsBonuses() restores bonuses for all levels
2017-08-28 23:59:01 +12:00
9b3c61616f
made diplomacy join chance bonus-based
2017-08-28 23:33:19 +12:00
69a538a600
added bonus type MANUAL_CONTROL
2017-08-28 20:09:27 +12:00
5091b117e2
fixed serialization for older savegames
2017-08-28 13:56:00 +12:00
aa15feba62
moved SECONDARY_SKILL_VAL2 to end of list
2017-08-28 00:17:59 +12:00
7e5c1ec7f8
made artillery bonus-based; supports multiple bonus shots
2017-08-27 21:05:17 +12:00
8bdb8f01ca
made scholar skill bonus-based
2017-08-27 20:10:25 +12:00
0153d0fc78
made fire/air/water/earth magic skills bonus-based
2017-08-27 19:37:54 +12:00
25e6b5cc07
added bonus type SECONDARY_SKILL_VAL2; refactored CSkillHandler::defaultBonus; made eagleEye level bonus-based
2017-08-27 17:40:52 +12:00
9bbfb57b93
cleaned up secondary skill bonus merging
2017-08-27 15:35:04 +12:00
06d2507371
log file loading
2017-08-27 12:59:09 +12:00
fc77c40a82
made ballistics bonus-based
2017-08-26 21:16:05 +12:00
19e619f61e
wisdom is now bonus-based
2017-08-26 20:49:29 +12:00
1fa6cbe514
scouting uses SIGHT_RADIUS bonus
2017-08-26 18:01:39 +12:00
e8c32e05d8
turned pathfinding effect into a bonus
2017-08-26 14:59:24 +12:00
c9ef773da0
fixed logging after rebase
2017-08-26 14:06:47 +12:00
91fac7755a
made tactics skill configurable
2017-08-26 10:08:06 +12:00
3cc84e5975
moved contains functions for multimap to Globals.h
2017-08-26 10:08:06 +12:00
c0740e3623
fixed crash when loading neutral faction; skills.json no longer requires index values
2017-08-26 10:08:06 +12:00
0357a4fe3b
enabled config of skill descriptions
2017-08-26 10:08:06 +12:00
8c7895239e
always load objects with index at specified position
2017-08-26 10:08:06 +12:00
64e2db6a0f
added sufficient debug to diagnose - problem is with lack of original data
2017-08-26 10:08:06 +12:00
d8648288f0
added debug info to skill loading
2017-08-26 10:08:06 +12:00
993b7bf614
skills are initialized properly (and file loading isn't actually working yet)
2017-08-26 10:08:06 +12:00
05cf95400c
loading secondary skill bonuses from config/skills.json works (kind of)
2017-08-26 09:33:08 +12:00
9811fbe02c
updateSkill attempts to update existing bonus instead of adding new
2017-08-26 09:33:08 +12:00
a6c3352d7c
moved secondary skill default bonus initialization into CSkillHandler
2017-08-26 09:33:08 +12:00
159e27a0ab
changed CBonusSystemNode* to BonusList in CSkill
2017-08-26 09:33:08 +12:00