1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-27 00:41:08 +02:00
Commit Graph

4220 Commits

Author SHA1 Message Date
1855af9ed3 Fixed error handling in TownPortalMechanics::applyAdventureEffects 2019-02-23 20:51:03 +03:00
9311966706 [C::B] Switch to MinGW 7.3 2019-02-19 14:59:10 +03:00
aafad18121 Style fixes 2019-02-12 19:47:19 +01:00
14e294553d Enabled GIF format for images (not GIF-animations) as requested by user. 2019-02-07 03:23:14 +03:00
b3c26615df Fixed map format regression: there is no default difficulty. 2019-01-26 17:05:35 +03:00
ae7821462d Update ISpellMechanics.cpp 2019-01-24 15:09:01 +00:00
a77cbc311e Update JsonSerializer.cpp 2019-01-24 14:49:30 +00:00
eba4f1b514 Update CBattleInfoEssentials.cpp 2019-01-24 14:48:38 +00:00
a0d1808b62 CMake transitive compile dependency
Moving to more target focusing code that provides better transitive scope
2019-01-19 17:38:54 +03:00
b00e935e4d Warnings fixes (#538)
Warnings fixes
* Suppress `missing-braces` for Clang
* Fixed many C4275 warnings
* Fixed almost all Clang/GCC warnings
* Silence most frequent MSVC warning.
* Fixed some pessimizing-move warnings
* Fixed some unused capture warnings
2019-01-19 13:52:02 +03:00
da20aa2388 Use the same cost value in Pathfinder and fuzzy evaluations. 2019-01-17 10:54:41 +03:00
4b5910c2f4 VCAI performance improvements
* Node graph initialization optimized.
* Fixed "Unathorized obstacle access".
* Pathfinding tracing disabled with ifdef.
* Misc bonus calculation optimizations.
* Removed timestamp from log lines. Date formatting eats too much CPU.
* Paths for all heroes in Client are now cached
2019-01-17 10:50:56 +03:00
8fee46de7c AI: town portal support 2019-01-17 10:40:23 +03:00
216d50788b Fix AI build, update default Windows SDK version for projects 2018-12-31 15:18:42 +01:00
035d279ae8 Refactor CGHeroInstance, make spells private 2018-12-23 15:49:26 +03:00
f4a8a1294e Optimizations based on MSVS profiler. 2018-12-16 15:46:48 +01:00
83531f4355 Rename typo in NetPacksServer.cpp 2018-11-17 21:58:54 +02:00
845f0fbf5c Merge pull request #512 from godric3/jsonSchemas
Support for using relative file path in json schema references
2018-11-02 13:07:34 +03:00
708705aa96 CGLighthouse: workaround crash on map initialization. Fix issue 3020
Dirty hack here since proper fix would require to break saves
2018-11-01 23:31:23 +03:00
0ff2e1180d Throw std::runtime_exception instead of a pointer to new one
cf. https://isocpp.org/wiki/faq/exceptions#what-to-throw
2018-10-31 07:27:54 +01:00
2a282c9a8e Merge pull request #509 from godric3/bonusDescription
Skill and hero specialty bonus description
2018-10-31 00:59:05 +03:00
8650a8eea8 allow json schema references to use relative file path 2018-10-30 22:30:56 +01:00
1586868a5d make source id optional in functions converting deprecated specialty bonuses 2018-10-30 20:58:22 +01:00
e26f6ff15f Merge pull request #505 from janisozaur/catch-by-ref
Catch exceptions by const-ref, not by value
2018-10-30 05:08:30 +03:00
f9ac46576b Add description for bonuses from hero specialty 2018-10-29 21:33:13 +01:00
c8ba3de821 Change skill bonuses description to use name instead of identifier 2018-10-29 20:53:13 +01:00
7be9aa4868 Prevent shadowing of function arguments by local vars 2018-10-29 16:56:14 +01:00
9822a8f2df Catch exceptions by const-ref, not by value 2018-10-29 16:41:54 +01:00
e814aca29f Merge pull request #500 from godric3/rmgCrash
Fix crash when generating random map with random number of players
2018-10-29 01:38:10 +03:00
f563712782 fix formatting
Co-Authored-By: godric3 <godric3@users.noreply.github.com>
2018-10-28 16:36:11 +01:00
7ded9dbda8 Fix crash when generating random map with random number of players 2018-10-27 18:18:08 +02:00
72aff02418 AI pathfinding: buy boat 2018-10-21 14:17:55 +03:00
cbaa834589 AI pathfinding: bug fix after refactoring 2018-10-10 14:51:57 +03:00
f327c46fa3 AI pathfinding: rename and add const to functions 2018-10-07 14:51:27 +03:00
49c872e4ec AI: replace SectorMap with new PathfinderManager 2018-10-06 16:35:31 +03:00
eb17313f7f AI: pathfinder extensibility - add one more rule for movement to destination and some refactoring 2018-09-23 15:26:53 +03:00
7150fc9f71 AI: pathfinder api supports configuration 2018-09-23 15:26:53 +03:00
9ab44b950a AI: pathfinder rework, rules refactored a bit. 2018-09-23 15:26:53 +03:00
24221f3fb4 AI: move teleportation handling to pathfinder helper and neighbour finder 2018-09-23 15:26:53 +03:00
6ac987794c AI: first rule extracted for pathfinder 2018-09-23 15:26:53 +03:00
9af0032f84 AI: try to add some pathfinder extensibility. Extracted neighbour nodes finder 2018-09-23 15:26:53 +03:00
cca46e311d Fixed schemas for battle animation overwritting an solo attribute instead images attribute dependant. Now working for replacing battle sprites on pre-existant heroes too (#490) 2018-09-13 02:33:34 +03:00
47ba3b2476 Hero scheme: allow each hero to have a unique battle animation (#480)
* attribute for battle image added on hero class, allowing on hero schemes each hero have a unique battle .def in 'images' structures sided with portraits and specialties images
2018-08-27 09:42:36 +03:00
1471043cae Update visual studio project files 2018-08-22 17:31:48 +03:00
96215233bc macOS: fix packet deserialization (#479) 2018-08-14 01:03:45 +03:00
7ed318d156 Stop awarding single scenario bonuses in campaigns 2018-08-05 05:42:54 +03:00
2288e9b8aa Merge branch 'develop' into AIMapObjectEvaluation 2018-07-30 01:33:49 +02:00
393b25eb7f Minor tweaks/fixes 2018-07-29 19:31:01 +02:00
b37ba8e046 Initial version of AI object value config 2018-07-28 00:43:56 +02:00
615df6203d Oprator overload correction... 2018-07-26 16:43:40 +02:00