Commit Graph

86 Commits

Author SHA1 Message Date
Paul Chote
1b2a90c00c Migrate to System.Lazy. 2014-04-09 20:20:41 +12:00
Matthias Mailänder
67cd0645a4 update to .NET 4.0 2014-04-09 20:20:26 +12:00
Paul Chote
1e792fa58b Add limited Tmp(TS) support.
Supports basic tile data, but not z or extra data.
2013-12-29 14:16:20 +13:00
Paul Chote
7a034a6609 Move CPos and CVec into FileFormats. 2013-12-26 19:45:13 +13:00
Paul Chote
57c2e75a59 Add a Pak parser for Dune II archives. 2013-12-01 22:09:32 +13:00
Paul Chote
314f819940 Load terrain from any SpriteSource. 2013-12-01 09:49:25 +13:00
Paul Chote
ed163aea82 Fix D2 shp parsing and make it a proper frame source. 2013-12-01 09:48:44 +13:00
Paul Chote
e4fe2b49f4 Make terrain tiles ISpriteSources. 2013-12-01 09:48:42 +13:00
Paul Chote
f92ce8bf51 Define a consistent interface for sprite loading. Fixes #4176. 2013-12-01 09:47:49 +13:00
Matthias Mailänder
0b73491e3f CamelCase for FileSystem folder 2013-10-27 08:02:05 +01:00
Paul Chote
7ffbfb9b7e Add a Hotkey class for user-configurable keys. Fixes #3779.
Users can now define and use hotkeys that include modifiers (ctrl/meta/shift/alt).
2013-10-22 09:14:05 +13:00
Paul Chote
e5f93ec39e Introduce Keycode to simplify key checks. 2013-10-21 20:24:24 +13:00
ScottNZ
104a2d23cf Split FieldSaver out into its own file 2013-10-13 16:49:19 +13:00
ScottNZ
8b89952d59 Add observable collections 2013-09-22 19:22:07 +12:00
Paul Chote
5bea8fd4cc Introduce TileSetRenderer for editor and utility. 2013-08-14 23:08:24 +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
Matthias Mailänder
00839cb77b Random is not Thirdparty anymore
but our own implementation
2013-08-08 09:35:01 +02:00
Matthias Mailänder
79355bbb32 remove unused AssemblyInfos 2013-08-07 15:42:29 +02:00
Paul Chote
e8d7624867 Move R8Reader to FileFormats. 2013-07-16 23:02:16 +12:00
Matthias Mailänder
85da51ca09 added a Dune 2000 SOUND.RS parser
again @pchote via IRC
2013-06-15 19:41:07 +02:00
Matthias Mailänder
0554ef35b7 added support for WAVE sound files
closes #2174
2013-06-12 20:18:07 +02: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
a3729a11c7 Extract stream extensions to their own file. 2013-06-01 15:09:35 +12:00
Paul Chote
47f078ec3a Parse XCC global mix database. 2013-05-17 23:46:24 +12:00
Paul Chote
8817fd2cc5 Parse XCC local mix database. 2013-05-17 23:46:24 +12:00
Paul Chote
63c71bf3f5 Merge pull request #3234 from Mailaender/ts-mix-filehashes
Added support for Tiberian Sun MIX filename hashes
2013-05-15 00:02:29 -07:00
Paul Chote
3500f4b3e3 Merge pull request #3193 from Mailaender/shp-ts
Added support for Tiberian Sun/Red Alert 2 SHP format
2013-05-14 22:29:16 -07:00
Paul Chote
656476991f Replace ColorRamp with HSLColor everywhere.
Fixes:
* Nuclear-purple color exploit.
* #3247.
* Removes a bunch of unnecessary color conversions every frame.

Caveats:
* The ramp range is now defined on the palette, so ramps can no longer be set per-player (may impact maps which define custom colors).
* It's no longer possible to perfectly recreate the original WW color ramps (I doubt we care).
* The old ColorRamp setting isn't migrated, so players will lose their color settings.
2013-05-10 19:23:30 +12:00
Matthias Mailänder
7fb85e7abb added support for Tiberian Sun MIX filename hashes
closes #3227
2013-05-08 21:08:24 +02:00
Matthias Mailänder
2d685ab07d added SHP(TS) support by @katzsmile 2013-05-05 19:19:16 +02:00
Paul Chote
90ac642aa9 Split HSLColor out from ColorRamp. 2013-04-27 12:35:41 +12:00
Paul Chote
724ea88c3b Add new "World Coordinate" types.
These types provide fixed-point representations of distances, angles,
positions, vectors, and rotations in 3d space.

WAngle (and WRot) represents 360 degrees in 1024 units.
WRange (and WPos, WVec) represents 1 cell in 1024 units.

Distance types in yaml can be written as <cell>c<subcell>, e.g. "4c512" for 4.5 cells.
2013-03-29 20:39:27 +13:00
James Dunne
aac78773f4 Upgraded to VS2010 2012-06-26 20:39:56 -05:00
Chris Forbes
d9d0e74d74 remove dead HttpUtil class 2011-10-15 12:38:23 +13:00
Chris Forbes
16fa2f2c1e sort file lists in projectfiles, fix newlines 2011-09-16 08:57:11 +12:00
Chris Forbes
c7c97ec743 rename ColorHSLR.cs to ColorRamp.cs to match classname 2011-07-14 20:29:08 +12:00
Chris Forbes
95e29e06df add Bits/BitAllocator types 2011-07-14 20:29:08 +12:00
Chris Forbes
ccc245ded4 reintroduce Cached<T>; use for Actor.Bounds, Actor.ExtendedBounds, which replace Actor.GetBounds(bool) 2011-05-22 20:38:48 +12:00
Paul Chote
6a1f3cfc18 Installing from CD reimplemented 2011-05-21 17:26:13 +12:00
Matthew Bowra-Dean
20458fc552 Move Platform.cs to OpenRA.FileFormats, fix #765. 2011-05-21 11:35:04 +12:00
Paul Chote
b0425aff3b Renormalize line endings and fix copyright headers again. 2011-04-07 21:15:42 +12:00
Chris Forbes
f894705568 add chrisf's PNG loader for use by modding tools 2011-02-13 15:31:10 +13:00
Paul Chote
b134ba41f4 Convert Waypoints to actors 2011-02-11 21:50:11 +13:00
Chris Forbes
d3ddefbaa3 add ActionQueue, rather than leaving random variables lying around in Game.cs 2011-01-27 21:46:36 +13:00
Chris Forbes
1b3f769f34 shp writer 2011-01-26 21:47:53 +13:00
Chris Forbes
3426b52247 add ColorRamp type; change everything to use it; maps not yet upgraded 2011-01-08 18:17:18 +13:00
Chris Forbes
fe720186f5 add fast HttpUtil.DownloadData() 2011-01-04 17:53:00 +13:00
Paul Chote
c3ff679f3a Make map saving independent of Container type. Saving zip/oramap/mix untested as the editor cannot load non-folder maps. 2010-12-29 11:39:26 +13:00
Paul Chote
d7e8388600 Make our IFolder zip support actually work. 2010-11-21 13:10:22 +13:00