Günther Brammer
4dffefe8c9
X11: Remove support for the xf86vidmode extension
...
In practice, only the xrandr code path received any testing. Since Clonk
works fine without changing the resolution, this will not terribly
inconvenience anybody still stuck on old systems without xrandr.
Also only minimize the window when the resolution was changed.
The minimization is there to prevent accidental focus restoration
resulting in unwanted resolution switching.
2012-11-17 18:07:37 +01:00
Günther Brammer
8a001972ab
Avoid some false positives on a naive Random-between-sequence-points check
...
The check was git grep -Ewn -e 'Random\s*\([^;{}]+Random' src
2012-11-17 16:30:12 +01:00
Günther Brammer
c439c81362
Remove unused C4D_None
2012-11-12 02:41:20 +01:00
Günther Brammer
7bd8c03978
cmake: Sort config.h.cmake by macro name
...
The config.h file is automatically sorted by autoheader. This keeps them in
sync.
2012-11-17 22:36:50 +01:00
Günther Brammer
068b58e01b
autotools: Add nullptr, static_assert and dbghelp tests
2012-11-17 22:35:42 +01:00
Nicolas Hake
102ac08c2e
Don't assume char to be unsigned when generating packet header
...
OR'ing an enum value and a char with its highest bit set sign-extends the char.
On compilers with signed chars, this means you end up with a negative integer,
which can't be narrowed to uint8_t at initialization (which is what PacketHdr's
first member is).
2012-11-17 22:53:56 +01:00
Sven Eberhardt
99992b6f47
Fix sync loss and missing landscape or objects when joining two consecutive games without restarting the engine inbetween
...
Caused by an outdated cache of the DirectoryIterator in the main scenario group
2012-11-17 19:44:04 +01:00
Peter Wortmann
afe653baae
Use uint8_t consistently for UDP status packet byte
...
Thanks to pkern for spotting this.
2012-11-17 17:40:00 +00:00
Tobias Zwick
f7f734d2bb
fix: don't try to load OpenAL if option is turned off
2012-11-16 17:30:52 +01:00
Tobias Zwick
348fb8c7a9
clean up mouse controls, reduced cursor graphics to the used ones
2012-11-16 17:29:42 +01:00
Günther Brammer
95de10f6a8
editor: Fix USE_CONSOLE
2012-11-16 00:05:58 +01:00
Günther Brammer
a8dfeeaf7e
win32: Make USE_CONSOLE compile again
...
There's even a plausible implementation of CStdInProc::GetEvent.
2012-11-15 23:01:24 +01:00
Maikel de Vries
13b9dd2e53
Added dummy object to fix script error
2012-11-15 22:07:21 +01:00
Matthias Rottländer
9ed8fcc2d4
Added model of the flightless bird
2012-11-15 15:56:40 +01:00
Felix Wagner
6f912365d2
Raiders of the Lost Castle WiP
2012-11-15 15:20:34 +01:00
Charles Spurrill
3bc2b3474a
Added Hatch.ocd to Tests
2012-11-15 15:20:13 +01:00
Matthias Rottländer
bf72b5aa3e
New model for loom
2012-11-15 15:19:30 +01:00
Charles Spurrill
4be8e1f97b
Shipyard texture
2012-11-13 20:18:46 -08:00
Charles Spurrill
1121425eca
Airship: modules delete themselves when airship is removed
2012-11-12 18:09:58 -08:00
David Dormagen
4cdb4a6f3d
fixed possible zero pointer error
2012-11-12 18:58:39 +01:00
Charles Spurrill
bab481dbc9
Balloon: fixed "jump" when deploying
2012-11-11 18:49:06 -08:00
Charles Spurrill
f70a66ceae
Nicer smoke for chemlab
2012-11-11 16:51:22 -08:00
Charles Spurrill
162e125085
#374 Missing graphics: Scoreboard of Parkour and LastManStanding - Finished
2012-11-11 16:08:48 -08:00
Charles Spurrill
6ea36b5efb
GetObjAlpha function added, to be consistent with SetObjAlpha
2012-11-11 12:43:20 -08:00
Charles Spurrill
9f867db1dc
added global functions FadeOut(int time, bool del) and FadeIn(int time)
2012-11-11 11:44:03 -08:00
Charles Spurrill
5ce45b24d7
Fix sword rotation on clonk's back
2012-11-11 11:39:08 -08:00
Charles Spurrill
60556b80ad
Pickaxe: Only hold the pickaxe in hand when swinging
2012-11-11 11:17:14 -08:00
Charles Spurrill
5cde2fa8de
Fixed shield clipping through clonk's backpack
2012-11-11 11:15:01 -08:00
Charles Spurrill
277211cb3a
Fixed rotation offset of secondary tool when using shield in primary hand
2012-11-11 10:56:37 -08:00
Charles Spurrill
cc674ea6bb
Temporary fix for "826: Can't dig out of sand if you're trapped in it"
2012-11-11 01:03:27 -08:00
Charles Spurrill
13cb097a86
Nicer wood graphics
2012-11-10 20:00:18 -08:00
Charles Spurrill
697281ffb5
Tweaked shield animation
2012-11-10 16:45:05 -08:00
Charles Spurrill
956674aa5e
Fixed shield acting as though it was always pointing up.
2012-11-10 15:56:37 -08:00
Günther Brammer
c613c86c37
Move the elevator case behind airships
...
Mostly so that moves them, and so that the airship doesn't appear to be
between the elevator and the elevator case. To prevent other objects from
doing that in the future, move the elevator itself to just behind the
elevator case.
2012-11-10 18:38:50 +01:00
Sven Eberhardt
eb1256b855
Fix elevator case to properly carry lorries ( #844 )
2012-11-10 17:46:38 +01:00
Sven Eberhardt
20e33a378a
ScorchedGardens Scenario.txt title fix
2012-11-10 14:24:06 +01:00
David Dormagen
0b0058da0f
removing and adding Rule_NoPowerNeed while consumers are active has now the expected behavior ( #828 )
2012-11-10 14:19:59 +01:00
David Dormagen
f0536d4b4f
the elevator forcefully takes pushable objects with it now until the SolidMask bug is fixed
2012-11-10 13:31:21 +01:00
David Dormagen
9896106707
elevator now catches fire when case is destroyed ( #822 )
2012-11-10 13:06:26 +01:00
Günther Brammer
af62ab7931
Move script bytecode from C4ScriptHost into C4AulScriptFunc
...
This makes functions independent of their "Code Owner"s, which removes the
necessity to maintain that connection and carefully reset functions when
their scripthost is cleared.
2012-10-21 18:14:32 +02:00
Andriel
487c71807e
Improved chemlab's graphics
2012-11-08 19:33:24 -08:00
Charles Spurrill
cc771a8baa
Added untextured Inventor's Lab 3D graphics (uv-map ready to paint)
2012-11-07 23:04:41 -08:00
Peter Wortmann
2c821552e5
Reset default material zoom level to 4
...
Due to popular demand
2012-11-07 22:14:07 +00:00
Maikel de Vries
4d3ed0ebc1
Correctly direct player from tutorial 4 to 5
2012-11-07 18:39:33 +01:00
Charles Spurrill
9ccc87056f
updated StartupScenSelIcons.png again
2012-11-06 19:40:27 -08:00
Charles Spurrill
f47ff5a4f1
Updated shovel graphics
2012-11-06 18:59:45 -08:00
Charles Spurrill
8b9b891abe
Tutorial 4 leads to Tutorial 5 on completion, as per the others
2012-11-06 16:38:12 -08:00
Charles Spurrill
2b10141a4e
Waterfall actually uses the mat defined in the CreateWaterfall function
2012-11-06 16:37:19 -08:00
Charles Spurrill
0db2b7f47d
#858 : Palm trees no longer drop coconuts after being chopped down
2012-11-05 18:09:21 -08:00
David Dormagen
544fd60838
fixed the shield always force-turning the Clonk
2012-11-05 21:30:34 +01:00