Ivan Savenko
d34b47bb20
Remove pointers from artifacts
2025-04-27 14:57:31 +03:00
Ivan Savenko
6d65641a43
Gamestate is now passed as shared pointer
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
63d00b080e
Removed pointer to army from StackInstance
2025-04-27 14:57:30 +03:00
Ivan Savenko
16a06179cf
Use ArtifactInstanceID in CGArtifact
2025-04-27 14:57:30 +03:00
Ivan Savenko
ab11d2b075
Remove quests from CMap, now solely owned by quest objects
2025-04-27 14:57:30 +03:00
Ivan Savenko
71bc1054d0
BattleStart pack now uses unique_ptr
2025-04-27 14:57:30 +03:00
Ivan Savenko
c02a8a84fd
Stacks of armed instance are now unique_ptr
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
1f502c0548
CMap towns and heroes on map fields are now private
2025-04-27 14:57:30 +03:00
Ivan Savenko
84cf7b052d
Map objects now use shared_ptr (rmg)
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
2ca1748e96
Artifact instances are now owned solely by CMap
2025-04-27 14:57:30 +03:00
Ivan Savenko
797646cc05
Quests in map now use shared_ptr instead of const ptr
2025-04-27 14:57:30 +03:00
kdmcser
c3c8b5048a
extract functions of string <-> boost::filesystem::path to TextOperations.h
2025-04-20 00:23:41 +08:00
kdmcser
e308b2149a
fix compile error
2025-04-19 13:44:48 +08:00
kdmcser
ea3947df4f
fix Chinese encoding problem in GBK
2025-04-19 13:30:31 +08:00
Ivan Savenko
7a3e1409d0
Remove old boost includes and defines
2025-03-19 08:03:56 +00:00
Ivan Savenko
eb3b51a6cf
Remove save compatibility with 1.5.X
2025-03-18 11:35:15 +00:00
MichalZr6
38b994f28e
Init lastWrite and date for campaigns
2025-03-11 22:36:26 +01:00
MichalZr6
ea1c911e4d
Update maps sorting logic
2025-03-11 22:36:26 +01:00
Ivan Savenko
9f713a0914
Rename int3::valid to isValid for consistency
2025-03-03 10:46:00 +00:00
Ivan Savenko
645b95ba02
Renamed LibClasses * VLC
to GameLibrary * LIBRARY
2025-02-21 16:54:56 +00:00
Ivan Savenko
2362c6da21
Fixes for multiple new issues from Sonar
2025-02-21 15:57:39 +00:00
Ivan Savenko
0548f325e4
Merge branch 'master' into 'develop'
2025-02-21 13:59:34 +00:00
Ivan Savenko
b2642bb7d7
Merge pull request #5422 from IvanSavenko/disposed_heroes_fix
...
[1.7] Do not allow heroes banned for player as starting heroes
2025-02-20 16:33:04 +02:00
Ivan Savenko
4b824d05e2
Do not allow heroes banned for player as starting heroes
...
- `disposedHeroes` is now in map header, for use in map selection
- heroes that are marked as unavailable for player will now be hidden
from starting hero selection
2025-02-14 10:43:55 +00:00
Ivan Savenko
0337ef90ec
Fix and cleanup event loading, clarify remaining hota keys
2025-02-13 19:48:37 +00:00
Ivan Savenko
f9fe8fc312
Cleanup hota object loading code
2025-02-13 19:10:29 +00:00
Ivan Savenko
091029e0bb
Support for parsing HotA 1.7.2 h3m's and h3c's
2025-02-13 19:10:29 +00:00
Ivan Savenko
a12ea45276
Support of parsing of all hota 1.7.1 h3m's and h3c's
2025-02-13 19:10:29 +00:00
Ivan Savenko
d996726fe7
Support for parsing HotA 1.7.0 maps
2025-02-13 19:10:29 +00:00
Ivan Savenko
1917fae2c0
Fix loading of HotA maps with Cove town placed on map
2025-02-09 22:11:19 +00:00
Ivan Savenko
4e6560c4c9
Fixes for issues detected by valgrind
2025-02-06 19:22:04 +00:00
Ivan Savenko
09db3e4bef
Reworked resource piles loading to fix wog maps with mithril
2025-01-25 11:40:21 +00:00
Ivan Savenko
baa9b1e312
Load unknown objects as "Nothing" object
2025-01-24 19:26:40 +00:00
Ivan Savenko
e4505f20b9
Remove no longer used map checksum computation
2025-01-24 19:26:40 +00:00
MichalZr6
a99274d72e
BattleHexArray - new container for BattleHexes
2025-01-06 23:18:18 +01:00
Ivan Savenko
dfe8a95f8c
Fix build
2025-01-04 15:09:50 +00:00
Ivan Savenko
ea368c5176
Inlined methods commonly used by pathfinder for better optimization
2025-01-04 15:09:50 +00:00
Dydzio
7be31c94f2
Fixes from code review
2024-12-05 21:16:06 +01:00
Dydzio
f7b0c7405b
Fix "padding variables" for object deletion
2024-12-03 17:40:35 +01:00
Dydzio
e9be46af98
Merge branch 'develop' into timed_events_objects_removal
2024-12-03 17:27:24 +01:00
Ivan Savenko
ba9e3dca9d
Mod management rework, part 1
...
- Replaced CModInfo class with constant ModDescription class
- Simplified mod loading logic
- Extracted some functionality from ModHandler into separate classes for
future reuse by Launcher
2024-11-26 13:55:46 +00:00
Ivan Savenko
733b1b339c
Remove broken automatic addition of dependency for wog maps
2024-11-07 12:08:28 +00:00
Ivan Savenko
c3c5f73a63
Restore save compatibility with 1.5
2024-11-07 12:08:08 +00:00
Ivan Savenko
e7bea6c3b8
Merge pull request #4852 from IvanSavenko/remove_vlc_entities_serialization
...
Remove remaining pointers to VLC entities from serializer
2024-11-06 22:01:11 +02:00
Ivan Savenko
d39dad6cb4
Fix build
2024-10-30 17:03:48 +00:00
Ivan Savenko
a39469d165
Add save compatibility
2024-10-30 16:57:03 +00:00