Commit Graph

4122 Commits (deec6a902a2c2675d4f741a6d18aa213f6624246)
 

Author SHA1 Message Date
Sven Eberhardt a7289f5f1c +Crash.ocs - a new settlement adventure scenario WIP 2012-03-10 16:05:03 +01:00
Armin Burgmeier f1fa4810c3 Fix a C4Script warning by declaring a parameter in an #appendto script 2012-03-10 15:59:34 +01:00
Bernhard Bonigl 4c6b374dd7 Removed Interact = GrabNext. Use Actionbar-Hotkeys/Mouse for that.
If something is grabbed, it'll always be ungrabbed by pressing Space now.
2012-03-09 23:10:18 +01:00
Bernhard Bonigl de94d6b0a4 Made Inventory-Display a bit bigger 2012-03-09 23:06:44 +01:00
Bernhard Bonigl 0fcffec3bb Removed the huge GUI background and hand-display at the bottom 2012-03-09 23:00:05 +01:00
Bernhard Bonigl 7255a8abec ConstructionMenu uses adapted FancyGridMenu now 2012-03-09 21:50:37 +01:00
Bernhard Bonigl be0af9b77e First incarnation of the FancyGrid Menu 2012-03-09 21:50:24 +01:00
Bernhard Bonigl 7dc0601013 Fixed gridmenu having broken size if row item count was specified 2012-03-09 20:08:50 +01:00
Günther Brammer ac9c451be0 docs: Document the function pointer stuff somewhat 2012-03-09 19:13:46 +01:00
Günther Brammer dfea0914a9 Merge the functions pointer branch 2012-03-09 17:42:48 +01:00
Julius Michaelis 5716bb1e47 C4AulScript::DirectExec: Throw on parsing errors, too, when fPassErrors is set. 2012-03-09 11:45:25 +01:00
Günther Brammer 1929e8d779 linux: add CLOEXEC flag to miscellaneous calls 2012-03-05 02:48:27 +01:00
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