Commit Graph

494 Commits

Author SHA1 Message Date
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
Paul Chote
1b34c7d6b9 Expose depth buffer to render code. 2013-06-04 20:25:21 +12:00
Paul Chote
9566385aac Add renderer support for additional vec* uniforms. 2013-06-04 20:25:20 +12:00
Paul Chote
064938378f Add renderer support for matrix uniforms. 2013-06-04 20:25:20 +12:00
Paul Chote
06d11c4fa9 Make missing tile transparent to avoid visual glitch with bridge1h in maps. 2013-06-02 19:27:23 +12:00
Paul Chote
50dff05675 Return a synthesized tile for missing indices. Fixes #3329. 2013-06-02 19:26:55 +12:00
Paul Chote
edf604e080 Remove BinaryReader from VqaReader. 2013-06-01 15:09:36 +12:00
Paul Chote
6d8df80664 Remove BinaryReader from Dune2ShpReader. 2013-06-01 15:09:36 +12:00
Paul Chote
dd23e9598a Remove BinaryReader from ShpTSReader. 2013-06-01 15:09:36 +12:00
Paul Chote
6edde6c4ac Remove BinaryReader from MixFile. 2013-06-01 15:09:36 +12:00
Paul Chote
93b606da2c Add stream extensions for reading basic types. 2013-06-01 15:09:35 +12:00
Paul Chote
a3729a11c7 Extract stream extensions to their own file. 2013-06-01 15:09:35 +12:00
baxtor
629fe95ebd Fixes issue #2216 InstallShield .Z package decompression 2013-05-26 21:51:37 +02:00
Paul Chote
0dd8d7f7b6 Distinguish between classic and crc file hashes. Fixes #3306, #3328. 2013-05-24 21:10:41 +12:00
Paul Chote
de3d4da000 Allow mounted IFolders to be queried. 2013-05-19 19:14:20 +12:00
Paul Chote
112034a41d Allow hashes to be accepted as valid mix filenames. 2013-05-18 03:59:46 +12:00
Paul Chote
9dc3f4bf2d Add IFolder.AllFileNames() for listing the filenames in a package. 2013-05-17 23:52:02 +12:00
Paul Chote
974e9b3325 Write XCC compatible mix files. 2013-05-17 23:46:29 +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
50b87b580a Remove 12 character limit from mix content names (XCC compatibility). 2013-05-17 23:46:19 +12:00
Matthias Mailänder
6a6776754b added .mix file support for game asset browser 2013-05-15 18:13:39 +02:00
Matthias Mailänder
881fcf1191 added in-game SHP viewer with frame slider 2013-05-15 18:13:33 +02:00
Paul Chote
d70a5aff6a Tidy TileSet formatting (no code changes). 2013-05-15 19:24:18 +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
Matthias Mailänder
7d0b7d9617 Merge pull request #3240 from pchote/mixfile-streams
Be explicit about MixFile stream positions.
2013-05-10 04:12:08 -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
Paul Chote
8dab49fb95 Be explicit about MixFile stream positions. 2013-05-09 21:55:39 +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
9a9dc7eab1 Clean up MixFile code. 2013-05-02 23:03:45 +12:00
Paul Chote
5af983a409 Fix bogus mixfile header decryption. Fixes #2176. 2013-05-02 21:01:58 +12:00
Paul Chote
90ac642aa9 Split HSLColor out from ColorRamp. 2013-04-27 12:35:41 +12:00
Matthias Mailänder
6125f4f9d3 added .mix filename to Exception if duplicate values are found
to debug #2441
2013-04-20 19:46:31 +02:00
Scott_NZ
083d59613a Better UPNP logging. Also fixes a compile error 2013-04-05 14:18:22 +02:00
Paul Chote
be250bca76 Rewrite ThrowsParticle using world coordinates.
The old dynamics were crazy, so this implements
a simpler model using a cubic lerp.
2013-04-01 12:59:49 +13:00
Paul Chote
7c21459b48 Convert contrails to world coords. 2013-03-31 19:32:51 +13: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
Matthias Mailänder
0a82bfe552 format TODO: uniformly to auto-generate task list in MonoDevelop 2013-03-27 09:45:17 +01:00
Scott_NZ
a25aa23805 radoc tidy 2013-03-22 18:12:47 +13:00
Chris Forbes
d0cf627b23 add --docs flag for utility 2013-03-20 15:12:58 +01:00
Paul Chote
21e8e3a78d Remove unnecessary duplication between renderers. 2013-03-08 00:07:26 +13:00
Paul Chote
786c3b1f1a Rename uniform setters to avoid future ambiguity. 2013-03-04 19:06:42 +13:00
Matthias Mailänder
47075e1cd0 generate random numbers as floats
as they get converted from double before use anyway
2013-03-01 10:53:41 +01:00
Matthias Mailänder
dd476bbf5c add the total number of values extracted from RNG to sync report 2013-03-01 10:48:28 +01:00