Commit Graph

15620 Commits

Author SHA1 Message Date
Matthias Mailänder
fc750874bc Merge pull request #7586 from Phrohdoh/exit-descs-buff
Make Exit’s descs more informative.
2015-03-04 20:45:59 +01:00
Taryn Hill
d6da7d54e4 Make Exit’s descs more informative. 2015-03-04 09:15:09 -06:00
Scott
43c3621ef6 Merge pull request #7582 from Phrohdoh/ignore-moq
Add Moq.dll to the gitignore.
2015-03-04 19:00:46 +13:00
Taryn Hill
025493f6a5 Add Moq.dll to the gitignore. 2015-03-03 22:02:35 -06:00
Paul Chote
8c4ea20636 Merge pull request #7430 from Rydra/upstream/pf-optimized
[Discussion PR] Complete refactor of Pathfinder
2015-03-03 19:50:25 +00:00
David Jiménez
54ae572303 - Introduced Unit Testing capabilities to the PathFinder trait and algorithm.
Introduced also a small Unit test project to prove it.

- Separated caching capabilities from PathFinder class to increase cohesion and maintainability.
Refactored the pathfinding algorithm by extracting methods based on responsibilities like
calculating costs and reordering functions. These changes should provide a in average a small increase in
pathfinding performance and maintainability.

- Optimized the pathfinder algorithm to reuse calculations like the
MovementCost and heuristics.

- Introduced base classes, IPathSearch and IPriorityQueue interfaces,
and restructured code to ease readability and testability

- Renamed the PathFinder related classes to more appropriate names. Made the
traits rely on the interface IPathfinder instead of concrete PathFinder
implementation.

- Massive performance improvements

- Solved error with harvesters' Heuristic

- Updated the heuristic to ease redability and adjustability. D can be
adjusted to offer best paths by decreasing and more performance by
increasing it

- Refactored the CellLayer<CellInfo> creation in its own Singleton class

