d49a61645c
All objects that can be owned by player now implement IOwnableObject
2024-08-28 12:51:28 +00:00
a481f07daf
PlayerState now stores all objects owned by player
2024-08-28 12:51:27 +00:00
189cb1c762
Moved most of daily income handling to a separate method
2024-08-28 12:40:44 +00:00
232a759db7
Remove type registration from library pack applying
2024-08-26 19:48:46 +00:00
39bb6d5f39
IMarket now able to store artifacts
2024-08-20 18:49:47 +03:00
2f3f3c21df
Rename town building types to more clear names
2024-08-19 11:47:13 +00:00
01a9509ccb
Remove unused code, reduce includes
2024-08-19 11:47:13 +00:00
fc7554797c
Fix reset of configurable building state on new week
2024-08-14 17:04:43 +00:00
f4a78bb31f
Merge pull request #4439 from IvanSavenko/event_timing
...
Trigger map and town events on start of player turn
2024-08-14 19:01:17 +03:00
49c5f650f7
Merge pull request #4437 from IvanSavenko/battle_sides
...
Unified handling of battle sides ID's
2024-08-14 18:37:05 +03:00
350749a1a6
Removed no longer used netpacks
2024-08-14 14:13:50 +00:00
97f1a310df
Fix miscellaneous issues discovered by Sonar
2024-08-12 18:26:30 +00:00
2a05fbdd50
Unified handling of battle sides ID's
...
- Replaced BattleSide namespace-enum with enum class
- Merged two different BattleSide enum's into one
- Merged BattlePerspective enum into BattleSide enum
- Changed all places that use integers to represent battle side to use
BattleSide enum
- Added BattleSideArray convenience wrapper for std::array that is
always 2-elements in size and allows access to its elements using
BattleSide enum
2024-08-11 20:54:44 +00:00
072af5bd6d
basic support for bank
2024-08-04 15:44:57 +02:00
8edf77afcc
basic handicap support
2024-07-25 00:28:01 +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
1c63fefe02
Moved banks randomization to server-side with client netpack
2024-07-16 13:13:39 +00:00
b07408e984
New objects are now created and initialized on server and sent to client
2024-07-16 13:13:39 +00:00
d2839c8e52
Rewardable object randomization is now always server-sided
2024-07-16 13:13:39 +00:00
5178e4842e
Moved generation of new rumors to server
2024-07-16 13:13:39 +00:00
ad9750ed3e
Merge pull request #4186 from SoundSSGood/end-of-battle-artifacts-transfer
...
End of battle artifacts transfer
2024-07-16 12:45:13 +03:00
6b8f94e6e7
Merge remote-tracking branch 'vcmi/master' into develop
2024-07-11 17:43:44 +00:00
6dd76908bc
MoveArtifact struct not used now
2024-07-09 14:27:04 +03:00
c64e7ee14c
Fix possible crash on Faerie Dragon killing themselves with Frost Ring
2024-07-08 20:56:43 +00:00
41ed7e2e10
Added TODO's for potential optimizations that I've discovered
2024-07-04 07:59:50 +00:00
02e429e973
Fix typos using https://github.com/crate-ci/typos
...
Changes were reviewed manually
2024-06-24 03:47:19 +02:00
84bc6c42db
Added 'Serializeable' base class for classes serializeable by pointer
2024-05-16 18:40:59 +00:00
c92a5bbbab
Attempt to track crashes with unclear cause
2024-05-14 09:44:40 +00:00
0565c062e5
Server functionality
2024-04-30 01:52:49 +02:00
ce68b3f45d
class CArtifactsOfHeroMain : public CKeyShortcut
2024-04-27 21:35:38 +03:00
ce9d2d8ab8
Switching costume
2024-04-27 21:35:37 +03:00
25dea7e364
Saving costume
2024-04-27 21:35:37 +03:00
9cf3db4eb5
Completely remove dead quest instead of leaving nullptr
...
All code that uses this container assumes non-null content
2024-04-11 23:56:29 +03:00
42616cf4e8
Fix text formatting, fix todo's
2024-04-09 16:13:30 +03:00
9e49587749
Replace bonus string description with metastring that can properly
...
handle translations
2024-04-09 16:13:30 +03:00
b1f52eec41
ManageBackpackArtifacts
2024-03-07 18:16:22 +02:00
80fc2bb695
Merge remote-tracking branch 'vcmi/develop' into lobby
2024-02-03 21:11:34 +02:00
bd4c7e3ac0
Added LobbyPrepareStartGame pack to replace old workarounds
2024-02-03 19:57:23 +02:00
2c2bec791c
Fixes and cleanup of game client network shutdown and restart
2024-02-03 19:27:04 +02:00
7247038458
Merge pull request #3574 from SoundSSGood/altar-fixes
...
Artifacts altar related fixes
2024-02-01 22:27:41 +02:00
2e4895766a
Implemented tracking of objects destroyed by players
2024-01-31 01:37:33 +02:00
c6ca6ad835
sacrifice routine
2024-01-27 23:01:57 +02:00
6e629a6a5f
split getBonusLocalFirst into two distinct method:
...
- const method getFirstBonus that returns single matching bonusToString
- non-const method getLocalBonus that returns bonus from current node
2024-01-19 13:56:06 +02:00
e67e4430ba
Removed most of non-const static fields in lib. Reduced header includes.
2024-01-19 13:55:22 +02:00
a15366f5a5
Make IObjectInterface::cb non-static
2024-01-19 13:55:21 +02:00
bd5682ecc3
Merge remote-tracking branch 'vcmi/master' into develop
2024-01-19 13:49:54 +02:00
c21913f661
Fixed initialization of move points and mana for dismissed heroes
2024-01-15 23:16:48 +02:00
cb9c4bbaf0
unlimited replay option
2023-12-28 20:48:19 +01:00
fc4827c89c
option for allowing cheats
2023-12-27 14:39:35 +01:00