Tomasz Zieliński
|
e1f8ae94ac
|
+ Do not limit treasures to make space for more treasures if there are none ;eft
+ Make sure RMG won't get stuck in infinite loop for weird treasure values (eg. 0).
|
2023-06-12 22:15:59 +02:00 |
|
Tomasz Zieliński
|
6ebbdf0537
|
More cleanup of Long Run template
|
2023-06-12 20:51:04 +02:00 |
|
Tomasz Zieliński
|
5219f1db9d
|
Fix useless template setting
|
2023-06-12 20:33:21 +02:00 |
|
Tomasz Zieliński
|
3d3c97bf93
|
Fix potential infinite loop
|
2023-06-12 20:32:58 +02:00 |
|
Tomasz Zieliński
|
983633d73b
|
Do not decrease the density of obstacles in zones of medium treasure value. For high values, decrease them more rapidly.
|
2023-06-10 18:02:26 +02:00 |
|
Tomasz Zieliński
|
65a8478b74
|
Fix override
|
2023-06-10 15:07:03 +02:00 |
|
Tomasz Zieliński
|
f4dc8e6529
|
Limit morale / bonusing objects to one per zone
|
2023-06-10 14:58:50 +02:00 |
|
Tomasz Zieliński
|
8ef25155df
|
Remove dependencies of surface and underground zones
|
2023-06-10 14:58:12 +02:00 |
|
Tomasz Zieliński
|
b65870f31e
|
A bunch of magic formulas to assure nice balance of blocked areas and obstacles on every template
|
2023-06-10 14:57:25 +02:00 |
|
Tomasz Zieliński
|
1bb2b5b571
|
+ Maintain clear perimeter of a treasure pile.
+ Make sure that separate blocked areas remain unconnected so it's possible to pass between them.
|
2023-06-10 14:56:03 +02:00 |
|
Tomasz Zieliński
|
d5b799278e
|
Allow center Town touch the blocked area, it's no longer a problem with correct pathfinder.
|
2023-06-09 21:22:44 +02:00 |
|
Tomasz Zieliński
|
682e9ae297
|
Unused variable
|
2023-06-08 20:05:51 +02:00 |
|
Tomasz Zieliński
|
52d33fc7a6
|
Generate all treasures of certain value beforehand and try to place them all, don't interrupt at first failure.
|
2023-06-08 19:51:21 +02:00 |
|
Tomasz Zieliński
|
66b6fba51f
|
Use all tiles covered by treasure pile to determine distance to other treasures.
|
2023-06-08 19:31:38 +02:00 |
|
Tomasz Zieliński
|
d92ac6bcbe
|
Do not exceed rolled treasure value - matches OH3.
|
2023-06-08 19:23:23 +02:00 |
|
Tomasz Zieliński
|
6ed1dab3fb
|
Add random resource to RMG pool
|
2023-06-08 19:04:44 +02:00 |
|
DjWarmonger
|
e98a50b45a
|
Merge pull request #2123 from Warzyw647/rmg-split-enum-monster-strength
Refactor enums and add zone monster strength "none" in rmg
|
2023-06-06 20:40:35 +02:00 |
|
Ivan Savenko
|
ee8c8dca7b
|
Merge pull request #2185 from IvanSavenko/touch_input_gestures
Touch input gestures
|
2023-06-05 22:29:08 +03:00 |
|
Ivan Savenko
|
18105aa96d
|
Minor fixes for settings window
|
2023-06-05 21:19:10 +03:00 |
|
Ivan Savenko
|
4e834db017
|
Fix relative cursor mode
|
2023-06-05 19:28:29 +03:00 |
|
Ivan Savenko
|
238a02eb5e
|
It is now possible to cancel attack-via-swiping by moving finger away
|
2023-06-05 19:20:20 +03:00 |
|
Ivan Savenko
|
6283329aeb
|
Added option to disable edge scrolling
|
2023-06-05 19:20:20 +03:00 |
|
Ivan Savenko
|
ec55ec76b6
|
Show cursor (including attack direction) when swiping in battle
|
2023-06-05 19:20:18 +03:00 |
|
Ivan Savenko
|
db1045aecd
|
Fix panning limits for minimap
|
2023-06-05 19:20:08 +03:00 |
|
Ivan Savenko
|
0f2a339ab5
|
Implemented pinch gesture to scale adventure map
|
2023-06-05 19:20:08 +03:00 |
|
Ivan Savenko
|
a08ff1e6ef
|
Removed no longer used touchscreen option
|
2023-06-05 19:20:08 +03:00 |
|
Ivan Savenko
|
e6e91c64b6
|
Implemented minimap panning gesture
|
2023-06-05 19:20:08 +03:00 |
|
Ivan Savenko
|
84934d931a
|
Minor improvements to swipe in battle
|
2023-06-05 19:20:08 +03:00 |
|
Ivan Savenko
|
b20109c830
|
Test version of swipe gesture for in-combat attacks
|
2023-06-05 19:20:08 +03:00 |
|
Ivan Savenko
|
70155b48e1
|
Only show touchscreen options on systems that have one
|
2023-06-05 19:20:08 +03:00 |
|
Ivan Savenko
|
2c7b94d17f
|
Remove unused map swipe option
|
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
|
0e36a3ab5a
|
Use Scrollable class for all appropriate locations
|
2023-06-05 19:18:33 +03:00 |
|
Ivan Savenko
|
052d0d314a
|
Implemented Scrollable class, to server as common base for such classes
|
2023-06-05 19:17:04 +03:00 |
|
Ivan Savenko
|
6fe00ad55c
|
Moved slider class to a separate file
|
2023-06-05 19:16:01 +03:00 |
|
Ivan Savenko
|
18388b2d72
|
Right-click popups will stay till next tap, in line with Android UI
|
2023-06-05 19:12:26 +03:00 |
|
Ivan Savenko
|
57df1c3e0d
|
Implemented gesture for town/hero lists and town/hero selection
|
2023-06-05 19:12:24 +03:00 |
|
Ivan Savenko
|
360bf48031
|
Implemented panning/swiping gesture for sliders
|
2023-06-05 19:09:56 +03:00 |
|
Ivan Savenko
|
2a30eccb2d
|
Allow mouse wheel for astart options setup (town/hero/bonus)
|
2023-06-05 19:00:57 +03:00 |
|
Ivan Savenko
|
261308b942
|
Hero/town lists are now scrollable with mouse wheel
|
2023-06-05 19:00:57 +03:00 |
|
Ivan Savenko
|
dc8e9cd048
|
wheelScrolled event now accepts distance instead of bool
|
2023-06-05 19:00:57 +03:00 |
|
Ivan Savenko
|
e2a85e25fa
|
Removed old code
|
2023-06-05 19:00:57 +03:00 |
|
Ivan Savenko
|
26fd651917
|
Implemented panning gesture via touch input
|
2023-06-05 19:00:57 +03:00 |
|
Ivan Savenko
|
48859e186e
|
Added panning gesture, activated by mouse wheel press
|
2023-06-05 19:00:56 +03:00 |
|
Ivan Savenko
|
1a5c69a424
|
Implemented left & right click support for touch input
|
2023-06-05 19:00:56 +03:00 |
|
Ivan Savenko
|
c9d42d59c3
|
Formatting fix
|
2023-06-05 19:00:56 +03:00 |
|
Ivan Savenko
|
dc16781877
|
Move keyboard tests to keyboard handler
|
2023-06-05 19:00:56 +03:00 |
|
Ivan Savenko
|
503bd1dd66
|
Fix double-clicking to start scenario
|
2023-06-05 19:00:56 +03:00 |
|
Ivan Savenko
|
34123c7f07
|
Minor refactoring of mouse input handling
|
2023-06-05 19:00:56 +03:00 |
|
Ivan Savenko
|
526ce1b546
|
Merge pull request #2177 from krs0/feature/Move_battle_fake_lables_into_separate_group
Move battle fake labels into separate group, and small fixes
|
2023-06-05 18:56:38 +03:00 |
|