1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-03 00:46:55 +02:00
Commit Graph

904 Commits

Author SHA1 Message Date
82c37573fa Removed save compatibility with 1.4
All save compatibility checks targeting 1.4 saves have now been removed.
Saves from 1.5 can still be loaded in 1.6

Implemeted few TODO's in serialization that were postponed to avoid
breaking save compatibility in MP for 1.5.X releases.

Fixed missed case for loading black market object from 1.5 saves
2024-08-29 18:51:53 +00:00
39bb6d5f39 IMarket now able to store artifacts 2024-08-20 18:49:47 +03:00
4413f03276 Cleanup 2024-07-30 08:50:33 +02:00
a7fa3c7d8b Ignore new connections for zone placement. 2024-07-30 05:07:05 +02:00
d10711928f Allow connecting zone to itself (always through the portal) 2024-07-29 21:56:07 +02:00
f4f416eb16 Add RMG option "forcePortal" 2024-07-29 20:36:23 +02:00
4aa73b40c9 Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
1aa391fdf8 Split CGeneralTextHandler file into 1 file per class form
All text processing code is now located in lib/texts.
No changes other than code being moved around and adjustment of includes

Moved without changes:
Languages.h           -> texts/Languages.h
MetaString.*          -> texts/MetaString.*
TextOperations.*      -> texts/TextOperations.*

Split into parts:
CGeneralTextHandler.* -> texts/CGeneralTextHandler.*
                      -> texts/CLegacyConfigParser.*
                      -> texts/TextLocalizationContainer.*
                      -> texts/TextIdentifier.h
2024-07-20 12:55:17 +00:00
63bcf7d83c Replaced most of usages of CRandomGenerator with vstd::RNG in library 2024-07-16 13:13:07 +00:00
60a51e98de Remove usage of std::function from CRandomGenerator 2024-07-16 13:13:07 +00:00
3134d8383c Merge pull request #4207 from Laserlicht/map_format_additional
[1.6] Map format additional infos
2024-07-16 12:15:58 +03:00
6b8f94e6e7 Merge remote-tracking branch 'vcmi/master' into develop 2024-07-11 17:43:44 +00:00
5b99974d31 Route roads even further away from zone boundary 2024-07-04 14:22:22 +02:00
018127b236 set values for map editor and rmg 2024-06-29 14:01:25 +02:00
d7a4ea9f32 Draw random artifact as an atomic operation 2024-06-24 20:06:50 +02:00
02e429e973 Fix typos using https://github.com/crate-ci/typos
Changes were reviewed manually
2024-06-24 03:47:19 +02:00
3bea383b59 Merge branch 'vcmi/beta' into 'vcmi/develop' 2024-06-21 12:58:36 +00:00
af5572db15 Merge pull request #4157 from IvanSavenko/bugfixing
[1.5.3] Bugfixing
2024-06-18 12:14:43 +03:00
0ca41127a6 Merge pull request #4152 from IvanSavenko/rmg_fix
[1.5.3] Fix rmg generation if player list is not continuous
2024-06-18 12:06:40 +03:00
76bb32536f Correctly iterate over allowed spells set (was vector originally) 2024-06-17 20:58:04 +00:00
6d9f83a376 Protect lakes accessed from both zones with lock 2024-06-17 19:00:37 +02:00
2d0bd94135 Fix rmg generation if player list is not continuous 2024-06-17 13:35:58 +00:00
b8beb4fb13 Fixes for various minor issues detected by Sonar Cloud 2024-06-01 11:48:30 +00:00
5d6470e527 Merge pull request #4025 from IvanSavenko/shared_ptr_lib
[1.6] Use shared_ptr for library entities
2024-05-30 19:14:06 +03:00
5ecb527252 Merge pull request #3997 from IvanSavenko/serialization_refactor
[1.6] Serialization refactor
2024-05-30 19:13:21 +03:00
7461df161c lib now uses shared_ptr for entities. Removed manual memory management. 2024-05-17 15:04:05 +00:00
721b15d9de Merge branch 'vcmi/master' into 'vcmi/develop' 2024-05-17 08:26:37 +00:00
84bc6c42db Added 'Serializeable' base class for classes serializeable by pointer 2024-05-16 18:40:59 +00:00
da9d82b697 Merge pull request #3973 from vcmi/master
Merge master -> beta
2024-05-14 16:59:10 +03:00
62b564650d Fix possibly hanging pointer to deleted CGObjectInstance
Was stored by CRemoveObjectOperation and accessed on destruction even
though it has been removed by the game
2024-05-13 16:19:14 +00:00
5a979e42e2 Satisfy SonarCloud 2024-05-10 21:14:15 +02:00
ee27a79aa1 Sonarcloud issues 2024-05-10 17:07:09 +02:00
21bb61fc4d Unused variable 2024-05-10 15:56:49 +02:00
7cb17afe7a Fix diagonal paths if we need to use them 2024-05-10 15:53:54 +02:00
2521557f68 Fixed some newly reported issues from SonarCloud 2024-05-10 13:40:24 +00:00
a6fa6855dc Route roads away from zone borders 2024-05-10 15:35:33 +02:00
b4af84a3ce Merge pull request #3911 from vcmi/penrose_cleanup
Clean up excessive operations and logs
2024-05-08 22:43:28 +03:00
2297e09fcb Clean up excessive operations and logs 2024-05-08 15:51:42 +02:00
718d42f0d6 Merge pull request #3910 from vcmi/center_penrose
Shift center of tiling to center of the map
2024-05-08 16:40:00 +03:00
37d062f1eb Fix incorrect comparison operator 2024-05-08 15:09:11 +02:00
eece03d24f Fix for centering the tiles, extra logs 2024-05-08 13:16:26 +02:00
ec20e9e907 Shift center of tiling to center of the map 2024-05-08 12:16:42 +02:00
f5824ccea4 Re-throw exception on RMG failure to prevent weird crashes later 2024-05-08 09:55:34 +00:00
dd55188b77 Option to define surface or underground level for obstacle set 2024-05-07 07:15:00 +02:00
20176521eb Actually revert this change, it's not better. 2024-05-01 15:27:19 +02:00
4d13c3b94f Final fixes and tweaks 2024-05-01 13:58:24 +02:00
186b6629c7 Do not hide roads behind objects 2024-05-01 12:15:07 +02:00
d5b6e31223 Fix guard check 2024-05-01 11:38:44 +02:00
5315beec8c Fixes for guard condition 2024-05-01 11:34:34 +02:00
acab1d38cf Build fix 2024-05-01 10:45:01 +02:00