Commit Graph

6 Commits (5f3c32c81f43c8a273e58179a85d911625b31d38)

Author SHA1 Message Date
Clonkonaut ba521405ee Added more chunks: Amethyst, Ice, Ruby, Snow 2014-03-30 22:18:25 +02:00
Sven Eberhardt c115fbfaa0 FnBlastFree: Added max_density parameter.
Also updated material densities and added attribute MaxPickDensity to pickaxe, so it's now possible to define a pickaxe that cannot go through granite.
2013-03-26 00:45:44 +01:00
Günther Brammer 6d6737a022 Add two new Material Shapes Octagon and Smoother, more chunk antialias
Previously, smooth materials would get extra triangles at the top to create
slopes instead of steps. Now those also appear at the bottom.

Smooth also gets generally smoother at the bottom, while Rough gets rougher
at the top. The new Smoother material is somewhere between Flat and Smooth.
Octagon is like Flat but also gets straight slope triangles.
2011-09-07 14:25:32 +02:00
Peter Wortmann b8523eb76f Material objects dug free can be forced to be collected
The idea is that for some materials (e.g. earth chunks) it really
doesn't make sense to not immediately collect them - they would just
collide with something and recreate the material you just dug out.
So instead, this allows materials to specify that they want their
dug out objects to be collected immediately - if not, they simply
don't get created.

Note that this doesn't mean that material is lost, as it will simply
acumulate in the digger's material list instead. We might want to
cap that at some point though.
2011-08-20 15:43:58 +01:00
Tobias Zwick 8c490dca05 Implemented free shapes (=polygons) to be added or cleared from the landscape:
+ Refactored the ShakeFree, BlastFree, DigFree, DrawQuad etc. functions and
  removed unused functions ClearRectDensity, DigFreeMaterial,...
+ Moved the polygon fill algorithm from StdSurface8.cpp to C4Landscape.cpp
+ Clearance functions which used to subtract a circle now subtract something
  that looks more like a chunk
+ Pickaxe works with BlastFree now
+ Removed Dig2ObjectRequest
2011-05-31 00:33:35 +02:00
Armin Burgmeier 3a9556f1a3 Change .c4m extension to .ocm 2011-03-13 17:01:53 +01:00