Ivan Savenko
5ada2d19e1
UI now shows spell range from config
2025-07-11 12:06:01 +03:00
Ivan Savenko
e12765dca0
Fix sonar warnings, convert spaces -> tabs
2025-07-09 17:52:51 +03:00
Ivan Savenko
2ad186130f
Split MapDefines file on .h per class basis
2025-07-07 18:16:42 +03:00
Ivan Savenko
062c3fd5b5
Merge pull request #5852 from Laserlicht/showpath
...
implement show path checkbox
2025-06-30 12:00:07 +03:00
Laserlicht
50151444fc
show path
2025-06-25 17:25:19 +02:00
Laserlicht
30521bbc8f
code review
2025-06-24 13:48:36 +02:00
Laserlicht
b95293f254
better approach
2025-06-20 12:10:35 +02:00
Laserlicht
eef3e00f42
fix direction
2025-06-20 03:45:11 +02:00
Laserlicht
e1adbde5ac
direction & image functionality
2025-06-20 03:02:43 +02:00
Laserlicht
d0d3b96fa9
add battle animation
2025-06-20 01:51:10 +02:00
Ivan Savenko
35644da2b7
Reogranize callback-related classes on 1 file = 1 class basis
2025-05-12 22:07:09 +03:00
kdmcser
935476a86a
fix puzzle map never open
2025-05-01 23:40:43 +08:00
Ivan Savenko
829739da24
Reduce usage of implicit conversions to int
2025-04-27 14:57:31 +03:00
Ivan Savenko
9e6397d1f9
Remove pointer to boat from CGHeroInstance
2025-04-27 14:57:30 +03:00
Ivan Savenko
cd7732456a
Remove pointer to objects from TerrainTile
2025-04-27 14:57:30 +03:00
Ivan Savenko
bdae7285ae
Objects list is now private member of CMap
2025-04-27 14:57:30 +03:00
Ivan Savenko
745040def3
Access to heroes storage in CMap is now done via public methods
2025-04-27 14:57:30 +03:00
Ivan Savenko
0ada2a5ebd
Map objects now use shared_ptr (game)
2025-04-27 14:57:30 +03:00
Ivan Savenko
417ea6451a
Remove ConstTransitivePtr from hero and town instances
2025-04-27 14:57:30 +03:00
Ivan Savenko
4a6a8f9496
Merge pull request #5496 from IvanSavenko/std_thread
...
Replace boost::thread with std::thread
2025-03-08 16:03:55 +02:00
Laserlicht
8b950078c7
fix rightButtonDrag edge case
2025-03-05 20:42:49 +01:00
Ivan Savenko
948abfb04c
AI now uses std::thread, added custom thread interruption logic
2025-03-02 14:33:11 +00:00
Ivan Savenko
8f074490a7
Merge branch 'master' into 'develop'
2025-02-27 21:15:42 +00:00
Laserlicht
52f7caa0e4
use settings instead of persistentStorage
2025-02-22 20:34:13 +01:00
Laserlicht
a6a6b8c69c
save only adventure map zoom
2025-02-22 16:08:54 +01:00
Laserlicht
7beabc44ea
save mapzoom
2025-02-21 23:01:47 +01:00
Laserlicht
db23cc2ffa
add setting for disabling overlay
2025-02-21 21:35:17 +01:00
Ivan Savenko
cbcd48aabb
Fix build
2025-02-21 18:51:27 +00:00
Ivan Savenko
645b95ba02
Renamed LibClasses * VLC to GameLibrary * LIBRARY
2025-02-21 16:54:56 +00:00
Ivan Savenko
156de5b17e
Added GameInstance class
...
- available as global GAME
- integrates LOCPLINT (CPlayerInterface)
- integrates CGI->mh (CMapHandler)
- integrates CSH (CServerHandler)
2025-02-21 16:54:06 +00:00
Ivan Savenko
ffd37a8fa8
Removed CGI in favor of VLC. Map handle is for now global variable
2025-02-21 16:53:14 +00:00
Ivan Savenko
f657e85305
Integrated CClientState into GameEngine class
2025-02-21 16:53:14 +00:00
Ivan Savenko
cacceda950
Renamed CGuiHandler to GameEngine
...
- class CGuiHandler is now called GameEngine to better describe its
functionality
- renamed global GH to more clear ENGINE
- GH/ENGINE is now unique_ptr to make construction / deconstruction
order more clear and to allow interface / implementation split
- CGuiHandler.cpp/h is now called GameEngine.cpp/h and located in root
directory of client dir
2025-02-21 16:53:13 +00:00
Ivan Savenko
e5332fb61a
Hide events from Alt overlay
2025-02-18 14:34:14 +00:00
Laserlicht
1f61f22122
implement overlay for touch screens
2025-02-09 13:10:27 +01:00
Ivan Savenko
38bb5a76e6
Handle flag color overlay and creature selection overlay separately
...
Fixes handling of Iron Golem animation from HotA
2025-02-03 11:44:21 +00:00
Ivan Savenko
668bf63fc0
Remove access to internal surface of Canvas
2025-01-21 21:15:21 +00:00
Laserlicht
2ebf1daf0d
add smooth drag for RMB & fix drag for new windows
2025-01-19 00:30:23 +01:00
Ivan Savenko
9f1cd69480
Fix visualization of AI object graph
2025-01-07 14:06:09 +00:00
Ivan Savenko
814234017d
Minor tweaks to xbrz performance
2024-12-23 13:59:09 +00:00
Laserlicht
4b103fd63b
code review
2024-12-05 23:31:03 +01:00
Laserlicht
6795c9afb6
animations working
2024-11-30 15:44:09 +01:00
Laserlicht
3967c70bf2
fix image creation
2024-11-30 15:03:58 +01:00
Laserlicht
bda4efa8b5
gen sprites
2024-11-30 03:45:31 +01:00
Ivan Savenko
f41873fe72
Fix View Earth also revealing other objects such as heroes and towns
2024-11-27 21:26:54 +00:00
Ivan Savenko
251155d913
More robust management of body/shadow/overlay split
2024-11-17 17:54:55 +00:00
Ivan Savenko
e2fe20e26d
Use upper_bound instead of sort since predicate does not fulfills strict weak ordering requirement for std::sort
2024-11-16 15:32:52 +00:00
Ivan Savenko
04ca8aca9f
Update tests
2024-10-30 16:22:12 +00:00
Ivan Savenko
08fbcd5239
TerrainTile now uses identifiers instead of pointers to VLC
2024-10-30 16:22:11 +00:00
Ivan Savenko
a8f8c3f4b1
Replaced most of accesses to CGObjectInstance::pos with anchorPoint()
2024-10-09 15:43:46 +00:00