DjWarmonger
|
3ac306f501
Merge pull request #19 from vcmi/feature/mapObjects
|
11 years ago |
DjWarmonger
|
d3134a1290
Add free tiles around unguarded objects.
|
11 years ago |
DjWarmonger
|
f84e25fa78
Somewhat better algorithm for paths, helps balance object distribution.
|
11 years ago |
DjWarmonger
|
60df94a3f5
Placing towns according to template.
|
11 years ago |
DjWarmonger
|
8e66b7168a
Corrected paths & guard for large objects.
|
11 years ago |
DjWarmonger
|
01355a77d8
Added "monster strength" info to templates.
|
11 years ago |
DjWarmonger
|
890f29fa7e
Improved guard placement for large objects.
|
11 years ago |
DjWarmonger
|
aa54803c50
Refactoring, clearing logs.
|
11 years ago |
DjWarmonger
|
79da7b92ce
Templates now contain info about mines.
|
11 years ago |
DjWarmonger
|
93b44de63c
Handling "terrain type" and "match terrain to town" options.
|
11 years ago |
DjWarmonger
|
6cbcfbf0a9
Sealed-off treasure piles will be discarded and filled with obstacles.
|
11 years ago |
DjWarmonger
|
edd46d87c1
Treasure pile entrance/guard will always be aimed at the center of the zone.
|
11 years ago |
DjWarmonger
|
2c1001f8e0
Making sure that treasure piles and other objects will always be accessible from the center of zone.
|
11 years ago |
DjWarmonger
|
236b3ec807
Zones will get random network of passable paths inside them. Treasures will try to fill all remaining fields.
|
11 years ago |
DjWarmonger
|
1a34297c33
Rearranged treasure pile info.
|
11 years ago |
DjWarmonger
|
c82bfd0f3e
- Fixed guard generation
|
11 years ago |
DjWarmonger
|
fed2821a94
Fixed behaviour with extreme treasure values.
|
11 years ago |
DjWarmonger
|
81a64a8e67
Templates can now use multiple configurations of treasure piles.
|
11 years ago |
DjWarmonger
|
b3a39f4920
Misc improvements & tests.
|
11 years ago |
DjWarmonger
|
dd5c94fa1e
Fixed overlaping of treasure piles.
|
11 years ago |
DjWarmonger
|
b68f16e89e
Make sure that non-removable objects have their visitable tile accessible.
|
11 years ago |
DjWarmonger
|
743d8dcf9f
Treasure piles won't be placed at free tiles.
|
11 years ago |
DjWarmonger
|
e4ea6727b7
Treasure piles should always be accessible.
|
11 years ago |
DjWarmonger
|
1746ab8c12
Added spell scrolls to the mix.
|
11 years ago |
Ivan Savenko
|
652ceb2bde
Finally shattered CObjectHandler.cpp into tiny bits
|
11 years ago |
DjWarmonger
|
e54c816c92
Treasure piles can now cover several tiles.
|
11 years ago |
DjWarmonger
|
c470b9606b
Obstacles won't be generated around unguarded objects.
|
11 years ago |
DjWarmonger
|
464ffc4afa
Implemented (hopefully) original treasure randomization algorithm.
|
11 years ago |
DjWarmonger
|
fdb81f4d5c
Reading treasure values from config.
|
11 years ago |
DjWarmonger
|
62e9f13b08
- Implemented guard generation formula following this post http://forum.vcmi.eu/viewtopic.php?p=12426&sid=09f5fac8992dc880eb6a720615787ca0#12426
|
11 years ago |