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

60 Commits

Author SHA1 Message Date
Laserlicht 2bee582cc7 fix 2025-10-21 22:40:46 +02:00
Laserlicht 7a7ba74907 review 2025-10-21 22:30:32 +02:00
Laserlicht 5a64fbd89c show invisible 2025-10-12 16:26:44 +02: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
Ivan Savenko 829739da24 Reduce usage of implicit conversions to int 2025-04-27 14:57:31 +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 645b95ba02 Renamed LibClasses * VLC to GameLibrary * LIBRARY 2025-02-21 16:54:56 +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 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 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 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 251155d913 More robust management of body/shadow/overlay split 2024-11-17 17:54:55 +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
Ivan Savenko 626c34a105 Fix colorization of Fortress and Inferno adventure map image from hota 2024-09-13 12:45:51 +00:00
Ivan Savenko ffba847f40 xBRZ-upscaled images now support common palette-transform effects:
- Player coloring
- Flag color for map
- Glue selection for combat
2024-08-17 15:25:26 +00:00
Ivan Savenko fd726523a2 Remove creations of custom animations in runtime 2024-07-19 10:08:50 +00:00
Ivan Savenko 0d6ec0d224 Reviewed usage of EBlitMode, now specified clearly in all cases 2024-07-19 10:08:50 +00:00
Ivan Savenko b850b6339f Flipped images are now tracked by RenderHandler 2024-07-19 10:08:50 +00:00
Ivan Savenko 230add02e4 Remove no longer used code 2024-07-19 10:08:50 +00:00
Ivan Savenko 56f1725234 All images are now loaded via RenderHandler class 2024-07-19 10:08:50 +00:00
Ivan Savenko 3fdbc09986 Use same arrows for U-turns in UI as in H3 2024-05-23 19:01:30 +00:00
Dydzio e0855ceb7a Add pitch black FoW representation for dimension door range map overlay 2024-03-27 21:39:36 +01: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 f8541d0ae4 Merge branch 'vcmi/master' into 'vcmi/develop' 2023-09-15 13:59:02 +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
Ivan Savenko 0c9e2d6fdd Workaround for crash on map rendering 2023-08-06 14:11:31 +03:00
Ivan Savenko 5e8a778e7d Attempt to fix / trace crashes from Google Play statistics 2023-07-18 17:31:21 +03:00
Ivan Savenko 3bce245780 Moved hardcoded terrain palette-cycling animations to config 2023-07-05 22:07:20 +03:00
Ivan Savenko ebc7a82c2e Converted pathfinder enum's to enum class 2023-06-21 15:38:57 +03:00
Ivan Savenko bd4d2788ed Split pathfinder into multiple smaller files 2023-06-21 13:46:09 +03:00
Ivan Savenko d6a357fd17 Split some map object files into smaller files. Reduced includes usage. 2023-06-02 21:47:37 +03:00
Ivan Savenko acac42291e Remove excessive CMap.h includes 2023-05-31 23:18:38 +03:00
Ivan Savenko fb739e7186 Merge beta -> develop 2023-04-26 22:48:08 +03:00