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
Bernhard Bonigl
cd30fbaeb2
Merge with default
2012-02-27 21:51:08 +01:00
Bernhard Bonigl
9480a701c4
ContentsMenu takes order in clonk-inventory into account
2012-02-27 21:17:23 +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
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
Bernhard Bonigl
5587ed0618
Backback and Hands share one Inventory now
...
New Inventory Display at the left side
Inventory fades out if not locked
Inventory fades in if something changes, or mouse hovers there
Left/Right Mouse Click on an Inventory-Slot selects it for the corresponding hand
Icons to show which Slot is selected by left/right hand
Inventory can be reordered via Drag&Drop
Dragging an Item from a Slot onto the Landscape drops it
Changed Shift+Number to Ctrl+Number for selecting crew
Changed Number to Shift+Number for using Action-Bar
Changed Number to select inventory-slots now
2012-02-26 01:48:58 +01:00
David Dormagen
4169a9232c
swapped parameters of GetIndexOf
2012-02-25 21:57:39 +01:00
Armin Burgmeier
9d94b1da6e
For scaled sprite graphics, don't interpret Picture coordinates as scaled
...
Otherwise an object with a scale of 5 and a picture of 64x64 (such as the
Metal and the GoldBar objects) cannot properly set the picture rectangle.
2012-02-25 17:35:24 +01:00
Maikel de Vries
c3b57957c4
Coniferous tree seeds faster, this is needed in for rounds like Goldmine
...
Also some more trees and gold in goldmine.
2012-02-25 16:15:17 +01:00
David Dormagen
8f13c3c791
fixed Steam Engine to only burn fuel when needed, adjusted fuel values for coal and wood
2012-02-23 21:44:10 +01:00
David Dormagen
d458eca6c4
ownable objects now have the right owner after construction
2012-02-23 21:42:15 +01:00
Felix Wagner
eb6b7be7ee
Fixed various unused vars
2012-02-20 11:58:58 +00:00
Felix Wagner
1c4deede8c
Fixed Code never reached warnings
2012-02-20 11:25:43 +00:00
David Dormagen
3b093ac0de
changed need-power-indicator to the classic blinking symbol
...
power messages fade out a lot faster
messages are also shown when a producer/consumer returns to giving/needing 0 power
2012-02-19 17:02:29 +01:00
David Dormagen
e9bf6a3096
fixed the flag when constructed before using the power system
2012-02-19 00:49:13 +01:00
David Dormagen
5cbaa697f0
changed power system to transfer power freely in a base and get rid of power lines
...
power now is either available or not - there is no "produce X power and save it somewhere" anymore
2012-02-18 22:50:18 +01:00
Maikel de Vries
c68b5b2920
Menus: implemented closing when clicked in the landscape
2012-02-01 22:29:49 +01:00
Felix Wagner
a059f0f64a
DisregardsKnowledge -> IgnoreKnowledge, NeedsRawMaterial -> NeedRawMaterial
2012-01-19 22:31:05 +00:00
Felix Wagner
72bf39f915
ProducerLib: Production costs include need for fuel, power and liquids
2012-01-19 16:18:24 +00:00
Felix Wagner
4cc20755fe
Production/ConstructionMenu: Show components when hovering instead of rightclick
2012-01-19 15:04:22 +00:00
Felix Wagner
d8f852b56a
Fixed throwing on backpack closing
2012-01-19 14:03:36 +00:00
Felix Wagner
f76a41da66
Producer will by default only display those products in the owner's knowledge
...
(everything if NO_OWNER)
2012-01-16 23:32:19 +00:00
Maikel de Vries
a675400f8a
Loam can be produced at the foundry with water
...
still need to display water needs
2012-01-12 19:23:35 +01:00
Felix Wagner
cc37156db7
+ Library_ElevatorControl, for all vehicle to be snatched by the elevator case
2012-01-11 02:02:59 +00:00
Felix Wagner
b5ba1c4a6c
PowerCheck checks whether the EnergyNeed effect is already present
2012-01-10 16:50:01 +00:00
Maikel de Vries
356d6ae5b3
Fixed collection of componenents of products for producers
2012-01-08 19:43:28 +01:00
Maikel de Vries
42cfc76a90
Show construction costs for construction menu
2012-01-08 15:22:26 +01:00
Maikel de Vries
6ab411ac78
Only slightly agitated http://wiki.openclonk.org/w/C4Script_Style_Guidelines
2012-01-06 21:37:25 +01:00
Tobias Zwick
baa9cfd06b
clonk's contents are not displayed stacked but for each object one menu item
2012-01-06 00:48:37 +01:00
Maikel de Vries
b622ea4834
Implemented drag and drop for production menu
...
Only partially, and also rightclick to show resource need (graphics needed)
2012-01-05 23:36:41 +01:00
Tobias Zwick
0a8731affc
fix interacting doesn't hold as handled control
2012-01-05 22:10:41 +01:00
Maikel de Vries
b2f723c4e1
Removed obsolete ShowNeededMaterial
...
We want to get rid off the old menus(including MessageWindow), also fixed a stupid ctrl+v mistake
2012-01-02 13:48:51 +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
Maikel de Vries
17bf15adb1
Fixed opening and closing of menus
...
Also reduced the amount of local variables in ClonkControl.ocd, which makes sense at this location, cause additional menus my implemented similar to the production menu.
2012-01-02 00:00:13 +01:00
Maikel de Vries
16c50a07a0
Mining now has a larger tolerance for single pixels when mining large amounts
...
Also removed some dead code and tuned Iron Peak a little
2011-12-31 16:25:23 +01:00
Maikel de Vries
ba8b011b8c
Production queue gets rid off redundancies automatically
2011-12-31 15:00:05 +01:00
Maikel de Vries
a9a317d5c1
Production menus are now updated if the production queue gets an "outside" change
2011-12-30 20:32:13 +01:00
Maikel de Vries
1d994a32b9
Fixed disabling CON_GUICursor after closing backpack
...
This caused problems with grabbing and pushing vehicles.
2011-12-30 18:53:25 +01:00
Maikel de Vries
df4f81b41c
Vehicles are placed outside producers normally
2011-12-30 17:16:09 +01:00
Maikel de Vries
e1da36219f
New implementation for the production menu, similar to contents menu
2011-12-29 16:59:07 +01:00
David Dormagen
90427fced6
Gold Idol is not C4D_Vehicle anymore
2011-12-30 03:22:38 +01:00
David Dormagen
65d47779cd
GoldSeller checks for controller instead of owner
2011-12-29 21:53:44 +01:00
Armin Burgmeier
e11ac0c937
By default, put produced items into the producer after production
2011-12-29 20:35:14 +01:00
David Dormagen
2c2cc44b15
GoldSeller library added (used by flag to autosell gold/valuables)
...
Cash sound added
2011-12-29 16:06:12 +01:00
David Dormagen
9be1e3beda
first flag changes in order to support power flow
2011-12-28 18:50:32 +01:00
Maikel de Vries
93481ed972
Remove Library_ItemContainer in favour of content menu (open with E)
...
It should work sufficiently well to use this from now on, for the next release it still needs some work though.
2011-12-28 19:25:00 +01:00
Maikel de Vries
85cbefe808
Content menu can now handle the clonk's backpack
...
Also did some cleanup
2011-12-28 11:49:38 +01:00
Maikel de Vries
7371d37325
Content menu opens now for "IsContainer"
2011-12-08 23:26:18 +01:00
Tobias Zwick
682e59ac2d
preliminary commit of content menus
2011-12-08 19:57:14 +01:00
Tobias Zwick
32e95ff61d
c4script menu: cursor updates optional
2011-11-20 22:09:53 +01:00
Felix Wagner
7a74abae0d
Typo
2011-11-05 01:47:09 +00:00
Charles Spurrill
d9a02eaf14
Carry-Heavy system added
2011-10-26 14:03:12 -07:00
Felix Wagner
abcee8afa3
Plant library: RootSurface() limits for positioning added
2011-10-21 21:16:44 +01:00
Felix Wagner
cf71fb48b6
Plant library: renamed CanBeHarvested -> IsCrop
2011-10-21 21:14:51 +01:00
Daniel
79d44490b6
Liquid Pipe System Update
2011-10-12 00:32:46 +02:00
Felix Wagner
865b91849b
The axe can now chop trees and split them into wood (lossy)
2011-10-14 01:04:33 +01:00
Maikel de Vries
527845f32e
Objects: Production library now takes into account power
2011-10-11 14:20:25 +02:00
Maikel de Vries
e89caa464a
Objects: Moved actual production into producer library
...
Energy handling is still to be done + some other stuff as well
2011-10-09 14:13:55 +02:00
Richard Gerum
031ad320d2
#637 clonks rotation again adapted to the rope ladder
2011-10-09 11:16:35 +02:00
Maikel de Vries
4adf230b94
Objects: Made production library work again
2011-10-07 17:38:34 +02:00
Maikel de Vries
a8f9e573cf
Objects: Remove autoproduction library
...
Not needed anymore with the new settlement concept.
2011-10-06 14:48:48 +02:00
Felix Wagner
67a9708720
+ HasCNAT() in Commits.c, prevent endless loop in plant
2011-10-05 04:47:07 +01:00
Felix Wagner
727cb7398a
Partly rewrite of plants library. Harvesting included.
2011-10-05 04:31:06 +01:00
Maikel de Vries
59c1aefad9
Objects: All Versions to 5,2,0,1
2011-10-01 10:54:15 +02:00
Maikel de Vries
a7763beb25
Objects: Interactables return true on Interact()
2011-09-29 23:23:06 +02:00
Maikel de Vries
8f4d300a3f
HUD: Some clean up in scripts and files
...
Moved all HUD elements to Elements.ocd, this should have been quite obvious in the first place.
Cleaned up health and breath tube, scripts were unreadable.
Breath tube doesn't stay when swimming, swimming and breath are unrelated quantities and should be treated accordingly, but more important the bar in the crew selector and the HUD now behave the same.
2011-09-28 19:55:01 +02:00
David Dormagen
8774235f82
breath tube shows again
2011-09-24 12:56:40 +02:00
Maikel de Vries
6a03498136
HUD: More safety checks for non-crewmembers
2011-09-22 17:18:37 +02:00
Maikel de Vries
99494e504a
Objects: Prevent HUDadapter from throwing runtime errors for non-crewmember clonks
2011-09-18 22:03:08 +02:00
David Dormagen
e3a1cdcc3f
the HUD optimizations now mostly use the old callbacks
2011-09-18 19:15:31 +02:00
David Dormagen
352dd93c8f
HUD fix
2011-09-18 13:44:14 +02:00
David Dormagen
0f450aab2e
helper library for the HUD added
2011-09-18 10:59:25 +02:00
Charles Spurrill
8a9afde9ea
Some new graphics for scoreboard icons
2011-09-13 00:23:00 -07:00
Felix Wagner
324d27f412
The HUD now works with cursors that do not have breath or healt and as well not
...
"GetItem". Cursors wanting to show their items need to have HUDShowItems()
implemented with return value true.
Otherwise every non-clonk cursor object causes a lot of errors!
2011-09-04 18:42:43 +01:00
Felix Wagner
550409166d
Backed out everything concerning Railways from Objects.ocd
2011-08-31 01:24:57 +02:00
Tobias Zwick
361d7fdfe5
more detailed crosshair graphic
2011-08-18 19:07:25 +02:00
Tobias Zwick
c2cefe2e4f
new control: collect (into backpack)
2011-08-11 16:37:46 +02:00
David Dormagen
f34d82171a
renamed some effect variables to have more meaningful names
2011-08-03 21:58:50 +02:00
Tobias Zwick
480ff384f8
refactored most effects to use meaningful names for their variables
2011-07-31 17:59:51 +02:00
Maikel de Vries
e2db1bc85a
Actions default to COMD_Stop, Decel for float and swim procedures
...
With this change everything should behave as normal, still not a fan of these numerous float hacks.
2011-07-06 19:11:12 +02:00
MimmoO
256ffd869e
Flag: Changed Marker visuals
2011-06-29 00:35:28 +02:00
David Dormagen
53e743b4d0
first version of flagpole and flag-libraries added
2011-06-18 15:22:34 +02:00
Maikel de Vries
a10d1ad5ac
Script: Removed obsolete Completion callback
...
Already marked obsolete in the docs for quite a time.
2011-06-10 16:31:00 +02:00
Maikel de Vries
950ad4caaa
Libraries: Replaced two obsolete graphics with empty ones
2011-06-07 16:41:55 +02:00
David Dormagen
9100a44d88
fixed the visuals of the sword's downwards-stab a bit
2011-06-05 01:08:54 +02:00
Charles Spurrill
b7bc9bc755
Clonk can jump off walls (with new animation).
2011-06-03 12:11:23 -07:00
Maikel de Vries
971b330288
Objects: Removed superfluous parameters in function calls
...
Caused a few warnings recently.
2011-05-12 17:01:54 +02:00
Maikel de Vries
7fe24131c7
Objects: Cable network producers now request other producers for objects
...
Foundry does not produce automatically anymore.
2011-04-22 16:48:35 +02:00
Maikel de Vries
40f2950baa
Objects: Fixed 4 warnings in cablestation library
...
Libraries should in principle not depend on objects outside the libraries.
2011-04-19 18:18:02 +02:00
Maikel de Vries
b98b5acecc
Objects: Cable cars only access stations inside their own network and vice versa
2011-04-18 19:01:45 +02:00
Felix Wagner
989f1925f1
Forgot to remove the foo, bar crap
2011-04-11 22:31:48 +02:00
Maikel de Vries
d515df6055
Objects: Some fixes to cable network
...
Removed some erroring code from the libraries.
2011-04-11 18:08:57 +02:00
Maikel de Vries
5da93528c6
Objects: Introduced delivery system for the cable network
...
Based on the concept of automatic production in buildings, and the current network capacities. Cable cars receive requests from producers and try to fulfill these request by transporting objects in the network.
2011-04-07 16:04:29 +02:00
Maikel de Vries
1ce2c16c36
Objects: Enhanced Producer library and adapted tool workshop
2011-04-07 16:02:35 +02:00
Maikel de Vries
ad15a6ed4f
Objects: Library for object production
...
Adapted foundry to library, should ultimately interact with cable network.
2011-04-02 18:17:24 +02:00
Felix Wagner
b425cf71da
Reworked the pathfinding data assembly, various name changings in the variables
...
I did not made some benchmarks...old system still exists
Removing of cables missing but working on that
2011-04-11 13:43:46 +02:00
Felix Wagner
f45799fd16
Removed some crossing specific code from the lib, more shifting to come
2011-04-05 17:56:53 +02:00
Maikel de Vries
b1c7096132
Objects: Code from crossing to library_cablestation
...
This is only the movement, many implementation details are still missing in the library.
2011-03-29 18:51:30 +02:00
Maikel de Vries
7474031691
Objects: Moved cable car library from tests to libraries
...
Needed to create cable station library.
2011-03-29 18:48:14 +02:00
Armin Burgmeier
675c077ed2
Change .c4d extension to .ocd
2011-03-13 16:55:00 +01:00