1
0
mirror of https://github.com/vcmi/vcmi.git synced 2026-04-28 20:04:33 +02:00

18 Commits

Author SHA1 Message Date
Ivan Savenko d89ca14c9e Add quick removal of map objects from UI. Fixes freezes on hero moveemnt 2026-02-09 17:44:30 +02:00
Ivan Savenko 9b0200578e Fix potential undefined behavior on using sort with invalid predicate 2026-01-18 14:33:06 +00:00
Mircea TheHonestCTO d0deaf85a4 fix: revert MapRenderer that crashes after AI vs AI fights as agreed with Ivan 2026-01-07 11:35:41 +01:00
Laserlicht fadc667ea5 speedup removeObject 2025-12-31 16:24:07 +01:00
Opuszek b7496d85de move object blit order comparator to library 2025-12-17 10:12:02 +01:00
Ivan Savenko 35644da2b7 Reogranize callback-related classes on 1 file = 1 class basis 2025-05-12 22:07:09 +03:00
Ivan Savenko bdae7285ae Objects list is now private member of CMap 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 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 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 a8f8c3f4b1 Replaced most of accesses to CGObjectInstance::pos with anchorPoint() 2024-10-09 15:43:46 +00:00
Ivan Savenko 301ac2457a Cleanup 2023-11-13 17:48:55 +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 243773b6ef Renamed some adventure map files & classes 2023-05-09 13:10:33 +03:00
Ivan Savenko 4ec32e4dcd Renamed CAdvMapInt to its proper full name 2023-04-20 22:04:24 +03:00
Ivan Savenko 58aa5c0427 Formatting 2023-03-05 18:02:59 +02:00
Ivan Savenko 225ae2ed46 Renamed directory 2023-03-05 18:02:59 +02:00