Commit Graph

13947 Commits

Author SHA1 Message Date
Matthias Mailänder
ca0fe59c41 make sure replays is always initialized
fixes #5431
2014-05-24 17:10:13 +02:00
Oliver Brakmann
d6f3d1035e Add port of scg04wb mission 2014-05-24 14:35:45 +02:00
Oliver Brakmann
668e5318fb Add port of scg04wa mission 2014-05-24 14:35:44 +02:00
Matthias Mailänder
5a3e333570 Merge pull request #5426 from pchote/replayfix
Save the replay metadata block when quitting.
2014-05-24 13:55:24 +02:00
Matthias Mailänder
2b555623fb Merge pull request #5425 from pchote/pingfix
Separate ping lifetime from beacons.
2014-05-24 13:51:08 +02:00
Matthias Mailänder
b33dbe2f7c Merge pull request #5396 from reaperrr/ts-update
TS mod fixes and additions
2014-05-24 13:36:17 +02:00
Paul Chote
910db14ee8 Save the replay metadata block when quitting. 2014-05-24 23:13:19 +12:00
Psydev
81c72e622d fixed a tib tree in Rogue States + polish 2014-05-24 04:12:46 -07:00
reaperrr
e1b78bc728 Tweaks Mammoth Mk.2 firing offsets 2014-05-24 13:12:32 +02:00
reaperrr
4aafd4ecf4 Adds TODO comments to GDI placeholder defenses 2014-05-24 13:12:31 +02:00
reaperrr
ee77be25d6 adds disabled voxel sequences for various unused voxels for possible use later on 2014-05-24 13:12:31 +02:00
reaperrr
37f831ca9c Adds defenses and advanced Nod power plant, fixes GDI radar dish animation
Additionally tweaks offsets for deployed artillery and tick tank.
2014-05-24 13:12:30 +02:00
Paul Chote
cb13335b8d Separate ping lifetime from beacons. Fixes #5424. 2014-05-24 23:05:22 +12:00
Paul Chote
f5badcfc98 Merge pull request #5415 from pavlos256/replayrecorder-disposing-crash
Fix #5414
2014-05-24 20:55:38 +12:00
Matthias Mailänder
5826c41741 Merge pull request #5422 from pchote/but-I-do-have-shroud
Avoid a loop closure issue that caused incorrect sequence lookups.
2014-05-24 10:48:14 +02:00
Paul Chote
51c5797a42 Avoid a loop closure issue that caused incorrect sequence lookups. 2014-05-24 20:32:42 +12:00
Matthias Mailänder
aed5c0d4ce Merge pull request #5419 from pchote/news
Ingame news tweaks
2014-05-24 10:19:20 +02:00
Paul Chote
59993653aa Point news url at the website. 2014-05-24 20:08:48 +12:00
Paul Chote
932765d0c4 Adjust news dialog layout. 2014-05-24 20:08:48 +12:00
Grant H.
260966649f New Maps
-Added Updated/Balanced version of Doubles
-Added "Singles," 1v1 version of Doubles
-Added "Synergy," 3v3 Ground, Naval, and Air
2014-05-24 01:17:46 -05:00
Paul Chote
ccd9797caf Fix TD spawn dialog dropdown background. 2014-05-24 18:06:40 +12:00
Matthias Mailänder
cb1a222fd5 Merge pull request #5418 from pchote/bullet-contrails
Remove contrails from AA Gun and Sniper.
2014-05-24 06:52:41 +02:00
Paul Chote
6cdd89a2e6 Remove contrails from AA Gun and Sniper. Fixes #5417. 2014-05-24 16:34:58 +12:00
Paul Chote
83f742c679 Merge pull request #5399 from Squiggles211/spawn_choices
Fixes #5394 Spawnpoint dropdown count
2014-05-24 16:13:31 +12:00
Paul Chote
0c44ae0265 Merge pull request #5413 from psydev/patch-1
Reduce Grenadier dmg vs. heavy from 50% -> 35%
2014-05-24 16:10:57 +12:00
RoosterDragon
e07c9fc791 Deduplicate OpenRA.ico.
Use a path with backslashes to satisfy VS2012.
2014-05-23 21:22:06 +01:00
Matthias Mailänder
9ff1a317fd Merge pull request #5402 from RoosterDragon/traitdictionary-contains
Fixed TraitDictionary.Contains to use Any() rather than Count() != 0.
2014-05-23 19:43:48 +02:00
Matthias Mailänder
dea15a0ffe Merge pull request #5407 from psydev/maps
Maps: 1 new map, 2 map updates
2014-05-23 19:30:41 +02:00
Pavlos Touboulidis
5a286ef15e Fix #5414 2014-05-23 19:08:45 +03:00
RoosterDragon
b733465f33 General uncontroversial cleanup:
- Made private methods static where possible (runtime can elide checking the object for null).
- Declared attribute classes as sealed (allows reflection on attributes to complete faster).
- Moved some static cctor's into field initializers (static cctor's are slower than static field initializers).
- Made classes static if they contained only static methods (can't create instances of useless objects).
- Use inferable Exts.Lazy and not new Lazy<T>().
- Added required STAThread attribute to CrashDialog.
- Removed unused parameters in private methods.
- Added Serializable attribute to exceptions.
- Added parameter name in calls to ArgumentNullException.
- Use of as operator instead of is + cast.
- Changed (x as Foo).Bar anti-pattern into ((Foo)x).Bar. Results in sensible cast exceptions on error rather than null dereferences.
- Removed unused method in NullShader.
2014-05-23 15:50:54 +01:00
psydev
6c46f9d198 Reduce Grenadier dmg vs. heavy from 50% -> 35%
Grenadier is a wee bit too powerful vs. everything. 
This will keep its value vs. heavy armor still very high, but not OP like it is for the cost. 
(Grenadier will still have highest DPS vs. heavy as a function of cost, after this nerf).
2014-05-23 07:20:41 -07:00
RoosterDragon
a0db80cb6a Changes to reduce allocations in the main loop.
Targeted some methods that generated allocated a lot of memory in the main game loop:
- Actor.Render - Changed LINQ calls into equivalent loops. No allocation for delegates.
- Animation.Render - Returned an array rather than a yield expression. The array uses less memory than the complier generated enumerable.
- FrozenActor and FrozenUnderFog - Materialize the footprint into an array: The enumerable is not-trivial to evaluate is and evaluated many times inside the Tick function. The memory needed is minimal. Changed LINQ into equivalent loops to prevent delegate allocation. Should result in overall much faster calls.
- Widget.GetEventBounds - Changed LINQ calls into equivalent loops.
- MobileInfo.CanEnterCell - Changed LINQ calls into equivalent loops. Don't materialize list of blocking actors every time, instead enumerate them and only when they need to be checked.
- FrozenUnderFog.TickRender - Generate the renderables lazily and also remove a no-op Select call.
2014-05-23 14:48:11 +01:00
Psydev
11a3b3d4fc minor: removed "C&C" from the title of Haos Ridges 2014-05-23 06:14:12 -07:00
Psydev
fd0287cec0 improved "Deterring Democracy". Better tib.
Changed layout of tiberium, especially blue tib.
Removed hospitals.
2014-05-23 06:12:09 -07:00
RoosterDragon
b1d5f4edd9 Also implemented on the Bits<T> struct. 2014-05-23 13:53:56 +01:00
Psydev
13483f797a new map: "Profit Over People" (1vs1) 2014-05-23 05:23:57 -07:00
Psydev
15e7b098d1 re-add 8-player version of HoS, with "8P" title
Includes same minor aesthetic fixes as 4P version.
2014-05-23 05:22:28 -07:00
Psydev
5c38fcee27 fix + replace Hegemony or Survival with 4p version
There were a few leftover minor aesthetic issues with the map which I
quickly fixed.
I decided that not many people would play the 8P version of this map, so I
made the 4P version the one included. It's actually fun.
2014-05-23 05:20:56 -07:00
reaperrr
467d1b6137 Adds Scorch and Crater marks to world, adds Heavy start unit support for testing purposes 2014-05-23 13:39:51 +02:00
reaperrr
06fc2a31d6 Fixes offsets, adds muzzles and Turret ROT values for several vehicles.
Adds cloak sound to stealth tank.
2014-05-23 13:39:50 +02:00
reaperrr
21625f5650 Fixes bounds, offsets, FireDelays and weapons for some infantry 2014-05-23 13:39:50 +02:00
reaperrr
425d02e86b Adds several previously missing weapons, resets Versus values to original TS values
Fixes flameall.shp to cover 8 directions instead of only 4
2014-05-23 13:39:49 +02:00
RoosterDragon
2bd8778c55 Changed removeActorPosition field in ActorMap into a set.
This is because it's purpose is to be queried via Contains when actors needed to be removed.
2014-05-23 08:30:45 +01:00
RoosterDragon
da6b5c1ce4 Fixed TraitDictionary.Contains to use Any() rather than Count() != 0.
This means it can bail early if a match is found.
2014-05-23 08:25:47 +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
RoosterDragon
de7a837d94 Unify settings for solution and project setups.
Create a single solution platform named x86.
Ensure both Debug and Release configs build to the root for all projects.
Ensure all Release configs generate pdbs.
2014-05-23 08:16:09 +01:00
Squiggles211
7e2599c898 Fixes #5394 Spawnpoint dropdown count
Fixes where the spawn point dropdown would show the same number of spawn
points as the number of players rather than the actual number of
available spawn points.
2014-05-23 02:14:16 -05:00
RoosterDragon
67594b844a Implemented IEquatable<T> to speed up equality comparisons.
Actor, CPos, CVec, WAngle, WPos, WRange, WRot and WVec structs now implement IEquatable<T> which means unboxing/casting costs can be eliminated.

Also simplified the ToString method by concatenating components directly rather than using a format string since the overhead is a bit high for simple cases like this.
2014-05-23 08:04:43 +01:00
Paul Chote
db08357e36 Merge pull request #5215 from pavlos256/replay-meta
Replay meta
2014-05-23 11:30:12 +12:00
reaperrr
9d5228d141 Set Tick value for various TS infantry sequences to 80 2014-05-22 22:27:55 +02:00