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
Matthias Mailänder
ff6dbde8d7
move widget code to commons
2015-02-28 20:32:19 +01:00
Matthias Mailänder
361c1bc010
Merge pull request #7483 from pchote/deadbuildingstate
...
Fix missing first animation frame and remove DeadBuildingState.
2015-02-21 14:00:23 +01:00
Pavel Penev
293bb78a3c
Merge pull request #7457 from pchote/actorpreviews
...
Introduce ActorPreviewWidget (and other related changes).
2015-02-21 01:35:03 +02:00
Paul Chote
f2087de9bd
Remove DeadBuildingState.
...
Fixes #3422 , #3522 , #5136 .
2015-02-20 16:56:46 +00:00
Paul Chote
2d31e12bb9
Add --replay-metadata utility command.
2015-02-15 08:58:59 +00:00
Paul Chote
268ca94dc1
Introduce ActorPreviewWidget.
2015-02-10 15:22:42 +00:00
penev92
6c6a4322ed
Move the AI namespace to Mods.Common
2015-02-09 16:57:29 +02:00
penev92
64887cb8c8
Move MainMenuLogic to Mods.Common
2015-02-06 13:37:43 +02:00
penev92
494b600ed8
Move refinery and harvester logic to Mods.Common;
...
Remove unused interface IAcceptOreDockAction
2015-02-06 13:23:07 +02:00
Taryn Hill
86f6d634c0
Add TerrainModifiesDamage trait.
...
^Infantry take 80% damage on Rough terrain in D2k.
2015-01-26 18:08:44 -06:00
Matthias Mailänder
3489794713
replace PlayMusicOnMapLoad trait with Lua Media.PlayMusic method
2015-01-25 14:43:36 +01:00
Oliver Brakmann
2c71e954bf
Merge pull request #7170 from penev92/bleed_enemySightedNotification
...
Implement "Enemy unit sighted" notification
2015-01-22 21:58:58 +01:00
penev92
52cc69fd1f
Move Crate, CrateSpawner and all CrateActions to Mods.Common
2015-01-18 16:40:55 +02:00
penev92
f1a0f6e2a5
Move Parachute, Parachutable and ParaDrop to Mods.Common
2015-01-18 16:15:14 +02:00
Matthias Mailänder
5aeb6eda06
move connection UI to commons
2015-01-17 15:17:54 +01:00
penev92
e2832bb3d7
Implement EnemyWatcher and AnnounceOnSeen traits
2015-01-17 14:41:22 +02:00
reaperrr
52dd8c922f
Moves Lint checks to Mods.Common
2015-01-15 23:15:51 +01:00
reaperrr
e82b2ce8dd
Moves BaseAttackNotifier to Mods.Common
2015-01-15 22:59:43 +01:00
reaperrr
6f0ae30a7e
Moves nearly all ScriptingProperties to Mods.Common
2015-01-15 22:56:35 +01:00
reaperrr
f3d364877a
Moves the last 3 UtilityCommands and some prerequisite references to Mods.Common
2015-01-15 22:39:41 +01:00
reaperrr
e8fbfc366a
Moves some misc traits/activities to Mods.Common, moves some RA traits into the Traits folder
2015-01-15 13:18:12 +01:00
reaperrr
be9d37f30e
Moves SupportPowers and related Widgets to Mods.Common
2015-01-15 13:18:11 +01:00
reaperrr
f897a9ff01
Moves Upgrades and Invulnerable trait to Mods.Common
2015-01-15 00:07:27 +01:00
penev92
ea9ebaa08d
Add IgnoresCloak trait
2015-01-14 21:26:53 +02:00
reaperrr
c431545a44
Wrap up Render traits move
2015-01-11 03:04:42 +01:00
reaperrr
5b8c97ae37
Move OrderGenerators to Mods.Common
2015-01-11 03:04:40 +01:00
reaperrr
0e1773ac5d
Move Production to Mods.Common
2015-01-11 03:04:39 +01:00
penev92
37cdcaf354
Move everything Capture-related + Transform activity to Mods.Common
2015-01-08 01:49:15 +02:00
penev92
18ac3953cc
Move everything ExternalCapture-related to Mods.Common
2015-01-08 01:49:14 +02:00
penev92
8504c233d9
Move everything Repair-related to Mods.Common
2015-01-08 01:49:14 +02:00
penev92
bcd5160604
Move everything Bridge-related to Mods.Common
2015-01-08 01:47:20 +02:00
reaperrr
573c26145e
Move Render*Circle, ThrowsParticle and ParatroopersPower to appropriate locations
2015-01-04 18:12:11 +01:00
reaperrr
7a8826f5e0
Move Targetable*, Seeds/StoresResource(s) and two RenderBuilding traits to Mods.Common
2015-01-04 18:12:10 +01:00
reaperrr
b7a3b9fdbf
Move ScaredyCat, TakeCover, RenderInfantry, WithBuildingExplosion and SpawnMPUnits as well as Hunt activity to Mods.Common.
2015-01-04 18:12:09 +01:00
reaperrr
d07db9c6a9
Move Guard, CashTrickler, Explodes, SelfHealing, Sellable and Crushable to Mods.Common.
...
Extract Guardable trait from Guard into own file.
2015-01-04 18:12:08 +01:00
reaperrr
654f56c5d5
Moves Attack, Armament, Move, Air traits and activities as well as anything required by them to Mods.Common.
...
Extracts Exit from Production into its own trait.
2015-01-04 05:24:28 +01:00
penev92
62601491ad
Move Enter and Repair Building activities, EngineerRepair trait and ActorExts to Mods.Common and extract IgnoresDisguise trait to its own file
2015-01-03 07:03:41 +02:00
penev92
b1e2e5bea6
Move PlayerStatistics to Mods.Common
2015-01-03 07:03:40 +02:00
penev92
0e71580af6
Move DetectCloaked to Mods.Common
2015-01-03 07:03:40 +02:00
penev92
5e1af58bbe
Move Gives/Gains Experience and Bounty to Mods.Common
2015-01-03 07:03:28 +02:00
reaperrr
d074fb4471
Move *ResourceWarheads to Common, move warheads to Common.Warheads namespace
2014-12-26 21:38:50 +01:00
reaperrr
9dfd369446
Move some Building traits and related elements to Mods.Common
2014-12-26 21:38:49 +01:00
reaperrr
2054e41552
Dissolve Render namespace
2014-12-26 21:38:47 +01:00
Paul Chote
f4055dae53
Add --check-code-style utility command.
2014-12-25 10:18:20 +01:00
Paul Chote
ecd4479807
Move OpenRA.Lint into a --check-yaml utility command.
2014-12-25 10:10:57 +01:00
Oliver Brakmann
39d13dc654
Merge pull request #7121 from pchote/switchmods
...
Add Launch.Connect command and on-connect mod switching.
2014-12-24 16:06:00 +01:00
penev92
681042caec
Further RA project cleanup
2014-12-23 15:18:07 +02:00
Paul Chote
ec7a32184e
Move the mod-level initialisation code back into the load screen.
2014-12-23 09:20:19 +13:00