1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-26 08:41:13 +02:00
Commit Graph

121 Commits

Author SHA1 Message Date
Andrii Danylchenko
fb6fd63a58 NKAI: water paths in graph 2024-03-02 15:55:36 +02:00
Andrii Danylchenko
047e076d05 NKAI: visual logger 2024-03-02 15:54:05 +02:00
Ivan Savenko
7359b66f99 Do not use floating point equality checks 2024-02-14 12:07:07 +02:00
Ivan Savenko
e67e4430ba Removed most of non-const static fields in lib. Reduced header includes. 2024-01-19 13:55:22 +02:00
Dydzio
046d3abee4 Add new setting for instant adventure map fade in / fadeout effects 2023-12-24 17:18:48 +01:00
Laserlicht
b8e40978a0
stop smooth scroll when using window borders to scroll 2023-12-09 17:29:57 +01:00
Ivan Savenko
301ac2457a Cleanup 2023-11-13 17:48:55 +02:00
Ivan Savenko
eb167d94a6 Mod compatibility check is now in a separate class and not part of
ModHandler
2023-11-08 21:27:05 +02:00
Ivan Savenko
8346d71c98 Remove more subID access 2023-11-01 14:44:05 +02:00
Johannes Schauer Marin Rodrigues
a1a5bc28c2
convert line endings from CRLF (Windows) to LF (Linux/Unix)
Mixed line endings cause problems when exporting patches with
git-format-patch and then trying to "git am" a patch with mixed and
non-matching line endings. In such a situation git will fail to apply
the patch.

This commit runs the dos2unix tools on the remaining files with CRLF
(\r\n) line endings to convert them to line-feeds (\n) only.

Files that are Windows specific like *.vcxproj and *.props files were
not converted.

Closes: #3073
2023-10-19 16:23:21 +02:00
Ivan Savenko
195320dcf2 Removed remaining references to 'pim' name 2023-09-27 18:50:01 +03:00
Ivan Savenko
d6b9fa8fbd Replaced CPlayerInterface::pim with CGuiHandler::interfaceLock
- Removed CPlayerInterface::pim since this lock does not actually
protects LOCPLINT but rather entire game UI state
- added more logical CGuiHandler::interfaceLock
- interface lock is now non-recursive and is locked only once by initial
caller that want to access GUI
2023-09-27 18:33:52 +03:00
Ivan Savenko
8c0d78f1d9 Added initiator-player to packs that add/remove/move objects 2023-09-19 19:24:34 +03:00
Ivan Savenko
f8541d0ae4 Merge branch 'vcmi/master' into 'vcmi/develop' 2023-09-15 13:59:02 +03:00
Ivan Savenko
70d44d435e Attempt to fix freeze during map animations 2023-09-13 18:48:36 +03:00
Ivan Savenko
a5e42755be Correctly redraw map in world view mode 2023-09-12 21:15:14 +03:00
Ivan Savenko
1d0e696db6 Added RenderHandler that acts as factory for images and animations 2023-09-04 18:22:34 +03:00
Ivan Savenko
823ffa7a07 Always use ResourcePath for referencing images and animations 2023-09-04 18:22:34 +03:00
Nordsoft91
6394a77270
Merge pull request #2683 from Laserlicht/zoom_dead_area
dead area for zooming
2023-08-28 17:09:15 +04:00
Michael
3c1892a7d2
adjust timing 2023-08-28 10:03:50 +02:00
Michael
220145bd9b
reintroduce setting to zero while holding 2023-08-28 00:59:08 +02:00
Michael
9f51f42128
use fps in calculation 2023-08-28 00:49:32 +02:00
Michael
b61890355f
Update MapViewController.cpp 2023-08-27 23:17:47 +02:00
Michael
1c89c71031
Update MapViewController.cpp 2023-08-27 22:55:05 +02:00
Michael
3ce9d022d5
try to remove glitch 2023-08-27 22:00:20 +02:00
Michael
da3014bd54
Haptic feedback and increased dead zone 2023-08-27 21:40:56 +02:00
Michael
3960e5aa32
Update client/mapView/MapView.cpp
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2023-08-27 20:55:37 +02:00
Michael
f16b93c391
dead area for zoom 2023-08-27 14:00:40 +02:00
Michael
b77bccdc24
code review 2023-08-27 12:09:26 +02:00
Michael
d1d0d6d62e
fps independent 2023-08-27 02:35:10 +02:00
Michael
4137a66f2a
fix division by zero edge case 2023-08-27 00:53:09 +02:00
Michael
bbd69fd430
added setting 2023-08-27 00:33:52 +02:00
Michael
4eecca2d9a
code review 2023-08-27 00:22:29 +02:00
Michael
6b71820197
avoid some edge cases 2023-08-26 23:25:46 +02:00
Michael
a354a7f696
compatible with older sdl 2023-08-26 22:30:02 +02:00
Michael
e57e9e8e9f
ready draft 2023-08-26 21:29:24 +02:00
Michael
2286e0c7b1
implement speed and move 2023-08-26 21:13:33 +02:00
Michael
fe6d96f4a0
angle calc 2023-08-26 20:19:25 +02:00
Michael
bd0f9bb280
preparation 2023-08-26 19:53:36 +02:00
Ivan Savenko
44d16b32fe Use API identical to std classes where possible 2023-08-23 16:32:29 +03:00
Ivan Savenko
f13a53c1d9 Merge remote-tracking branch 'vcmi/beta' into develop 2023-08-12 17:28:47 +03:00
Ivan Savenko
e9fb0c9b8c Make object fade-out / fade-in instant on instant movement speed 2023-08-10 13:02:34 +03:00
Ivan Savenko
0c9e2d6fdd Workaround for crash on map rendering 2023-08-06 14:11:31 +03:00
Ivan Savenko
43795c39a5 Replaced all usage of SDL_Color outside of render with ColorRGBA 2023-07-31 21:07:30 +03:00
Ivan Savenko
5e8a778e7d Attempt to fix / trace crashes from Google Play statistics 2023-07-18 17:31:21 +03:00
Ivan Savenko
61750d30c2 Implemented dragging map via left mouse click (off by default) 2023-07-16 12:00:40 +03:00
Ivan Savenko
ca889a5c2a Replaced clickLeft with clickPressed clickReleased methods 2023-07-08 14:33:04 +03:00
Ivan Savenko
fa4a0004b2
Merge pull request #2291 from IvanSavenko/terrain_animations_config
Moved hardcoded terrain palette-cycling animations to config
2023-07-07 14:28:39 +03:00
Ivan Savenko
a9d25b0109 Fix map grid visibility on game load 2023-07-07 01:27:57 +03:00
Ivan Savenko
3bce245780 Moved hardcoded terrain palette-cycling animations to config 2023-07-05 22:07:20 +03:00