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
Chris Forbes
5eb61dbdd2
Merge pull request #5411 from RoosterDragon/general-clean
...
General Cleanup
2014-05-25 11:03:03 +12: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
Paul Chote
932765d0c4
Adjust news dialog layout.
2014-05-24 20:08:48 +12: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
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
Paul Chote
4aa7376994
Add wrappers for RenderSprites anims dictionary.
2014-05-22 23:35:10 +12:00
Matthias Mailänder
ddb0d70fd2
add the starport active animation
2014-05-20 11:41:41 +02:00
Paul Chote
b3313be217
Remove the now-redundant CncWidgetUtils.cs
2014-05-19 10:24:22 +12:00
Paul Chote
05eb56b1e2
Simplify MenuPaletteEffect activation.
2014-05-19 10:24:09 +12:00
Oliver Brakmann
062e7f5298
Check proc's health before (un)docking. Fixes #5338
2014-05-17 17:09:46 +02:00
Pavlos Touboulidis
a845947e0f
Minor style & nit fixes
2014-05-17 14:33:17 +03:00
Pavlos Touboulidis
b560268495
Change animations to use the proper SequenceProvider
...
Remove references to the global "Game" and use the SequenceProvider
of the current world/map.
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
49ec533481
Better distinction between Widgets using the mod's DefaultRules or the map's Rules
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
3eefcc69f8
Use proper map rules in ProductionTooltipLogic.cs
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
d9db1c1854
Revert replacing generic Ui.OpenWindow with static method in MusicPlayerLogic
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
750fc4e02c
Merge ModRuleset and MapRuleset into Ruleset
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
63ec6d60e7
Refactoring to remove static Rules & SequenceProvider
2014-05-17 14:32:03 +03:00
Paul Chote
2acba2ce47
Merge pull request #5242 from reaperrr/deathsounds-followup
...
Made DeathSounds and their InfDeath relation fully customizable
2014-05-17 23:24:44 +12:00
Paul Chote
ce7fb707b2
Merge pull request #5297 from Saticmotion/betterScrolling
...
Better scrolling
2014-05-17 17:43:38 +12:00
reaperrr
d5023e376d
Fixes units hunting Advanced Comm. Center after being damaged by Ion Cannon.
...
Additionally made weapon, effect animation and effect palette customizable.
2014-05-16 18:38:12 +02:00
Saticmotion
1bf3f3e03e
The engine now uses the SDL2.0 scroll events properly.
...
Scroll speed is now a user preference.
2014-05-16 13:56:22 +02:00
Squiggles211
a0458eeb24
Fix crashes related to transports
...
Fixes two specific causes of transport related crashes, one prevents
infantry from continuing to take damage by Tiberium if loaded into the
transport over Tiberium, and one fixes the edge case where an infantry
dies in the same tick cycle as it was loaded into the transport.
2014-05-15 20:27:44 -05:00
reaperrr
98e48ae991
Converts InfDeath from integer to string.
...
Wire up updated DeathSounds for all mods.
2014-05-14 15:24:06 +02:00
Paul Chote
14df5a3bc3
Merge pull request #5279 from ScottNZ/news
...
Add news
2014-05-15 00:20:35 +12:00
ScottNZ
c7d8024522
Add a news panel to each mod
2014-05-14 23:51:41 +12:00
Matthias Mailänder
ba309a3367
add spice refinery smoke overlay when harvester docked
2014-05-14 09:39:45 +02:00
reaperrr
f7506b8a79
Fix warning message when compiling under Windows (MSBuild/VS).
2014-05-13 14:45:53 +02:00
Paul Chote
d73af0190f
Add a new native-lua implementation.
2014-05-02 22:18:34 +12:00
Paul Chote
fdd4437c52
Re-enable shellmaps.
2014-05-02 22:08:41 +12: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
Paul Chote
e572c0dcb6
Merge pull request #5184 from pavlos256/loading-perf
...
Loading performance measurements
2014-04-26 11:17:21 +12:00
Sebastien Kerguen
a7c77d4155
Fixes the speed of the blinking READY text (in RA & TD).
2014-04-24 20:22:22 +02:00
Pavlos Touboulidis
035834978d
Make Stopwatch.ElapsedTime() a property and TimeSpan
2014-04-23 00:56:07 +03:00
Paul Chote
1a69118f02
Make the ready overlay blink. Fixes #3032 .
2014-04-22 23:49:24 +12:00
Matthias Mailänder
b6f2c119a7
take low power slowdown into account
...
fixes #4840
2014-04-19 08:58:47 +02:00
Paul Chote
14eab38f0b
Add a camera to the Ion Cannon. Fixes #5058 .
2014-04-18 14:17:15 +12:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00
Paul Chote
1b2a90c00c
Migrate to System.Lazy.
2014-04-09 20:20:41 +12:00
Matthias Mailänder
67cd0645a4
update to .NET 4.0
2014-04-09 20:20:26 +12:00
Oliver Brakmann
4d71e37ab0
Disable shellmaps temporarily
2014-04-03 17:24:01 +02:00
Paul Chote
0bc3a68e9f
Unify all mods on the C&C order button logic.
2014-03-22 00:02:41 +13:00
Paul Chote
acda996227
Remove airstrike beacon when the attack begins.
2014-03-13 01:03:24 +13:00
Paul Chote
20b88fd904
Remove World.FrameNumber.
2014-03-12 17:19:29 +13:00
Matthias Mailänder
e4effd0125
Merge pull request #4478 from pchote/aircraft-follow
...
Add Guard and AttackMove to RA and C&C aircraft.
2014-02-01 00:38:21 -08:00
Paul Chote
1d8e785d0d
Merge pull request #4448 from Mailaender/test-files
...
TestFile to TestFiles in mod.yaml
2014-01-31 20:17:56 -08:00
Paul Chote
4eaaa052cc
Simplify Fly interface.
2014-02-01 10:55:04 +13:00
ScottNZ
1a3ec26a1e
Unify ra and cnc main menu logic and clean up the main menus.
...
Move a bunch of buttons into an Extras submenu and the server browser.
Move CncMenuPaletteEffect to ra so it can be used elsewhere and rename it to MenuPaletteEffect.
2014-01-31 23:47:15 +13:00
Kanar
17cf890dce
Enables "insufficient power"-speech in RA and C&C when powered-down supportpowerwidget is clicked
2014-01-27 04:29:32 +01:00