Konstantin
|
e554a2766d
|
BattleActions: do not pass unnecessary targetStack
It was unused for everything except teleport, so pass it only wher we
attempt to teleport.
Reworking sacrifice is out of scope from beta
|
2023-08-31 23:44:00 +03:00 |
|
Dydzio
|
cba9ddd66a
|
Update client/battle/BattleActionsController.cpp
Co-authored-by: Nordsoft91 <nordsoft@yahoo.com>
|
2023-08-27 23:01:04 +02:00 |
|
Dydzio
|
e1eb245565
|
Better default stack action handling + "F shortcut" mode fixes
|
2023-08-27 17:33:10 +02:00 |
|
Ivan Savenko
|
1bf6bbd9b6
|
Significantly simplified threading model in battles
|
2023-07-18 19:55:59 +03:00 |
|
Ivan Savenko
|
ec55ec76b6
|
Show cursor (including attack direction) when swiping in battle
|
2023-06-05 19:20:18 +03:00 |
|
Ivan Savenko
|
b20109c830
|
Test version of swipe gesture for in-combat attacks
|
2023-06-05 19:20:08 +03:00 |
|
Ivan Savenko
|
1cec6918a0
|
Fix spellcast cancelation in battle
|
2023-06-05 19:20:06 +03:00 |
|
Ivan Savenko
|
ad3e54e6c0
|
Reduced usage of topWindow() method
|
2023-05-16 21:57:45 +03:00 |
|
Ivan Savenko
|
e2ef136003
|
Renamed "Int" -> "Window" in WindowHandler API
|
2023-05-16 19:10:22 +03:00 |
|
Ivan Savenko
|
7838190ef4
|
Moved window stack management from GuiHandler to new class
|
2023-05-16 19:10:21 +03:00 |
|
Konstantin
|
05eccbc2bb
|
vcmi: split bonus to enumerator and HeroBonus.h
|
2023-05-03 18:01:06 +03:00 |
|
Konstantin
|
fbc05c70ac
|
vcmi: camelCase methods of new classes
Also use EGameSettings for clamping morale and luck
|
2023-05-02 12:09:13 +03:00 |
|
Konstantin P
|
b472c89276
|
vcmi: make some CStack properties private
There is a getters for this properties already available
|
2023-04-27 20:58:49 +03:00 |
|
krs
|
e348193f7e
|
Tactics movement is limited to movement range
|
2023-04-26 21:56:20 +04:00 |
|
Ivan Savenko
|
e3ed728193
|
Merge pull request #1932 from rilian-la-te/proper-teleport
VCMI: teleport redesign
|
2023-04-16 22:52:01 +03:00 |
|
Ivan Savenko
|
44b83b2e11
|
Merge master -> develop
|
2023-04-14 16:51:35 +03:00 |
|
Ivan Savenko
|
1978e6f8e8
|
Do not show unit information on dead creatures
|
2023-04-13 21:16:55 +03:00 |
|
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
|
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 |
|
Ivan Savenko
|
dfa2e2a349
|
Merge beta into develop
|
2023-04-11 19:37:35 +03:00 |
|
Ivan Savenko
|
02c9a3f3d8
|
Correctly reset UI on aborting Clone/Sacrifice
|
2023-04-10 14:33:24 +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 |
|
nordsoft
|
52b53ab307
|
Feature and setting implemented
|
2023-04-08 01:49:59 +04:00 |
|
Ivan Savenko
|
e9aed2761c
|
Fix target selection for teleport
|
2023-03-31 23:18:45 +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
|
06f9759aee
|
Fix crash on using Teleport/Sacrifice spells
|
2023-03-28 23:50:42 +03:00 |
|
Ivan Savenko
|
238de8a5d7
|
Properly disable combat panel during spell targeting
|
2023-03-28 18:14:09 +03:00 |
|
Ivan Savenko
|
4c311da21b
|
Clamp potential kills tooltip to target unit size
|
2023-03-26 00:07:21 +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
|
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 |
|
Ivan Savenko
|
970981cfc9
|
Show information on potential kills in attack tooltip
|
2023-03-24 17:18:47 +02:00 |
|
Ivan Savenko
|
31147ac83b
|
refactoring: TDmgRange pair -> DamageRange struct
|
2023-03-23 17:49:33 +02:00 |
|
Ivan Savenko
|
4919550a19
|
Show a message that battle intro can be skipped
|
2023-03-20 21:58:32 +02:00 |
|
Ivan Savenko
|
3c8a0b9e70
|
Add missing text
|
2023-02-02 13:43:20 +02:00 |
|
Ivan Savenko
|
9678296875
|
Hero interaction is now battle action
|
2023-02-02 13:43:19 +02:00 |
|
Ivan Savenko
|
c3b79c786b
|
Spellcasters UI now shares handling with hero spellcasting
|
2023-02-02 13:25:55 +02:00 |
|
Ivan Savenko
|
f150ced14c
|
All spellcasters should work correctly now
|
2023-02-02 13:25:55 +02:00 |
|
Ivan Savenko
|
55a58596bc
|
Mostly finished refactoring of BattleActionsController
TODO: test actions
TODO: test casters
TODO: fix random casters
|
2023-02-02 13:25:55 +02:00 |
|
Ivan Savenko
|
5da407e822
|
All spell texts are now passed through translator
|
2023-01-20 15:18:36 +02:00 |
|
Ivan Savenko
|
fb3c3a4636
|
Provide distance information fo Jousting ability
|
2023-01-20 15:18:10 +02:00 |
|
Ivan Savenko
|
0e8ee929df
|
Renamed CCursorHandler -> CursorHandler
|
2023-01-15 21:18:34 +02:00 |
|
Ivan Savenko
|
d3ecd43aba
|
Merge remote-tracking branch 'vcmi/develop' into battle_improvements
|
2023-01-04 16:20:53 +02:00 |
|
nordsoft
|
87c47fff1d
|
Business logic of alternative actions
|
2023-01-03 13:02:54 +04:00 |
|
Ivan Savenko
|
9248e06ae0
|
Demon summon is now a spell. DEMON_SUMMONING bonus has been removed
|
2022-12-22 23:11:55 +02:00 |
|
Ivan Savenko
|
541d98143b
|
Renamed BattleControlPanel -> BattleWindow
|
2022-12-21 17:06:47 +02:00 |
|
Ivan Savenko
|
c835a84051
|
Moved all GUI handling from BattleInterface to BattleControlPanel
|
2022-12-21 17:02:53 +02:00 |
|
Ivan Savenko
|
a57eec23e6
|
Refactoring of setBattleCursor & fromWhichHexAttack methods
|
2022-12-19 01:12:26 +02:00 |
|