Commit Graph

1083 Commits

Author SHA1 Message Date
Paul Chote
a8dda39a72 Introduce float3 type. 2016-04-10 09:41:01 -04:00
Matthias Mailänder
f6c7e3debb Don't try to lookup '' strings in chrome collections. 2016-03-28 13:38:29 +02:00
Matthias Mailänder
e83261e6c3 Merge pull request #10922 from abcdefg30/shpPng
Fix the --png command trying to use OpenRA's virtual file system
2016-03-21 20:30:44 +01:00
Paul Chote
65df25b1a4 Remove lazy loading of binary map data. 2016-03-18 20:16:24 +00:00
abcdefg30
ad3b41dfa3 Fix the --png command trying to use OpenRA's virtual file system 2016-03-14 15:24:33 +01:00
Oliver Brakmann
541186a142 Merge pull request #10897 from pchote/map-tileset-cleanup
Clean up map tileset references.
2016-03-12 22:16:14 +01:00
Paul Chote
37a81f8385 Don't crash when updating bogus tiles. 2016-03-12 19:47:08 +00:00
Paul Chote
602acabe47 Remove World.TileSet. 2016-03-12 19:47:07 +00:00
Taryn Hill
19a6a7bbcf Add xmldoc to some ISpriteFrame members 2016-03-12 13:46:38 -06:00
Paul Chote
7993068c8f Remove Map.SequenceProvider. 2016-03-12 19:46:20 +00:00
Paul Chote
20e8bc249d Restore support for inline map rules. 2016-03-10 19:27:50 +00:00
Paul Chote
9c4dd54fa3 Generate map previews on save. 2016-03-08 21:13:38 +00:00
Paul Chote
b969d61466 Move advanced map yaml to their own files. 2016-03-08 20:54:54 +00:00
Paul Chote
bc0efbefd1 Include OpenGL version string in sysinfo. 2016-03-02 21:33:12 +01:00
Oliver Brakmann
07ec56fd22 Merge pull request #10821 from obrakmann/pr10559-squashed
Added mousewheel zooming
2016-02-24 22:37:00 +01:00
Philipp Schärer
ea74499ec2 Added mousewheel zooming 2016-02-24 22:22:32 +01:00
Paul Chote
e71225496b Clarify GPL version. 2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9 Update licence header year. 2016-02-21 16:27:31 +00:00
Paul Chote
fe75f265f8 Disable now-invalid sequence caching. 2016-02-18 18:12:34 +00:00
Paul Chote
6fde09c075 Use IReadOnlyFileSystem in voxel loader. 2016-02-18 18:12:31 +00:00
Paul Chote
9341055f50 Use IReadOnlyFileSystem in UI code. 2016-02-18 18:12:31 +00:00
Paul Chote
b347fade71 Use IReadOnlyFileSystem in artwork loaders. 2016-02-18 18:12:31 +00:00
Paul Chote
844e1a1770 Loads fonts via the virtual filesystem. 2016-02-06 21:24:43 +00:00
Paul Chote
4a12e7bafc Load mod yaml via the virtual filesystem. 2016-02-06 16:30:23 +00:00
Paul Chote
626fa0b60b Move CellCorners to MapGrid. 2016-02-05 23:00:14 +00:00
Matthias Mailänder
10ebd7e48d Merge pull request #10649 from obrakmann/radar-team-colors
Added option to show team colors on radar map
2016-01-30 21:53:14 +01:00
Paul Chote
ab921682c4 Rewrite yaml merger. 2016-01-30 15:03:56 +00:00
DArcy Rush
eb795909da Implement player stance colors
Adds an option to display actors on radar and
support weapon timers in colors denoting the
diplomatic stance toward the player.
2016-01-30 15:46:55 +01:00
RoosterDragon
8e89a6a696 Simplify names, remove unused usings, remove redundant casts. 2016-01-17 21:35:36 +00:00
Oliver Brakmann
aaeb715006 Merge pull request #10246 from penev92/terrainPalettes
Allow tile templates to define their own palette
2016-01-17 21:39:28 +01:00
Pavel Penev
861d1368a4 Unhardcode internal terrain palette name from all over the codebase 2016-01-17 19:02:16 +02:00
Pavel Penev
0c51d73be9 Enable use of "custom" palettes per tile Templates
Keep the tileset's palette as default, defined on the tileset, but override it for any tile templates that may want to do so with a palette defined on the template.
2016-01-17 19:02:15 +02:00
Paul Chote
88e15d9100 Fix voxel z offsets. 2016-01-15 17:04:19 +00:00
RoosterDragon
b5f24c3fa6 Add some missing Dispose calls, fix some Dispose implementations. 2016-01-01 04:51:54 +00:00
RoosterDragon
a50fa4fcaa Interleave renderables for effects and actors.
Previously, renderables from actors were z-ordered, but effects were excluded and not ordered. Now we order them all as a whole.
2015-12-28 21:28:12 +00:00
Paul Chote
7cc8846d72 Merge pull request #10271 from RoosterDragon/point-sequencing
Support sending sequences of points when drawing lines
2015-12-28 19:36:49 +00:00
Oliver Brakmann
14b6034e9d Merge pull request #10216 from pchote/remove-tags
Reimplement Primary and Fake tags using WithDecoration.
2015-12-27 19:43:57 +01:00
Paul Chote
74fb9bbfbb Remove legacy SetLineWidth methods. 2015-12-26 13:51:53 +00:00
Paul Chote
788def1c31 Remove Quad rendering support. 2015-12-26 12:46:55 +00:00
Paul Chote
d0e9af8f6b Convert VoxelRenderer to TriangleList. 2015-12-26 12:46:55 +00:00
Paul Chote
a754a96b77 Convert SpriteRenderer to TriangleList. 2015-12-26 12:46:54 +00:00
Paul Chote
af344452ea Convert RgbaColorRenderer to TriangleList. 2015-12-26 12:46:54 +00:00
Paul Chote
3ceacbb7c1 Fix Z-sorting for UISpriteRenderable. 2015-12-26 12:37:22 +00:00
Matthias Mailänder
7335c4a8ce Merge pull request #10069 from penev92/soundLoader
Add plumbing for mod-defined sound loaders
2015-12-25 14:40:43 +01:00
RoosterDragon
5c14044138 Support sending sequences of points when drawing lines.
This allows the graph widgets to avoid having to create temporary arrays just to draw these lines, which reduces GC pressure.
2015-12-23 22:58:53 +00:00
Pavel Penev
8d56de80ca Add ISoundLoader
The interface is to be implemented by all sound loaders, just like ISpriteLoader. All loading goes through the interface. This would allow mods to create their own sound loaders outside the engine.
Also add a SoundFormats property to mod.yaml, where mods can define what sound loaders they will need.
This requires Game.Sound to be initialized after the ModData is loaded.
2015-12-20 19:17:48 +02:00
Paul Chote
e021617c85 Remove duplication from FillRect. 2015-12-19 12:28:59 +00:00
Paul Chote
4ffee12065 Remove legacy line rendering code. 2015-12-19 12:28:59 +00:00
Paul Chote
8e9318e64d Use RgbaColorRenderer in UISpriteRenderable. 2015-12-19 12:28:59 +00:00
Paul Chote
8719b4ed3c Use RgbaColorRenderer in SpriteRenderable / TextRenderable. 2015-12-19 12:28:10 +00:00