Commit Graph

19 Commits

Author SHA1 Message Date
Pavel Penev
5ad1424c87 Merge pull request #7579 from Mailaender/lua51-msvc110
Avoid MSVC120 runtime dependency for Lua Windows DLLs
2015-03-08 02:29:55 +02:00
Matthias Mailänder
b7255761e3 downgrade to MSVC8 runtime dependency 2015-03-07 17:54:42 +01:00
Matthias Mailänder
0f309c31be downgrade FreeType2 version to old msvcrt.dll dependency
also downgrade ZLib dependency to old VC runtime versions
2015-03-07 14:04:36 +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
Matthias Mailänder
6626df468c fetch OpenAL Soft from Nuget on Windows 2015-02-15 11:33:05 +01:00
Matthias Mailänder
93c4be6f7a add support for StyleCop+ 2015-01-25 18:40:44 +01:00
Matthias Mailänder
8e4674520e create a thirdparty/windows directory if it does not exit 2015-01-18 08:33:59 +01:00
Matthias Mailänder
b25184adca fetch Zlib from nuget 2015-01-18 07:35:54 +01:00
Matthias Mailänder
9cae84d29d fetch Lua 5.1 from nuget.org 2015-01-18 07:35:41 +01:00
Matthias Mailänder
a18512cd57 Merge pull request #7212 from reaperrr/stable-sharp-dep
Revert to stable SharpFont version 2.5.0.1
2014-12-28 16:12:39 +01:00
reaperrr
be7830e118 Revert to stable SharpFont version 2.5.0.1 2014-12-27 21:12:20 +01:00
ScottNZ
8725ee9de3 Make fetch-thirdparty-deps.ps1 work on more Windows platforms. 2014-12-27 22:05:54 +13:00
Matthias Mailänder
962d8fe74f fetch Mono.Nat from nuget 2014-12-26 15:40:06 +01:00
Matthias Mailänder
51d081f93f fetch SDL2 (native Windows DLL) from nuget 2014-12-26 15:40:06 +01:00
Matthias Mailänder
02e1a8d5d2 fetch NUnit 2 from nuget 2014-12-26 15:40:06 +01:00
Matthias Mailänder
9ad76f87d2 fetch SharpFont from nuget 2014-12-26 15:40:06 +01:00
Matthias Mailänder
13785ddabd fetch MaxMind.GeoIP2 from nuget 2014-12-26 15:40:06 +01:00
Matthias Mailänder
6c855cdb8a fetch ICSharpCode.SharpZipLib from nuget 2014-12-26 15:40:04 +01:00
Paul Chote
f4055dae53 Add --check-code-style utility command. 2014-12-25 10:18:20 +01:00