Paul Chote
|
314f819940
|
Load terrain from any SpriteSource.
|
2013-12-01 09:49:25 +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 |
|
Paul Chote
|
20a6c75ba4
|
Rewrite ShpTSReader. Closes #3746.
|
2013-12-01 09:47:49 +13:00 |
|
Paul Chote
|
5b947090f4
|
Use the normal extension checking rules for .r8.
|
2013-12-01 09:47:49 +13:00 |
|
Paul Chote
|
f153516151
|
Introduce proper support for non-shp sprites in cursors and ShpImageWidget.
|
2013-12-01 09:47:48 +13:00 |
|
Paul Chote
|
01155a655a
|
Allow empty sprites to be allocated.
|
2013-12-01 09:47:48 +13:00 |
|
ScottNZ
|
6a14434cff
|
Add a CenterPosition helper to Viewport
|
2013-11-29 23:01:50 +13:00 |
|
Curtis Shmyr
|
d30f60809b
|
Added 2 settings for unit health bars: always show unit health, and team health bar colors
|
2013-11-24 12:12:52 -07:00 |
|
ScottNZ
|
1394c1dcee
|
Remove some misc redundancies
|
2013-11-12 19:39:39 +13:00 |
|
ScottNZ
|
00ec1ca87a
|
Remove unused usings
|
2013-11-12 19:39:33 +13:00 |
|
Matthias Mailänder
|
eed38b3da4
|
fallback to defaults when something goes wrong
|
2013-11-09 11:06:16 +01:00 |
|
Matthias Mailänder
|
e0e3f1155a
|
avoid additional layers of abstraction
|
2013-11-02 18:12:46 +01:00 |
|
Matthias Mailänder
|
b1c3ac20bf
|
brought back the MoveFlash
closes #2592
|
2013-11-02 18:03:49 +01:00 |
|
Paul Chote
|
94554d7678
|
Support nested scissor rectangles.
|
2013-10-25 08:31:34 +13:00 |
|
Paul Chote
|
84bb78060f
|
Don't zoom UI lines when pixel doubling.
|
2013-10-15 11:19:16 +13:00 |
|
Paul Chote
|
44dd801f16
|
Extract shared constants in Draw*Bar and DrawSelectionBox.
|
2013-10-15 10:45:51 +13:00 |
|
Paul Chote
|
483120ea20
|
Extract DrawTargetMarker to WorldRenderer.
|
2013-10-15 10:45:51 +13:00 |
|
Paul Chote
|
839419635d
|
Improve contrasted range circle rendering.
|
2013-10-15 10:45:51 +13:00 |
|
Paul Chote
|
d2d73a32a2
|
Automatically flush line renderer when changing width.
|
2013-10-15 10:45:51 +13:00 |
|
Paul Chote
|
919181e04d
|
Clean up viewport internals.
|
2013-10-05 21:01:22 +13:00 |
|
Paul Chote
|
936bf98496
|
Move Viewport inside WorldRenderer.
|
2013-10-05 21:01:22 +13:00 |
|
Paul Chote
|
fe8c80aca6
|
Add Game.Zoom for remaining engine stuff.
|
2013-10-05 21:01:22 +13:00 |
|
Paul Chote
|
0b560bfc6e
|
Move more viewport lookups to WorldRenderer.
|
2013-10-05 21:01:21 +13:00 |
|
Paul Chote
|
f575c20d38
|
Route viewport centering via WorldRenderer.
|
2013-10-05 21:01:21 +13:00 |
|
Paul Chote
|
b7123cda7d
|
Route screen size queries via Game.Renderer.
|
2013-10-05 21:01:21 +13:00 |
|
Paul Chote
|
5f0bb4b6c2
|
Fix some style nits in WorldRenderer.
|
2013-09-29 21:15:46 +13:00 |
|
Paul Chote
|
b96c430f84
|
Remove PVecInt from Viewport.
|
2013-09-27 15:54:37 +12:00 |
|
Paul Chote
|
2303d8064a
|
Remove Sprite.DrawAt.
|
2013-09-27 15:41:33 +12:00 |
|
Paul Chote
|
2e0e4b0bc5
|
Add WorldRenderer.Position for screen -> world conversion.
|
2013-09-27 15:41:32 +12:00 |
|
Paul Chote
|
4df9fc1acc
|
Render minefield targeting using PBOG-style overlay.
|
2013-09-27 15:41:32 +12:00 |
|
Paul Chote
|
0dc50c65f5
|
Remove unnecessary int2 -> PPos -> int2 conversions.
|
2013-09-27 15:41:32 +12:00 |
|
Paul Chote
|
b335d67ce3
|
Remove PPos hacks from RadarWidget.
|
2013-09-27 15:41:32 +12:00 |
|
Paul Chote
|
ad44610e5a
|
Replace dynamic Actor.Bounds with the (unchanging) relative rect.
|
2013-09-27 15:39:57 +12:00 |
|
Paul Chote
|
dfd51c0caa
|
Introduce ScreenMap trait for caching screen-coord queries.
|
2013-09-27 15:36:25 +12:00 |
|
Matthias Mailänder
|
9c52055b2c
|
Merge pull request #3740 from pchote/bot-cleanup
HackyAI refactoring
|
2013-08-29 08:32:00 -07:00 |
|
Paul Chote
|
7ab0e00948
|
Add IEnumerable<WPos>.Average overload.
|
2013-08-29 20:14:36 +12:00 |
|
Matthias Mailänder
|
ba13c1d982
|
StyleCop clean Map/*.cs files
|
2013-08-25 14:30:00 +02:00 |
|
Matthias Mailänder
|
0a84ddc8fb
|
fix d2k cursors
- center by default (also works better for ra/cnc/ts)
|
2013-08-17 23:31:24 +02:00 |
|
Matthias Mailänder
|
1a9c762115
|
add location in sequence yaml to FormatExceptions
|
2013-08-17 23:31:24 +02:00 |
|
Matthias Mailänder
|
a7504b5dd9
|
load Dune 2000 walls directly from DATA.R8
|
2013-08-17 23:31:22 +02:00 |
|
Matthias Mailänder
|
503fdc463f
|
Merge pull request #3684 from pchote/tileset-fixup
TileSet Refactoring
|
2013-08-17 01:08:42 -07:00 |
|
Paul Chote
|
5cb79283be
|
Use uppercase extensions to support case-sensitive filesystems.
|
2013-08-17 20:01:24 +12:00 |
|
Paul Chote
|
608ca31f6d
|
Support .r8 tileset artwork.
|
2013-08-15 19:28:55 +12:00 |
|
Paul Chote
|
b6a033eef5
|
Remove obsolete IRenderAsTerrain.
This removes the technical limitation preventing
FrozenUnderFog on bridges.
|
2013-08-15 18:12:49 +12:00 |
|
Paul Chote
|
7278739e45
|
Allow tilesets to specify their sheet size.
Decreased the default size from 4096 to 512.
|
2013-08-15 18:05:34 +12:00 |
|
Paul Chote
|
387ac04d9f
|
Split tileset artwork loading out of TileSet.
This simplifies terrain loading and allows for
non-square tiles in game.
The editor still relies on the old code for now.
|
2013-08-14 23:08:17 +12:00 |
|
Paul Chote
|
a1dd7cff7b
|
Support additive blending for D2K explosions.
|
2013-08-14 17:31:02 +12:00 |
|
Paul Chote
|
0a9d920eb6
|
Allow world and (render-) player actors to render.
|
2013-08-11 22:23:52 +12:00 |
|
Paul Chote
|
4754cbb768
|
Replace IOrderGenerator.RenderBeforeWorld with world-sorted .Render.
Range circles have been moved to RenderAfterWorld for now.
|
2013-08-11 00:25:54 +12:00 |
|