Paul Chote
4216f66ca4
Add Exts.ISqrt to avoid fp sqrt calculations.
2014-06-28 15:48:53 +12:00
RoosterDragon
a2ed4fd5f9
Avoid redundantly setting viewport parameters in BeginFrame.
...
- Cache the old resolution, scroll and zoom in BeginFrame, and don't bother updating the viewport parameters again until they change.
- Pass around scroll as an int2 to reduce the number of back-and-forth casts.
2014-06-10 17:06:25 +01:00
matija-hustic
ae149c420e
Bigger spawn points, numbers within.
2014-05-03 19:08:56 +01:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00
Paul Chote
84bb78060f
Don't zoom UI lines when pixel doubling.
2013-10-15 11:19:16 +13:00
Paul Chote
d2d73a32a2
Automatically flush line renderer when changing width.
2013-10-15 10:45:51 +13:00
Paul Chote
fe8c80aca6
Add Game.Zoom for remaining engine stuff.
2013-10-05 21:01:22 +13:00
Paul Chote
a1dd7cff7b
Support additive blending for D2K explosions.
2013-08-14 17:31:02 +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
da8202a15e
Clean up LineRenderer whitespace (no code changes).
2013-06-15 19:09:20 +12:00
Matthias Mailänder
6c6f5601d8
make PaletteTexture private and only use it for sprite renders
2013-04-06 08:44:32 +02:00
Paul Chote
8a53819f50
Redirect IShader calls via respective *Renderers.
2013-03-08 18:21:35 +13:00
alzeih
1b0724719d
Make LineRenderer understand Zoom internally
2011-12-13 23:58:39 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Paul Chote
626b83ba12
Fix lines not being centered in the middle of a pixel
2011-07-25 22:23:17 +12:00
Paul Chote
6183621a72
Scale line-width to match zoom.
2011-07-25 22:23:17 +12:00
Paul Chote
926b396605
Fix bogus naming of Shaders/Renderers. Split LineRenderer into world and chrome variants.
2011-07-25 22:23:16 +12:00
Chris Forbes
98ebb7c87e
add DrawRect helper to LineRenderer, use it in both Radar*Widgets
2011-07-14 20:29:09 +12:00
Chris Forbes
4d6b2c7954
IBOless rendering with quads; considerably reduces renderer complexity
2011-05-18 20:42:10 +12:00
Chris Forbes
16cb275a5f
fix rendering of very large maps
2011-03-08 19:24:15 +13:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Bob
14e517cab5
Autoflush renderer. Sprite.DrawAt convenience function.
2010-09-24 18:11:03 +12:00
Bob
cdcfeb6276
render perf improvement: BufferSubData, and don't use the same buffer back-to-back
2010-09-24 18:11:00 +12:00
alzeih
222b29cec6
Bye Bye Chrome!
2010-07-21 17:57:06 +12:00
Chris Forbes
d5f12dd8ee
trim down license spam in all files
2010-07-18 16:48:21 +12:00
Bob
96af8b037a
unbug prev, and remove misleading code that no longer works
2010-04-11 22:44:39 +12:00
alzeih
7881deca30
Everything is now OpenRA, not OpenRa
2010-02-27 21:10:22 +13:00