Paul Chote
ce331a28e8
Use CellLayer for custom terrain.
2014-06-27 22:07:02 +12:00
Paul Chote
8dc0967d2e
Use CellLayer for ActorMap.
2014-06-27 22:07:02 +12:00
Paul Chote
baf27bc4cd
Use CellLayers for shroud.
2014-06-27 22:07:02 +12:00
Paul Chote
295af5741f
Use CellLayers for ResourceLayer.
2014-06-27 22:07:01 +12:00
Paul Chote
386b71de82
Integrate CellRegion with Map, Viewport.
2014-06-27 19:20:46 +12:00
Paul Chote
52ab8f3ca1
Add CellRegion and CellLayer classes to simplify map overlays.
2014-06-27 19:20:46 +12:00
Paul Chote
bbd1331536
Clean up actor selection in WorldInteractionControllerWidget.
2014-06-27 19:20:44 +12:00
Paul Chote
2af123034d
Use ExtraData for SetStance and SetUnitStance.
2014-06-26 23:14:13 +12:00
Paul Chote
7d24053f52
Introduce Order.SuppressVisualFeedback to cleanly disable flashes.
2014-06-26 23:14:13 +12:00
Paul Chote
d43acfe94b
Merge pull request #5679 from RoosterDragon/main-loop-alloc
...
Reduce memory allocation in the main loop
2014-06-26 23:10:56 +12:00
Matthias Mailänder
48bd67b735
Merge pull request #5735 from pavlos256/always-save-replay
...
Properly save replay even when the game crashes (fixes #5610 )
2014-06-25 20:17:39 +02:00
Matthias Mailänder
36c910fcae
Merge pull request #5731 from RoosterDragon/sequence-initialize-fix
...
Fix #5452
2014-06-25 20:15:08 +02:00
Paul Chote
492513a89a
Merge pull request #5706 from Mailaender/lint-players
...
Added a new OpenRA.Lint check for invalid player definitions
2014-06-25 11:30:34 +12:00
Pavlos Touboulidis
e19dae8eec
Properly save replay even when the game crashes ( fixes #5610 )
2014-06-24 22:40:20 +03:00
RoosterDragon
3c9f589b5e
Move try-catch during creation of sequences into the function rather than around the lazy initialization.
...
This fixes an issue with VS breaking on the exception because it thinks it will go unhandled, even though it will be handled.
2014-06-24 17:21:41 +01:00
Paul Chote
177dd02cd1
Merge pull request #5628 from pavlos256/smooth-scrolling
...
Add smooth scrolling to the ScrollPanelWidget
2014-06-23 21:46:50 +12:00
obrakmann
e41791568d
Merge pull request #5702 from Mailaender/reslayer-cell-full
...
Fixed exploding harvesters spawning resources on full cells
2014-06-22 18:57:57 +02:00
RoosterDragon
8a60880cf1
Tackle the last of the low hanging fruit for memory allocations in the main game loop.
...
- Avoid calling string.Split twice in SprintFont.Measure.
- Change ActorsInBox method of ActorMap and ScreenMap to avoid allocating and intermediate list. As a bonus this allows the sequence to be lazily consumed. Also avoid LINQ in these methods.
- In FrozenUnderFog.TickRender, the method exits early if no players are visible so the attempt at lazy generation was not needed.
- Unwrap a LINQ Any call in ClassicProductionQueue.Tick.
- Merge some successive Where calls in ProximityCapturable into single predicates.
2014-06-22 17:29:45 +01:00
RoosterDragon
927b0499da
Produce debug output for OpenRA.Game.
2014-06-22 16:38:05 +01:00
Matthias Mailänder
6eabd080b8
StyleCop
2014-06-22 13:30:35 +02:00
Matthias Mailänder
05609399eb
don't try to spawn resources when the cell is already full
...
fixes #5699
2014-06-22 11:49:40 +02:00
Pavlos Touboulidis
628c524494
Add smooth scrolling to the ScrollPanelWidget
2014-06-21 16:41:56 +03:00
Paul Chote
5760e665d3
Clean up map previews. Fixes #5665 .
2014-06-21 21:15:11 +12:00
Pavlos Touboulidis
b9542e0f3f
Fix #5675
2014-06-20 22:54:56 +03:00
RoosterDragon
e0d8d8cf80
Clean up project settings.
...
- Create single platform config named x86 and have all projects target x86.
- Remove Release config (broken anyway).
- For the Debug config, ensure TRACE and DEBUG constants are set and unsafe code is allowed for all projects (same as the makefile).
- Warn level 4 and optimizations off were removed from the config automatically by VS (it assumes these values by default, and these match the makefile).
- The CrashDialog project can reuse the icon from the Game project as long as the path is set correctly.
- Fix TS project so it builds (I know it's going but its annoying that the project must be unloaded).
2014-06-20 19:29:54 +01:00
Paul Chote
bc92bc1774
Merge pull request #5649 from Mailaender/upnp-polish
...
Made the Mono.NAT integration more robust
2014-06-21 01:31:33 +12:00
Paul Chote
57280e3eab
Merge pull request #5660 from Mailaender/document-traits
...
Documented some order related traits
2014-06-21 01:27:11 +12:00
Paul Chote
a6cb60e583
Merge pull request #5646 from Mailaender/replay-dropdown-polish
...
Polished the Replay Browser dropdowns
2014-06-21 01:23:33 +12:00
Matthias Mailänder
e607c04cce
let harvester splatter resources when exploding
...
closes #2346
2014-06-20 11:11:31 +02:00
Matthias Mailänder
3e627d2eba
rename ore to the more generic name resources everywhere
2014-06-20 11:11:31 +02:00
Matthias Mailänder
0e1f98c2a9
Merge pull request #5600 from RoosterDragon/auto-restart
...
Offer user quick restart if settings change
2014-06-20 08:56:08 +02:00
Matthias Mailänder
18805779a8
document RejectsOrders
2014-06-19 21:21:14 +02:00
RoosterDragon
22abf9b4c4
Remove and sort usings.
2014-06-18 21:43:35 +01:00
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
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
1f7b0ad5d4
time limit the port forwarding if possible
2014-06-16 16:42:06 +02:00
Matthias Mailänder
a8c029f130
check if we really found a UPnP compatible NAT device
2014-06-16 16:35:33 +02:00
Matthias Mailänder
4d2412f4b8
this can't throw
2014-06-16 16:34:44 +02:00
Matthias Mailänder
d25fd654bc
NatUtility.DeviceLost is never fired
2014-06-16 16:33:57 +02:00
Matthias Mailänder
db319f8f0b
this will never happen
2014-06-16 16:33:16 +02:00
Matthias Mailänder
88480e0dc2
make it clear that this does not need to match content height
2014-06-16 10:17:30 +02:00
Paul Chote
887a515e14
Add MinRange plumbing to attack activities.
2014-06-15 22:48:43 +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
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
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