mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-10 22:34:31 +00:00
Slight update to make the gather cursors work by subtype, and added a bunch of placeholder cursors shamelessly ripped from AoM. Any artist that feels like making non-copyrighted replacements would be most welcome. (Ironically, I could find few usable cursors for the different food types.)
This was SVN commit r2201.
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
1 1
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
1 1
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
1 1
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
1 1
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
1 1
|
||||
@@ -0,0 +1 @@
|
||||
1 1
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
1 1
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
1 1
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
1 1
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
1 1
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
1 1
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
1 1
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
1 1
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
1 1
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
1 1
|
||||
@@ -149,12 +149,8 @@ function entity_event_targetchanged( evt )
|
||||
( ( evt.target.traits.supply.curr > 0 ) || ( evt.target.traits.supply.max == 0 ) ) )
|
||||
{
|
||||
evt.defaultAction = ORDER_GATHER;
|
||||
if( evt.target.traits.supply.type == "wood" )
|
||||
{
|
||||
evt.defaultCursor = "action-chop";
|
||||
}
|
||||
else
|
||||
evt.defaultCursor = "action-mine";
|
||||
// Set cursor (eg "action-gather-fruit").
|
||||
evt.defaultCursor = "action-gather-" + evt.target.traits.supply.subtype;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user