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
fbab52eb18
added basic handler for loading secondary skill bonuses
2017-08-26 09:33:08 +12:00
8180e4d5c5
VCMIDirs: improvements for development on Mac and Linux
...
Also added /usr/share/games in VCMIDirsXDG::dataPaths for mantis#2189.
2017-08-25 08:43:27 +03:00
1df939bf70
Working FIRST_STRIKE ability
2017-08-19 20:39:24 +02:00
5ba8d64b63
Working WIDE_BREATH ability
2017-08-19 19:16:44 +02:00
8cae811d11
Merge branch 'kuririn' into NewAbilities
2017-08-19 18:40:06 +02:00
ea17b0f458
Major overhaul of VS related files
2017-08-19 15:58:55 +02:00
e3ba491fa1
Use multi-core compile by default, fix VCMI_client path
2017-08-19 13:27:24 +02:00
f331386b6f
Dimension door movement points fix
...
When hero with one move point make dimension doors then he can have on
graphics full move points. Caused by substraction that make unsigned
variable < 0.
2017-08-18 21:35:48 +02:00
2b3a467728
CMake: structure changes and other small improvements
...
- Now cmake_minimum_required used properly and set to 2.8.12
- cmake_modules/CMakeCPackOptions.cmake.in is removed
2017-08-16 16:10:08 +03:00
fee999300e
VCMIDirs: add hack to run from single directory on Mac and Linux
...
Also change working directory to where binary is on all platforms except Android
2017-08-16 16:10:08 +03:00
40af43c46e
CMake: massive rework for Mac build and other improvements
...
- macOS: RPATH-related code all removed or disabled
- macOS: new osx/CMakeLists.txt to run some install-code running after all subdirectories
- Assets copying into the runtime output directory implemented for Mac and Linux development
2017-08-16 16:10:07 +03:00
56f89270db
macOS: full rework of Mac packaging process
...
- Most of outdated CMakeLists code removed.
- All Mac-specific code is removed include Sparkle support and vcmibuilder app.
- DMG buidling reimplemented using macdeployqt command.
2017-08-16 16:10:07 +03:00
193f492b99
CMake: cleanup, project generation and other improvements
...
- Use EXCLUDE_FROM_ALL for FuzzyLite and GoogleTest to avoid inclusion of unneded headers and libraries into installers.
- Set minimum CMake version only in main CMakeLists.txt
- Set project name only in main CMakeLists.txt
- Visual Studio: add assign_source_group function to generate proper filesystem tree
- Visual Studio: set PROJECT_LABEL so generated projects have same names binaries on Windows
- Visual Studio: enabled USE_FOLDERS for projects grouping. This also possibly affect other IDEs.
- Added add_subdirectory_with_folder function to make sure 3rd-party libraries are affected by USE_FOLDERS.
2017-08-16 16:10:07 +03:00
0868164147
(int) -> static_cast<int>
2017-08-12 15:43:41 +03:00