Paul Chote
79dabe01e8
Account for walls in actor previews.
2014-08-03 22:23:48 +12:00
Paul Chote
b91fe10cad
Account for building turret facing in actor previews.
2014-08-03 22:23:48 +12:00
Paul Chote
7fb106e54a
Introduce actor previews for PBOG and the editor.
2014-08-03 22:23:47 +12:00
Paul Chote
ef2f909f65
Reorganize IBodyOrientation.
2014-08-03 19:20:40 +12:00
Paul Chote
8579ae956a
ToLowerInvariant RenderSprites.GetImage.
...
Some mods (d2k) define bogus-case sequence names.
2014-08-03 19:20:39 +12:00
Matthias Mailänder
1d0538526d
Merge pull request #6040 from pchote/more-renderables
...
Convert RenderAfterWorld to use Renderables.
2014-07-26 07:28:53 +02:00
atlimit8
4d23b71f2c
Fixed D2K turrets.
2014-07-25 19:53:23 -05:00
atlimit8
72a30e2157
Appears to fix sticky locking of preplaced buildings
2014-07-25 17:07:15 -05:00
Paul Chote
da6ecbf92e
Change IPostRenderSelection and IPlaceBuildingDecoration to return renderables.
2014-07-25 21:14:39 +12:00
Matthias Mailänder
d830a0a7ae
Merge pull request #6029 from pchote/gametomods
...
Move *Renderables and Render* out of Game.
2014-07-23 06:54:42 +02:00
Paul Chote
6b1cecc6b4
Add a workaround for the legacy map editor.
2014-07-23 11:40:30 +12:00
Chris Forbes
945455f15e
Merge pull request #5973 from reaperrr/renderinf-unhardcode
...
Unhardcoded RenderInfantry sequence names
2014-07-23 09:58:07 +12:00
Paul Chote
029da5116b
Move VoxelRenderable into Mods.RA.
2014-07-22 16:43:39 +12:00
Paul Chote
4589e93180
Move TextRenderable into Mods.RA.
2014-07-22 16:43:39 +12:00
Paul Chote
51abbad5ff
Move RenderSprites and RenderSimple into Mods.RA.
2014-07-22 16:43:39 +12:00
Matthias Mailänder
907188ccba
configurable and self-documenting font name
2014-07-20 14:31:15 +02:00
Matthias Mailänder
40d0e20fe1
configurable and self-documenting idle sequence name
2014-07-20 14:31:13 +02:00
reaperrr
1ba41a9af5
Unhardcodes RenderInfantry sequence names.
2014-07-17 20:59:08 +02:00
Paul Chote
1b222958d6
Don’t override custom animations if damaged.
2014-07-08 17:12:36 +12:00
Paul Chote
2b91a2363b
Fix make animations.
2014-07-08 16:56:09 +12:00
Paul Chote
5650d5fc98
Revert "use TickRender() for RenderSprites and PaletteModifier"
...
This reverts commit 87fd576b26 .
2014-07-08 11:09:54 +12:00
Paul Chote
802b6a652c
Revert "new PauseState to differentiate game and editor pausing"
...
This reverts commit d1e18cad7a .
2014-07-08 10:42:00 +12:00
Paul Chote
18c9a25232
Revert "freeze animations during pause to visualize it better"
...
This reverts commit 960248fe44 .
2014-07-08 10:40:06 +12:00
Matthias Mailänder
dc63171e0e
pause active animations
2014-07-06 23:11:56 +02:00
Matthias Mailänder
82a8fd329e
don't play active animation when we sell it
2014-07-06 14:58:29 +02:00
Matthias Mailänder
69209cd340
split WithActiveAnimation from SeedsResource
...
closes #5300
2014-07-06 14:58:29 +02:00
Matthias Mailänder
7e496f8db9
StyleCop and avoid redundancy
2014-07-06 12:48:47 +02:00
Matthias Mailänder
565ea05bd7
fix problem with cnc nuke leaking the long idle sequence Tick
...
and avoid magic numbers
2014-07-06 09:23:31 +02:00
Matthias Mailänder
960248fe44
freeze animations during pause to visualize it better
2014-07-06 08:24:08 +02:00
Matthias Mailänder
d580ca6417
ActorMap is updated in Tick
...
so we can't search for adjacent actors in TickRender
2014-07-06 08:24:08 +02:00
Matthias Mailänder
394d635dae
new trait WithMakeAnimation
2014-07-06 08:24:08 +02:00
Matthias Mailänder
87fd576b26
use TickRender() for RenderSprites and PaletteModifier
2014-07-06 08:24:08 +02:00
Matthias Mailänder
07c75b5e27
move WithVoxelWalkerBody to Mods.TS
2014-07-05 12:12:56 +02:00
Matthias Mailänder
6097b3eb19
document the various overlay and animation change traits
2014-07-03 09:50:10 +02:00
Paul Chote
d7f1b1c9e2
Remove CVec -> WVec conversion.
2014-06-27 23:30:41 +12:00
Paul Chote
7b52fa52b6
Replace CPos.CenterPosition -> Map.CenterOfCell.
2014-06-27 23:30:40 +12:00
Paul Chote
b52cdd4b45
Remove redundant FindActorsInBox helpers.
2014-06-27 23:30:40 +12:00
Paul Chote
5560f276ca
Map: Rename IsInMap -> Contains.
2014-06-27 22:07:03 +12:00
Matthias Mailänder
3e627d2eba
rename ore to the more generic name resources everywhere
2014-06-20 11:11:31 +02:00
RoosterDragon
22abf9b4c4
Remove and sort usings.
2014-06-18 21:43:35 +01:00
ScottNZ
dbffce81a6
Remove unused usings
2014-06-15 22:16:40 +12:00
ScottNZ
6b85660d7d
Compact lambda expressions in some (not all) places
2014-06-15 22:14:38 +12:00
Matthias Mailänder
8f64835898
StyleCop
2014-06-15 10:51:57 +02:00
Pavlos Touboulidis
c282fa1077
Move GetTerrainIndex/Info from WorldUtils to Map
2014-06-13 13:57:32 +03:00
Pavlos Touboulidis
092352729f
Change terrain type from string based dictionaries to arrays
2014-06-13 11:20:54 +03:00
Paul Chote
c0d7c7d840
Make RenderSprites aware of EffectiveOwner. Fixes #5526 .
2014-06-02 18:21:06 +12:00
RoosterDragon
b733465f33
General uncontroversial cleanup:
...
- Made private methods static where possible (runtime can elide checking the object for null).
- Declared attribute classes as sealed (allows reflection on attributes to complete faster).
- Moved some static cctor's into field initializers (static cctor's are slower than static field initializers).
- Made classes static if they contained only static methods (can't create instances of useless objects).
- Use inferable Exts.Lazy and not new Lazy<T>().
- Added required STAThread attribute to CrashDialog.
- Removed unused parameters in private methods.
- Added Serializable attribute to exceptions.
- Added parameter name in calls to ArgumentNullException.
- Use of as operator instead of is + cast.
- Changed (x as Foo).Bar anti-pattern into ((Foo)x).Bar. Results in sensible cast exceptions on error rather than null dereferences.
- Removed unused method in NullShader.
2014-05-23 15:50:54 +01:00
Paul Chote
46a7c9c469
Add custom palette support to With*Overlay.
2014-05-23 00:37:20 +12:00
Paul Chote
15f63fb5ea
RenderSprites.anims is finally private.
...
Followup to #3348 .
2014-05-23 00:37:20 +12:00
Paul Chote
4aa7376994
Add wrappers for RenderSprites anims dictionary.
2014-05-22 23:35:10 +12:00