Commit Graph

539 Commits

Author SHA1 Message Date
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
Chris Forbes
979ac4f91f Merge pull request #3407 from pchote/voxel-fbo
Voxel refactoring
2013-06-19 14:57:17 -07:00
Paul Chote
71616201ff Ignore unknown wav chunks instead of throwing. 2013-06-15 19:41:07 +02:00
Paul Chote
2eeabfe668 Fixup: Use ReadASCIIZ in D2kSoundResources. 2013-06-15 19:41:07 +02:00
Paul Chote
0c4df26ed0 Add Stream.ReadASCIIZ for d2k. 2013-06-15 19:41:07 +02:00
Matthias Mailänder
9fb98f04d4 implement the fact chunk for WAVE files 2013-06-15 19:41:07 +02:00
Matthias Mailänder
85da51ca09 added a Dune 2000 SOUND.RS parser
again @pchote via IRC
2013-06-15 19:41:07 +02:00
Paul Chote
52335a37bf Allow/require renderers to enable alpha blending when needed. Fixes voxel shadow issues. 2013-06-15 19:31:52 +12:00
Paul Chote
4c22193446 Remove obsolete Stencil Buffer functions. 2013-06-15 19:31:52 +12:00
Paul Chote
c5337cdcf3 Reimplement voxel rendering with a FBO. 2013-06-15 19:31:52 +12:00
Paul Chote
22e6966c8e Texture changes:
* The GL texture id is now readonly.
* Added Size property.
* Added GetData() for reading data back from the GPU.
* Added SetEmpty() for creating an empty texture of a given size.
2013-06-15 19:16:07 +12:00
Paul Chote
4c8c010506 Expose FBOs to engine code. 2013-06-15 19:16:07 +12:00
Paul Chote
cd268c11ee Move IsPowerOf2 to Exts. 2013-06-15 19:16:07 +12:00
Matthias Mailänder
0554ef35b7 added support for WAVE sound files
closes #2174
2013-06-12 20:18:07 +02:00
Paul Chote
82faf7e929 Allow mods and maps to define voxel sequences. 2013-06-04 20:40:24 +12:00
Paul Chote
af6791d942 Implement hva parser. 2013-06-04 20:25:21 +12:00
Paul Chote
992db08f71 Implement vxl parser. 2013-06-04 20:25:21 +12:00
Paul Chote
656a529249 Support Vertex objects with custom z coordinate. 2013-06-04 20:25:21 +12:00
Paul Chote
f6264eeba4 Expose stencil buffer to render code.
The intention is to provide a layer for tracking shadow
rendering, so a single bit is sufficient for now.
2013-06-04 20:25:21 +12:00