atlimit8
0fc2008f10
Added delegate creation & evaluation to ConditionExpression
2017-02-22 08:54:51 -06:00
atlimit8
d752e10799
ConditionExpression: Run syntax checks while lexing
2017-02-22 08:54:51 -06:00
atlimit8
6e393f99cb
ConditionExpression: Replaced Token sub-classing with TokenTypeInfo data.
2017-02-22 08:54:51 -06:00
atlimit8
73895d07e2
Numeric constants for ConditionExpression
2017-02-22 08:54:50 -06:00
atlimit8
65725efd04
Make ConditionExpression use counts.
2017-02-22 08:54:50 -06:00
atlimit8
d83dae5587
Rename BooleanExpression => ConditionExpression
2017-02-22 08:54:50 -06:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
3f0b33992c
Rewrite UpgradeManager implementation to suit conditions.
2016-11-20 13:55:47 +00:00
Paul Chote
cc34f8e557
Add a boolean expression parser.
2016-11-15 21:45:00 +00:00
Taryn Hill
ee50276c7a
Add a new MiniYaml test regarding line numbers
2016-06-17 11:20:43 -05:00
Matthias Mailänder
5029ac705f
Update to .NET 4.5
2016-05-19 21:24:21 +02:00
RoosterDragon
3192432a5c
Strengthen ordering of TraitsInConstructOrder.
...
All types that are dependencies of a trait must now occur before it in the construct ordering. Previously, only one type that was a dependency of a trait needed to occur before it.
2016-03-29 23:10:46 +01:00
RoosterDragon
b3b816fcc6
Improve names and test code in ActorInfoTest.
2016-03-29 23:10:45 +01:00
RoosterDragon
2c15bc9308
Remove dead code in ActorInfoTest.
2016-03-29 22:49:01 +01:00
RoosterDragon
0790884e4f
Fix namespaces of some tests.
2016-03-03 22:31:46 +00:00
RoosterDragon
0306a8de6c
Add tests and make minor fixes to PriorityQueue.
2016-03-03 22:31:45 +00:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
Paul Chote
6c6826c3f3
Fix mod assembly loading on Windows.
2016-02-07 23:38:12 +00:00
Paul Chote
ab921682c4
Rewrite yaml merger.
2016-01-30 15:03:56 +00:00
Paul Chote
1581ba951f
Add a new test case for actor info merging.
2016-01-30 11:55:37 +00:00
abcdefg30
085367ced6
Merge pull request #10461 from RoosterDragon/partition-bounds
...
Calculate better upper bounds in SpatiallyPartitioned.
2016-01-24 21:13:55 +01:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
RoosterDragon
8b12a4a747
Add tests for SpatiallyPartitioned.
2016-01-09 23:44:53 +00:00
Paul Chote
99ef4dc832
Merge pull request #10346 from RoosterDragon/misc-fixes
...
Dispose fixes + misc touchups
2016-01-01 13:53:05 +00:00
RoosterDragon
3e77f48b06
Rethrow exception correctly in CoordinateTest.
2016-01-01 04:51:57 +00:00
RoosterDragon
32bf9f7661
Suppress warning about Is.StringContaining on NUnit 3.
2015-12-31 06:37:55 +00:00
Huw Pascoe
b427190ab4
HitShape Unit Tests
...
The shapes should accurately calculate their distancce from a point.
2015-12-28 23:25:36 +00:00
RoosterDragon
9e43daeec7
Add tests for trait inheritance and removals in yaml.
2015-11-28 17:20:32 +01:00
Paul Chote
a074bb1d4b
Rename MiniYaml MergeLiberal -> MergePartial, MergeStrict -> Merge.
2015-11-28 17:20:21 +01:00
RoosterDragon
bfe1804bf6
Fix some spellings.
2015-11-27 16:19:59 +00:00
Pavel Penev
b16ebd480b
Rename MapGridType.Diamond to MapGridType.RectangularIsometric
2015-10-26 00:42:30 +02:00
Pavel Penev
bb3aea338a
Rename enum TileShape to MapGridType
2015-10-26 00:41:21 +02:00
Matthias Mailänder
76b53ce9d7
Merge pull request #9288 from RoosterDragon/action-queue-order
...
Fix ActionQueue ordering
2015-09-26 13:42:56 +02:00
atlimit8
b889675c83
ActorInfoTest fixup with new ActorInfo ctor
2015-09-21 15:50:57 -05:00
RoosterDragon
7decfc83ea
Fix ActionQueue ordering.
...
This enforces a well defined ordering for ActionQueue to ensure it runs actions in the the order one would expect.
2015-09-20 23:20:51 +01:00
Matthias Mailänder
d358c495c5
test the coordinate system conversions
2015-08-07 00:31:58 +02:00
Matthias Mailänder
ddb01b6ae5
fix warnings about unused local variables
2015-08-07 00:31:24 +02:00
abcdefg30
58c4312675
Revert "Add tests to verify sync hashing mechanism."
...
This reverts commit 9f32eb76cd .
2015-08-04 20:03:19 +02:00
RoosterDragon
9f32eb76cd
Add tests to verify sync hashing mechanism.
2015-08-02 22:36:56 +01:00
RoosterDragon
272a0d8691
Added a release config.
2015-06-09 18:06:31 +01:00
Oliver Brakmann
f251813f89
Keep downloaded files in a separate directory
...
As a side effect, this re-enables building the Windows installer on Linux hosts.
2015-05-08 20:59:24 +02:00
penev92
bb51657e40
Cleanup unused DLL references
2015-05-07 18:59:01 +03:00
Paul Chote
b1e285f243
Remove Moq dependency.
2015-05-01 16:29:31 +12:00
David Jiménez
044b51742f
Remove plumbing for trait unit tests.
2015-05-01 16:24:14 +12:00
Paul Chote
7dd51663b6
Fix the MiniYaml unit tests. Fixes #7999 .
2015-04-22 19:58:10 +12:00
David Jiménez
f15f1e41e8
Made int2 struct immutable
2015-03-20 13:54:01 +01: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
7267a3afdb
Merge pull request #6984 from DeadlySurprise/yamlFix
...
Fixed yaml bug with leading spaces
2015-01-20 21:42:22 +01:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00