645b95ba02
Renamed LibClasses * VLC
to GameLibrary * LIBRARY
2025-02-21 16:54:56 +00:00
2362c6da21
Fixes for multiple new issues from Sonar
2025-02-21 15:57:39 +00:00
e829d723b2
Replace global bonus tree change counter with per-node counter
2025-01-12 12:23:07 +00:00
14320fb100
Fix spawned wandering monsters not correctly attached to bonus system
2025-01-12 11:06:45 +00:00
dad6437661
Refactor BattleHex, remake the use of precomputed neighbouring tiles containers.
...
- Moved short, frequently used functions to the BattleHex header for inlining
- Made BattleHex a class with a private hex value
- Moved getClosestTile implementation back to BattleHex
- Enabled access to static precomputed data in BattleHexArray via BattleHex
(note: circular dependency prevented static precomputed containers being directly placed in BattleHex)
2025-01-06 23:28:46 +01:00
a99274d72e
BattleHexArray - new container for BattleHexes
2025-01-06 23:18:18 +01:00
970d7d795f
Remove object from owned objects before resetting owner
2024-12-08 11:26:21 +00:00
16d25e903c
Remove flaggable bonus on object deletion
2024-12-05 21:55:32 +01:00
7be31c94f2
Fixes from code review
2024-12-05 21:16:06 +01:00
e9be46af98
Merge branch 'develop' into timed_events_objects_removal
2024-12-03 17:27:24 +01:00
c3b63a1bef
Merge pull request #4857 from Laserlicht/delete
...
Delete saves / random maps
2024-11-16 17:28:23 +02:00
b23c69b9d6
code review
2024-11-15 20:26:56 +01:00
0f94f35dcf
code review
2024-11-14 00:34:39 +01:00
ef46a87e69
ask assemble artifact dialog fix
2024-11-10 16:50:58 +02:00
697d63d2b8
Reworked and fixed gendered hero sprites on adventure map
2024-11-07 10:39:23 +00:00
0e5711f8bf
Merge branch 'develop' into delete
2024-11-06 23:28:57 +01:00
164aac4db2
refresh list
2024-11-01 00:52:19 +01:00
1f0847660b
possibility to delete unsupported saves
2024-10-31 21:57:20 +01:00
01d787fb5a
Removed remaining cases of serialization of VLC entities
2024-10-30 16:48:18 +00:00
c98ac01e7a
Replaced public artType member of ArtifactInstance with getter
2024-10-30 16:47:01 +00:00
c25aef8f48
Merge pull request #4766 from SoundSSGood/fused-artifacts
...
Fused artifacts
2024-10-16 15:08:20 +03:00
86d5c05ffa
Fused identical artifacts
2024-10-15 16:51:29 +03:00
10ad0fc760
Split CHeroHandler.cpp/.h into 1 file per class
...
All parts of CHeroHandler.cpp are now in lib/entities/hero
Adjusted includes to use new paths
No functionality changes
2024-10-13 14:01:09 +00:00
d4d3ddf685
fused artifacts
2024-10-12 16:43:04 +03:00
15ad0440f7
Fix iOS build
2024-10-10 12:38:32 +00:00
3dd4fa2528
Reduce usage of pointers to VLC entities
...
Final goal (of multiple PR's) is to remove all remaining pointers from
serializeable game state, and replace them with either identifiers or
with shared/unique pointers.
CGTownInstance::town and CGHeroInstance::type members have been removed.
Now this data is computed dynamically using subID member.
VLC entity of a town can now be accessed via following methods:
- getFactionID() returns ID of a faction
- getFaction() returns pointer to a faction
- getTown() returns pointer to a town
VLC entity of a hero can now be accessed via following methods:
- getHeroTypeID() returns ID of a hero
- getHeroClassID() returns ID of a hero class
- getHeroType() returns pointer to a hero
- getHeroClass() returns pointer to a hero class
2024-10-10 12:28:08 +00:00
81f0222c68
Merge pull request #4741 from IvanSavenko/serialize_local_state
...
Serialize local state of player interface
2024-10-10 15:03:14 +03:00
a8f8c3f4b1
Replaced most of accesses to CGObjectInstance::pos with anchorPoint()
2024-10-09 15:43:46 +00:00
679181c103
Implemented serialization of local player state in json form
2024-10-08 20:04:32 +00:00
a826b88641
Merge branch 'develop' into spell
2024-10-07 12:55:23 +02:00
c472b2ce5e
BulkEraseArtifacts crash fix
2024-10-04 15:19:57 +03:00
9c6bd20159
code review
2024-10-01 16:32:28 +02:00
713fcd6543
research per day & seperate config
2024-09-30 02:40:28 +02:00
99f49ee6ad
Remove objects deleted by event from owned objects list
2024-09-29 00:10:09 +02:00
f94f0a3274
new dialog
2024-09-28 15:51:53 +02:00
d929bfb9d1
rename; introduce factor
2024-09-28 15:05:13 +02:00
3559f9f923
HMI for spell research
2024-09-28 01:47:32 +02:00
5b2aa4dc71
swapping spells
2024-09-28 00:34:25 +02:00
a9327b3fa3
netpacks
2024-09-27 22:47:22 +02:00
586a32a616
CArtifactSet cleanup
2024-09-23 23:39:19 +03:00
b9ae7f1138
CMap put move and remove artifact method
2024-09-23 23:30:38 +03:00
735af83294
castSpellThisTurn to bool var
2024-09-18 21:24:27 +02:00
0aaafc4c8a
cast without skip
2024-09-14 15:10:24 +02:00
cb5df096c1
Added per-team tracking of scouted state of an object
2024-09-12 12:11:17 +00:00
785036836c
Rewardable objects may now define guards. Converted Crypt to rewardable.
2024-09-12 12:10:40 +00:00
8225eb454e
Added GameSettings to gamestate, potentially allowing to define game
...
settings per map (or in random map template)
2024-09-05 15:16:27 +00:00
6179521364
Merge pull request #4556 from IvanSavenko/town_building_visit
...
Implemented explicitly visitable town buildings, e.g. hota mana vortex
2024-09-05 17:21:21 +03:00
7466d7452d
vcmiscrolls
2024-09-05 15:51:45 +03:00
30fa2846aa
ArtifactUtils::createArtifact ArtifactUtils::createNewArtifactInstance unified
2024-09-04 21:25:55 +03:00
327ff01471
Implemented explicitly visitable town buildings, e.g. hota mana vortex
...
Added flag `manualHeroVisit` flag to town building. If this flag is set,
then building will only be activated on click and will not give its
effect on hero recrutiment, hero visit, or new day.
This allows implementing changes to Mana Vortex from HotA
2024-09-03 16:31:07 +00:00