Sven Eberhardt
5ccc932386
Editor: Disable packed export if no game is loaded
2016-11-22 22:28:19 -05:00
Sven Eberhardt
1cde52e060
Editor: Add "Export packed" file menu item
2016-11-20 22:43:44 -05:00
Sven Eberhardt
d77206338c
Editor: Fix pre-selection of last file and folder in save as dialogue
2016-11-20 22:43:15 -05:00
Sven Eberhardt
290d606bc5
Fix boiling liquid visibility, saving and activity in cave maps
2016-11-20 21:52:33 -05:00
Sven Eberhardt
27272aea02
Fix mac build
2016-11-20 13:58:25 -05:00
Sven Eberhardt
a5de44b4e9
Add UserAction: Set shader
2016-11-20 13:43:46 -05:00
Sven Eberhardt
04b5f82080
Editor: Add "open in network" to file menu and to new scenario dialogue
2016-11-20 13:24:09 -05:00
Sven Eberhardt
4b508134f8
Add clonk EditorAction: Turn around
2016-11-20 13:15:03 -05:00
Sven Eberhardt
27291ec977
Automatically move dropped items from dialogue to dialogue target
...
Because it happens easily when editing.
2016-11-20 13:15:02 -05:00
Sven Eberhardt
615e08a137
UserAction evaluator: Object alive
2016-11-20 13:15:02 -05:00
Sven Eberhardt
fb400456ce
Add MovingBrick editorprops and graph movement
2016-11-20 13:15:01 -05:00
Sven Eberhardt
5e2c39da28
Editor: Fix shape edge and vertex properties when used within an enum
2016-11-20 13:15:00 -05:00
Sven Eberhardt
e0d741079a
Editor: Fix shape drag value updates
2016-11-20 13:15:00 -05:00
Sven Eberhardt
6793455119
Add drag_finished parameter to EditCursorMoved callback
2016-11-20 13:14:59 -05:00
Sven Eberhardt
4a31ce0fd8
Add editor prop for neutral flagpoles
2016-11-20 13:14:59 -05:00
Sven Eberhardt
8ac9a1e2bf
Add Rule_BaseRespawn editor props
2016-11-20 13:14:58 -05:00
Sven Eberhardt
c5623aa7a2
Fix crash on script error in DirectExec scripts
2016-11-20 13:14:57 -05:00
Sven Eberhardt
bcf782a5a8
Improve diamond+socket scenario saving and editor visibility
2016-11-20 13:14:57 -05:00
Mark
f2870dfa16
Object.c: New functions
...
Needed AddSpeed() in a project and thought that it would be a good addition. AddVelocity() is not used so far, maybe we should remove it again.
2016-11-19 19:05:27 +01:00
Sven Eberhardt
a46ecc7b5b
Editor: Invalidate selection if EditCursorMoved()-callback returned true
...
This allows position-induced shape- or property-changes to be reflected immediately.
2016-11-16 01:11:55 -05:00
Fulgen301
399a619e4c
Aerobatics: German translation added.
2016-11-13 21:57:16 +01:00
Nicolas Hake
34bdab6ba5
Aul: Don't force assertions active
...
Assertions are great for debugging, but in public builds they just kill
apps dead.
2016-11-13 11:07:22 +01:00
Nicolas Hake
eda6cc9c7f
Aul: Gracefully handle errors in codegen ( #1840 )
...
By continuing to generate bytecode even after an error is found, we're
able to find more syntax errors and will also be able to keep the value
stack at the expected height.
2016-11-13 11:07:21 +01:00
Nicolas Hake
ff0325dfac
Aul: Always reset the current function when a declaration ends ( #1839 )
...
When an error occurred during codegen of a function, the current
function pointer would not be reset to 0, leading to spurious warnings
about redeclaration of functions.
2016-11-13 11:07:01 +01:00
Sven Eberhardt
072e1dcde0
Editor graph delegate: Add update callback functionality for graph edits
2016-11-12 22:20:05 -05:00
Sven Eberhardt
83c1d25b84
Fix editor graph delegate vertex hit radius
2016-11-12 22:20:04 -05:00
Sven Eberhardt
1621e984a9
Editor shapes: Update shape if value changed by script
2016-11-12 22:20:04 -05:00
Sven Eberhardt
91af5a95be
Editor graph delegate: Add HorizontalFix, VerticalFix and StructureFix constraints
2016-11-12 22:20:03 -05:00
Lukas Werling
3b2909fa95
Use glUniform*iv for setting script uniforms
2016-11-13 00:17:35 +01:00
Lukas Werling
d720e648ce
Fix compile error with libstdc++
2016-11-13 00:13:04 +01:00
Lukas Werling
6847e50e79
Implement setting shader uniforms from script ( #1206 )
...
Uniform variables are read from the "Uniforms" proplist set on Scenario
or on individual objects. Proplist keys are uniform names. Values can
either be an int or an array of one to four ints in C4Script. In GLSL,
the uniforms then need a matching type (int/ivec2/ivec3/ivec4). There is
no error reporting; uniforms are only set if both name and type match.
The implementation walks the "Uniforms" proplists on each Draw call. We
may need to cache the uniform maps if this turns out to be too slow.
2016-11-12 22:09:23 +01:00
Maikel de Vries
bfc830a103
fix wrongly turned catapult ( #1838 )
2016-11-11 20:10:12 +01:00
Fulgen301
fb882d693e
Ropebridge: German translation added.
2016-11-11 18:43:35 +01:00
Fulgen301
db61e047ee
Tutorial 06: German translation added.
2016-11-11 18:43:35 +01:00
Fulgen301
863213fe76
Rapid Refining: German translation added.
2016-11-11 18:34:35 +01:00
David Dormagen
83435a89fa
Fixed typo in German localization ( #1848 )
2016-11-11 18:20:59 +01:00
Lukas Werling
b3772e6650
Fix assertions in C4ConsoleQtGraph
2016-11-11 18:00:21 +01:00
Sven Eberhardt
bf9c940aa6
Editor graph delegate: Add edge and vertex properties. Remove graph storage options.
...
The different storage options weren't really needed and would not work with edge and vertex delegates.
2016-11-10 21:43:43 -05:00
Sven Eberhardt
e13bd62f94
Editor: Keep current shape list separate from property holders
...
This prevents shapes from being re-created (and temporary state lost) if the holding property moves within the list.
2016-11-10 21:43:42 -05:00
Sven Eberhardt
1e52ed5a74
Remove unused variable ndx in C4AulParse::Parse_Expression
2016-11-10 21:43:41 -05:00
Lukas Werling
bd8b241734
Update dependency list in README
2016-11-10 22:19:58 +01:00
David Dormagen
ae2000f0a1
Contents menu: sort extra-slot containers to front to make items jump around less
...
With the highest items being in the front, the tight grid layout has less reason to resort a major amount of the items every time items are added or removed. This results in a generally more stable layout.
2016-11-07 20:09:37 +01:00
David Dormagen
12e808263b
Contents menu: use tight grid layout ( #1842 )
...
This makes extra-slot containers not block an extra row anymore. However, they might jump around a bit. It might be a good idea to set their priority lower to make them always appear first.
When they would be in front, the tight grid layout would likely not move them around.
2016-11-05 15:35:15 +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
Julius Michaelis
7aeec3279c
Fix 75289da
and 55b6713
2016-11-03 13:09:54 +01:00
Sven Eberhardt
ebda8193ef
Replace NULL by nullptr in C++ sources
...
We don't support pre-C++0x any more, so nullptr should be fine everywhere (except in the plain C source files)
2016-11-02 19:58:02 -04:00
Sven Eberhardt
54e8c14666
Editor: Add graph, polyline and polygon shape delegates
2016-11-02 09:54:31 -04:00
Julius Michaelis
75289dabb5
Always Log chat message
2016-11-01 19:26:38 +01:00
Lukas Werling
9c98227a03
Fix all -Wformat warnings
2016-10-31 23:39:45 +01:00
Sven Eberhardt
02dffb8af1
Allow rotation of guideposts
2016-10-31 10:10:29 -04:00