Commit Graph

49 Commits (0b45ac83cf6b5829d6158e51f37f0d6d4022bd69)

Author SHA1 Message Date
Tobias Zwick b85b08687f fix #907: name of the construction site is not localized 2013-01-13 14:16:43 +01:00
Maikel de Vries 95a8592b22 Removed debug log in construction site 2012-10-21 12:54:19 +02:00
Tobias Zwick d7da19b031 fix needed material in construction sites only displayed for first player 2012-10-14 20:00:43 +02:00
Bernhard Bonigl 51e61a485d Move free Objects at the bottom of a construction side up to the surface. 2012-10-10 19:33:51 +02:00
Bernhard Bonigl b46e40d78e Experimental: Create Construction-Menu at cursor-position 2012-06-18 19:03:50 +02:00
Felix Wagner f77b4134b4 Removed GetConstructionDirection() 2012-05-13 20:54:24 +01:00
Bernhard Bonigl 8bd16da9c4 Added Stringtables to constructing and removed old unused stuff 2012-05-08 20:43:30 +02:00
Bernhard Bonigl c601231960 Added Interaction for flipping construction sites during placement 2012-05-08 20:27:24 +02:00
Bernhard Bonigl 65c5dfd632 Moved setting of the Tooltip into the GUI-Elements instead the controllers. 2012-05-06 19:20:40 +02:00
Maikel de Vries 6fcc0f6d2e Removed TimerCall in favour of AddTimer script implementation 2012-05-05 12:09:44 +02:00
Maikel de Vries 5da0847a9a Materials inside the construction site don't burn due to incendiary materials 2012-04-29 16:57:38 +02:00
Bernhard Bonigl 981ce396ec Made ConstructionSite less filled. 2012-04-23 23:19:52 +02:00
Felix Wagner e9010b81e9 Construction preview: combining, Elevator: combine two for SUPER elevator 2012-04-22 00:00:41 +01:00
Bernhard Bonigl de19c7432e Made ConstructionSites display material below
Added Stringtables for ConstructionSite
2012-04-17 18:18:28 +02:00
Bernhard Bonigl fa46079626 Added wireframe preview for Construction Site 2012-04-17 18:08:39 +02:00
Bernhard Bonigl e8ef7a9537 Made ConstructionSite compatible with dir-flipping-preview
Fixed ConstructionSite not removing on build fail
2012-04-17 18:08:23 +02:00
Bernhard Bonigl 4c38caaf27 Merged default into Controls 2012-04-17 17:37:52 +02:00
Felix Wagner 5ba322b417 Fixed mixed up language 2012-04-16 21:36:52 +01:00
Felix Wagner 366d96680a Rotate your buildings in the construction preview using Space! 2012-04-16 16:31:38 +01:00
Bernhard Bonigl b7fba5ee29 Introduce RefuseTransfer(object) callback. Allows to refuse transfer out of a Container via ContentsMenu. 2012-04-15 18:32:38 +02:00
Bernhard Bonigl 1c91495eb5 Merged default into Controls 2012-04-15 13:22:38 +02:00
Tobias Zwick 038ef1b4b6 descriptions for structures 2012-04-15 13:13:14 +02:00
Bernhard Bonigl b5f099be79 Hardcoded Construction-Site Intersections. 2012-04-15 00:29:38 +02:00
Bernhard Bonigl a687b0f85c Added simple construction-site-blocking check 2012-04-14 23:37:12 +02:00
Bernhard Bonigl a56c684a19 Fixed Construction sites moving containers into them, instead of their contents. 2012-04-14 23:16:17 +02:00
Bernhard Bonigl 75ec1ed63c Changed ConstructionSite Icon 2012-04-14 22:54:18 +02:00
Bernhard Bonigl c4e782e713 Moved Close() into Menu.ocd 2012-04-14 22:53:17 +02:00
Bernhard Bonigl 83a972cced Introduced GetInteractionCount(object) to prevent infinite loops 2012-04-14 22:53:02 +02:00
Bernhard Bonigl fefb8b4de8 Added Multi-Interaction-Support for Script (Objects can have multiple interactions) 2012-04-14 22:30:02 +02:00
Felix Wagner 5247e5e769 Merge with default 2012-04-08 22:49:06 +01:00
Bernhard Bonigl 6bece40590 Forgot to add necessary files for ConstructionSites. Fix when merging to default! 2012-04-02 23:57:27 +02:00
Bernhard Bonigl 6ecb036554 Changed Construction-Sites to be containers where material needs to be put into.
They still construct themselves.
2012-04-02 23:49:39 +02:00
Bernhard Bonigl 1f41511289 Merged default into Controls 2012-04-02 21:21:21 +02:00
Felix Wagner 527bac9d85 Fixed construction preview in front of tunnel material 2012-04-03 15:11:27 +01:00
Benjamin Herr cdaee93c94 Rename all the drag/drop script callbacks to OnMouseDr*
MouseDrag is already a property, and would overwrite the callback
functions. Renamed MouseDragDone and MouseDrop for consistency.
2012-04-01 20:42:14 +02:00
Bernhard Bonigl 093c169a1e Constructions sites removed. You need all ressources on-site to create a construction.
Locations taken into account: Clonk Inventory, stuff lying around, containers/lorries
2012-03-29 22:08:54 +02:00
Bernhard Bonigl 71061c8d4b Allowed movement during construction-preview (for better positioning) 2012-03-28 19:39:00 +02:00
Felix Wagner 98f422a2ac Construction preview for the hammer. 2012-03-27 19:10:44 +01:00
Bernhard Bonigl 54bc0e0c80 Backed out changeset: ad89e9a64847
(Construction Menu doesn't use fancygrid anymore)
2012-03-18 21:34:13 +01:00
Bernhard Bonigl 7255a8abec ConstructionMenu uses adapted FancyGridMenu now 2012-03-09 21:50:37 +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 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
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
Maikel de Vries 7e864912df Implemented MouseOver in favour of UpdateCursor to show menu infos 2012-02-26 14:15:42 +01:00
Maikel de Vries c68b5b2920 Menus: implemented closing when clicked in the landscape 2012-02-01 22:29:49 +01:00
Felix Wagner 4cc20755fe Production/ConstructionMenu: Show components when hovering instead of rightclick 2012-01-19 15:04:22 +00:00
Maikel de Vries 42cfc76a90 Show construction costs for construction menu 2012-01-08 15:22:26 +01:00
Maikel de Vries 7bcb72ab7b Hammer construction menu replaced by drag&drop menu
This to get rid completely of the old menus, there is still work to do on the drag&drop menu though
2012-01-02 03:14:57 +01:00