Chris Forbes
93c89a6ef5
Merge pull request #3286 from pchote/renderable-refactoring
...
Renderer refactoring - Renderables
2013-05-24 20:26:29 -07:00
Paul Chote
0dd8d7f7b6
Distinguish between classic and crc file hashes. Fixes #3306 , #3328 .
2013-05-24 21:10:41 +12:00
Paul Chote
a11e403084
Draw turrets, spinners, rotors at ZOffset +1 relative to the body.
2013-05-24 18:18:47 +12:00
Paul Chote
25dd8d9fa7
Fix aircraft shadow render order.
2013-05-23 21:25:11 +12:00
Scott_NZ
ac430bd3bc
Add force-move
2013-05-18 17:52:36 +12:00
Matthias Mailänder
be3b18057a
replace PackageContent yamls with XCC database
2013-05-18 07:34:49 +02:00
Paul Chote
85056e1c6c
Convert bridges to world coordinates.
2013-05-17 18:12:28 +12:00
Paul Chote
e382dc9b71
Remove obsolete functions from WorldRenderer.
2013-05-17 18:12:28 +12:00
Paul Chote
e1290dca47
Round PxPosition to the nearest pixel.
2013-05-17 18:12:28 +12:00
Paul Chote
ca5f2c3785
Split Renderable into an IRenderable interface and SpriteRenderable implementation.
2013-05-17 18:12:28 +12:00
Paul Chote
9b7aaebcbc
Rewrite RenderCargo -> WithCargo.
...
Now uses world coordinates and properly displays
cargo at all facings.
2013-05-17 18:12:27 +12:00
Paul Chote
462478afdf
Convert building rendering to world coordinates.
2013-05-17 18:12:27 +12:00
Paul Chote
d7e6125dd7
Convert ChronoshiftPower to world coords.
2013-05-17 18:12:27 +12:00
Paul Chote
fe716e76a7
Convert AnimationWithOffset to world coords.
...
Animations (via Actor.CenterPosition) now
understand Altitude, so there is potential for
mis-positioned animations if any existing altitude
hacks were missed.
2013-05-17 18:12:27 +12:00
Paul Chote
fb17654ea0
Convert Renderable to World Coordinates internally.
2013-05-17 18:12:26 +12:00
Paul Chote
d878c96343
Change Renderable to take centered positions.
2013-05-17 18:12:26 +12:00
Paul Chote
d103a187f6
Make the guts of Renderable private.
2013-05-17 18:12:26 +12:00
Paul Chote
7719ad1f2d
Move Renderable into its own file.
2013-05-17 18:12:26 +12:00
Chris Forbes
8b4814e399
Merge pull request #3233 from ScottNZ/follow
...
Add unit following/guarding
2013-05-16 14:02:32 -07:00
Scott_NZ
6e5d58379f
Add unit guarding
2013-05-16 21:23:58 +12:00
Matthias Mailänder
f14441d2f4
added MinimumThumbSize to ScrollPanelWidget
...
closes #2865
2013-05-15 18:13:39 +02:00
Matthias Mailänder
7f40f59d85
added button to extract the selected SHP and convert it to PNG
2013-05-15 18:13:39 +02: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
f5d59fab22
Fix #2106 .
...
The current tilesets only use only ~3% of the
available sheet space, so a future patch may want
to look into decreasing the terrain sheet size to
save some GPU memory.
2013-05-15 20:36:30 +12:00
Paul Chote
4ebe547a05
Allow SheetBuilder to generate 1/2/4 channel sheets.
...
This makes the SpriteFont RBGA sprite hack explicit,
and adds a DualIndexed option to be used by the voxel
renderer.
2013-05-15 20:18:41 +12:00
Paul Chote
28d4df355d
Tidy Sprite.
2013-05-15 20:18:41 +12:00
Paul Chote
891158ca44
Allow SheetBuilder to throw an exception on sheet overflow.
...
This removes unnecessary checks from TerrainRenderer
and will be used in the voxel renderer.
2013-05-15 20:18:41 +12:00
Paul Chote
c13c989fe8
Allow sheet contents to be exported to bitmap.
2013-05-15 19:24:19 +12:00
Paul Chote
7d543abb92
Always store Sheet data as bytes.
2013-05-15 19:24:19 +12:00
Paul Chote
6dd62d7806
Fix Animation formatting (no code changes).
2013-05-15 19:24:18 +12:00
Paul Chote
ccbfacec62
Tidy TerrainRenderer formatting (no code changes).
2013-05-15 19:24:18 +12:00
Paul Chote
44336b1ea5
Merge pull request #3256 from Mailaender/debug-trait-removal
...
Removed all Debug traits
2013-05-15 00:05:44 -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
6aae5d2ad6
removed now redundant debug player-resource traits
2013-05-10 22:34:43 +02:00
Matthias Mailänder
90dc6d3298
Merge pull request #3238 from pchote/local-pause-state
...
Remove local pause order lag delay
2013-05-10 03:07:08 -07:00
Matthias Mailänder
90ac648ff1
Merge pull request #3244 from pchote/bot-surrender
...
Improvements to player drop behavior
2013-05-10 01:44:55 -07:00
Paul Chote
818876a451
Promote oldest player to admin, not newest.
2013-05-10 20:31:20 +12:00
Paul Chote
4a1698804f
Rework server orders.
...
- Server messages now show as from "Server".
- Fixes #3224 .
2013-05-10 20:31:19 +12: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
c3c5321e1d
Predict local pause state to avoid order lag. Fixes #3223 .
2013-05-09 22:42:55 +12:00
Matthias Mailänder
2d685ab07d
added SHP(TS) support by @katzsmile
2013-05-05 19:19:16 +02:00
Matthias Mailänder
f0e6ff8545
Merge pull request #3220 from pchote/remove-sequence-warnings
...
Remove sequence warnings for the stable release.
2013-05-04 04:26:03 -07:00
Paul Chote
d091789206
Remove sequence warnings for the stable release. Fixes #3142 .
2013-05-04 23:20:28 +12:00
Paul Chote
c0d50c2ac1
Remove server pinging.
2013-05-04 22:04:03 +12:00
Matthias Mailänder
d4b95ff40e
Merge pull request #3209 from ScottNZ/log
...
Log unhandled exceptions
2013-05-03 23:01:58 -07:00
Paul Chote
55d5db0f02
Set produced unit position via an ActorInitializer. Fixes #3214 .
2013-05-04 12:11:43 +12:00
Scott_NZ
da0b4ecd3b
Log unhandled exceptions
2013-05-02 23:45:05 +12:00
Paul Chote
70f705bdc7
Implement the new color picker.
2013-04-27 12:35:41 +12:00
Paul Chote
e240b9ca3d
Add a hue selector widget.
2013-04-27 12:35:41 +12:00