Maikel de Vries
46b977e506
block construction sites based on Exclusive and not on planes ( #1534 )
...
This makes more sense, exclusive object block all other construction sites, irrespective of their planes.
2016-02-14 13:36:10 +01:00
Sven Eberhardt
8552b3a8f9
Change return value of InsertMaterial when inserting outside landscape bounds #1509
...
Fixes clogged pump when pumping outside map.
2016-01-08 01:05:22 -04:00
Günther Brammer
755fd09c78
docs: Fix contents position in really wide browser windows
2016-01-03 00:21:39 +01:00
Günther Brammer
5bd30204b7
docs: Fix some <ul> contents to be <li> instead of <text>
...
This fixes visual breakage in the contents.
2016-01-02 22:52:30 +01:00
Günther Brammer
e1b7db956a
docs: Update header and CSS for the new openclonk.org style
2016-01-02 22:44:45 +01:00
Günther Brammer
00a4c6c428
Replace BorderBound DefCore value with BorderBound object property
2016-01-01 22:18:41 +01:00
Nicolas Hake
93df9ba532
Docs: Desc??.rtf is now Desc??.txt
2015-12-29 19:17:48 +01:00
Günther Brammer
7ae26c00b9
docs: Fix index entry of operator >
2015-12-20 00:50:43 +01:00
Maikel de Vries
1d10220a00
fix documentation of Touchable property
2015-12-19 10:42:30 +01:00
Sven Eberhardt
1deb7e8176
Add range parameter to ShakeViewport.
...
Controls the falloff distance, so you can create more localized (or more global) shakes.
2015-12-13 11:11:01 -05:00
Sven Eberhardt
03c9399804
docs: Mention that root windows in script GUIs are not clipped.
2015-12-10 20:32:38 -05:00
Sven Eberhardt
8927096286
Sound namespace changes: Add missing documentation and a lost sound.
2015-12-07 00:17:41 -05:00
Sven Eberhardt
2ad8c75d37
docs: Remove .mid from allowed music extension ( #1476 )
2015-12-04 19:08:16 -05:00
Sven Eberhardt
d758c85028
Add max memory time to music resume feature ( #1461 )
2015-12-03 19:17:41 -05:00
Sven Eberhardt
cc12230d56
Add "immediate" parameter to SetPlrView and ResetCursorView script functions to force viewport scroll position to the target.
2015-12-02 22:11:28 -05:00
Clonkonaut
f8ddc7b313
Documentation for the second parameter of EliminatePlayer ( #1261 ).
2015-11-30 23:49:15 +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
Armin
31371bcc82
Docs: Fix mistake in map scripts. 'Op=checkerboard' was missing.
2015-11-07 11:22:52 +01:00
Armin
9a9ab3059d
Docs: Add related function "DoEnergy" to "GetEnergy".
...
squashed:
Correct mistake. Copied too many lines in my last commit.
Docs: Add releated function.
2015-10-29 11:24:21 +01:00
Armin
0b223be474
Docs: Correct two examples in Script GUIs.
2015-10-29 11:16:53 +01:00
David Dormagen
4556fbe011
documented GetPlayerControlState
2015-10-15 18:05:21 +02: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
David Dormagen
fa1e86f2ae
docs: added fuzzy logic to "library" folder
2015-10-05 14:50:02 +02:00
David Dormagen
cb58bed40e
fuzzy logic library: changed interface & added documentation
...
The interface now follows the Shape library's interface.
2015-10-04 18:38:05 +02:00
Armin
5a2bfe40a6
Docs: Map.c examples: Replace DrawSulphur with DrawFirestone.
2015-10-01 18:46:35 +02:00
Sven Eberhardt
17e0e2f423
Add breaks between music.
2015-09-30 22:50:18 -04:00
Sven Eberhardt
62c3d13ece
Document InitializeAmbience.
2015-09-28 20:20:57 -04:00
Sven Eberhardt
3f6cacade4
Add parameters to Music and SetPlayList to resume a piece from where it was last interrupted.
2015-09-27 20:58:37 -04:00
Sven Eberhardt
766cd3e7d6
Fix default map zoom in docs ( #1409 ).
2015-09-27 16:12:17 -04:00
David Dormagen
052e0358d9
script guis: document and give example for names starting with underscores
2015-09-27 18:34:18 +02:00
David Dormagen
cd9c0717c9
document new GUI_NoCrop effect on text
2015-09-26 08:33:20 +02:00
Sven Eberhardt
88167a03a8
Add support for hidden scenarios.
...
If C4S.Head.Secret is set and mission access to the scenario has not been gained, it is hidden in the scenario selection list.
2015-09-24 23:51:16 -04:00
Maikel de Vries
0cf664e5d9
fix dead link in Anim_Linear documentation
2015-09-20 20:29:34 +02:00
Sven Eberhardt
95da770892
Move GetDefWidth and GetDefHeight script functions to engine.
...
They started to appear in script profiler runs and the GetDefVal-implementation is very inefficient.
2015-09-19 21:22:55 -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
Armin Burgmeier
8e2ad1fb33
Fix property name "LightOffset" in SetLightRange docs
2015-09-16 21:55:33 -04:00
Sven Eberhardt
b683e47499
Add LightOffset property to allow light sources to origin from locations other than the object center.
2015-09-16 21:14:08 -04:00
Mark
722a5ad448
Explode: DoShockwave
...
Added the global function DoShockwave. Updated documentation. Changed the way explosions deal damage: Every object at the center of the explosion gets full damage. Every object inside the explosion radius gets half damage.
(cherry picked from commit 22298a6d1389b5344ebe7aea56f3c371b5ad845f)
Conflicts:
planet/System.ocg/Explode.c
2015-09-13 13:01:28 +02:00
Mark
15056b823f
Explode: Damage override
...
Added damage override parameter to the explosion functions. Updated the documentation as well.
(cherry picked from commit 59f802c2d3f269d54c12489ac9659ee3ca57a857)
Conflicts:
planet/System.ocg/Explode.c
2015-09-13 13:01:24 +02:00
Armin Burgmeier
a40792013f
Add "AttachNumber" parameter to AttachMesh
...
This allows to create nested definition-based attached meshes.
2015-09-12 19:57:00 -04:00
Maikel de Vries
e64534b201
document ignore_ocf parameter of Collect
2015-09-12 22:37:21 +02:00
Sven Eberhardt
75d0eba402
Document attach_number in several animation-related script functions.
2015-09-12 12:26:03 -04:00
Sven Eberhardt
6face464aa
Document attach_mesh parameter of the PlayAnimation function.
2015-09-12 11:07:20 -04:00
David Dormagen
cd82b41c06
particles: added CollisionDensity to specify with which kind of material a particle will collide
2015-09-12 10:53:23 +02:00
Maikel de Vries
0610cbda7d
document object layer setter and getter
2015-09-10 22:31:51 +02:00
Sven Eberhardt
3723024e2f
Added implicit layer check to local calls of FindObjects-family functions ( #1383 ).
...
Also fixed some docs links. Note that GetObjectLayer and SetObjectLayer are still not documented.
2015-09-09 20:19:45 -04:00
Sven Eberhardt
e3213812a9
Implement GetStartupTeamCount() script function ( #1246 ).
...
Returns number of teams containing active players at game start.
2015-09-06 23:29:22 -04:00
Sven Eberhardt
31a3f5979f
Add missing image in script gui docs.
2015-09-06 17:06:14 -04:00
Maikel de Vries
a9ac4b0ea7
fix dead link in GetStartupPlayerCount docs
2015-09-04 23:20:02 +02:00