ScottNZ
375fc1c5f1
Remove redundant constructors
2014-06-15 22:14:38 +12:00
Paul Chote
1169211893
Merge pull request #5579 from Mailaender/frozen-C4
...
Fixed C4 target inconsistencies with Fog of War and Husks
2014-06-15 22:01:04 +12:00
Matthias Mailänder
ee0df9c1cb
make C4 Demolition frozen actor aware
2014-06-14 09:35:38 +02:00
Pavlos Touboulidis
77fb188585
Move ClampToWorld from WorldUtils to Map
2014-06-13 13:59:40 +03: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
Deniz Ayıkol
5055764e04
Make repair animation pause if player has no money.
...
use anim.Paused
removed the using line
2014-06-04 22:15:18 +03:00
Matthias Mailänder
1700a36286
avoid InvalidOperation and NullReferenceException
...
fixes #5522
2014-06-02 09:27:36 +02:00
Paul Chote
900f5bffb5
Change Bib to use RenderSprites.
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
Pavlos Touboulidis
b560268495
Change animations to use the proper SequenceProvider
...
Remove references to the global "Game" and use the SequenceProvider
of the current world/map.
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
750fc4e02c
Merge ModRuleset and MapRuleset into Ruleset
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
63ec6d60e7
Refactoring to remove static Rules & SequenceProvider
2014-05-17 14:32:03 +03:00
Matthias Mailänder
01a3162725
allow animations to pause on low power
...
closes #2949
2014-04-20 14:47:53 +02:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00
Taryn
61749e145d
Added LineBuildNode trait to filter which structure(s) a LineBuild actor can be attached to.
2014-03-27 20:47:46 -05:00
Kanar
fc2d0510d8
Adds minibibs for bibless buildings in RA and C&C.
2014-03-25 13:23:05 +01:00
Paul Chote
96cc1276c2
Add BuildComplete property to Building and start initially locked.
2014-03-21 10:03:53 +13:00
Paul Chote
c01c5ff72d
Actors outside the world can't grant buildable area.
2014-03-18 15:46:07 +13:00
Paul Chote
972f3ae8dc
Don't stomp over other building's influence.
2014-03-18 15:46:07 +13:00
Paul Chote
e367ce4457
Fix BuildingInfluence style nits.
2014-03-18 15:46:07 +13:00
Paul Chote
e6c041e53f
Fix PBOG and Building to support concrete placement.
2014-03-18 15:28:49 +13:00
Paul Chote
50d89629a2
Add BuildableTerrainLayer and LaysTerrain traits.
2014-03-18 15:28:49 +13:00
Paul Chote
3050cff67c
Support concrete bibs in D2K.
2014-03-18 15:28:48 +13:00
Matthias Mailänder
c78a856894
C4 demolishable bridges
2013-12-26 21:22:47 +01:00
Paul Chote
1a31368953
Convert range circle rendering to world coords.
2013-12-26 17:23:12 +13:00
ScottNZ
00ec1ca87a
Remove unused usings
2013-11-12 19:39:33 +13:00
Paul Chote
839419635d
Improve contrasted range circle rendering.
2013-10-15 10:45:51 +13:00
Paul Chote
e03ec690ff
Track actor positions in ActorMap.
2013-09-27 15:36:51 +12:00
Paul Chote
b00cc6108d
Make ActorMap addition explicit.
2013-09-27 15:36:51 +12:00
Paul Chote
dfd51c0caa
Introduce ScreenMap trait for caching screen-coord queries.
2013-09-27 15:36:25 +12:00
Paul Chote
ce41eb2361
Add "Build off Ally ConYards" option. Fixes #2464 .
2013-08-17 14:42:40 +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
Paul Chote
b02fd0d002
Remove BibLayer and use sequences / RenderSprites instead.
2013-08-11 00:25:53 +12:00
Paul Chote
04e5edc811
Rewrite bib to match new FrozenUnderFog capabilities.
2013-08-04 19:42:16 +12:00
Paul Chote
b54ffdbabd
Add FrozenUnderFog property to BibLayer.
...
Note: This implements the desired behavior
for FrozenUnderFog, so is still inconsistent
with its current (broken) behavior.
2013-07-25 18:11:53 +12:00
Paul Chote
f95c19e5b2
Fix BibLayer style nits.
2013-07-24 21:01:17 +12:00
Paul Chote
c3f04cc32e
Convert non-aircraft positioning to world coords.
...
This removes the incomplete and unused hover code
on Mobile, which would be more trouble that it is
currently worth to carry over.
2013-07-21 17:35:47 +12:00
Paul Chote
19165d259d
Add world coord overloads to IOccupySpace and IPositionable.
2013-07-21 17:35:46 +12:00
Paul Chote
ecc119cb29
Combine IHasLocation -> IOccupySpace, IMove -> ITeleportable.
2013-07-21 17:33:32 +12:00
Paul Chote
ddd1314613
Convert ScreenShaker to world coords.
2013-07-20 15:34:28 +12:00
Paul Chote
0c35e49239
Remove PPos from range circle drawing.
2013-07-20 15:34:28 +12:00
Paul Chote
11cebddaa9
Convert Sound.Play* to WPos.
2013-07-11 17:37:27 +12:00
Paul Chote
89fd889cf4
Convert Target positions to world coords.
2013-07-08 21:52:28 +12:00
Paul Chote
39e699d119
Convert BaseProvider range check to world coords.
2013-07-08 21:52:24 +12:00
Paul Chote
7beef85a64
Use PaletteReferences everywhere.
2013-06-15 19:16:08 +12:00
Paul Chote
e7aa6ce998
Change traits to use RenderSprites directly.
2013-05-28 22:34:58 +12:00
Paul Chote
462478afdf
Convert building rendering to world coordinates.
2013-05-17 18:12:27 +12:00
Paul Chote
c428cad70c
Refactor per-player shrouds & fix shellmap shroud.
2013-04-10 19:36:03 +12:00
Paul Chote
9127d0dcf4
Support a maximum building range ( Fixes #2156 ).
...
This also implements support for a per-provider
cooldown between placing structures, allowing mods
with multiple structure queues to rate-limit
placement around a single provider.
An initial delay parameter is included to
support units that deploy into a base provider and
require an initial setup time (e.g. the Surveyor
unit from C&C TW).
The range and time restrictions are not applied to
walls as a balance choice.
2013-03-30 23:00:26 +13:00