Commit Graph

22 Commits (c7550bd43cb878f7517cf362d5b54c816c99a49c)

Author SHA1 Message Date
Lukas Werling 8d6090e607 Fix documentation of OverlayType
Bit 3 (C4MatOv_Monochrome) was removed in fc5c38468 ("Material: Remove
color field, use textures as is", 2009), but was still mentioned in the
documentation.
2018-03-27 19:20:21 +02:00
Nicolas Hake 5f895c14fc Materials: Fix misspelling of "Incendiary" (#1680)
The wrong spelling will still be accepted as a material value, as long
as no value with the correct spelling exists.
2016-02-09 23:45:02 +01:00
Sven Eberhardt 7f827d4b15 Add optional debug logging for shape texture loading.
Set Config.Developer.DebugShapeTextures to 1 for testing.
2015-11-20 20:35:05 -05:00
Sven Eberhardt 47e422f452 Rework and document texture shapes.
* Renamed from material shapes to textures shapes
* No per-texture, so the same material can use different shapes with different textures
* Load a shape image instead of text file with vector components
* Allow texture sizes that are not multiple of the map zoom
* Add minimum overlap parameter to draw shapes only when the given overlap is reached.
2015-10-09 00:16:24 -04:00
Armin Burgmeier 653680b296 Revert "Add Scale parameter in materials"
This reverts commit 8ef1f908cc. This seems to be
a performance bottleneck on some graphics cards and/or drivers. Clonkonaut
reports issues with a Radeon HD 7800.

This feature is not vital since textures can always be drawn such that they
tile properly at 512x512. While that particular problem with the Radeon card
could probably be worked around, it's just not worth it.
2015-09-19 17:26:46 -04:00
Armin Burgmeier 8ef1f908cc Add Scale parameter in materials
This allows to scale textures up or down from their initial size, allowing
them to tile at intervals other than 512x512.
2015-09-19 10:48:28 -04:00
Sven Eberhardt 0d16e67066 Order mat-tex combinations by appearance in texture map instead of by palette index when zooming map to landscape.
This should simplify insertion of new textures at arbitrary drawing orders without reassigning palette indices (the latter would invalidate all old maps).
2015-08-10 00:34:43 -04:00
Armin Burgmeier bc177e8f8b Documentation updates 2015-08-04 21:21:24 -04:00
Armin e135a74189 Docs: Remove some dead hyperlinks leading to deleted functions. And remove the Alpha entry in Material (ocm).
Signed-off-by: Maikel de Vries <mdt.maikel@gmail.com>
2015-07-08 22:29:55 +02:00
Sven Eberhardt 86b2dbb2ca Document light material property. 2015-01-28 22:37:59 +01:00
Tobias Zwick 266540fc76 add documentation for BlastFree 2014-01-22 13:01:45 +07:00
Günther Brammer cd75b0a3d2 docs: Add an index to the table of contents
This adds everything that has an id as well as functions.
2011-09-05 22:37:47 +02: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
Tobias Zwick 481a59835c docs: talk about nil for defaults. enclose nil, false and true in <code> tags 2011-07-31 01:32:02 +02:00
Tobias Zwick a363c3c09a docs: proper spacing between icons and titles, css adjustments 2011-07-21 02:43:04 +02:00
Tobias Zwick 61707480de docs: removed references to old .bmp graphics 2011-07-21 01:35:33 +02:00
Tobias Zwick 262d6c5ac1 docs: fixed spacing of title images to titles 2011-06-29 14:22:23 +02:00
Tobias Zwick 8d6ae3c729 docs: replaced icons with new oc icons 2011-06-26 18:06:21 +02:00
Tobias Zwick cdac6945b6 docs: replaced all c4s,c4d,c4g,c4m,c4p,c4i,... with their oc* counterpart in the documentation 2011-06-25 15:31:29 +02:00
Armin Burgmeier df1abcd978 Switch main documentation to English, German translation now in de.po (#287) 2010-08-22 15:13:17 +02:00
Tobias Zwick 49c202ac31 docs: use naming_scheme for the docs instead of strNamScheme 2010-03-15 23:55:14 +01:00
Günther Brammer 675da642c3 Add Clonk Rage developer documentation
committer: Günther Brammer <gbrammer@gmx.de>
2009-05-09 15:11:51 +02:00