Lukas Werling
1182e5ebd5
Don't truncate the log file while checking flock
2017-11-08 00:23:44 +01:00
Lukas Werling
60692c793d
Fix assertion failure when joining with openclonk-server
2017-11-05 22:23:38 +01:00
Lukas Werling
c0047bdc53
Fix a desync during runtime join (GH-58)
...
This is a workaround for a more complex engine-side issue. See #1953
2017-11-05 13:56:21 +01:00
Lukas Werling
fb87db1579
Fix umlauts in engine strings
2017-11-05 13:56:21 +01:00
Mark
9cea6ed03c
Fix documentation comment.
2017-11-04 11:40:13 +01:00
Mark
ac0cf07e31
New assertion: Not empty
2017-11-04 11:31:12 +01:00
Mark
26e72eb489
AStar: Clarify the "todo" error
2017-11-02 17:36:31 +01:00
Mark
aaed0b4d54
Fix the typo again
2017-11-02 17:29:43 +01:00
Clonkonaut
b1902355f9
Cannon, Catapult, Lorry: use Library_Destructible (cannons and catapults are now destructible!).
2017-11-01 01:27:48 +01:00
Clonkonaut
5193f99d6c
Library_Destructible: for destructible objects, mainly vehicles.
...
Objects will be destroyed after local HitPoints has been reached in damage taken. Objects will explode into little burning bits, just like it is with lorries.
2017-11-01 01:20:41 +01:00
Clonkonaut
f6af52711a
Catapult texture: removed some dark pixels around the draw wheel which showed because of stretching.
2017-11-01 00:56:14 +01:00
Clonkonaut
6acea8930b
Various objects: include library flammable
...
Increased burn time (140 frames) for: axe, bucket, grapple bow, hammer, pickaxe, shovel, sickle. So useful items will burn a little bit longer.
Coal will burn for 245 frames and then just burst into ashes and not change into a Burned Object.
2017-11-01 00:54:24 +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
41676186a1
Library_Flammable: Logic for flammable objects / items.
...
When ignited, the object will burn for a fixed time (BurnTime property, default is 70 frames) with no detriment to its function.
After that time, the object will change to a 'Burned Object', no longer useful for anything.
2017-11-01 00:46:38 +01:00
Clonkonaut
5c45d7a08e
Fix a script comment that Luchs complained about.
2017-10-29 11:39:07 +01:00
Clonkonaut
3084edcab7
Boomshire: fix arg_count_mismatch warning.
2017-10-29 11:34:53 +01:00
Martin Strohmeier
4d1a000ed8
Fix #1906 : Rule_Relaunch is saved properly in Objects.c by using GetRelaunchRule() instead of CreateObject()
2017-10-27 18:51:14 +02:00
Clonkonaut
2c4aba74f0
Teleglove production: needs any one gem (diamond, ruby, amethyst) to produce (as discussed in #1505 ).
2017-10-27 13:25:34 +02:00
Clonkonaut
fceda32505
Loam production: substitute sand for earth ( #1148 ).
2017-10-27 13:22:37 +02:00
Clonkonaut
808e7fa866
Producer: allow construction material substitution for products via script.
...
All item can now define substitute components like this:
public func GetSubstituteComponent(id component)
{
if (component == Rock) // Rock is in the regular components
return Metal; // Rock can be replaced by Metal, amount is the same
if (component == Wood) // Wood is in the regular components
return [Cloth, Wipf]; // Wood can be replaced by either Cloth or Wipf, amount is the same
}
2017-10-27 13:19:59 +02:00
Clonkonaut
9d3e61e483
Nugget: more reddish colour, to fit the material ( #1588 ).
2017-10-26 16:36:12 +02:00
Clonkonaut
a3b387dc30
Treasure Hunt: fix goal description (Dagobert -> Scrooge) ( #1912 ).
2017-10-26 01:20:03 +02:00
Fulgen301
ab3b6cc682
Treasure Hunt: NPC fixes * Make all NPCs except the AI invincible * Modify Jane's dialogue (before, the player clonk was amused about Tarzan's death ;) * AI clonk have now got names
2017-10-26 01:15:50 +02:00
Clonkonaut
ea301d7289
Double elevator: transfer MoveTo calls to master case ( #1708 ).
2017-10-26 01:05:37 +02:00
Clonkonaut
df861d2654
Give visual feedback that loam is used ( #1889 ).
2017-10-26 00:44:25 +02:00
Clonkonaut
646585a4c9
Fix links on 'Player Controls' page of documentation ( #1686 ).
2017-10-25 15:38:47 +02:00
Fulgen301
05ad28c4f1
Hideout/PyreGem: Fix possible null pointer error The PyreGem calls thrower->GetOwner() in its Hit() function. However, if the gem hits something before setting a thrower (e.g. when falling), it throws a null pointer error. Note: This only concerns custom scenarios which include this gem.
2017-10-25 15:25:14 +02:00
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