1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-09 01:06:07 +02:00
Commit Graph

62 Commits

Author SHA1 Message Date
645b95ba02 Renamed LibClasses * VLC to GameLibrary * LIBRARY 2025-02-21 16:54:56 +00:00
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
e9be46af98 Merge branch 'develop' into timed_events_objects_removal 2024-12-03 17:27:24 +01:00
f59834afe1 Fixes for configurable markets support
- string "speech" can now be translated
- removed "title" string, VCMI will now use object name instead
- moved configuration of all "markets" into a separate json file
- added schema for validation of market objects
- removed serialization of translated strings from University
2024-11-20 15:45:13 +00:00
4ae81cbac0 Add missing field to serialization 2024-11-16 16:23:02 +00:00
0f94f35dcf code review 2024-11-14 00:34:39 +01:00
0e5711f8bf Merge branch 'develop' into delete 2024-11-06 23:28:57 +01:00
e9690c8c54 Merge branch 'develop' into autosave_name 2024-11-06 22:06:12 +02:00
164aac4db2 refresh list 2024-11-01 00:52:19 +01:00
452762cd78 change datetime format 2024-10-30 23:23:56 +01:00
a39469d165 Add save compatibility 2024-10-30 16:57:03 +00:00
31095248ab Removed typeName and subtypeName properties from CGObjectInstance 2024-10-13 13:05:50 +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
679181c103 Implemented serialization of local player state in json form 2024-10-08 20:04:32 +00:00
7707adc44f checks on server 2024-09-28 01:18:10 +02:00
3fe90e19a5 Merge branch 'develop' into map-objects-removal-2 2024-09-28 00:08:59 +02:00
138cbc6a81 scenario name for campaigns 2024-09-24 11:23:10 +02:00
cf5ce96aeb Backend implementation of object removal possibility by timed map events 2024-09-23 21:45:50 +02:00
cb5df096c1 Added per-team tracking of scouted state of an object 2024-09-12 12:11:17 +00:00
258d298775 Merge branch 'develop' into outro_support 2024-09-09 23:09:44 +02:00
6d9385b8bd outro for RoE 2024-09-05 21:31:17 +02: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
36914682a5 Merge branch 'develop' into chronicles_installer 2024-08-31 16:18:52 +02:00
16cbd6a7d2 allow custom loadbar-backgrounds for campaigns 2024-08-31 16:03:42 +02:00
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
e5f1d60298 Add save compatibility 2024-08-28 13:03:44 +00:00
f765f212bb Restore save compatibility 2024-08-26 20:52:37 +00:00
01c14ae9ce Merge branch 'develop' into extended_statistic 2024-08-20 20:25:16 +02:00
f1e63792f0 Greatly simplify town buildings logic 2024-08-19 11:47:13 +00:00
a42afa2910 code review 2024-08-14 21:51:08 +02:00
5523e08cb7 Players affected by event is now stored as std::set instead of bitmask 2024-08-14 14:13:49 +00:00
d2e24e01b4 Merge branch 'develop' into regions 2024-08-10 15:50:45 +02:00
23438590c5 defining own regions 2024-08-10 15:27:22 +02:00
06209d2556 Merge branch 'develop' into statistic 2024-08-01 23:37:45 +02:00
4f0c3a3608 Merge branch 'develop' into handicap 2024-08-01 21:39:40 +02:00
fb171ab3a2 statisic basic 2024-08-01 21:36:00 +02:00
53c0d20a57 fix campaign highscores 2024-07-26 20:36:52 +02:00
8edf77afcc basic handicap support 2024-07-25 00:28:01 +02:00
0d66ddbeec GameState now uses random generator from server. Blocked access to rmg
on client
2024-07-16 13:13:38 +00:00
02bd52041b extend map format 2024-06-29 13:13:59 +02:00
02e429e973 Fix typos using https://github.com/crate-ci/typos
Changes were reviewed manually
2024-06-24 03:47:19 +02:00
df83fa33a1 Merge branch 'vcmi/master' into 'vcmi/develop' 2024-05-31 09:34:21 +00:00
888149c6f6 Implemented simple versioning system for multiplayer 2024-05-29 20:08:32 +00:00
5c2ca380ab Merge pull request #4052 from vcmi/bank_battle
Config option for regular unit placement in Black Tower
2024-05-29 22:55:22 +03:00
098c88eff4 Update serialization version 2024-05-29 20:52:59 +02:00
2ff28f6957 Merge pull request #4018 from IvanSavenko/voting
[1.5.2?] Multiplayer voting
2024-05-29 18:13:42 +03:00
f8a206b0c6 Fix serialization of size_t breaking 32<->64 bit compatibility 2024-05-23 12:46:28 +00:00
10b50cd905 It is now possible to vote for simturns and turn timer changes 2024-05-19 18:31:32 +00:00
03054af949 Add description for serialization changes, fix CURRENT value 2024-05-17 13:09:08 +00:00
2ed355952c Added proper serialization for unordered_map 2024-05-16 19:03:04 +00:00