Commit Graph

2787 Commits

Author SHA1 Message Date
Paul Chote
c7350b704e Add trait interfaces for added/removed from world. 2013-08-04 18:22:57 +12:00
Paul Chote
87b32fd0b9 Tweak starting unit defaults. 2013-08-04 13:07:47 +12:00
Paul Chote
c08f602661 Add lobby options for Shroud and Fog. 2013-08-04 13:04:09 +12:00
Paul Chote
d867e8200f Reset default state when a dedicated server clears. 2013-08-04 12:06:47 +12:00
Paul Chote
40533918f3 Allow mods to set default lobby options. 2013-08-04 12:03:18 +12:00
Matthias Mailänder
74c136b7e3 Merge pull request #3627 from pchote/muzzleflash
Improved Muzzleflash support
2013-08-03 02:20:46 -07:00
Paul Chote
755fa6eaf4 Include Armament and Barrel in INotifyAttack. 2013-08-03 16:21:57 +12:00
Paul Chote
03e09e25bb Fix turret facings for GTWR etc. Fixes #3610. 2013-08-03 12:45:21 +12:00
Paul Chote
805b4b6258 Change IRenderable.WithPos -> OffsetBy.
This is more appropriate for the actual use cases.
Fixes #3621.
2013-08-03 11:16:52 +12:00
Matthias Mailänder
ad95f48711 merge C&C and RA music player logic
mainly code cleanup, but with the following improvements:
- scroll to current song which fixes #3360 and overlapping label
- use Rules.InstalledMusic & Sound.MusicPlaying everywhere
- separated C&C install logic and log catched exceptions
- save the music settings on back/close
2013-08-03 00:37:04 +02:00
Matthias Mailänder
06233a76a8 don't hide the pause button after unpause 2013-08-02 20:17:05 +02:00
Matthias Mailänder
927180fb00 Merge pull request #3617 from pchote/audio-device-selector
Audio device selector
2013-08-02 11:02:21 -07:00
Matthias Mailänder
b62d9b7517 Merge pull request #3616 from pchote/wobbly-turrets
Fix wobbly turrets
2013-08-02 10:58:50 -07:00
Paul Chote
4009edfa96 Add audio device selection. Fixes #3553. 2013-08-02 19:38:49 +12:00
Paul Chote
cdef41adb4 Specify sprite positions as center pos + offset. Fixes #3611. 2013-08-01 22:23:21 +12:00
Paul Chote
1ae2e55448 Remove obsolete PPos functions from Target. 2013-08-01 20:18:44 +12:00
Paul Chote
3d1b7d6d53 Fix Traits.Util style issues. 2013-08-01 20:18:44 +12:00
Paul Chote
b50ba0bfb9 Use WAngle.ArcTan in Traits.Util.GetFacing. 2013-08-01 20:18:44 +12:00
Paul Chote
e08445f762 Remove obsolete functions from Traits.Util. 2013-08-01 20:18:44 +12:00
Paul Chote
3fd01cfac2 Remove obsolete PSubPos and PSubVec. 2013-08-01 20:18:43 +12:00
Paul Chote
f198d7f204 Add WVec.ToCVec() extension method. 2013-08-01 20:18:43 +12:00
Paul Chote
bf9c737a11 Remove obsolete Gauss1D/Gauss2D functions. 2013-08-01 20:18:42 +12:00
Paul Chote
df46ffeb84 Convert ProjectileArgs to world coords. 2013-08-01 20:18:41 +12:00
Matthias Mailänder
332759a5f5 Put audio related problems into sound.log 2013-07-31 22:16:01 +02:00
Paul Chote
0e37c99521 Use C&C world tooltips in RA and D2K. Fixes #2382. 2013-07-28 19:53:12 +12:00
Paul Chote
9be6f3f29d Move C&C world tooltip code into ViewportControllerWidget. 2013-07-28 19:06:13 +12:00
Paul Chote
0cdc4d6f01 Rename ViewportScrollController -> ViewportController. 2013-07-28 18:57:12 +12:00
Paul Chote
6722db20e3 Clean up ViewportScrollControllerWidget. 2013-07-28 18:52:08 +12:00
Paul Chote
40c6264aca Spaces -> Tabs in ViewportScrollControllerWidget. 2013-07-28 18:39:59 +12:00
Paul Chote
7c91d6976d Split keyboard and mouse focus.
Fixes #3304.
Fixes #2075.
Fixes C&C chat focus bug.
2013-07-27 21:02:52 +12:00
Paul Chote
a09bcbd47a Use the rendered resource state for the harvest order targeter. 2013-07-25 18:11:54 +12:00
Paul Chote
ff4a600d94 Freeze resources under fog. 2013-07-25 18:11:54 +12:00
Paul Chote
e1a7a55f2a Fix ResourceLayer style nits. 2013-07-25 18:11:54 +12:00
ScottNZ
dc84acc300 Add an Unload voice for when a unit is unloading. 2013-07-22 22:19:37 +12:00
Paul Chote
c3f04cc32e Convert non-aircraft positioning to world coords.
This removes the incomplete and unused hover code
on Mobile, which would be more trouble that it is
currently worth to carry over.
2013-07-21 17:35:47 +12:00
Paul Chote
6a435752fd Remove *PxPosition from IOccupySpace/IPositionable. 2013-07-21 17:35:46 +12:00
Paul Chote
19165d259d Add world coord overloads to IOccupySpace and IPositionable. 2013-07-21 17:35:46 +12:00
Paul Chote
0676116d77 Convert Move and related plumbing to world coordinates. 2013-07-21 17:35:45 +12:00
Paul Chote
048bed0a5e Rename ITeleportable -> IPositionable. 2013-07-21 17:35:41 +12:00
Paul Chote
ecc119cb29 Combine IHasLocation -> IOccupySpace, IMove -> ITeleportable. 2013-07-21 17:33:32 +12:00
Paul Chote
ac3f63b59c Remove IHasLocation lookup from Target. 2013-07-21 17:31:00 +12:00
Paul Chote
f18994f800 Add WVec.HorizontalLengthSquared to simplify range checks. 2013-07-21 17:30:58 +12:00
Paul Chote
ddd1314613 Convert ScreenShaker to world coords. 2013-07-20 15:34:28 +12:00
Paul Chote
27f04c1b78 Rename FindUnits -> FindActorsInBox. 2013-07-20 15:34:28 +12:00
Paul Chote
37c02fea79 Remove PPos overload of FindUnits. 2013-07-20 15:34:27 +12:00
Paul Chote
800acdbdf2 Rename FindUnitsInCircle -> FindActorsInCircle. 2013-07-20 15:34:27 +12:00
Paul Chote
e6865c5996 Remove PPos overload of FindUnitsInCircle. 2013-07-20 15:34:27 +12:00
Paul Chote
39d2095e54 Remove PPos overload of ClosestTo. 2013-07-20 15:34:27 +12:00
Paul Chote
1dfc4837d4 Add some world-coordinate helpers. 2013-07-20 15:34:26 +12:00
Matthias Mailänder
52fcba1607 Merge pull request #3575 from pchote/r8reader
Native R8 support for sequences
2013-07-17 08:27:15 -07:00