1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-25 00:37:24 +02:00
Commit Graph

7110 Commits

Author SHA1 Message Date
b0c109d5f7 use target from variable 2023-02-22 14:00:52 +03:00
59948a41a6 use std::call_once instead of bool flag 2023-02-22 14:00:50 +03:00
e13a230848 merge conflict regression fix 2023-02-18 17:19:33 +02:00
47b253e837 #1579 - check z coord as well 2023-02-17 18:34:57 +02:00
93c2bbf9ab vcmi: modernize lib/battle 2023-02-16 23:37:19 +03:00
e48a4185ed Use config values from new settings 2023-02-15 23:36:09 +01:00
6314fc0506 Fix destructor order 2023-02-15 20:37:18 +02:00
c6feafc367 Hack to fix campaigns 2023-02-15 20:37:18 +02:00
f65c6ad275 fix regressions from modernization 2023-02-15 14:27:12 +02:00
5d98471d12 Merge pull request #1567 from rilian-la-te/modernize-maps
Modernize maps
2023-02-14 23:42:03 +02:00
5f181e25af vcmi: modernize lib/mapObjects 2023-02-14 14:39:56 +03:00
b16f66477c vcmi: modernize lib/mapping 2023-02-14 14:22:13 +03:00
64ddd75cdc Merge pull request #1571 from IvanSavenko/advmap_elements_refactoring
Advmap elements refactoring
2023-02-14 12:53:23 +02:00
fbbfa29030 Merge pull request #1561 from rilian-la-te/modernize-serializer-spells
VCMI: modernize lib/serializer and modernize lib/spells
2023-02-14 12:12:39 +02:00
72fe1fcfa9 Fix minimap updating on hero loss 2023-02-14 11:32:19 +02:00
7bfb37df4d vcmi: modernize lib/rmg 2023-02-14 02:50:39 +03:00
9f55666931 rework netpacks to avoid double typeinfo 2023-02-13 20:26:39 +02:00
0f93b0991c Regression fixed 2023-02-13 15:16:42 +02:00
8504102c53 Merge branch 'vcmi:develop' into contitutient-swap 2023-02-13 09:51:42 +02:00
e6b21ed298 Merge pull request #1574 from SoundSSGood/contitutient-move
combined art move
2023-02-13 08:30:35 +02:00
c41a0a37e7 Merge pull request #1562 from rilian-la-te/modernize-netpacks
vcmi: modernize lib/NetPacks.h and lib/NetPacksBase.h
2023-02-12 23:10:21 +02:00
2976739c97 some refactoring 2023-02-12 21:27:37 +02:00
bdd976cc1e vcmi: modernize spell effects v2 2023-02-12 21:23:00 +03:00
97fc424e98 vcmi: modernize lib/spells (except adventure one, needs major rework) 2023-02-12 21:23:00 +03:00
8661496f6c vcmi: modernize lib/serializer 2023-02-12 21:23:00 +03:00
34a0dbc0b6 misc slots. fixed combined arts moving 2023-02-12 20:13:26 +02:00
0627e1ecaa vcmi: remove unused variables from lib/rmg 2023-02-12 19:11:24 +03:00
3cf303f1c7 vcmi/client: make ColorRGBA constexpr
1. Replace overflowing int3 to ColorRGBA, which is more semantically
   correct
2. Make ColorRGBA constexpr, to make sure than hardcoded colors can
   be initialized in compile time
2023-02-12 19:11:24 +03:00
038db5c71b vcmi: make int3 as constexpr class
This allows us to calculate distances and check const vector validity
at compile time
2023-02-12 19:00:43 +03:00
b30d23d278 vcmi: make ConstTransitivePtr always init self. 2023-02-12 17:59:06 +03:00
7314df56ac contitutient arts swap 2023-02-11 13:21:45 +02:00
94bc418e34 Update CRewardableConstructor.cpp
Fixed swapped identifiers in Limiter.
2023-02-11 08:28:29 +01:00
8604bde69e Apply suggestions from code review
Commit code review changes

Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2023-02-09 19:20:41 +01:00
7af737e9d4 Improve filling vector hardcoded feature data 2023-02-09 18:35:06 +01:00
286c1e522e vcmi: modernize netpacks 2023-02-09 20:22:48 +03:00
e82cc56ddb vcmi: modernize lib/spells/effects 2023-02-08 15:38:26 +03:00
cb3723b54c vstd: pass separators and input by reference
It removes many cases of redundnant string copying
2023-02-05 18:07:56 +03:00
981c23cafa Bump serialization - not sure if necessary 2023-02-05 01:01:11 +01:00
7095e9d8f9 Allow heroes to start with empty armies if configured properly 2023-02-05 00:36:51 +01:00
3f79a9806c Allow flexible configuration - starter dwellings and max stacks count 2023-02-04 23:40:02 +01:00
7b8aebe4e3 vcmi: deprecate MAXED_SPELL
It is almost identical to SPECIAL_FIXED_VALUE_ENCHANT.

Replace its usage in JSON and inside deprecated converter
to SPECIAL_FIXED_VALUE_ENCHANT. Remove buggy string inside
getEffectLevel.
2023-02-04 16:23:03 +03:00
58cfddccaa Merge pull request #1546 from rilian-la-te/dead-code-removal
Remove SDL usage from VCMI library
2023-02-03 11:28:29 +02:00
28eed7047c Hardcoded feature to allow default towns always have 2nd dwelling 2023-02-02 22:50:08 +01:00
4f4660e82d Hardcoded feature to allow new heroes always have 3 stacks like in HotA 2023-02-02 22:28:14 +01:00
cffdabf48e lib: replace SDL usage to Boost one
It is safer and header-only, and can be removed after C++23 is accepted.
There is no need for SDL in non-GUI.
2023-02-02 23:58:22 +03:00
70786f4963 lib: remove unused header
This an unused header with empty class. Just remove it.
2023-02-02 23:50:50 +03:00
9678296875 Hero interaction is now battle action 2023-02-02 13:43:19 +02:00
b1c67fbf47 Better formatting for enum 2023-02-02 13:25:55 +02:00
f1ea88ae9a Merge pull request #1505 from dydzio0614/cheats-improvements
Cheats improvements
2023-02-02 12:21:19 +02:00
f4bbcd0ed4 Merge pull request #1539 from dydzio0614/fixScriptingCompilation
Fix scripting compilation
2023-02-02 12:21:11 +02:00