Nicolas Hake
92ed1537a0
Fix off-by-one error in FoW renderer ( #1678 )
...
The FoW renderer would try drawing to texture coordinates one pixel
too high (i.e. if the texture was 256 pixels high, it would draw to
pixels with 1 <= y <= 256 instead of 0..255).
2016-02-15 13:52:03 +01:00
Nicolas Hake
1a82b164b4
Link to terminfo or one of its compat libraries in add'n to readline
...
Unmodified readline relies on, but doesn't link to, a termcap library.
Several Linux distributions patch this, but others don't; to avoid build
failures, we'll just link to a library that provides termcap symbols
even though we don't use them ourselves. Fixes Github #15 .
2016-02-15 13:50:56 +01:00
Maikel de Vries
4b01f51337
only structures should have Exclusive=1
...
Otherwise these objects would block new constructions
2016-02-14 13:37:24 +01:00
Maikel de Vries
488ec4d318
shovel: symmetrize dig angle limits
2016-02-14 13:36:39 +01:00
Maikel de Vries
46b977e506
block construction sites based on Exclusive and not on planes ( #1534 )
...
This makes more sense, exclusive object block all other construction sites, irrespective of their planes.
2016-02-14 13:36:10 +01:00
Maikel de Vries
8d63ddfdef
fix additional preview overlay after combining with other structure
...
This caused an overlay warning in the previewer object when constructing an elevetor and combining it with another elevator and detaching it again.
2016-02-14 13:35:56 +01:00
Maikel de Vries
c0382ceb7f
correctly place/preview basement for elevator ( #1534 )
2016-02-14 13:35:45 +01:00
Sven Eberhardt
bb46dede7a
Fix overflow when calling DoEnergy with large values #1646
2016-02-14 13:32:39 +01:00
Sven Eberhardt
b4919fb1ec
Fight for Gidl: Fix script error on statue death #1610
2016-02-14 13:31:56 +01:00
Maikel de Vries
6978bbe646
fix script errors for wrong parameter types in tele glove
2016-02-14 13:30:23 +01:00
Sven Eberhardt
675740c8dd
Add missing sound for snapping line #1644
...
Sound original from CosmicEmbers (http://freesound.org/people/CosmicEmbers/sounds/161650/ ); cropped and pitch adjusted.
2016-02-14 13:29:21 +01:00
David Dormagen
8aec2eadd2
pickaxe: removed debug message
...
introduced in https://git.openclonk.org/openclonk.git/commitdiff/796aa7d7c62c5348417d584c9637da61297736d4
2016-02-14 13:27:39 +01:00
Sven Eberhardt
a52a4335fc
Maze: Fix error sound when trying to cheat
2016-02-14 13:26:58 +01:00
Sven Eberhardt
c097c6eb35
Fix shovel shoveling in the wrong direction sometimes #1626
2016-02-14 13:26:35 +01:00
Sven Eberhardt
d8f9ab5232
Fix pickaxe picking in the wrong direction sometimes #1626
2016-02-14 13:26:27 +01:00
Maikel de Vries
60c5fb99a2
add power information to interaction menu for flagpole ( #1579 )
2016-02-14 13:24:25 +01:00
Maikel de Vries
79146dac9b
power library: methods to for storage information and balance updates
2016-02-14 13:24:15 +01:00
David Dormagen
4c8d4ef18d
producers: show progress of current product ( #1549 )
...
This is solved via another entry in the production menu (below the products), which is updated by an effect, that is being told the menu ID/target by the interaction menu through a callback.
This setup allows for very intrusive changes to the interaction menu with only few lines of code!
2016-02-14 13:24:04 +01:00
Maikel de Vries
b49f89d31c
move mime skin/portrait from boomshire to decoration folder
...
This makes it available for multiple rounds.
2016-02-14 13:19:26 +01:00
Maikel de Vries
e9e06263a8
fix shape of basement construction preview and site ( #1586 )
2016-02-14 13:18:36 +01:00
Maikel de Vries
2e2450ee77
update license of Sky.jpg in Clonkomotive to cc-by 3.0
2016-02-14 13:18:16 +01:00
Clonkonaut
e486712934
Clonkomotive: German translation ( #1632 ).
...
I also took the liberty of renaming "HeavyCrumb" to "Boulder". I have never heard the word 'crumb' used in this context.
2016-02-14 13:16:55 +01:00
Clonkonaut
47820691d0
Elevator construction preview shows placement of the case ( #1534 ).
...
Structures can use the definition call ConstructionPreview(Previewer Object, Overlay, Direction) to add any overlay to the previewer. It will be coloured accordingly.
2016-02-14 13:08:19 +01:00
David Dormagen
684b0d0682
contents menu: fixed possible "use after deletion" error
2016-02-14 13:03:26 +01:00
David Dormagen
546ae30928
cannon: fix possible nil pointer access
...
In boomshire, the cannons are automatically filled with boompacks (and then fired). That means that there is no Clonk to be passed.
2016-02-14 13:03:05 +01:00
Nicolas Hake
f35b3f3342
Fix NULL deref when deserializing CustomNode AnimationNodes (GH #13 )
2016-02-14 13:02:36 +01:00
Sven Eberhardt
0301f610fc
Use sched_yield instead of pthread_yield in png save wait loop [cfkoch]
2016-01-18 11:29:47 +01:00
Günther Brammer
aa7e2e91db
CMake: Fix building mape on systems with more than one GTK+ CPP flag
2016-01-18 11:28:56 +01:00
Sven Eberhardt
1bba764219
Extinguish transferred contents on respawn
2016-01-18 11:02:00 +01:00
Sven Eberhardt
21390f4c29
Crash landing: Fix post-intro plane placement so it cannot slide into the lava #1615
2016-01-18 11:00:55 +01:00
Sven Eberhardt
ba82f5c3ac
Raid: Fix goal descroptions and buckets in Mave's foundry.
2016-01-18 11:00:22 +01:00
Sven Eberhardt
b0ae8fae84
DarkCastle: Minor objects+text fixes
2016-01-18 11:00:07 +01:00
Sven Eberhardt
193dd6adf4
Hot Ice: Spawn and map improvements in "small islands" mode #1623
2016-01-18 10:56:50 +01:00
Tobias Zwick
0cf9473280
correct Philipp Kern's name in the credit screen
2016-01-18 10:54:52 +01:00
Philipp Kern
2f264b1825
Correct the spelling of my name in Credits.txt
2016-01-18 10:54:38 +01:00
Maikel de Vries
75ab7e0f00
tutorials: hide guide message while in a dialogue ( #1593 )
2016-01-18 10:48:25 +01:00
Maikel de Vries
6d95c83196
fix dialogue stopping and waiting time ( #1597 )
...
First stop the dialogue properly and then wait for 30 frames to start a new one.
2016-01-18 10:48:25 +01:00
Maikel de Vries
6655fdf8c7
tutorial 3: lumberjack directs to other villagers when needed ( #1596 )
2016-01-18 10:48:25 +01:00
Maikel de Vries
dbc21d8431
make sawmill site uncancellable in tutorial 3 ( #1617 )
2016-01-18 10:48:25 +01:00
Sven Eberhardt
082373d6e6
Maze: Fix possible spray line to last position or (0,0) landscape corner #1624
2016-01-16 22:35:46 -05:00
Clonkonaut
c54d917f7e
Deactivate cheats in Gidl/Guardians.
...
We didn't forget!!!
2016-01-15 21:56:57 +01:00
Clonkonaut
675b9ee050
Fix weapons not buyable in Gidl/Guardians ( #1611 ).
...
Switch2Items() is probably broken but luckily not used.
2016-01-15 21:56:37 +01:00
Günther Brammer
21d8a2a64a
Use 32 bit math for +1, ++, -1, etc. in script ( #1389 )
...
The engine has a few more usages of the operators, but they don't look
prone to overflowing. The other operators in Script already used SetInt,
which always truncates to 32 bit.
2016-01-15 20:19:21 +01:00
Maikel de Vries
343fb1bb8c
set version extra string to false for release
2016-01-15 19:11:49 +01:00
Sven Eberhardt
44f913d0e5
Do not display grab interaction when swimming (unless clonk returns true on CanGrabUnderwater callback)
2016-01-15 08:54:50 -05:00
Sven Eberhardt
26084af502
Fix crash when grab target is lost.
2016-01-15 08:54:03 -05:00
Sven Eberhardt
4eddeba9aa
Fix crash when drawing zero-sized viewports (may happen during editor viewport initialization)
2016-01-15 08:53:00 -05:00
Sven Eberhardt
cc613c01f4
Fix action target reset on same procedure only.
2016-01-15 08:14:46 -05:00
Sven Eberhardt
c8a76ce450
Use less annoying swim sounds when swimming on the surface.
...
The "splash" sounded more like the clonk was jumping into the water.
2016-01-14 22:32:54 -05:00
Sven Eberhardt
71b96bc5de
Fix nil pointer access when recovering from over-full inventory
2016-01-14 22:30:55 -05:00