Commit Graph

9608 Commits

Author SHA1 Message Date
Paul Chote
1eb04a70a5 Add TextRenderable for CashTick. Make ticks consistent. 2013-06-16 19:10:38 +12: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
2215f74959 Support rendering sprites into non-rectangular quads. 2013-06-15 19:16:09 +12:00
Paul Chote
7a71f87d9f Introduce Renderable.BeforeRender().
WorldRenderer.Draw() has been slightly reorganized
to ensure that BeforeRender is called before any
drawing render state (e.g. scissor) has been set.
2013-06-15 19:16:08 +12:00
Paul Chote
18311be3ae Remove nearest-int position rounding from SpriteRenderer.
The things that want to be rounded already do this
much earlier (wr.ScreenPxPosition, etc).
2013-06-15 19:16:08 +12:00
Paul Chote
7d09e78655 Add WorldRgbaSpriteRenderer. 2013-06-15 19:16:08 +12:00
Paul Chote
7beef85a64 Use PaletteReferences everywhere. 2013-06-15 19:16:08 +12:00
Paul Chote
e5bcb88b0e Support sprites with an internal offset. 2013-06-15 19:16:08 +12:00
Paul Chote
9b576d3fdd Add a visualization layer for renderable geometry. 2013-06-15 19:16:08 +12:00
Paul Chote
4152f61999 Move MakeFloatMatrix to Graphics.Util. 2013-06-15 19:16:08 +12:00
Paul Chote
5f0ab1f62d Add functions for calculating voxel bounding boxes. 2013-06-15 19:16:08 +12:00
Paul Chote
37770a4e47 Extract voxel transform matrix into a function. 2013-06-15 19:16:08 +12:00
Paul Chote
013ad0617e Allow sheets to wrap an ITexture directly. 2013-06-15 19:16:07 +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
0e1c12131a Generalize SheetBuilder overflow behavior. 2013-06-15 19:16:07 +12:00
Paul Chote
cd268c11ee Move IsPowerOf2 to Exts. 2013-06-15 19:16:07 +12:00
Paul Chote
da8202a15e Clean up LineRenderer whitespace (no code changes). 2013-06-15 19:09:20 +12:00
Paul Chote
ef95faa9b9 Fix LaserZap LineRenderer flushing. 2013-06-15 19:09:20 +12:00
Matthias Mailänder
01a625691a Merge pull request #3389 from ScottNZ/infil
Infiltration code cleanup
2013-06-14 00:08:24 -07:00
ScottNZ
5334589922 Infiltration code cleanup 2013-06-14 18:58:39 +12:00
Chris Forbes
17a3c0773b Merge pull request #3404 from cjshmyr/prodqueue
Fix BuildTimeSpeedReduction being one step (building) too early with bui...
2013-06-13 17:37:57 -07:00
Curtis Shmyr
06375fe1a3 Fix BuildTimeSpeedReduction being one step (building) too early with build speed reduction 2013-06-13 18:31:30 -06:00
Chris Forbes
6a5f1b0f63 Merge pull request #3400 from Mailaender/xbuild-warning
Fixed CS1701 xbuild/md-tool warning
2013-06-12 21:29:55 -07:00
Matthias Mailänder
10e5558812 fix an xbuild/md-tool warning
Assuming assembly reference.
You may need to supply runtime policy (CS1701)
2013-06-13 06:18:01 +02:00
Chris Forbes
2301c11309 Merge pull request #3383 from Mailaender/wave
Added support for WAVE sound files
2013-06-12 17:01:20 -07:00
Curtis Shmyr
db0829e6a0 Merge pull request #3397 from chrisforbes/target-generations
Target generations
2013-06-12 17:01:08 -07:00
Chris Forbes
c5f491dfc4 Merge pull request #3385 from cjshmyr/prodqueue
Production queue - change BuildTimeSpeedUpDivisor
2013-06-12 17:00:20 -07:00
Curtis Shmyr
3513e6538a Build Acceleration - Change BuildTimeSpeedReduction to be more configurable 2013-06-12 17:45:43 -06:00
Chris Forbes
6ca4f0797a Merge pull request #3399 from wuschel/bleed
Renamed Ares: National Park to Dionysus
2013-06-12 16:11:42 -07:00
wuschel
18a64cb0e5 Renamed Ares: National Park to Dionysus
Renamed map upon chrisf's request.
2013-06-13 00:10:15 +02:00
Curtis Shmyr
ec9345b051 Merge pull request #3398 from chrisforbes/panic-heal
Fix #3393: Prevent ScaredyCat from reacting to healing
2013-06-12 15:06:27 -07:00
Chris Forbes
0a8e47c357 Fix #3393: Prevent ScaredyCat from reacting to healing 2013-06-13 10:03:08 +12:00
Chris Forbes
59d10cfc5d Invalidate targets when chronoshifted
This replaces OpenRA/OpenRA#2807, without the massive cost.
2013-06-13 09:47:42 +12:00
Chris Forbes
ae809ce39f Use actor/target generations to invalidate targets on ownership change 2013-06-13 09:44:50 +12:00
Chris Forbes
5bc47f4834 Add generation counting to Actor and Target
This allows us to invalidate targets based on arbitrary conditions,
just by bumping the actor's generation number.

The next patches will use this.
2013-06-13 09:44:13 +12:00
Chris Forbes
a9b6a94ade Merge pull request #3396 from wuschel/bleed
wuschel's OpenRA map update
2013-06-12 14:30:24 -07:00
Chris Forbes
1258a6186c Merge pull request #3379 from NukemBro/bleed
Mission Changes
2013-06-12 14:30:11 -07:00
Chris Forbes
b91c8f0b6a Merge pull request #3384 from cjshmyr/engi2
Capture changes - Engis now capture from outside. Added classic (legacy)...
2013-06-12 14:29:42 -07:00
wuschel
1b4521fd51 Added new OpenRA map: Artemis
Added new large OpenRA map based on western part of Zeus map. NOTE: The
file on the content.openra website is out of date.
2013-06-12 22:38:28 +02:00
Paul Chote
f871998a35 Merge pull request #3380 from Mailaender/setup.z
Added an InstallShield extraction frontend for Dune 2000
2013-06-12 11:18:22 -07:00
Matthias Mailänder
0554ef35b7 added support for WAVE sound files
closes #2174
2013-06-12 20:18:07 +02:00
Paul Chote
1ea322ff9b Merge pull request #3294 from Mailaender/single-player-orderlag
Set the OrderLatency to 1 in single player games
2013-06-12 11:02:53 -07:00
wuschel
5ea2598ea9 Updated my maps: Apollo, Ares, Ares National Park, Poseidon
Removed the oil derrick and mine layer modd in the yaml files, since
they are no longer necessary.
2013-06-12 19:56:49 +02:00
Curtis Shmyr
6a1b37b5b7 Capture changes - Engis now capture from outside. Added classic (legacy) capturable traits. 2013-06-11 20:44:06 -06:00
Matthias Mailänder
801f293948 also extract GAMESFX from Dune 2000 setup.z 2013-06-09 17:31:14 +02:00
Matthias Mailänder
c9466f995b extracting d2k setup.z works now, adapting the UI 2013-06-09 16:54:13 +02:00
Chris Forbes
d898899de7 Revert "sound and explosion changes"
This reverts commit 7e3f90ee1d.
2013-06-09 13:17:15 +12:00