b20109c830
Test version of swipe gesture for in-combat attacks
2023-06-05 19:20:08 +03:00
1cec6918a0
Fix spellcast cancelation in battle
2023-06-05 19:20:06 +03:00
ad3e54e6c0
Reduced usage of topWindow() method
2023-05-16 21:57:45 +03:00
e2ef136003
Renamed "Int" -> "Window" in WindowHandler API
2023-05-16 19:10:22 +03:00
7838190ef4
Moved window stack management from GuiHandler to new class
2023-05-16 19:10:21 +03:00
05eccbc2bb
vcmi: split bonus to enumerator and HeroBonus.h
2023-05-03 18:01:06 +03:00
fbc05c70ac
vcmi: camelCase methods of new classes
...
Also use EGameSettings for clamping morale and luck
2023-05-02 12:09:13 +03:00
b472c89276
vcmi: make some CStack properties private
...
There is a getters for this properties already available
2023-04-27 20:58:49 +03:00
e348193f7e
Tactics movement is limited to movement range
2023-04-26 21:56:20 +04:00
e3ed728193
Merge pull request #1932 from rilian-la-te/proper-teleport
...
VCMI: teleport redesign
2023-04-16 22:52:01 +03:00
44b83b2e11
Merge master -> develop
2023-04-14 16:51:35 +03:00
1978e6f8e8
Do not show unit information on dead creatures
2023-04-13 21:16:55 +03:00
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
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
dfa2e2a349
Merge beta into develop
2023-04-11 19:37:35 +03:00
02c9a3f3d8
Correctly reset UI on aborting Clone/Sacrifice
2023-04-10 14:33:24 +03:00
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
52b53ab307
Feature and setting implemented
2023-04-08 01:49:59 +04:00
e9aed2761c
Fix target selection for teleport
2023-03-31 23:18:45 +03:00
484f0a175a
Blocked movement of war machines in tactics phase
2023-03-30 12:20:13 +03:00
974be97e6d
Merge pull request #1792 from IvanSavenko/happy_dydzio
...
Fixes for beta - graphical artifacts
2023-03-30 00:11:19 +03:00
a42dc923e4
Remove hardcoded constant
2023-03-29 14:33:44 +03:00
06f9759aee
Fix crash on using Teleport/Sacrifice spells
2023-03-28 23:50:42 +03:00
238de8a5d7
Properly disable combat panel during spell targeting
2023-03-28 18:14:09 +03:00
4c311da21b
Clamp potential kills tooltip to target unit size
2023-03-26 00:07:21 +02:00
5288e3761e
Merge pull request #1764 from IvanSavenko/selectable_spellcaster
...
Implemented support for multi-spell casters
2023-03-25 20:08:47 +02:00
9a19feaf4a
Fix spellcasters with massive spells
2023-03-25 01:23:49 +02:00
dc099b2a35
Implemented support for multi-spell casters
2023-03-25 00:48:14 +02:00
970981cfc9
Show information on potential kills in attack tooltip
2023-03-24 17:18:47 +02:00
31147ac83b
refactoring: TDmgRange pair -> DamageRange struct
2023-03-23 17:49:33 +02:00
4919550a19
Show a message that battle intro can be skipped
2023-03-20 21:58:32 +02:00
3c8a0b9e70
Add missing text
2023-02-02 13:43:20 +02:00
9678296875
Hero interaction is now battle action
2023-02-02 13:43:19 +02:00
c3b79c786b
Spellcasters UI now shares handling with hero spellcasting
2023-02-02 13:25:55 +02:00
f150ced14c
All spellcasters should work correctly now
2023-02-02 13:25:55 +02:00
55a58596bc
Mostly finished refactoring of BattleActionsController
...
TODO: test actions
TODO: test casters
TODO: fix random casters
2023-02-02 13:25:55 +02:00
5da407e822
All spell texts are now passed through translator
2023-01-20 15:18:36 +02:00
fb3c3a4636
Provide distance information fo Jousting ability
2023-01-20 15:18:10 +02:00
0e8ee929df
Renamed CCursorHandler -> CursorHandler
2023-01-15 21:18:34 +02:00
d3ecd43aba
Merge remote-tracking branch 'vcmi/develop' into battle_improvements
2023-01-04 16:20:53 +02:00
87c47fff1d
Business logic of alternative actions
2023-01-03 13:02:54 +04:00
9248e06ae0
Demon summon is now a spell. DEMON_SUMMONING bonus has been removed
2022-12-22 23:11:55 +02:00
541d98143b
Renamed BattleControlPanel -> BattleWindow
2022-12-21 17:06:47 +02:00
c835a84051
Moved all GUI handling from BattleInterface to BattleControlPanel
2022-12-21 17:02:53 +02:00
a57eec23e6
Refactoring of setBattleCursor & fromWhichHexAttack methods
2022-12-19 01:12:26 +02:00
16c4851d3b
Animated cursor for spell selection, removed hardcoded cursor ID's
2022-12-18 22:32:07 +02:00
70eac47f08
Fixes #1051 , #1042 - highlight creatures that will be affected by spell
2022-12-17 00:10:12 +02:00
4d5311789e
Fixes #831 - do not process any incoming Packs until opening is over
2022-12-16 23:22:04 +02:00
264f5c91e8
Applied suggestions from review
2022-12-13 13:58:16 +02:00
ac839ad26a
Changes to rest of the code according to review:
...
- renamed status bar method clearMatching -> clearIfMatching
- renamed class ColorShifterAddMul -> ColorShifterMultiplyAndAdd
- fixed missing return from function
- fixed potential access to deleted object
2022-12-11 23:43:43 +02:00