Clonkonaut
232a7deb5b
Deep Sea Mining: added Diving Helmet ( #1939 ).
2017-10-25 15:21:30 +02:00
Clonkonaut
2ca557a09c
inherited(...); to inherited(); in Initialize since Initialize doesn't have any parameters.
2017-10-25 15:01:19 +02:00
Clonkonaut
cbe536711c
Boomshire: making sure the airplane will always be upright when reset.
2017-10-25 15:00:38 +02:00
Lukas Werling
afa348ab21
Add comment next to all documented functions in System.ocg
...
Many functions in System.ocg have proper documentation, but not next to
the code. When changing these functions, it is easy to forget updating
the docs. Nobody likes outdated documentation!
2017-10-21 00:10:42 +02:00
Lukas Werling
6605d390a9
Fix documentation of SplitRGBaValue
2017-10-20 23:36:02 +02:00
Martin Strohmeier
a0b131cefd
Fix scoreboard not updating relaunches #1947
2017-10-15 23:54:39 +02:00
Lukas Werling
b94c3757a6
Fix water sliding on lava ( #1946 )
2017-10-14 17:46:04 +02:00
Clonkonaut
3c87d0f135
Work save regarding cable cars/lorries.
...
Started to work on a few station configuration options and combining these with producers for requesting materials (which now kind of works).
2017-10-04 01:19:46 +02:00
Julius Michaelis
3eb6dcbcd3
CMakeLists.txt: stop using add_backward and qt5_use_modules
...
(the former adds libraries multiple times, the latter is deprecated)
2017-09-23 16:52:33 +02:00
Lukas Werling
1541bf62c1
Fix buffer overrun in RealPath
...
This usually isn't an issue, but is caught by -fcheck-pointer-bounds.
2017-09-17 18:51:41 +02:00
Lukas Werling
e92cff778c
backward: remove reference to SIGUNUSED
...
glibc removed that definition in some recent version.
2017-09-17 18:30:17 +02:00
Mark
77bb9c91a6
Fix yet another typo
2017-09-10 20:07:38 +02:00
Mark
380d6202c7
Fixed typo
2017-09-10 19:34:29 +02:00
Mark
7f5ca45097
PowerSystem: Streamlined behavior of neutral network
...
The check for several neutral networks is more strict now, however. Did
not report an error in the unit test, so it *should* be OK.
2017-09-10 19:33:56 +02:00
Mark
6149f7de8a
PowerSystem: Streamline method behaviour
...
Linked flag changing now always updates all networks (which is not very
hard on the performance), special treatment for neutral network will be
removed with the next commit.
2017-09-10 19:18:52 +02:00
Mark
0c148530a6
PowerSystem: Network creation as a function
2017-09-10 18:11:05 +02:00
Mark
28b22c6c62
PowerSystem: Use getter and setter internally
2017-09-10 15:43:19 +02:00
Mark
cc21da2315
PowerSystem: Move network merging from flag to power library.
...
This is not totally finished yet, but this far it is mere refactoring
without changing the system itself.
2017-09-10 14:34:18 +02:00
Mark
4fab0cf47e
PowerSystem: Make system overloadable
...
Replaced hardcoded method calls with a wrapper function
2017-09-10 12:54:11 +02:00
Mark
366ba86abc
Fix #1940 All coconuts must be eaten!
2017-09-02 21:16:04 +02:00
Mark
4838093aaf
Seed: Extract function for planting manually
...
Makes it possible to plant manually if some object overloads ControlUse
2017-09-02 21:15:38 +02:00
Julius Michaelis
c4cd9dda63
Set VIS_Editor in Library_Goal to avoid forgetting it in future goals
...
Fixes #1932
2017-09-01 15:59:51 +02:00
Julius Michaelis
94394c2e2a
Fix some valgrind warnings and a leak in openclonk-server
2017-09-01 15:59:46 +02:00
Mark
2db1ae5de2
ConstructionSite: Fix compiler warning
2017-08-27 21:05:07 +02:00
Mark
3917964bf2
ConstructionSite: Fix possible nil access
...
Code that works with that function expects an array to be returned.
2017-08-27 12:19:38 +02:00
Mark
d1996e45df
Structure: Improved SetBasement
...
The access to editor actions poses a problem sometime when deleting
basements.
2017-08-27 10:40:44 +02:00
Mark
3e26d4258a
ConstructionSite: Overloadable function for construction site preview
2017-08-26 13:36:31 +02:00
Julius Michaelis
9c3c6d1079
Windmill: Syntax error fix
2017-08-26 12:16:32 +02:00
Julius Michaelis
a630d2b94b
Silence "Warning: could not find sound matching '...'" in openclonk-server
2017-08-26 10:56:14 +02:00
Julius Michaelis
ef1c275227
Better error messages for non-constant expressions in 'static const' declarations
...
cf. #1922
2017-08-26 10:39:38 +02:00
Julius Michaelis
e4adb0fd76
Fix StdCompilerINIWrite/19c1badfa
2017-08-25 15:10:28 +02:00
Mark
86154ddd40
ConstructionSite: Interface for custom implementation
...
Status update should be callable as such separately.
2017-08-24 22:24:03 +02:00
Mark
d27223f960
ConstructionSite: Interface for custom implementation
...
Extracted some more functions to make overloading easier.
2017-08-24 21:49:40 +02:00
Mark
7067192c63
ConstructionSite: Interface for custom implementation
2017-08-24 21:08:27 +02:00
Mark
929b31c4a3
ConstructionSite: Cleaned script
...
I know that moving around functions is hell when merging, but I did it
anyway because the construction site is not being changed that often
anymore.
2017-08-24 20:58:29 +02:00
Mark
0a20608f60
ConstructionSite: Remove unused function
...
It did not really disallow taking stuff out, so I removed it.
2017-08-24 20:45:55 +02:00
Mark
c25c63179f
Gold idol: New graphics and script
2017-08-24 20:27:45 +02:00
Julius Michaelis
19c1badfa6
Fix StdCompilerINIWrite/08714a67f
2017-08-24 16:40:05 +02:00
Kanibal
e727d35202
Share time information (frameCounter and realtime) with landscape shaders
2017-08-23 23:53:55 +02:00
Kanibal
c1143a2e51
Add remaining glUniform-functions
2017-08-23 23:53:55 +02:00
Maikel de Vries
fd42ddd823
add script option to block cutting of pipes
...
This allows scripters to place liquid containers with fixed pipes, so that players do not break scenarios.
2017-08-20 12:58:31 +02:00
Maikel de Vries
cb1482d5a4
fix spamming balloons ( #1709 )
2017-08-19 16:11:04 +02:00
Maikel de Vries
2fa7aabcac
prevent buildings from partially burning down ( #1880 )
2017-08-18 17:59:25 +02:00
David Dormagen
6fa13d8717
C4TimeMilliseconds: fixed comparison & stopped reloading shaders every frame
...
Imagine lhs being 0 and rhs being more than int32_t can handle. And then imagine subtracting them and casting them to int32_t.
That's what happened e.g. in void C4ShaderCall::Start() when ScriptShader.LastUpdate was 0. This caused the shaders to reload every frame;
at least when in the main menu. This lead to serious lagging (of the cursor) for me.
Note that the subtraction operator in C4TimeMilliseconds.cpp has a similar issue. This might need a fix or at least high awareness by users. Maybe an assert or something.
PS: Who thought that doing the comparison with a subtraction was a good idea? This is not assembler :I
2017-08-15 10:04:54 +02:00
David Dormagen
8d1aa0c0c2
DirectoryIterator: only append DirectorySeparator if necessary
2017-08-15 10:04:46 +02:00
Julius Michaelis
08714a67f8
Mess up StdCompilerINIWrite in an attempt to fix #1921
2017-08-15 05:50:38 +02:00
Fulgen301
56d1c689d8
The Raid: Correct string table entry Clonko3
2017-08-14 14:49:45 +02:00
Fulgen301
f80e9dbd1a
Display carry heavy objects on the clonk's back while swimming ( #1764 )
2017-08-14 14:49:45 +02:00
Mark
eb1657c3e3
Wearable: Attachment flags
...
Wearable items can have attachment flags, such as matching the target
skeleton
2017-08-13 23:41:04 +02:00
Maikel de Vries
bbdd38830e
show keys to cycle between interaction objects
2017-08-12 22:14:54 +02:00