- Extracted the graph abstraction onto an IGraph interface, making the
Pathfinder agnostic to the definition of world and terrain. This
abstraction can help in the future to be able to cache graphs for similar
classes and their costs, speeding up the pathfinder and being able to feed
the A* algorithm with different types of graphs like Hierarchical graphs
2015-03-03 20:11:11 +01:00
Oliver Brakmann
50d726ea31 Merge pull request #7477 from pchote/d2k-raceart
Add race-specific sequence support, and overhaul D2K actor definitions.
2015-03-03 20:07:30 +01:00
Paul Chote
b968b527d2 Allow map players to use non-selectable races. 2015-03-03 18:45:46 +00:00
Paul Chote
6e08fd33c4 Update d2k map importer actor table. 2015-03-03 18:45:46 +00:00
Paul Chote
476986660f Allow GDI/Nod flavoured conyards to be built in debug mode. 2015-03-03 18:45:45 +00:00
Paul Chote
b670673f9f Reorganize D2K actor rules.
This removes the redundancy between faction variants and adjusts the layout
to be more consistent with the other mods.
2015-03-03 18:45:45 +00:00
Paul Chote
b7a98c8eb7 Document the other Transforms trait properties. 2015-03-03 18:45:45 +00:00
Paul Chote
59d06a22bf Change "Cannot deploy here" to a notification. 2015-03-03 18:45:44 +00:00
Paul Chote
7b27b803f9 Allow actors to force a specific race variant. 2015-03-03 18:45:44 +00:00
Paul Chote
d1ed1bf0fb Set actor race (and icons) based on active producer. 2015-03-03 18:45:44 +00:00
Paul Chote
44159ecdd6 Add support for race-specific actor sequences. 2015-03-02 20:46:24 +00:00
Paul Chote
00a2146299 Adjust GetImage plumbing in preparation for race-specific sequences. 2015-03-02 20:46:24 +00:00
Paul Chote
4c3a95ebc0 Fix bogus Produces definition on TD FACT. 2015-03-02 20:46:24 +00:00
Paul Chote
f606a1bfd7 Use a consistent set of arguments for Render* ctors. 2015-03-02 20:46:23 +00:00
Oliver Brakmann
d135e58ad9 Merge pull request #7501 from Bynnar18/leftclick
Reimplementing Left Click Orders with Fixes
2015-03-02 18:01:26 +01:00
Bynnar18
0abe8f9b2b Fixes issues with support powers and adds property to all IOrderGenerator classes to determine priority over selection in the left-click order scheme. 2015-03-01 14:58:19 -06:00
Bynnar18
7b46b76329 Fixed left-click orders and implemented a selection deadzone. 2015-03-01 14:58:19 -06:00
Bynnar18
36d59d6b1d Restored faulty left-click logic for now. 2015-03-01 14:58:18 -06:00
Oliver Brakmann
75bfd0fb31 Merge pull request #7535 from reaperrr/allmods-audio
Cleanup: Moved audio-related yamls to audio subfolder
2015-03-01 19:20:47 +01:00
Pavel Penev
711659d7dd Merge pull request #7540 from Mailaender/d2k-description
Changed the Dune 2000 mod chooser description
2015-03-01 17:53:20 +02:00
Matthias Mailänder
ab04380234 give this a more in-universe description
we now have sandworms, carryalls and concrete
2015-03-01 14:59:41 +01:00
Oliver Brakmann
61cea23c3c Merge pull request #7562 from abcdefg30/onSellRemoved
Fix a crash in OnAllRemovedFromWorld
2015-03-01 14:00:25 +01:00
Oliver Brakmann
74c22523aa Merge pull request #7564 from Mailaender/common-widgets
Moved the whole widget code to OpenRA.Mods.Common
2015-02-28 23:00:07 +01:00
Matthias Mailänder
ff6dbde8d7 move widget code to commons 2015-02-28 20:32:19 +01:00
Oliver Brakmann
92101a1393 Merge pull request #7487 from abcdefg30/changealtitude
Change the plane altitude in ra
2015-02-28 19:49:39 +01:00
abcdefg30
28262df1e5 Don't crash when selling an actor using OnAllRemovedFromWorld 2015-02-28 09:38:14 +01:00
Pavel Penev
cee3d6cf9e Merge pull request #7532 from RoosterDragon/disabledoverlay-modifyrender
Adjust DisabledOverlay.ModifyRender to be more efficient.
2015-02-27 01:08:39 +02:00
RoosterDragon
6baa35a763 Adjust DisabledOverlay.ModifyRender to be more efficient.
When not disabled, ModifyRender doesn't actually alter the sequence, so we can just return it directly and avoid adding another layer of enumerable. If it is disabled, then the modifying enumerable has one less condition to check inside the loop.
2015-02-26 21:58:29 +00:00
Pavel Penev
0c9960ae1b Merge pull request #7519 from obrakmann/fix7516_default-facing
Change default facing to 0
2015-02-26 23:23:43 +02:00
Oliver Brakmann
a1beb8a61e Merge pull request #7555 from delftswa2014/bugfix/resourcegrowth_transient
allowed resources to be grown under Actors
2015-02-26 22:18:01 +01:00
Pavel Penev
67cee6324c Merge pull request #7511 from obrakmann/vqaplayer-no-mouse
Prevent VqaPlayerWidget from eating the radar bin's mouse input
2015-02-26 23:14:26 +02:00
Oliver Brakmann
325f8fbb17 Merge pull request #7554 from x-a-n-a-x/RA-DebugSymbol
Adds a debug symbol (RA mod)
2015-02-26 22:00:20 +01:00
Nick ten Veen
96e9b90a64 Fixed #7008 for TD, TS and D2K aswell 2015-02-26 21:56:35 +01:00
Nick ten Veen
78511de58f allowed resources to be grown under Actors 2015-02-26 18:15:09 +01:00
Sebastien Kerguen
1b0a805fc6 Adds the chrome.psd (art source) 2015-02-26 17:26:07 +01:00
Sebastien Kerguen
3834a08c73 Adds a debug symbol (RA mod) 2015-02-26 17:08:00 +01:00
Oliver Brakmann
4beef806d6 Merge pull request #7521 from delftswa2014/bugfix/cheatfix
Forgot shroud on all-cheat
2015-02-25 23:35:00 +01:00
reaperrr
57a4bdb606 Remove obsolete PackageContents from TS mod.yaml 2015-02-23 23:30:14 +01:00
reaperrr
e38736670c Move TS music, notifications and voices yamls to audio subfolder.
Move TileSets and tile/cell settings for consistency with other mods.
2015-02-23 23:29:39 +01:00
reaperrr
650bc615af Move D2k music, notifications and voices yamls to audio subfolder.
Move TileSets a little for consistency with other mod.yamls.
2015-02-23 23:27:49 +01:00
reaperrr
26158ad722 Move TD music, notifications and voices yamls to audio subfolder.
Move TileSets and Translations in mods.yaml for consistency with other mods.
2015-02-23 23:24:18 +01:00
reaperrr
7baad53124 Move RA music, notifications and voices yamls to audio subfolder 2015-02-23 23:20:55 +01:00
Oliver Brakmann
ec12fb130c Merge pull request #7527 from delftswa2014/bugfix/lobby_chat_margin
Increase ItemSpacing in CHAT_TEMPLATE for the lobby chat
2015-02-23 22:13:42 +01:00
Oliver Brakmann
0bf9b04b51 Merge pull request #7531 from RoosterDragon/stream-read-fixes
Fix some broken Stream.Read calls.
2015-02-23 21:49:49 +01:00
pevers
6d716d301a DisableShroud cheat now properly disables after disabling the all-cheat
Smaller code base

Added newline

Added newline between assignment and statement

fixed spacing

fixed spacing

fixed spacing
2015-02-23 21:19:07 +01:00