abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
reaperrr
3c34330925
Skip check for ITemporaryBlocker entirely if rules don't contain any temporary blockers
...
This benefits all mods without temporary blockers like gates or energy walls.
2018-05-04 19:40:18 +02:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
reaperrr
9020d39fcc
Introduce PositionClosestTo util
2016-07-02 17:23:34 +02:00
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
teees
65e1e301f4
Added Gates
...
FIXUP: account for full gate footprint when updating neighbours.
FIXUP: gate-wall connection adjacency yaml.
2016-01-25 09:14:00 +01:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
RoosterDragon
6d02d5ebaa
Remove some unneeded PerfSamples.
2015-12-23 20:19:22 +00:00
RoosterDragon
b0619a3e25
Added comments in performance sensitive code.
2015-12-13 16:24:54 +00:00
Matthias Mailänder
56e9bcd96e
rename RangeSquard to LengthSquared
2015-07-09 21:16:01 +02:00
Matthias Mailänder
7447e0bf93
rename WRange to WDist
2015-07-09 10:55:38 +02:00
Matthias Mailänder
ea5003cd2d
add new long WRange.RangeSquared to avoid integer overflows
2015-05-31 23:51:30 +02:00
reaperrr
3777a8bca9
Moved Voice-related extensions to VoiceExts.
...
Note: This is a work-around until Selectable can be moved to Mods.Common, which is when the voice extensions should be moved back to ActorExts.
Pulled phrase check before foreach in PlayVoice ActorExts.
Removed superflous actor parameter from PlayVoice/PlayVoiceLocal.
Simplified PlayVoice extensions.
variant is no longer customisable, as all current usages use self.Owner.Country.Race anyway.
2015-05-23 13:46:01 +02:00
reaperrr
5f68516070
Cleaned up IVoiced-related code.
...
Added Volume control and descriptions to Voiced.
Streamline voice checks in WorldUtils and DeathSounds.
2015-05-22 01:51:54 +02:00
reaperrr
251d3e6864
Move PlayVoice and PlayVoiceLocal from Sound to Voiced.
...
Move HasVoice, HasVoices and GetVoices from WorldUtils to Voiced.
2015-05-22 01:51:53 +02:00
reaperrr
0d05fdefbb
Extract actor voice set into Voiced trait
2015-05-22 01:51:51 +02:00
ScottNZ
582b6635ff
Brace style fixes
2015-02-13 02:32:49 +13:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
Hellhake
5a97a4b63b
Fix StyleCop warnings in OpenRA.Game
2015-01-02 12:11:01 +01:00
Paul Chote
b52cdd4b45
Remove redundant FindActorsInBox helpers.
2014-06-27 23:30:40 +12:00
ScottNZ
dbffce81a6
Remove unused usings
2014-06-15 22:16:40 +12:00
Pavlos Touboulidis
86febed0ce
Move ChooseRandomEdgeCell from WorldUtils to Map
2014-06-13 14:31:01 +03:00
Pavlos Touboulidis
060d5326ed
Move FindTilesInCircle from WorldUtils to Map
2014-06-13 14:24:53 +03:00
Pavlos Touboulidis
03b8096807
Move DistanceToMapEdge from WorldUtils to Map
2014-06-13 14:04:36 +03:00
Pavlos Touboulidis
f0c672b70c
Move ChooseRandomCell from WorldUtils to Map
2014-06-13 14:02:51 +03:00
Pavlos Touboulidis
77fb188585
Move ClampToWorld from WorldUtils to Map
2014-06-13 13:59:40 +03:00
Pavlos Touboulidis
c282fa1077
Move GetTerrainIndex/Info from WorldUtils to Map
2014-06-13 13:57:32 +03:00
Pavlos Touboulidis
092352729f
Change terrain type from string based dictionaries to arrays
2014-06-13 11:20:54 +03:00
Paul Chote
d8e5177a36
Merge pull request #5405 from RoosterDragon/min-max
...
Added MinBy, MaxBy, etc.
2014-06-09 17:42:01 +12:00
RoosterDragon
d1b3d77662
Changed logging in DoTimed/RunActivity to create less overhead.
...
- Refactored PerfTimer to use less memory.
- Avoid using the PerfTimer in highly called methods DoTimed and RunActivity, instead tracking long ticks manually to reduce overhead and avoid memory allocations.
- Added some helper methods in PerfTimer to output information when a tick takes too long.
- Changed PerfTimer logging to output the time at the start of the line, and no longer truncate output per line.
- Settings.LongTickThreshold changed from TimeSpan to float and renamed to LongTickThresholdMs.
2014-05-28 16:38:05 +01:00
RoosterDragon
0ea3509ee4
Added MinBy, MaxBy, MinByOrDefault and MaxByOrDefault methods and replaced calls of the style OrderBy[Descending]().First[OrDefault]() which is not as performant.
2014-05-23 08:23:42 +01:00
Pavlos Touboulidis
df0d1360dd
Give PerfTimer the ability to write only slow operations to the log
...
This is useful to ignore fast operations that just spam the log.
The class had to be reworked because it couldn't properly handle cases
where all of a node's children where below the threshold.
Also changed DoTimed() and RunActivity() to use PerfTimer.
2014-05-22 03:40:36 +03:00
Matthias Mailänder
187362e80e
rename OpenRA.Support.Random aka XRandom to MersenneTwister
2014-05-18 21:53:21 +02:00
Pavlos Touboulidis
63ec6d60e7
Refactoring to remove static Rules & SequenceProvider
2014-05-17 14:32:03 +03:00
Pavlos Touboulidis
c28faffa45
Remove custom Stopwatch wrapper
...
Remove the redirection (that doesn't offer any new functionality)
and replace it with the familiar System.Diagnostics.Stopwatch.
2014-04-26 23:58:18 +03:00
Pavlos Touboulidis
035834978d
Make Stopwatch.ElapsedTime() a property and TimeSpan
2014-04-23 00:56:07 +03:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00
Curtis Shmyr
6ced7b274c
Chronotank teleporation by holding SHIFT or ALT and issuing a move order
2014-03-22 00:13:24 -06:00
Matthias Mailänder
7d19e25627
don't crash on empty orders
2013-12-30 08:44:14 +01:00
ScottNZ
1394c1dcee
Remove some misc redundancies
2013-11-12 19:39:39 +13:00
Paul Chote
d7effe71da
Add squad and quantisation support to AirstrikePower.
2013-11-01 17:45:21 +13:00
Paul Chote
212f07f890
Add a helper for finding the map edge in a given direction.
2013-10-31 21:29:50 +13:00
Paul Chote
3ae75362bb
Remove WorldUtils.FindFrozenActorsAtMouse.
2013-10-05 21:01:22 +13:00
Paul Chote
0dc50c65f5
Remove unnecessary int2 -> PPos -> int2 conversions.
2013-09-27 15:41:32 +12:00
Paul Chote
3f8d75a1ac
Remove SpatialBins.
2013-09-27 15:36:51 +12:00
Paul Chote
dfd51c0caa
Introduce ScreenMap trait for caching screen-coord queries.
2013-09-27 15:36:25 +12:00
Paul Chote
eef941fd42
Track per-player frozen actors.
2013-08-12 21:34:18 +12:00