Commit Graph

13012 Commits

Author SHA1 Message Date
RoosterDragon
e8111e8ac6 Restart the process rather than reloading a new AppDomain. 2014-06-18 21:36:59 +01:00
RoosterDragon
52b09bdfe8 If changed settings require a restart, offer the user to do it now.
Add a dialog when closing the settings screen asking the user if they would like to restart the game now in order to apply any settings that are only applied after restarting the game. The game is reloaded in-process by spinning up a new AppDomain in order to reset state.
2014-06-18 21:36:56 +01:00
Matthias Mailänder
6d2f180cd4 Merge pull request #5635 from RoosterDragon/traits
TraitDictionary cleanup
2014-06-18 11:09:50 +02:00
RoosterDragon
85734defec Improve trait enumeration speed for All and GetMultiple.
Use a hand-rolled enumerators to avoid the overhead from compiler generated enumerable blocks. This trades terseness for some minor performance gains.
2014-06-17 22:11:23 +01:00
RoosterDragon
909c5c7037 Some minor cleanup in TraitDictionary and affected callsites. 2014-06-17 22:10:41 +01:00
Paul Chote
50d3929862 Merge pull request #5616 from RoosterDragon/syncreport-simplify
Rewrite SyncReport for clarity and performance
2014-06-17 22:54:48 +12:00
Matthias Mailänder
3be26e4cda Merge pull request #5617 from pchote/attack-moveadjacent
Improve unit-attack movement
2014-06-17 10:03:49 +02:00
Matthias Mailänder
60d973aab4 Merge pull request #5634 from pchote/supportpower-prereqs
Allow support powers to require tech prerequisites.
2014-06-15 13:10:39 +02:00
Paul Chote
a220182c9e Remove cruft from RA airfield rules. 2014-06-15 22:51:42 +12:00
Paul Chote
1db1a1b324 Fix a typo in ITechTreeElement. 2014-06-15 22:49:52 +12:00
Paul Chote
2180e1f3f1 Allow support powers to require tech prerequisites. 2014-06-15 22:49:52 +12:00
Paul Chote
afa3fc8143 Simplify MoveAdjacentTo pathfinding. 2014-06-15 22:48:44 +12:00
Paul Chote
2141656460 Only inset range for mobile targets. 2014-06-15 22:48:43 +12:00
Paul Chote
58c3f9ad0c Use MoveWithinRange for attack activities.
Fixes #2104. Fixes #2923. Fixes #4455.
2014-06-15 22:48:43 +12:00
Paul Chote
64ab0a77a9 Added MoveWithinRange activity for Mobile units. 2014-06-15 22:48:43 +12:00
Paul Chote
887a515e14 Add MinRange plumbing to attack activities. 2014-06-15 22:48:43 +12:00
Paul Chote
f5a44f3c41 Merge pull request #5633 from ScottNZ/refactor
Some R# refactoring
2014-06-15 22:33:30 +12:00
ScottNZ
90894aa03e Use var everywhere 2014-06-15 22:17:34 +12:00
ScottNZ
dbffce81a6 Remove unused usings 2014-06-15 22:16:40 +12:00
ScottNZ
23f0e00bcc Now that we're on .NET 4 again, reintroduce optional parameter for RegisterNewSquad 2014-06-15 22:14:40 +12:00
ScottNZ
5e641750aa Use Any() instead of Count() == 0 2014-06-15 22:14:39 +12:00
ScottNZ
831b9b3ca3 Remove some stray semicolons 2014-06-15 22:14:39 +12:00
ScottNZ
6b85660d7d Compact lambda expressions in some (not all) places 2014-06-15 22:14:38 +12:00
ScottNZ
375fc1c5f1 Remove redundant constructors 2014-06-15 22:14:38 +12:00
ScottNZ
91bc1acca3 Fixed selectedAuthor in ModBrowserLogic not being the correct value if mod.Author is null 2014-06-15 22:14:37 +12:00
Paul Chote
1169211893 Merge pull request #5579 from Mailaender/frozen-C4
Fixed C4 target inconsistencies with Fog of War and Husks
2014-06-15 22:01:04 +12:00
Paul Chote
cc3e9b55a8 Merge pull request #5596 from Mailaender/opengl-version
Fixed crash when OpenGL version parse fails
2014-06-15 21:45:32 +12:00
Paul Chote
91236b2ca0 Merge pull request #5639 from Mailaender/editor-stylecop
Fixed some minor StyleCop issues
2014-06-15 21:39:29 +12:00
Matthias Mailänder
8f64835898 StyleCop 2014-06-15 10:51:57 +02:00
Matthias Mailänder
0679940c77 Merge pull request #5637 from pchote/ready-blink
Restore the blinking ready text in TD.
2014-06-14 13:58:49 +02:00
Paul Chote
3ee54fd00a Restore the blinking ready text in TD. 2014-06-14 22:37:44 +12:00
Matthias Mailänder
88757eccfa Merge pull request #5517 from deniz1a/blink-ready
New alternating colors blink option for build palette widget
2014-06-14 12:00:26 +02:00
Matthias Mailänder
dac12839fd Merge pull request #5630 from pavlos256/map-helpers
Move map helpers from WorldUtils to Map
2014-06-14 11:49:19 +02:00
Matthias Mailänder
fe0d7ab00e Merge pull request #5627 from pchote/frozen-cloak-fix
Invalidate FrozenActors that don’t have any sprites.
2014-06-14 11:41:49 +02:00
Matthias Mailänder
b3a2f81706 Merge pull request #5470 from Kanar/AirfieldRP
Closes #5592
2014-06-14 11:03:17 +02:00
Matthias Mailänder
1ebfc6bb06 Merge pull request #5631 from pavlos256/dev-iddqd
Add "/all" dev command
2014-06-14 10:27:58 +02:00
Matthias Mailänder
ee0df9c1cb make C4 Demolition frozen actor aware 2014-06-14 09:35:38 +02:00
Matthias Mailänder
fa0e4c3d0d what if there is no vendor info to remove from version string 2014-06-14 08:25:46 +02:00
Matthias Mailänder
2cc1d34078 remove redundant OpenGL version check to avoid NREs 2014-06-14 08:25:46 +02:00
Matthias Mailänder
7b5476aca7 don't crash there yet when OpenGL version parsing fails
closes #5595
2014-06-14 08:25:26 +02:00
Paul Chote
479feadef3 Merge pull request #5469 from Mailaender/fort-lonestar-lua
Ported Fort Lonestar to Lua
2014-06-14 17:47:06 +12:00
Matthias Mailänder
525a0c4ff1 port Fort Lonestar to Lua 2014-06-14 07:40:52 +02:00
Matthias Mailänder
b7ca65fb7b update Lua project files 2014-06-14 07:32:47 +02:00
Matthias Mailänder
473ca13b17 dos2unix 2014-06-14 07:32:47 +02:00
Paul Chote
c58d737400 Merge pull request #5597 from Happy0/mouse_window_focus
Removing requirement to restart game after applying changes to mouse focus option
2014-06-14 17:30:02 +12:00
Paul Chote
f115dda5df Merge pull request #5550 from pavlos256/reload-chrome
Add developer shortcut to reload chrome files
2014-06-14 17:25:18 +12:00
Paul Chote
5e986b3079 Merge pull request #5615 from RoosterDragon/minor-alloc
Minor allocation tweaks
2014-06-14 12:26:39 +12:00
Pavlos Touboulidis
ee4f3e5642 Always allow cheats on single player games 2014-06-13 17:18:12 +03:00
Pavlos Touboulidis
d22658011b Add "/all" dev command 2014-06-13 16:26:48 +03:00
Pavlos Touboulidis
3f2425f1d6 StyleCop 2014-06-13 15:55:48 +03:00