Mark
75a82e172a
Added a generic ambient sound object
...
Is more versatile than Ambience_Zicadas. Could need some editor
functions. Backported from OC Classic.
2018-04-14 14:12:52 +02:00
Mark
25d008e99d
FatalError: Allow formatting the message directly
...
FatalError(Format(...)) was necessary previously. Actually it seems not
like a huge thing, but being able to format the string directly in
FatalError is a lot more convenient.
2018-04-12 21:39:06 +02:00
Maikel de Vries
1e060d6124
cable cars: improve deliveries and producer requests fuel
2018-04-12 09:21:00 +02:00
Maikel de Vries
618b4039b3
cable cars: fix finding crossing for power supply when previous fails
2018-04-12 09:21:00 +02:00
Maikel de Vries
051863db5f
make cable crossing structure flippable
...
This makes it easier for now to go around cliffs, a better solution where crossings can be rotated needs more work in the hammer script.
2018-04-12 09:21:00 +02:00
Maikel de Vries
f4991f9705
remove base respawn rule
...
Is deprecated in 8.0 and can be removed now, all functionality is implemented in the relaunch rule.
2018-04-12 09:21:00 +02:00
Julius Michaelis
5e60579bd2
Document the zoom factor in Graphics.8.png in sdk/definition/index
2018-04-12 01:41:32 +02:00
Maikel de Vries
c00a8cf3c3
fix a bunch of suspicious assignment warnings
2018-04-09 11:53:55 +02:00
Lukas Werling
d9f9a2a9a3
Find_Property: Implement searching for specific value ( #2021 )
2018-04-08 15:00:27 +02:00
Mark
5dc4282b56
Replaced old calls to GainMissionAccess
2018-04-05 19:36:50 +02:00
Mark
4212310a9f
Renamed *MissionAccess functions
...
Added legacy wrappers and updated the documentation.
2018-04-05 19:34:16 +02:00
Sven Eberhardt
065c8b7d96
Fix zoom setting by PlayerStart object
2018-04-04 19:59:32 -07:00
Mark
a987f87181
Add version parameter to legacy warning
2018-04-04 21:49:39 +02:00
Nicolas Hake
704994f1b9
Remove warning on assignment in while() conditions (for now)
2018-04-04 21:42:24 +02:00
Mark
75bfef6b06
Use SetNextScenario() in the scenarios
2018-04-04 21:22:04 +02:00
Mark
1682f62df8
Function: SetNextScenario
...
Renamed and documented the former function SetNextMission. Added a script wrapper for the old function that issues a warning. Renaming is based on the fact that the docu speaks of scenarios, and other functions, such as GainScenarioAchievement already use this terminology
2018-04-04 21:17:16 +02:00
Maikel de Vries
82e674ddb8
cable cars: make crossing proper structure and resource chute upgrade
2018-04-02 16:03:52 +02:00
Maikel de Vries
a70ab8b843
cable cars: let steam engine request coal when needed
2018-04-01 20:54:12 +02:00
Maikel de Vries
7178cf6a0a
cable cars: improve hoist destination selection
2018-04-01 20:54:12 +02:00
Maikel de Vries
42a62aa730
cable car: make car a power consumer via crossings
2018-04-01 20:54:12 +02:00
Maikel de Vries
3085bfd264
power system: add functions to check if production and consumption is registered
2018-04-01 20:54:12 +02:00
Mark
b12e54ef21
New coal texture
2018-04-01 20:29:54 +02:00
Lukas Werling
1382478774
Extract Goal_MultiRoundMelee from HotIce
...
There are currently multiple multi-round scenarios in development that
all copy most of HotIce's >500-line scenario script for the multi-round
logic. This commit isolates that logic in a goal with an easy-to-use
interface.
2018-03-31 16:08:29 +02:00
Maikel de Vries
07e66279be
cable cars: scenario saving for cable car
2018-03-31 11:33:08 +02:00
Maikel de Vries
816754a3de
cable cars: improve tests and script clean up
2018-03-31 11:32:42 +02:00
Maikel de Vries
c629661af2
cable reel: fix connecting, max cable length, ensure straight cables
2018-03-31 10:44:36 +02:00
Maikel de Vries
a28b3b9ca1
cable cars: fix network recreation when cable has broken
2018-03-30 10:54:41 +02:00
Maikel de Vries
d8736a56ac
cable cars: improve network deletion and recreation + clean up
...
This is a rather chaotic commit and does not solve all problems of network creation yet, but is an improvement over the old system where deletion of a cable line would fail the network. However, we probably need a cleaner method to construct a network properly.
2018-03-29 21:28:07 +02:00
Maikel de Vries
49d03e52c6
improve cable car test scenario
2018-03-29 21:28:07 +02:00
Maikel de Vries
2b9c96de30
make hoist target move more fluently
2018-03-29 21:28:07 +02:00
Maikel de Vries
ff21dc3cfa
improve destination selection menu a bit
2018-03-29 21:28:07 +02:00
Maikel de Vries
330e275b3d
cable hoist: new type effect, prevent interactions when attached, complete menu texts
2018-03-29 21:28:07 +02:00
Maikel de Vries
85f1c714f7
add material costs to cable car components
2018-03-29 21:28:07 +02:00
Maikel de Vries
7768e6c992
fix script error when accessing non-initialized cable request queue
2018-03-29 21:28:07 +02:00
Maikel de Vries
abfeb86e30
add cable cars test scenario
2018-03-29 21:28:07 +02:00
Maikel de Vries
d7e3a4acd6
cable car: not ready for a new delivery if currently doing one
2018-03-29 21:28:07 +02:00
Maikel de Vries
b1d1079d88
prevent script error in cable station if other station could not be found
2018-03-29 21:28:07 +02:00
Maikel de Vries
e603bce240
add interaction menu tooltip and description for disengaging a cable car
2018-03-29 21:28:07 +02:00
Maikel de Vries
2a344b4543
fix hide in editor for cable car objects
2018-03-29 21:28:07 +02:00
Nicolas Hake
18b23d3d1e
Merge pull request from ckanibal:slashfix
...
Slashfix (GH-68)
2018-03-29 14:48:45 +02:00
Nicolas Hake
b0336bc1a6
Merge pull request from ronnystandtke:patch-1
...
Update openclonk.desktop (GH-67)
2018-03-29 14:46:35 +02:00
Lukas Werling
8d6090e607
Fix documentation of OverlayType
...
Bit 3 (C4MatOv_Monochrome) was removed in fc5c38468
("Material: Remove
color field, use textures as is", 2009), but was still mentioned in the
documentation.
2018-03-27 19:20:21 +02:00
Nicolas Hake
c73b8b3ece
Warn on assignments where an expression is expected
...
This introduces a new diagnostic (suspicious_assignment) which
issues when an the compiler finds an assignment either where a
condition is expected or as the parameter to return.
2018-03-27 08:12:21 +02:00
Lukas Werling
99c14b5547
docs: Drop major version part from <version>s
...
The actual release names dropped the 5.x.x scheme long ago, so there is
no reason to keep it in the docs. It's extra confusing there because the
version is given as a two-part version (e.g. 5.1) most of the time, so
it looks like everything happened in OC 5.x, even though the change was
actually in OC x.0.
2018-03-24 23:13:08 +01:00
Lukas Werling
8e17d7fd7b
docs: Fix case-sensitivity in search
2018-03-24 22:19:58 +01:00
Lukas Werling
f4c854b651
docs: Implement client-side search
...
Search is now performed with a pre-computed index file. This commit
removes the old PHP-based search.
2018-03-23 21:23:38 +01:00
Mark
6aa72c1bdd
Fix axe
2018-03-22 22:12:00 +01:00
Nicolas Hake
b12792dddb
Merge branch 'blake2-no-sse2'
2018-03-21 13:04:15 +01:00
Nicolas Hake
e0850947bf
BLAKE2: Fall back to plain C implementation on non-amd64 platforms
...
While amd64 always supports the SSE2 instruction set extension,
other architectures don't (including 32 bit x86). For the platforms
that don't, we'll use the reference C implementation by default, but
allow users to override it with the BLAKE2_USE_SSE2 option.
2018-03-21 13:00:40 +01:00
Nicolas Hake
570ba7a8ad
Merge branch 'blake2-no-sse2'
...
This adds the BLAKE2 reference C implementation as a fallback for
architectures that don't guarantee SSE2 support out of the box.
Closes GH-69.
2018-03-21 07:58:56 +01:00