Konstantin P
|
384ee99834
|
vcmi: configurable teleport v2
1. Redesign wall and teleport penalty using shortest path
This will avoid OH3 exploits with teleport inside walls
2. Teleport is now configurable
|
2023-04-13 11:24:19 +03:00 |
|
Konstantin
|
bc1aad3b26
|
vcmi: remove deprecated CStack::getCreature()
Function battle::Unit::unitType() does the same.
|
2023-04-13 11:24:19 +03:00 |
|
Konstantin
|
8397bd91fb
|
BattleActionsController: do not pass unused caster
This is unused, so, remove this parameter to prepare for teleport action
|
2023-04-13 11:24:19 +03:00 |
|
Nordsoft91
|
3951bbb395
|
Merge pull request #1108 from Nordsoft91/battle-dialog
[HDMod features] Quick combat
|
2023-04-11 21:18:04 +04:00 |
|
Ivan Savenko
|
dfa2e2a349
|
Merge beta into develop
|
2023-04-11 19:37:35 +03:00 |
|
nordsoft
|
bfc75ccd39
|
Merge remote-tracking branch 'upstream/develop' into battle-dialog
|
2023-04-11 02:22:42 +04:00 |
|
Ivan Savenko
|
02c9a3f3d8
|
Correctly reset UI on aborting Clone/Sacrifice
|
2023-04-10 14:33:24 +03:00 |
|
krs
|
7eda4b6c1e
|
replaced SDLK_LSHIFT check with GH.isKeyboardShiftDown()
|
2023-04-08 20:42:37 +03:00 |
|
krs
|
3194999809
|
Add SHIFT + hover shortcut to show movement highlight while pressed.
|
2023-04-08 20:42:37 +03:00 |
|
krs
|
aba5840a6f
|
Removed Max Movement Highlight stubs
|
2023-04-08 20:40:30 +03:00 |
|
krs
|
1644cab938
|
Added combat option Highlight Movement on Hover
|
2023-04-08 20:40:30 +03:00 |
|
krs
|
9012a25276
|
Stub For Max Movement Range highlight
When a creature is hovered., besides movement, for max possible movement, a hex in center of map is now highlighted.
|
2023-04-08 20:39:59 +03:00 |
|
krs
|
51ad49532b
|
Fix for wrong merge :(
|
2023-04-08 20:39:59 +03:00 |
|
krs
|
dab07bdef9
|
Now unit range is shown in Tactics phase as well
A new parameter: isActiveStack was needed in battleGetAvailableHexes, so that we show the propper Tactics range.
|
2023-04-08 20:39:59 +03:00 |
|
krs
|
e1c388465a
|
HD mod highlighting of movement for hovered stack.
Does not work as intended in tactics mode.
|
2023-04-08 20:39:59 +03:00 |
|
Ivan Savenko
|
e35a1ba471
|
Merge pull request #1876 from rilian-la-te/refactoring-v1
VCMI Refactoring
|
2023-04-08 11:14:05 +03:00 |
|
nordsoft
|
52b53ab307
|
Feature and setting implemented
|
2023-04-08 01:49:59 +04:00 |
|
nordsoft
|
b1d06b6141
|
Complete quick combat feature
|
2023-04-06 22:49:38 +04:00 |
|
nordsoft
|
ce3028bd73
|
Intermediate commit
|
2023-04-06 19:34:07 +04:00 |
|
Konstantin
|
11b237a23c
|
vcmi: massive refactoring v1
|
2023-04-05 22:33:12 +03:00 |
|
Ivan Savenko
|
a3c5f75600
|
Fix visibility of alternative actions button in tactics stage
|
2023-04-05 18:36:10 +03:00 |
|
Ivan Savenko
|
cf966015bb
|
Correctly update battle queue state after changing its state
|
2023-04-05 18:35:45 +03:00 |
|
Konstantin
|
e0715a76c8
|
vcmi: reduce CStack usage a little bit
|
2023-04-04 23:02:54 +03:00 |
|
Ivan Savenko
|
307065a633
|
Merge beta into develop
|
2023-04-04 16:06:20 +03:00 |
|
Ivan Savenko
|
e9aed2761c
|
Fix target selection for teleport
|
2023-03-31 23:18:45 +03:00 |
|
Konstantin
|
d83e58f948
|
vcmi: use new animation functions in client
|
2023-03-31 01:01:25 +03:00 |
|
Konstantin
|
eff41f66ed
|
vcmi: now obstacles can have disappearing anim
It is a reverse version of appearingAnimation.
|
2023-03-31 01:01:25 +03:00 |
|
Konstantin
|
7543fdf787
|
vcmi: add reverse effect animation type
To be used later with obstacle removal
|
2023-03-31 01:01:25 +03:00 |
|
Konstantin
|
c4d5a7a2d6
|
vcmi:towns now can choose if moat render is needed
Using invalid points. Also removed unused variable.
|
2023-03-31 01:01:25 +03:00 |
|
Ivan Savenko
|
484f0a175a
|
Blocked movement of war machines in tactics phase
|
2023-03-30 12:20:13 +03:00 |
|
Ivan Savenko
|
974be97e6d
|
Merge pull request #1792 from IvanSavenko/happy_dydzio
Fixes for beta - graphical artifacts
|
2023-03-30 00:11:19 +03:00 |
|
Ivan Savenko
|
a42dc923e4
|
Remove hardcoded constant
|
2023-03-29 14:33:44 +03:00 |
|
Ivan Savenko
|
1fcaeba8e0
|
Fix stack amount boxes flickering between actions
|
2023-03-29 13:21:43 +03:00 |
|
Ivan Savenko
|
3af829e6af
|
Fix stack label position updates
|
2023-03-29 13:03:40 +03:00 |
|
Ivan Savenko
|
06f9759aee
|
Fix crash on using Teleport/Sacrifice spells
|
2023-03-28 23:50:42 +03:00 |
|
Ivan Savenko
|
0ce06e0f30
|
Improved rendering of stack amount boxes
|
2023-03-28 23:50:22 +03:00 |
|
Ivan Savenko
|
238de8a5d7
|
Properly disable combat panel during spell targeting
|
2023-03-28 18:14:09 +03:00 |
|
Ivan Savenko
|
fd3f80e860
|
Fix game hang on invalid shooter animation config
|
2023-03-28 17:04:18 +03:00 |
|
Konstantin
|
1b893fa525
|
client: do not show obstacles placed by another player
|
2023-03-26 21:23:54 +03:00 |
|
Ivan Savenko
|
da3a05bc8b
|
Fix special colors in battle
|
2023-03-26 00:46:21 +02:00 |
|
Ivan Savenko
|
4c311da21b
|
Clamp potential kills tooltip to target unit size
|
2023-03-26 00:07:21 +02:00 |
|
Ivan Savenko
|
4eed0b2c9e
|
Added workaround for Dungeon towers
|
2023-03-25 23:54:51 +02:00 |
|
Ivan Savenko
|
49fa628e9b
|
Turret creature cutoff position should match H3
|
2023-03-25 23:54:51 +02:00 |
|
Ivan Savenko
|
dcff463d36
|
Fixed handling of special palette colors in palette transformations
Fixes black color turning semi-transparent in some creatures from mods
|
2023-03-25 23:54:51 +02:00 |
|
Ivan Savenko
|
2167cb2a68
|
Fix battle startup with "no intro sound" mod
|
2023-03-25 23:54:51 +02:00 |
|
Ivan Savenko
|
5288e3761e
|
Merge pull request #1764 from IvanSavenko/selectable_spellcaster
Implemented support for multi-spell casters
|
2023-03-25 20:08:47 +02:00 |
|
Ivan Savenko
|
6f631a0aa7
|
Merge pull request #1759 from IvanSavenko/kills_in_tooltip
Show potential kill amount in attack tooltip
|
2023-03-25 20:03:27 +02:00 |
|
Ivan Savenko
|
9a19feaf4a
|
Fix spellcasters with massive spells
|
2023-03-25 01:23:49 +02:00 |
|
Ivan Savenko
|
dc099b2a35
|
Implemented support for multi-spell casters
|
2023-03-25 00:48:14 +02:00 |
|
Adriankhl
|
76a71226a2
|
Deactivate activeStack during spellCast
|
2023-03-24 22:43:41 +01:00 |
|