Maikel de Vries
f9e7a983f2
docs: removed obsolote Components entry and add IsEditor function
2018-02-11 10:33:58 +01:00
Maikel de Vries
dc7734e223
FnSimFlight: fix precision of velocity if not provided
2018-01-19 14:37:21 +01:00
Lukas Werling
d42e23a503
Change AutoScanSideOpen to check fg as well per default
...
The previous behaviour of only checking the background broke existing
maps and triggered some (performance?) bug in the mass mover. It is
still available by setting AutoScanSideOpen=2, for symmetry with
Top/BottomOpen.
2017-12-22 23:14:54 +01:00
Lukas Werling
fa8f868ffb
Change AutoScanSideOpen to be like Top/BottomOpen=2 ( #1652 )
2017-12-22 20:40:03 +01:00
marsmoon
1f2e34c42d
Docs: add an example for appendto
...
Close GH-59
2017-12-22 19:31:22 +01:00
Lukas Werling
3d1caffcf6
Convert CRLF line endings to LF
...
Now all files are LF again.
2017-11-24 14:23:33 +01:00
Clonkonaut
8cb3c6f6b3
New property, set for all buildings: FireproofContainer.
...
A fireproof container shields all contents from incendiary material (lava mainly). Structures can now be submerged in lava and the contents will not burn up.
2017-11-21 18:16:45 +01:00
Lukas Werling
be9d3032e2
Add ExecutePXS script function
...
Before commit 5a652f23e
("Fix missing C4PXSSystem::Clear
implementation"), ChristmasIce would keep all snow PXS between scenario
section changes. That looked pretty neat, so I'm introducing this script
function to allow properly implementing it.
2017-11-12 22:00:52 +01:00
Maikel de Vries
101dc5055d
add Op parameter to turbulence map script algorithm ( #1948 )
2017-11-11 10:49:42 +01:00
Clonkonaut
cc163b21b0
New engine recognised property: MaterialIncinerate.
...
Objects will be incinerated by incendiary material (which before was only possible by using ContactIncinerate).
local MaterialIncinerate = true; - object will burn in lava not from other burning objects.
2017-11-01 00:49:26 +01:00
Clonkonaut
646585a4c9
Fix links on 'Player Controls' page of documentation ( #1686 ).
2017-10-25 15:38:47 +02:00
Lukas Werling
6605d390a9
Fix documentation of SplitRGBaValue
2017-10-20 23:36:02 +02:00
Maikel de Vries
efe7dcf251
add Find_Cone to find objects in a cone
...
The reason for an engine function for this is speed, an implementation in script needs Find_Func and ensures slowness.
2017-07-19 22:04:43 +02:00
Maikel de Vries
f5f8b18204
remove unused AttractLightning defcore entry
...
Not used in either the engine or in script, script implementation of lightning can use a script defined property.
2017-07-15 14:00:19 +02:00
Maikel de Vries
4a093b747e
remove unused FireTop defcore entry
...
This has been obsolete since fire is implemented in C4Script.
2017-07-15 13:40:37 +02:00
Maikel de Vries
496c73a50f
add a method to calculate the area to the shape library
2017-05-13 14:59:14 +02:00
Sven Eberhardt
94669cebe4
Merge branch 'master' of ssh://git.openclonk.org/openclonk
...
Conflicts:
src/editor/C4ConsoleQtPropListViewer.cpp
2017-05-07 15:16:01 -04:00
Sven Eberhardt
4fac960cf4
Editor: Add localized string support
2017-05-07 14:26:30 -04:00
Nicolas Hake
be2f079e2c
Docs: Move ParseInt into Script/Strings category
...
It's not really Arithmetics.
Also change the parameter description to something that isn't a
copy/paste error.
2017-04-11 14:27:50 +02:00
Nicolas Hake
b87f8e3f47
C4Script: Add ParseInt function
...
ParseInt() will take a string parameter and try to convert it into an
integer. If the conversion fails, it returns nil.
2017-04-11 14:21:25 +02:00
Nicolas Hake
30c5bb5f8d
Aul: Allow the user to selectively enable/disable warnings
...
This commit introduces a new Aul directive "#warning", which can be used
to enable or disable warnings for a particular piece of code.
"#warning enable" enables all warnings.
"#warning disable" disables all warnings.
"#warning enable empty_parameter_in_call" selectively enables one
specific warning while not affecting any other.
All warnings that used to be controlled by Developer.ExtraWarnings
remain disabled by default.
2017-02-13 15:07:50 +01:00
Julius Michaelis
80c07d34e4
Add [Landscape] Secret to Scenario.txt to default-disable black NO_OWNER viewports
...
Related to: c569036d1d
2017-01-24 18:50:30 +01:00
Maikel de Vries
7a0b931c83
fix docs after GetBase removal
2016-12-28 18:23:33 +01:00
Maikel de Vries
59961f3a17
remove base library
...
* remove library itself
* remove GetBase()
* change flagpole, etc.
* move basematerial library to vendor
2016-12-28 18:19:10 +01:00
David Dormagen
8a8593e0ba
Script GUI: added TightGridLayout style (requirement of #1842 )
...
The TightGridLayout fills spaces more aggressively. This is slower but makes for a tighter layout. Finding the best layout is NP-complete. This here is just O(N^2) or so.
2016-11-05 15:35:15 +01:00
Lukas Werling
5da45d68e1
Add docs for AddFragmentShader/RemoveShader
2016-10-29 21:22:12 +02:00
Lukas Werling
2163e27661
Add documentation for SetSky()
2016-10-16 19:41:03 +02:00
Sven Eberhardt
4b3f8c0fef
Remove EditCursorSelection and EditCursorDeselection callbacks
...
They never worked properly in network mode because all users would see the changes.
EditorProps, EditorActions and shape delegates now provide the functionality to have custom object editing widgets.
This also fixes a bug with the selection callback causing the object list to act up.
2016-10-15 10:06:43 -04:00
Sven Eberhardt
d35fc728bf
Fix DrawParticleLine documentation and example #1823
2016-10-01 10:19:40 -04:00
Maikel de Vries
679eedaf50
GetPathLength: add optional depth parameter
...
This is also exposed by the PathFinder defcore entry.
2016-09-25 21:48:19 +02:00
Lukas Werling
fbb8ad5d87
Add RegexSplit()
2016-09-18 11:10:19 +02:00
Lukas Werling
d7cd224a4f
Add functions RegexReplace, RegexSearch and RegexMatch
2016-09-16 23:46:03 +02:00
Sven Eberhardt
d70506ee2e
Improve GetDefinitionGroupPath script function
...
* Now works on _this instead of parameter
* Now works before editor window opened
2016-09-05 18:30:04 -04:00
Sven Eberhardt
41dde5e7d0
Add script function GetDefinitionGroupPath
2016-09-05 02:00:01 -04:00
Sven Eberhardt
31ead2507a
Add Unstick() script function
...
Also add a position parameter to Stuck() script function.
2016-09-05 01:59:58 -04:00
Sven Eberhardt
4df8679be2
Simplify saving of scenario properties in saved scenarios.
...
Just need to set "Save" to an identifier now.
2016-08-20 01:55:21 -04:00
Lukas Werling
c965c24ee2
Docs: Remove obsolete remark about Random() range
2016-08-19 16:03:54 +02:00
Sven Eberhardt
e39b314239
Add property to auto-save EditorProps in scenarios
2016-08-06 14:49:48 -04:00
Sven Eberhardt
bce09d272d
Add EditorInitialize callback
2016-08-04 22:12:10 -04:00
Sven Eberhardt
1d566ec6c5
Add VIS_Editor visibility flag
2016-08-02 01:12:08 -04:00
Sven Eberhardt
b1a1df8dee
Add eval parameter to not pass errors
2016-07-31 08:15:54 -04:00
Sven Eberhardt
f4ea3359d0
Add InitializePlayers callback after all initial players have joined
2016-07-22 00:13:57 -04:00
Sven Eberhardt
d9f31b006b
Add ReplaceString script function
2016-07-13 02:12:31 -04:00
Sven Eberhardt
0206e9a74a
Qt Editor: Add HideInCreator DefCore setting
...
Hides internal definitions, libraries, etc. from the object creator in the editor.
2016-07-10 21:55:56 -04:00
Sven Eberhardt
a7aa89f168
Merge branch 'master' into qteditor
...
Conflicts:
planet/Objects.ocd/Structures.ocd/StoneDoor.ocd/SpinWheel.ocd/Script.c
src/platform/C4WindowSDL.cpp
src/script/C4AulParse.cpp
src/script/C4Effect.cpp
2016-06-20 22:27:03 -04:00
Sven Eberhardt
397dbd867a
Add DefinitionPriority property to control call order of Definition()-callbacks.
2016-06-07 18:22:43 -04:00
Maikel de Vries
2a731b2545
implement Components as a property lookup table
2016-05-21 13:34:34 +02:00
Maikel de Vries
8291298af1
add script callback on completion change
2016-05-21 13:34:34 +02:00
Maikel de Vries
4833f839d2
script implementation of GetComponent and SetComponent
...
This allows to remove the engine functionality and is based on the property Components = [[def1, amount1], [def2, amount2], ...]. Follow up commits will remove the engine functionality.
2016-05-21 13:34:33 +02:00
Maikel de Vries
accd897b91
rename NoComponentMass to NoMassFromContents
...
This had nothing to with components, and risk of backwards compatibility is minor.
2016-05-21 13:34:33 +02:00