Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
Zimmermann Gyula
f37e59e116
Do not render trails under fog by default.
...
Exposed a boolean for rendering a SpriteEffect under fog. Exposed a setting in LeavesTrails for this boolean, defaulting to false.
2016-02-14 18:11:43 +01:00
DArcy Rush
eb795909da
Implement player stance colors
...
Adds an option to display actors on radar and
support weapon timers in colors denoting the
diplomatic stance toward the player.
2016-01-30 15:46:55 +01:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
Huw Pascoe
df441ff5c7
Refactored WorldInteractionControllerWidget
...
Cleaned up all the nullable types
Simplified dragEnd, lastMousePos, xy, etc.
2016-01-07 16:00:41 +00:00
Paul Chote
6af377030c
Add sequence parameter to SpriteEffect.
2016-01-03 01:17:29 +00:00
Paul Chote
7a9f27aa11
Fix trail sprite size with zoom.
2016-01-02 12:25:52 +00:00
DArcy Rush
67f88e368f
Add mute option to the game
2015-12-25 23:33:18 +00:00
atlimit8
b07cd683e8
Easier actor selection in game by actor bounds center
2015-12-23 12:09:08 -06:00
Paul Chote
c618c2d8ab
Use RgbaColorRenderer for selection box rendering.
2015-12-19 12:28:10 +00:00
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
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
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
Kevin Azzam
64ed164295
Make "select all units" work across screen/map again
2015-11-19 00:21:16 +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
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
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
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
49624e335c
Remove legacy DIY view -> world conversions.
2015-03-31 20:59:52 +01:00
RoosterDragon
1515ac54f6
Enforce a line length limit.
2015-03-19 17:20:34 +00:00
Bynnar18
0abe8f9b2b
Fixes issues with support powers and adds property to all IOrderGenerator classes to determine priority over selection in the left-click order scheme.
2015-03-01 14:58:19 -06:00
Bynnar18
7b46b76329
Fixed left-click orders and implemented a selection deadzone.
2015-03-01 14:58:19 -06:00
Bynnar18
36d59d6b1d
Restored faulty left-click logic for now.
2015-03-01 14:58:18 -06:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
RoosterDragon
a6cda967c2
Formatted all files.
...
Automatically formatted all files via VS. This generally corrects indentation, removes trailing whitespace and corrects misplaced tabs or spaces. Manually tweaked a few files where required.
2015-01-06 21:28:50 +00:00
atimoschenkow
831f19e993
A selection box is drawn if the mouse exits the radar widget while dragging the viewport.
...
These changes prevent this side effect.
2015-01-04 17:06:50 +01:00
Oliver Brakmann
4e3f565354
Fix broken orders when actors are selected.
...
Fixes an oversight in #6949 .
2014-11-15 21:00:52 +01:00
Paul Chote
f5c09121ad
Remove buggy classic mouse orders. Closes #3153 .
2014-11-15 09:40:25 +13:00
Oliver Brakmann
eff54a614b
Fix selection glitch in observer mode
...
Fixes #6421 .
2014-09-07 00:52:55 +02:00
Paul Chote
13656710ca
Fix unit selection hotkeys for players. Fixes #5753 .
...
This also explicitly disables them for spectators.
2014-07-29 23:32:47 +12:00
Oliver Brakmann
ad2327828d
Make actors outside map borders selectable for their owner
...
PR #5967 only made planes not lose their selection when they strayed
outside the map border. This PR makes it possible to select them when
they already are outside the map. It also ensures that the selection
decorations are drawn. Rank designations, however, will disappear when
a unit leaves the map.
Fixes #5651 for real, then.
2014-07-26 11:05:41 +02:00
Paul Chote
e5b863f926
Merge pull request #5698 from Mailaender/sonar
...
Added the sonar pulse to reveal sub marines
2014-07-09 10:44:47 +12:00
Paul Chote
802b6a652c
Revert "new PauseState to differentiate game and editor pausing"
...
This reverts commit d1e18cad7a .
2014-07-08 10:42:00 +12:00
Matthias Mailänder
5cdf0e6a67
generalize MoveFlash as parametrized SpriteEffect
2014-07-07 15:23:14 +02:00
Matthias Mailänder
d1e18cad7a
new PauseState to differentiate game and editor pausing
2014-07-06 08:24:08 +02:00
Paul Chote
9487f49cd5
Replace WPos.ToCPos -> Map.CellContaining.
2014-06-27 23:30:40 +12:00
Paul Chote
bbd1331536
Clean up actor selection in WorldInteractionControllerWidget.
2014-06-27 19:20:44 +12:00
Paul Chote
7d24053f52
Introduce Order.SuppressVisualFeedback to cleanly disable flashes.
2014-06-26 23:14:13 +12:00
ScottNZ
90894aa03e
Use var everywhere
2014-06-15 22:17:34 +12:00
Paul Chote
d8e5177a36
Merge pull request #5405 from RoosterDragon/min-max
...
Added MinBy, MaxBy, etc.
2014-06-09 17:42:01 +12:00
Matthias Mailänder
3a1c41c8ce
move pixel doubling and health bar hotkeys to shared widget
...
closes #5572
2014-06-07 12:26:58 +02:00