Commit Graph

4110 Commits (9a4295f7455a03a4da32eff562c0cc98d7fa21d0)
 

Author SHA1 Message Date
Günther Brammer 3755a36dd1 linux: Add SOCK_CLOEXEC to socket calls 2012-03-11 00:50:51 +01:00
Günther Brammer b4fd8fcd15 linux: Add O_CLOEXEC to various open calls
This should prevent some file descriptor leakage from forks that
some libraries we use do.
2012-03-05 01:33:02 +01:00
Bernhard Bonigl 94dafb00b9 Fixed Construction-Menu creating deleted-object warnings due to Close + inherited 2012-03-04 23:45:14 +01:00
Bernhard Bonigl 124d600f60 Menus don't update if they're not beeing shown. 2012-03-04 23:16:21 +01:00
Bernhard Bonigl 26a85da227 Added a simple implementation of a grid-menu. Without border so far. 2012-03-04 23:04:15 +01:00
Günther Brammer 4bc309122d Refactor C4Viewport::Init and C4ViewportWindow::Init a bit 2012-03-04 22:45:00 +01:00
Günther Brammer ea66890086 win32: Move fullscreen and viewport WndProcs to C4WindowWin32.cpp 2012-03-04 22:41:35 +01:00
Günther Brammer 8e8e965b8b win32: #define _UNICODE
We apparently do not use any of the C library function this affects, so
this only silences some warnings some versions of some windows headers
produce when only UNICODE is defined.
2012-03-04 19:16:30 +01:00
Günther Brammer 3ec624bb7a win32: Clean up some leftover old frontend User Messages 2012-03-04 19:15:16 +01:00
Julius Michaelis ed5d615aab Check for OpenGL Version 1.2 and two functions from 1.3 instead of requiring full 1.3 (#692) 2012-03-03 23:25:50 +01:00
Sven-Hendrik Haase 7d8e1428c4 Enable support for DESTDIR (important for Linux packagers) 2012-03-06 10:06:59 +01:00
Maikel de Vries 51889abb04 Goldrush has more firestones in the earth
This to make sure players can mine enough resources from the start, also symmetrize wind and introduced topsoil and midsoil earth.
2012-03-04 21:45:55 +01:00
Günther Brammer 71e108f16a Start of a C4Script API third party programs could use
This is very experimental, subject to change, and the single function not
at all useful yet.
2012-03-04 21:23:11 +01:00
Maikel de Vries 9543c10cad Sawmill is not be accessible as a container.
If one takes wood from the sawmill during production this triggers the infinite sawing loop.
2012-03-04 17:12:39 +01:00
Maikel de Vries a977aebac5 Cloud: clean up and fixed lightning strikes
This should in the end all depend on scenario settings, but it's okay for now I guess
2012-03-04 10:44:53 +01:00
Bernhard Bonigl 72b34d7485 Created a general Menu Library_Menu. The menus themself only take care of display now.
Moved MenuItem to Library_Menu
Moved the lift-off effect in the CircleMenu from the MenuItem to the CircleMenu
2012-03-03 19:12:57 +01:00
Bernhard Bonigl 25675d1c52 Renamed Menu to CircleMenu 2012-03-03 18:57:38 +01:00
Armin Burgmeier fa7e922321 Fix rendering of mesh pictures to non-square target rectangles
This is still not perfect yet, but I suppose to get better we'd need
to compute the bounding box of the transformed mesh.
2012-03-03 01:45:46 +01:00
Günther Brammer 853bcb3608 autotools: add missing files 2012-03-02 23:58:41 +01:00
Maikel de Vries d1b8057382 Fix build for 8ac3339bf901 2012-03-02 22:48:25 +01:00
Bernhard Bonigl 8359ed8fcb ConstructionMenu: Added a bigger display for the selected item and displaying power production/consumption 2012-03-01 20:57:40 +01:00
Bernhard Bonigl bbe743b9ca Made Inventory-Display locked by default 2012-03-01 20:56:59 +01:00
Bernhard Bonigl 7d3d47e477 Implemented IsPowerConsumer/Producer callback in corresponding libraries
Added a fancy green power-symbol to Library_PowerProducer
2012-03-01 20:56:44 +01:00
Bernhard Bonigl aee33ae415 Added a temporary hack for grabbing stuff with space alone until Controls are fixed (for playtests) 2012-02-28 20:57:57 +01:00
Bernhard Bonigl 44ceefae9a Down+Space now Ungrabs if something is grabbed 2012-02-28 20:44:10 +01:00
Bernhard Bonigl 84e5483a54 Actionbar now always displays the same order of vehicles (pushed vehicle is not at the front) 2012-02-28 20:40:19 +01:00
Bernhard Bonigl 893746f641 Clicking or selecting a slot via hotkey that already is assigned to the other hand switches hands now. 2012-02-28 20:18:52 +01:00
Bernhard Bonigl 956a369ab7 Removed Zombie-GUI-Elements that have not been deleted on player removal 2012-02-28 20:07:45 +01:00
Bernhard Bonigl 0c5b5dd30c Made Inventory transition faster and MouseOver-Area for showing a bit bigger 2012-02-28 19:56:26 +01:00
Bernhard Bonigl e76ba4076c Removed Backpack-Control (Q-Key) 2012-02-28 19:53:47 +01:00
Bernhard Bonigl 8924d1ae10 Cleaned up ClonkControls and refactored collecting 2012-02-28 19:52:15 +01:00
Julius Michaelis cb6eb060cc Add a dialogue for windows which can be displayed when the graphics engine initialisation failed
The dialogue has fields for resolution and a checkbox for fullscreen mode
2012-02-28 18:28:16 +01:00
Bernhard Bonigl 7251865981 ContentsMenu now only shows fully built containers 2012-02-28 22:55:40 +01:00
Bernhard Bonigl 6dddb26b8e Fixed InteractionHotkey not beeing prioritized 2012-02-28 14:30:32 +01:00
Bernhard Bonigl cd30fbaeb2 Merge with default 2012-02-27 21:51:08 +01:00
Bernhard Bonigl a698b0e662 Fixed menus beeing built counter-clockwise instead of clockwise
The middle now is the 8th menu entry instead of the 1st
2012-02-27 21:34:59 +01:00
Bernhard Bonigl 9480a701c4 ContentsMenu takes order in clonk-inventory into account 2012-02-27 21:17:23 +01:00
Bernhard Bonigl 1be0395442 Fixed Menu-Movement when transferring stuff 2012-02-27 21:00:29 +01:00
Bernhard Bonigl 44336f23d7 The Content-Menu now displays nearby crewmembers to the left for trading. 2012-02-27 20:44:12 +01:00
Bernhard Bonigl b8b4ee03f8 Changed Shift+Hotkey to Space+Hotkey for Interaction
Space now interacts on release instead of press
Shift now works as a drop/throw modifier
Shift+Hotkey now drops that inventory slot
Non-Forced Throws/Drops (without Shift) now automatically select the next non-selected non-free Slot
2012-02-27 16:24:34 +01:00
Bernhard Bonigl ee3913714e Items now can't be held in both hand at the same time 2012-02-27 14:07:47 +01:00
Armin Burgmeier 893fb4bbed Make overlays on picture graphics work again
This was partly broken by 427cf61d729a. However, already before that,
the size of the overlay was depending on the ingame size of the object
on whose picture the overlay was being drawn. This didn't make much sense
and now the size of the overlay is equal to the area on which the picture is
drawn in the first place.
2012-02-26 21:44:00 +01:00
Armin Burgmeier fea6209365 Fix drawing of non-default graphics in picture overlays
This was broken by 427cf61d729a.
2012-02-26 21:09:42 +01:00
Bernhard Bonigl 3fddad2aad Hovered Items in Menus are enlarged by 10% now 2012-02-26 21:12:07 +01:00
Bernhard Bonigl 458369efda Fixed Clonk having wrong items displayed in hand at selection 2012-02-26 20:02:44 +01:00
Bernhard Bonigl db53603396 Hotkeys select the item at release now
Holding hotkey + left/right mouse button selects it into the corresponding hand
2012-02-26 16:19:52 +01:00
David Dormagen 1963fa61ba fixed dropping of stuff 2012-02-26 15:54:09 +01:00
Bernhard Bonigl a0e9ef1406 Fixed Actionbar-Hotkeys not working (Shift+(1-0)) 2012-02-26 14:26:23 +01:00
Maikel de Vries 7e864912df Implemented MouseOver in favour of UpdateCursor to show menu infos 2012-02-26 14:15:42 +01:00
Bernhard Bonigl f8200180ab Clonk collects items automatically if HandSlot is empty now 2012-02-26 14:13:14 +01:00