Paul Chote
43226d7c55
Move DrawRollover to WICW.
2015-12-19 12:28:08 +00:00
atlimit8
bee590a057
Merge pull request #10208 from RoosterDragon/perf-comments
...
Added some performance comments
2015-12-13 20:46:07 -06:00
Matthias Mailänder
02c5c1bbfb
Merge pull request #10148 from pchote/widelines
...
Rewrite line renderer: Part 1 (improved lasers plus other cleanups)
2015-12-13 20:55:54 +01:00
RoosterDragon
b0619a3e25
Added comments in performance sensitive code.
2015-12-13 16:24:54 +00:00
Oliver Brakmann
59d22a2ff0
Fix AttackMove not working properly under certain conditions
...
This fixes the issue where AttackMove (and possibly other order modes) would not work properly when people were clicking their mouse buttons at the same time. A move order (the default order mode) would be issued instead.
2015-12-13 14:16:06 +01:00
RoosterDragon
c0286bb147
Remove ActorMap.ActorsInWorld.
...
Prefer the more direct and efficient query on World.Actors instead.
2015-12-12 20:42:44 +00:00
Paul Chote
66744ee92a
Use RgbaColorRenderer for UI rendering.
2015-12-10 23:22:46 +00:00
Matthias Mailänder
fa5fd5c92f
Merge pull request #9710 from obrakmann/yaml-removals
...
Fix yaml removals
2015-12-06 17:04:47 +01:00
DArcy Rush
8eb34f3cfa
Replace 'Always show Healthbars' checkbox with dropdown
...
The player can now cycle between;
-Standard: Health and Status bars display only on mouse hover.
-Show On Damage: Health shows on damaged actors, Status always shows.
-Always Show: Health and Status bars are always displayed.
2015-11-29 21:52:31 +00:00
Paul Chote
c7249e6fa6
Move yaml removals to the end of the merge.
2015-11-28 17:20:32 +01:00
Paul Chote
a074bb1d4b
Rename MiniYaml MergeLiberal -> MergePartial, MergeStrict -> Merge.
2015-11-28 17:20:21 +01:00
Matthias Mailänder
2f82b22ca1
Merge pull request #9980 from penev92/chromeLogic
...
Allow loading of ChromeLogic properties from YAML
2015-11-22 19:21:11 +01:00
abcdefg30
b51548a60d
Merge pull request #9585 from ChaoticMind/select_all_map
...
Make "select all units" work across screen/map again
2015-11-22 01:50:48 +01:00
Kevin Azzam
64ed164295
Make "select all units" work across screen/map again
2015-11-19 00:21:16 +01:00
Pavel Penev
636725235b
Add a null check to CachedTransform.Update()
2015-11-15 16:23:07 +02:00
Pavel Penev
5b185f93a1
Pass subnodes of the widget Logic node to the corresponding ChromeLogic class
2015-11-14 14:06:53 +02:00
Paul Chote
6673c882ee
Add helpers for truncating long labels.
2015-11-08 14:59:53 +00:00
Paul Chote
d49e2cc84b
Add Tick method to ChromeLogic.
2015-11-07 10:52:30 +00:00
Paul Chote
b6f463729b
Add a ChromeLogic base class for chrome logic.
2015-10-21 19:35:35 +01:00
Paul Chote
4ba78f65b9
Add Dispose support to widget logic objects.
2015-10-17 22:13:22 +01:00
abcdefg30
d7c0d4197c
Fix a possible crash in WorldInteractionControllerWidget
2015-10-05 17:23:42 +02:00
Joppy Furr
07273fa666
Add support for Tiberian Sun style right-click-and-drag scrolling
...
This patch introduces support for the right-click-and-drag scrolling that
is available in Tiberian Sun and Red Alert 2. It can be enabled by
selecting "Joystick" scrolling in the Input settings.
The speed of the scroll is proportional to the product of the distance of
the drag, and the Scroll Speed selected in the Input settings menu.
A side-effect of this is that events previously tied to right clicks on
the world are now based on the release of the click rather than the press.
The "Middle-Mouse Scrolling:" option is renamed
to "Mouse Scrolling Method:"
2015-10-04 16:22:55 +13:00
atlimit8
8162fa27ab
Add ActorInfo.HasTraitInfo<T>() requiring ITraitInfo types
2015-09-19 09:49:24 -05:00
atlimit8
85fab45451
Remove Actor.HasTrait<T>()
2015-09-19 09:49:23 -05:00
Paul Chote
1109ec53d1
Update UI timers for variable game speed.
2015-09-06 17:48:42 +01:00
Paul Chote
710a32d1ce
Extract ScrollPanel tooltip workaround into common code.
2015-08-05 09:11:19 +01:00
deniz1a
ef143e5f8a
Freezes map after game ends.
...
Adds newline.
Disables keyboard hotkeys for units after game ends.
2015-07-25 18:56:23 +03:00
penev92
bb648decc3
Rename Player.Country to Player.Faction
2015-07-15 04:06:52 +03:00
penev92
2e04fb5ddd
Rename Faction trait members
...
Rename Faction.Race to Faction.InternalName
2015-07-14 18:50:39 +03:00
Matthias Mailänder
5c0c300c53
add a hotkey to hide the UI widgets
2015-06-28 16:29:25 +02:00
Pavel Penev
8b4d5c7fb2
Merge pull request #7930 from Mailaender/screenshot
...
Added a hotkey to take screenshots
2015-06-28 15:37:07 +03:00
Matthias Mailänder
2763e26d23
add a take screenshot hotkey
2015-06-27 16:29:33 +02:00
Matija Hustić
34d0518b29
Fixed regression from last PR.
2015-06-21 20:15:06 +01:00
reaperrr
c23ee1be2e
Remove Selectable boolean from Selectable trait
...
Add work-around for ta/td bridge huts since they need actor Bounds to
be targetable by C4/engineer repair.
2015-06-17 20:13:59 +02:00
abcdefg30
b98d98c6d6
Merge pull request #8212 from matija-hustic/selectable_classes
...
Added selection classes
2015-06-13 01:53:32 +02:00
Zimmermann Gyula
d5a5640f52
Adds an IconPalette property to Buildable and SupportPower traits.
2015-06-12 20:33:58 +02:00
Matija Hustić
e965a0d3f0
Touched up selection functionality.
2015-06-08 15:03:09 +01:00
Oliver Brakmann
da16142412
Enable unit selection keys for spectators and in replays.
...
Only work in per-player views.
2015-05-20 18:56:14 +02:00
Oliver Brakmann
9895aee6f2
Disable unit selection by double-clicking for enemy units
2015-05-20 18:28:34 +02:00
Paul Chote
444c02a498
Add ClickThrough property to ContainerWidget.
2015-05-15 17:08:32 +01:00
abcdefg30
c4a63eee30
Merge pull request #7875 from penev92/bleed_exposePlayerReferences
...
Add upgrade rules support for map PlayerReferences
2015-04-26 22:53:42 +02:00
penev92
2402b56da7
Reorganize PlayerReference loading to enable upgrade rules for them.
...
The PlayerReference definitions are now stored
as raw MiniYamlNodes in the map.
2015-04-26 23:16:20 +03:00
Paul Chote
f4987f7258
Add support for multiple logic objects on a widget.
2015-04-26 19:30:28 +12:00
Paul Chote
49624e335c
Remove legacy DIY view -> world conversions.
2015-03-31 20:59:52 +01:00
Paul Chote
e5c03413cc
Move common widgets from Game to Mods.Common.
2015-03-21 11:53:53 +00:00
Matthias Mailänder
7be8c4461b
Merge pull request #7405 from Rydra/upstream/int2immutable
...
Made int2 class immutable
2015-03-20 16:03:46 +01:00
David Jiménez
f15f1e41e8
Made int2 struct immutable
2015-03-20 13:54:01 +01:00
RoosterDragon
1515ac54f6
Enforce a line length limit.
2015-03-19 17:20:34 +00:00
WolfGaming
068a96fd46
Fixes NullPointerException when frozen.Actor is null.
2015-03-19 05:53:59 +00:00
WolfGaming
bf3ddcfbf1
Implemented an interface that allows traits to add custom information to tooltips.
2015-03-19 05:53:44 +00:00