Tomasz Zieliński
|
d5f9de5beb
|
Definitive solution for Corpse
|
2023-12-21 12:29:45 +01:00 |
|
Tomasz Zieliński
|
e22f6dd07e
|
Fix for choosing most specific templates. Also seems to fix the Prisons.
|
2023-12-21 09:58:39 +01:00 |
|
Tomasz Zieliński
|
916aedb13c
|
Obvious fix
|
2023-12-19 09:24:01 +01:00 |
|
Tomasz Zieliński
|
bbb3e701ab
|
Reverted incorrect logic. Likely the fix for hota Prison.
|
2023-12-18 17:18:13 +01:00 |
|
Tomasz Zieliński
|
c701d42781
|
Multiple optimizations to avoid copying and allocating tiles for rmg::Area
|
2023-12-18 13:52:03 +01:00 |
|
Tomasz Zieliński
|
339627731c
|
Fixes
|
2023-12-15 18:26:59 +01:00 |
|
Tomasz Zieliński
|
99870be24c
|
Tiny optimizations to avoid copies
|
2023-12-13 22:20:23 +01:00 |
|
Ivan Savenko
|
6fe8ed7a03
|
Merge pull request #3127 from vcmi/fix_random_object_templates
Use the object templates with least terrains allowed
|
2023-12-10 23:11:20 +02:00 |
|
Tomasz Zieliński
|
69ff1734b0
|
Use reference
|
2023-12-06 21:05:27 +01:00 |
|
Tomasz Zieliński
|
6cd19b81dd
|
Working fir for Corpse issue:
- Do not place guard next to blockVis object, if possible
- Do not place two blockVis objects next to each other
|
2023-12-06 20:49:28 +01:00 |
|
Tomasz Zieliński
|
03fa75c51e
|
Some refactoring, commiting current state after tests
|
2023-12-06 09:49:41 +01:00 |
|
Ivan Savenko
|
8346d71c98
|
Remove more subID access
|
2023-11-01 14:44:05 +02:00 |
|
Ivan Savenko
|
03e1169781
|
Reduced number of accesses to CGObjectInstance::subID
|
2023-11-01 14:43:20 +02:00 |
|
Tomasz Zieliński
|
6625831cf6
|
Use the object templates with least terrains allowed.
|
2023-10-31 09:07:53 +01:00 |
|
nordsoft
|
ce62ab3e66
|
Select random object template instead of first
|
2023-09-30 01:19:18 +02:00 |
|
Ivan Savenko
|
0240ee886d
|
Converted (almost) all namespace enum's to enum classes
|
2023-08-25 13:38:02 +03:00 |
|
Ivan Savenko
|
44d16b32fe
|
Use API identical to std classes where possible
|
2023-08-23 16:32:29 +03:00 |
|
Tomasz Zieliński
|
0252d0f986
|
Fix hota offset + 2 possible crashes
|
2023-08-11 07:45:24 +02:00 |
|
Tomasz Zieliński
|
545f047cae
|
Fix HoTA guard once again
(cherry picked from commit 138a7c8024573f46962ad0f6e8e03ba53fa56076)
|
2023-07-18 19:28:20 +02:00 |
|
Tomasz Zieliński
|
52d33fc7a6
|
Generate all treasures of certain value beforehand and try to place them all, don't interrupt at first failure.
|
2023-06-08 19:51:21 +02:00 |
|
Ivan Savenko
|
d6a357fd17
|
Split some map object files into smaller files. Reduced includes usage.
|
2023-06-02 21:47:37 +03:00 |
|
Tomasz Zieliński
|
f3c795462f
|
Remove comment which break the build
|
2023-05-20 17:08:44 +02:00 |
|
Tomasz Zieliński
|
73d9f5bd0a
|
Parallel RMG works fine for maps without water.
|
2023-05-19 20:30:15 +02:00 |
|
Tomasz Zieliński
|
3c87b3934d
|
Do not place object visible tiles over the top of the map.
|
2023-04-10 19:26:53 +02:00 |
|
Konstantin
|
7bfb37df4d
|
vcmi: modernize lib/rmg
|
2023-02-14 02:50:39 +03:00 |
|
Ivan Savenko
|
4f3ea0d1d9
|
Renamed Terrain.h/cpp -> TerrainHandler.h/cpp
|
2023-01-10 00:01:35 +02:00 |
|
Ivan Savenko
|
f51b3bca57
|
use JsonKey or NameTranslated instead of ambiguos Name
|
2023-01-10 00:01:35 +02:00 |
|
Ivan Savenko
|
7c7ae26e67
|
Map/Road/River identifiers are now private members
|
2023-01-10 00:01:35 +02:00 |
|
Ivan Savenko
|
64885bdf6b
|
Better names for terrain parameters. Support for new movement sounds.
|
2023-01-10 00:01:35 +02:00 |
|
Ivan Savenko
|
1468f6aded
|
Converted terrainTypeHandler into proper handler class
|
2023-01-10 00:01:35 +02:00 |
|
Tomasz Zieliński
|
8c481dff46
|
Fix incorrect templates for mines in HoTA
|
2022-10-08 12:42:10 +03:00 |
|
Tomasz Zieliński
|
20c102e648
|
Remove T prefix from new typedefs
|
2022-09-29 11:44:46 +02:00 |
|
Tomasz Zieliński
|
f386f42166
|
Merge remote-tracking branch 'origin/develop' into terrain-rewrite
# Conflicts:
# lib/Terrain.cpp
# lib/Terrain.h
# lib/battle/CBattleInfoEssentials.cpp
# lib/rmg/ObstaclePlacer.cpp
# lib/rmg/RiverPlacer.cpp
|
2022-09-27 07:50:17 +02:00 |
|
Tomasz Zieliński
|
2bd30556a3
|
Store TerrainType by havlue and handle by reference
|
2022-09-26 09:17:55 +02:00 |
|
Tomasz Zieliński
|
4ea57ea7fc
|
A variety of suggested style tweaks
|
2022-09-25 09:33:56 +02:00 |
|
Andrey Filipenkov
|
ff635edc0b
|
wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined
preparation for having client and server in a single process
|
2022-09-24 15:55:21 +03:00 |
|
Tomasz Zieliński
|
494b0f0226
|
First version that compiles
|
2022-09-21 11:34:23 +02:00 |
|
DjWarmonger
|
3d2dc2335b
|
Switch ObjectTemplate to shared_ptr<const> (#870)
|
2022-09-11 16:13:53 +03:00 |
|
Nordsoft91
|
4bd0ff680a
|
Random map generator refactoring (#762)
random map generator refactoring and improvements
|
2022-09-11 11:31:27 +03:00 |
|