Commit Graph

557 Commits

Author SHA1 Message Date
Matthias Mailänder
ae00cb3adf use stream reader extensions for loading ra/cnc Terrain 2013-08-25 14:29:03 +02:00
Matthias Mailänder
30363db0ed StyleCop clean ZipFile 2013-08-25 07:10:29 +02:00
Matthias Mailänder
1c259ff919 AudLoader: BinaryReader to StreamExts 2013-08-24 14:01:35 +02:00
Matthias Mailänder
018ceb8d82 display where duplicate keys in MiniYaml are found 2013-08-17 23:47:13 +02:00
Matthias Mailänder
e77286c0a7 Merge pull request #3686 from pchote/portable-install
Support support dir inside the game root for portable installs.
2013-08-17 02:45:49 -07:00
Matthias Mailänder
d565413e4d Merge pull request #3687 from pchote/mapoptions
Lobby map option improvements.
2013-08-17 02:42:23 -07:00
Matthias Mailänder
503fdc463f Merge pull request #3684 from pchote/tileset-fixup
TileSet Refactoring
2013-08-17 01:08:42 -07:00
Paul Chote
5cb79283be Use uppercase extensions to support case-sensitive filesystems. 2013-08-17 20:01:24 +12:00
Paul Chote
fbc02957a2 Allow a local support dir inside the game root. Fixes #3673. 2013-08-17 16:37:24 +12:00
Paul Chote
3fd64dfe52 Remove dead InitialCash setting from PlayerReference. 2013-08-17 14:42:43 +12:00
Paul Chote
ca90b2e6f1 Add FieldLoader support for Nullable<T>. 2013-08-17 10:03:57 +12:00
Paul Chote
608ca31f6d Support .r8 tileset artwork. 2013-08-15 19:28:55 +12:00
Paul Chote
7278739e45 Allow tilesets to specify their sheet size.
Decreased the default size from 4096 to 512.
2013-08-15 18:05:34 +12:00
Paul Chote
f83ad88d2a Use Manifest.TileSize everywhere. 2013-08-15 17:43:12 +12:00
Paul Chote
f6d0ea4b0f Remove TileSet rendering code. 2013-08-14 23:08:25 +12:00
Paul Chote
5bea8fd4cc Introduce TileSetRenderer for editor and utility. 2013-08-14 23:08:24 +12:00
Paul Chote
387ac04d9f Split tileset artwork loading out of TileSet.
This simplifies terrain loading and allows for
non-square tiles in game.

The editor still relies on the old code for now.
2013-08-14 23:08:17 +12:00
Paul Chote
a1dd7cff7b Support additive blending for D2K explosions. 2013-08-14 17:31:02 +12:00
Paul Chote
59d821b8ef Merge pull request #3647 from Mailaender/ip2geo
Show locations of client and servers using a local GeoIP database
2013-08-11 03:21:23 -07:00
Paul Chote
4a7a50dac9 Fix parsing of negative WRange. 2013-08-10 22:25:05 +12:00
Matthias Mailänder
00839cb77b Random is not Thirdparty anymore
but our own implementation
2013-08-08 09:35:01 +02:00
Matthias Mailänder
57f7f71c8d StyleCop clean MiniYaml 2013-08-07 15:52:30 +02:00
Matthias Mailänder
05f165357d StyleCop clean Map
move non-map specific functions to FileFormats
2013-08-07 15:52:29 +02:00
Matthias Mailänder
32cbe4620f StyleCop clean IniFile 2013-08-07 15:52:29 +02:00
Matthias Mailänder
47044fc696 StyleCop clean Blast 2013-08-07 15:52:29 +02:00
Matthias Mailänder
6436ccd431 StyleCop clean AudLoader 2013-08-07 15:52:29 +02:00
Matthias Mailänder
0cfe7e2a06 StyleCop clean Exts 2013-08-07 15:52:29 +02:00
Matthias Mailänder
e6368b2b44 StyleCop clean Evaluator 2013-08-07 15:52:29 +02:00
Matthias Mailänder
5957627fb6 StyleCop clean FieldLoader
remove SA1510 for FileFormats
2013-08-07 15:52:29 +02:00
Matthias Mailänder
79355bbb32 remove unused AssemblyInfos 2013-08-07 15:42:29 +02:00
Matthias Mailänder
f02bfbf0c2 disable StyleCop rules SA1115 and SA1116
closes #3562
2013-08-07 13:50:23 +02:00
Paul Chote
40533918f3 Allow mods to set default lobby options. 2013-08-04 12:03:18 +12:00
Paul Chote
b50ba0bfb9 Use WAngle.ArcTan in Traits.Util.GetFacing. 2013-08-01 20:18:44 +12:00
Paul Chote
6d52af4553 Add probabilistic sampling functions to WRange, WVec. 2013-08-01 20:18:41 +12:00
Paul Chote
46a384d1ca Add WAngle.ArcTan(). 2013-08-01 20:18:40 +12:00
Paul Chote
c3f04cc32e Convert non-aircraft positioning to world coords.
This removes the incomplete and unused hover code
on Mobile, which would be more trouble that it is
currently worth to carry over.
2013-07-21 17:35:47 +12:00
Paul Chote
f18994f800 Add WVec.HorizontalLengthSquared to simplify range checks. 2013-07-21 17:30:58 +12:00
Paul Chote
56da57bc09 Return WVec.LengthSquared as a long to avoid overflow. 2013-07-21 17:30:57 +12:00
Paul Chote
1dfc4837d4 Add some world-coordinate helpers. 2013-07-20 15:34:26 +12:00
Paul Chote
acbd692de8 Add native support for the d2k R8 format. 2013-07-16 23:16:09 +12:00
Paul Chote
e8d7624867 Move R8Reader to FileFormats. 2013-07-16 23:02:16 +12:00
Paul Chote
db22f3568d Remove obsolete DefaultStartingUnits parameter.
It was only actually used by bomber-john. Everything
else also removed SpawnMPUnits, making it redundant.
2013-07-13 19:18:27 +12:00
Paul Chote
7376cccf4d Smarter unit spawn logic. Fixes #3496. 2013-07-13 19:18:27 +12:00
Paul Chote
6bf783e674 Add IEnumerable.RandomOrDefault extension. 2013-07-13 19:18:26 +12:00
Matthias Mailänder
a35a046ede disable more StyleCop rules based on @pchote's wishlist 2013-07-11 20:29:00 +02:00
Matthias Mailänder
8bb5b5700b added StyleCop support
with some rules we disagree with disabled
2013-07-08 19:42:32 +02:00
Paul Chote
5976913c73 Add WPos/WVec.LerpQuadratic to simplify ballistic calculations. 2013-07-08 23:40:22 +12:00
Paul Chote
0fdffd7b6a Convert Drag to world coords. 2013-07-08 21:52:27 +12:00
Paul Chote
6f67602d57 Use Target range checks in attack activities. 2013-07-06 19:12:26 +12:00
Chris Forbes
c0e0efd0ef movement equivalence classes
These can be used as a basis for a bunch of pathing optimizations.

- Feasability of movement can be precomputed for each class, avoiding
  the worst-case pathfinding behavior

- A path could potentially be shared between all members of a class.
  This isnt necessarily the best path for any single unit, as it
  doesn't care about efficiency of movement across various terrain --
  but it would be a "reasonable" path that the whole group could take
  together.

- General pathing checks can be converted from intersection of sets of
  strings to a simple AND.

- Other, wilder things.

V2: be paranoid about too-long bit vectors.
2013-06-26 20:50:51 +12:00