AlexVinS
e8a7078bb1
Quick fix for #389 .
...
* modded music support should be redone separately
2017-11-16 17:47:52 +03:00
AlexVinS
805b5215de
Client threading tweak
2017-11-16 14:15:43 +03:00
AlexVinS
d7366f04a9
[Map format, PreGame] allow selection of any allowed faction
2017-11-16 02:06:07 +03:00
AlexVinS
b8d0dfac5f
[Map format] fixed player options "canPlay" field
2017-11-16 00:03:27 +03:00
godric3
5a01aba9c8
fix for banks(crypt, ships) not giving morale penalty ( #384 )
...
* fix for banks(crypt, ships) not giving morale penalty
also texts should be closer to original now
2017-11-15 23:16:44 +03:00
AlexVinS
9cf3f4fe93
Merge remote-tracking branch 'remotes/godric3/customBattleMusic' into develop
2017-11-15 22:39:14 +03:00
AlexVinS
39194a0629
Merge branch 'SplittingShortcuts' into develop
2017-11-15 22:31:55 +03:00
AlexVinS
42a2aa2020
[C::B] project update
2017-11-15 22:31:30 +03:00
FeniksFire
3c3aaa7bb5
Improvement quick recruitment window
...
-Position is now relative to castle interface
-The highest level of creature is now presented.
-Improve positioning of creature card, now it's look like in hd mod.
2017-11-15 19:44:54 +01:00
AlexVinS
d93ef36750
Fixed https://bugs.vcmi.eu/view.php?id=2818
2017-11-15 15:54:54 +03:00
FeniksFire
f2b7c85811
Adding object construction macro with parameter
...
- Adding macro "OBJECT_CONSTRUCTION_CAPTURING" that take as parameter
action flag.
- Fixed minor errors
2017-11-14 08:52:33 +01:00
Dydzio
c6731f3b90
Fix code formatting
2017-11-13 14:18:38 +01:00
Dydzio
da6d01b0c7
Ability rename + bugfix + changelog extend
2017-11-13 01:59:41 +01:00
FeniksFire
a4f701014b
Quick Army Purhase in Town Screen
...
Mouse click on castle icon (it is now clickable) - quick recruit of all
available creatures.
2017-11-12 17:37:08 +01:00
godric3
76eed8682c
Allow mods to add music played during battles and ai turn
2017-11-11 21:16:11 +01:00
DJWarmonger
bf20b165ec
Fix. Don't skip usual condition.
2017-11-04 22:50:11 +01:00
DJWarmonger
3eb5de9534
Fixed AI trying to visit tavern over and over.
...
TODO: AI still can't use it, anyway.
2017-11-04 22:45:19 +01:00
DJWarmonger
edc4c01805
Fixed a case when AI could spend all money on army and not build anything in secondary towns.
2017-11-04 22:14:56 +01:00
AlexVinS
654fea56a4
Fixed memory leak in CAnimation (regression of #376 )
2017-11-04 06:03:43 +03:00
DJWarmonger
8f42cdea67
Refactoring: use private pointer to CMapGenerator
2017-11-03 21:03:51 +01:00
AlexVinS
97d73f47b0
Fixed https://bugs.vcmi.eu/view.php?id=2817
2017-11-03 18:39:43 +03:00
AlexVinS
8b5cbf6ba7
fix
2017-11-01 07:42:58 +03:00
Arseniy Shestakov
75c3e30404
CMake: further improvements for generated VS solutions
...
* Set vcmiclient as VS_STARTUP_PROJECT so it's will be default debug target instead of ALL_BUILD.
* Add AIs and server as dependencies for client so VS will suggest to rebuild them before debugging.
2017-10-31 09:30:58 +03:00
Arseniy Shestakov
719587b091
Travis CI: avoid probolems with brew for with macOS builds
...
Also remove Sparkle since it's no longer used
2017-10-29 23:02:37 +03:00
Alexander Shishkin
fd4ecbd40b
Merge pull request #385 from Chocimier/altar
...
Fixed "Altar of Sacrifice only sacrifices creatures one kind at a time"
* https://bugs.vcmi.eu/view.php?id=2607
2017-10-28 14:04:34 +03:00
Piotr Wójcik
7171fa7ad4
Formatting
2017-10-28 11:04:55 +02:00
AlexVinS
c39cd5f951
Town building build mode fixes
...
* CGameHandler::buildStructure was using wrong requirements for buildings in auto mode.
* Build mode loading was wrong in case of omitted value
* Show town hall slot for not built building only if it have normal build mode
2017-10-28 03:27:39 +03:00
AlexVinS
8027650f4a
Hide Dungeon horde1Upgr in town hall
2017-10-28 00:22:14 +03:00
AlexVinS
4b24bea196
Fixed Dungeon horde1 was always shown upgraded
2017-10-27 13:30:23 +03:00
Alexander Shishkin
52e837bde3
Merge pull request #386 from FeniksFire/SplittingShortcuts
...
Add keyboard shortcuts for splitting army from HD mod.
2017-10-27 07:08:27 +03:00
FeniksFire
86021f0bda
Add keyboard shortcuts for quick army management from HD mod.
...
Just want add fast some really nice shortcuts from HD mod.
1) [LShift] + LClick – splits a half units from the selected stack into
an empty slot. WARNING: The second behaviour ("smart split, ignores
single creatures") of this HD mod option is not done.
2) [LCtrl] + LClick – splits a single unit from the selected stack into
an empty slot.
3) [LCtrl] + [LShift] + LClick – split single units from the selected
stack into all empty hero/garrison slots
2017-10-27 05:21:33 +02:00
Piotr Wójcik
58b427345f
Constify
2017-10-18 21:39:04 +02:00
Piotr Wójcik
78e5d39ea0
Change variables type
2017-10-18 21:02:23 +02:00
Piotr Wójcik
802680f925
Fix compilation
2017-10-17 09:55:11 +02:00
Piotr Wójcik
f9ed952869
Properly calculate experience on altar
2017-10-14 22:10:59 +02:00
Piotr Wójcik
f145b4be91
Correctly sacrifice many stacks or many atrifacts, fixes #2607
2017-10-14 21:30:56 +02:00
ArseniyShestakov
4149662845
Merge pull request #376 from vcmi/newAnimations
...
New animations
2017-10-11 16:18:06 +03:00
AlexVinS
fc1938c341
fix
2017-10-08 11:03:12 +03:00
Hao Hu
9cc2464cf6
Fixing bugs for external dwelling bonus of Golem Factory ( #382 )
...
* Fixing bugs for external dwelling bonus of Golem Factory.
[Problem]
The occupied Golem Factory on adventure map doesn't give
the player corresponding weekly growth bonus.
[Solution]
1. Add the dwelling (of multiple generators) to a player's dewelling set.
2. Created helper function to calculate external dwelling bonus
points.
[Test]
Manual testing on the map, works fine.
https://bugs.vcmi.eu/view.php?id=2789
2017-10-07 17:42:33 +03:00
ArseniyShestakov
185631e94a
Merge pull request #383 from godric3/text_fixes
...
Text fixes
2017-10-06 17:20:55 +03:00
godric3
f03a0b1151
fix #2731 , now no morale, and no luck texts show properly
2017-10-05 17:13:49 +02:00
godric3
e3f0126e41
Removed unnecessary code, fix #2737
...
bonus value is added to desciption inside Bonus
2017-10-05 16:50:39 +02:00
godric3
2a22d9ec12
Add terrain overlays morale and luck bonuses description, fix #2740
2017-10-05 14:53:39 +02:00
godric3
7d8adcc083
Add missing artifact name in wagon text, fix #2763
2017-10-05 14:52:51 +02:00
AlexVinS
891eb5771a
Use hero battle victory and failure animations
2017-09-27 17:35:30 +03:00
Arseniy Shestakov
ec2bef40fb
CServerHandler: avoid crash without interprocess memory
...
Even if shared memory wasn't disabled we shouldn't crash without it.
It's important because Snap packages don't have access to /dev/shm.
2017-09-18 10:46:58 +03:00
Fay
1ee4e232fa
Removed unnecessary full screen redraws in swipe mode; ( #381 )
2017-09-18 08:27:03 +03:00
Arseniy Shestakov
ae13123129
CPlayerInterface: don't stop hero movement on embark / disembark
...
When hero have free boarding bonus there no reason to stop movement.
2017-09-16 10:42:27 +03:00
Dydzio
1162923d93
update VS files
2017-09-13 02:04:37 +03:00
AlexVinS
270e1b75ce
Support for creature 2-hex attack, alternate death and cast animation types
...
* margin option .json animation
* Use ranged attack animation for spell cast if there is no cast animation, display cast animation only on active casting.
2017-09-12 19:51:54 +03:00