Commit Graph

12751 Commits

Author SHA1 Message Date
ScottNZ
40e9fb93d6 Revert project file changes by RoosterDragon which would cause the TD mod to fail to load for some reason on Windows (de7a837d94, #5403).
VS will also generate a warning if it tries to source an icon from somewhere not in the project directory, so added it to the CrashDialog folder.
2014-05-26 00:07:30 +12:00
Matthias Mailänder
fd185a5ca0 Merge pull request #5441 from ScottNZ/news
Closes #5438
2014-05-25 09:14:06 +02:00
ScottNZ
157a42a3d5 Revert "Move cnc perf graph out of the way of the news button"
This reverts commit 8fc3870656.
2014-05-25 15:13:05 +12:00
Chris Forbes
5eb61dbdd2 Merge pull request #5411 from RoosterDragon/general-clean
General Cleanup
2014-05-25 11:03:03 +12:00
Chris Forbes
51b70777bd Merge pull request #5432 from Mailaender/replay-filter-nre
Fixed NullReferenceException when there are no replays
2014-05-25 10:56:02 +12:00
Chris Forbes
2d90032ce9 Merge pull request #5404 from RoosterDragon/remove-as-hashset
Changed removeActorPosition field in ActorMap into a set.
2014-05-25 10:53:19 +12:00
Chris Forbes
f7c91a9932 Merge pull request #5433 from RoosterDragon/main-loop-alloc
Reduce memory allocations in the main loop.
2014-05-25 10:38:27 +12:00
Matthias Mailänder
7cb8d0fef0 Merge pull request #5435 from reaperrr/ra-polish
Fixed RA camo pillbox desert art and aircraft selection boxes
2014-05-24 21:25:46 +02:00
reaperrr
0c109ed3ea Tweaks aircraft selection box bounds.
Closes #5208.
2014-05-24 20:45:37 +02:00
reaperrr
b3aaa6b1f1 Fixes camo box desert art.
Removes swimming pixel effect and bogus remap pixels. Closes #4796.
2014-05-24 20:44:24 +02:00
Matthias Mailänder
f83e27ae9a Merge pull request #5403 from RoosterDragon/solution-config
Unify settings for solution and project setups.
2014-05-24 17:13:43 +02:00
Matthias Mailänder
ca0fe59c41 make sure replays is always initialized
fixes #5431
2014-05-24 17:10:13 +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
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
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
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