Paul Chote
3f7293b206
Let FieldLoader do the hard work of loading fields.
2014-07-06 14:04:26 +02:00
Matthias Mailänder
dbb4132b66
add TrimOrEmpty to avoid NREs
2014-07-06 14:04:25 +02:00
Paul Chote
4216f66ca4
Add Exts.ISqrt to avoid fp sqrt calculations.
2014-06-28 15:48:53 +12:00
ScottNZ
90894aa03e
Use var everywhere
2014-06-15 22:17:34 +12:00
Matthias Mailänder
69d86cfcf2
add automated language string extraction to utility
2014-06-10 09:24:28 +02: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
Matthias Mailänder
187362e80e
rename OpenRA.Support.Random aka XRandom to MersenneTwister
2014-05-18 21:53:21 +02:00
Matthias Mailänder
59ace5d01b
new shorthand Exts.(Try)ParseIntegerInvariant
2014-05-13 14:16:41 +02:00
Pavlos Touboulidis
ef066560ad
Fix text-wrapping special case
...
If a line of text contained a whole word that was longer than the
allotted space, it would fail to wrap that line completely, even
if it was possible to wrap at other locations.
Fixing this uncovered a second issue, where it would drop the last
line if the input had more than one lines and one of the first ones
was wider than the specified width.
2014-04-25 13:54:14 +03:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00
Chris Forbes
1e3f365cf2
move all the Game.Exts junk either down into FileFormats or into WorldUtils
2011-03-12 22:33:24 +13:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Chris Forbes
80e3b8be0d
more cleanups
2010-11-01 20:28:28 +13:00
Caleb Anderson
c85503811c
Clamp, scroll, scrollspeed, sliders
...
Reduced clamp duplication
Fixed scrolling speed issue
Modified scrollspeed slider to use a range
Fixed scrollspeed, volume, and sound sliders not showing current setting.
2010-10-06 20:53:56 +13:00
Caleb Anderson
7bdf6a953f
New slider Range parameter. Palette modifications. Potential crash fix. Clamp function.
...
Range parameter added to slider. Supports returning a range of values
rather than just 0-1. Allows you to not have to post process the offset.
Modified palette selector to not have full range, which was causing
blown out units.
Introduced exension method Clamp<T>(min, max)
Fixed crash deserializing out of bound color value using above
extension.
2010-10-05 17:25:25 +13:00
Paul Chote
a3246866fb
Better perf logging
2010-09-17 10:02:24 +12:00
Paul Chote
6fba888d45
Shift Actor.Health onto a trait.
...
Known regressions:
- cnc only
- health bar colors
- can't repair buildings
2010-07-30 00:33:44 +12:00
Chris Forbes
d5f12dd8ee
trim down license spam in all files
2010-07-18 16:48:21 +12:00
Bob
281d013c3b
move Combat, AttackBase, and associates into mod
2010-07-08 16:38:58 +12:00
Chris Forbes
ee0f90708f
put perf in its own channel
2010-06-11 18:15:59 +12:00
Matthew Bowra-Dean
aa239d172d
Log channels, PHP script diffs when told.
2010-06-10 12:50:22 +12:00
Bob
7deefc5246
debug (timing) spam, and perf fixed on SupportPower
...
Build timing (un)hacked by chrisf
2010-05-16 22:23:36 +12:00
Chris Forbes
c5fdda9141
more cleanup
2010-04-02 16:45:01 +13:00
Chris Forbes
1f1e748f1b
removed old WeaponInfo
2010-04-02 16:45:01 +13:00
Chris Forbes
8a05af72b3
Unknown race -> Random; make it actually work, too.
2010-03-18 13:18:41 +13:00
alzeih
7881deca30
Everything is now OpenRA, not OpenRa
2010-02-27 21:10:22 +13:00