Commit Graph

491 Commits

Author SHA1 Message Date
Taryn Hill
c1abc0dfbb Unhardcode sound and delay in PlaceBuilding. 2015-07-09 13:52:42 -05:00
Oliver Brakmann
4792ff336b Merge pull request #8674 from reaperrr/rem-initact
Removed InitialActivity from FreeActor and Buildable
2015-07-09 18:47:13 +02:00
abcdefg30
0835504c53 Merge pull request #8686 from Mailaender/ts-debris
Added debris to Tiberian Sun
2015-07-09 17:09:04 +02:00
abcdefg30
cb7df540c4 Merge pull request #8682 from Mailaender/abomb-activation-crash
Fixed a crash when activating a nuke during sudden powerdown
2015-07-09 13:24:01 +02:00
Matthias Mailänder
ec9f0a4634 move ThrowsShrapnel to Mods.Commons 2015-07-09 13:07:49 +02:00
Matthias Mailänder
8d8d7ab8ea rename WRange to WDist in documentation 2015-07-09 12:36:29 +02:00
Matthias Mailänder
413baf9d8b rename WDist.Range to WDist.Length 2015-07-09 10:55:38 +02:00
Matthias Mailänder
7447e0bf93 rename WRange to WDist 2015-07-09 10:55:38 +02:00
Matthias Mailänder
d0bbe7da0d don't crash when it becomes disabled after activation 2015-07-08 10:00:40 +02:00
reaperrr
1baae6653c Remove InitialActivity 2015-07-08 02:14:44 +02:00
reaperrr
bbf9596530 Merge pull request #8635 from penev92/bleed_warheads
Move Warheads from the engine to Mods.Common
2015-07-07 18:32:45 +02:00
Paul Chote
d2b7d42cca Use TerrainSpriteLayer for rendering resources. 2015-07-06 20:36:29 +01:00
penev92
c3fcd9a8a1 Some cleanups 2015-07-06 22:24:50 +03:00
penev92
41cdc57ea5 Fix traits implementing INotifyKilled 2015-07-06 22:24:41 +03:00
penev92
351cf254e7 Fix DamageModifiers 2015-07-06 22:24:30 +03:00
Paul Chote
7c0d3f4e40 Use a HashSet for ResourceLayer dirty cells. 2015-07-06 19:54:44 +01:00
Paul Chote
ae0d9c0e7d Move ResourceLayer init into the constructor.
Stylecop rules force renaming content and render.
2015-07-06 19:54:43 +01:00
Matthias Mailänder
3f38d063a9 remove code duplication 2015-07-06 11:06:55 +02:00
Matthias Mailänder
4acb096416 Merge pull request #8210 from matija-hustic/ra2_veterancy_icon
Veteran unit production & unlocking through spies.
2015-07-06 09:38:09 +02:00
penev92
1d49c23af0 Rename PlayerReference.Race and LockRace to Faction and LockFaction 2015-07-05 23:08:49 +03:00
Matthias Mailänder
5378b6225c unhardcode and increase the exit delay 2015-07-05 20:50:31 +02:00
Matthias Mailänder
ed7b54a21e add a Lua controllable flash palette trait 2015-07-05 18:15:12 +02:00
Matthias Mailänder
1eeedf9bb4 radar LightPaletteRotator is actually RA95 exclusive 2015-07-05 18:07:11 +02:00
Matthias Mailänder
24444d4af3 fix a crash in AmbientSound 2015-07-05 18:07:11 +02:00
Pavel Penev
bf7a96d6de Merge pull request #8650 from pchote/editor-overlay
Render the terrain geometry over all visible terrain.
2015-07-05 17:14:38 +03:00
Paul Chote
86bf9086d9 Rename WorldRenderer.Position -> ProjectedPosition. 2015-07-05 14:57:59 +01:00
Paul Chote
26ce7b5e1c Fix incorrect uses of Map.Bounds. 2015-07-05 14:57:58 +01:00
Paul Chote
78838c715a Render the terrain geometry over all visible terrain. 2015-07-05 14:52:38 +01:00
reaperrr
26a202600d Make WithAttackAnimation work with WithSpriteBody as well 2015-07-05 00:17:01 +02:00
reaperrr
8ae541339b Make WithMoveAnimation work with WithSpriteBody as well 2015-07-05 00:09:46 +02:00
unknown
206ed8ebb8 Veteran unit production & unlocking through spies. 2015-07-04 22:25:12 +01:00
reaperrr
2be06e610a Removed RenderUnit
Used this opportunity to unhardcode several sandworm-related sequences.
2015-07-04 22:08:07 +02:00
reaperrr
76aaafe37c Added WithHarvestAnimation + WithDockingAnimation
Removed RenderHarvester.
2015-07-04 22:08:06 +02:00
reaperrr
1abe7ab2dc Renamed WithHarvestAnimation to WithHarvestOverlay 2015-07-04 22:08:04 +02:00
reaperrr
cd6c96db82 Fixed WithAttackAnimation namespace 2015-07-04 22:08:03 +02:00
Paul Chote
8206c3c453 Enable VisibilityType for shroud revealing.
VisibilityType.Footprint reveals from each footprint cell.

VisibilityType.CenterPosition reveals from the
actor’s CenterPosition only (as the original
games did).
2015-07-04 17:07:05 +01:00
Paul Chote
7053e59acb Expose a parameter for reveal behaviour.
VisibilityType.CenterPosition reveals the actor
only if its CenterPosition is inside a cell that
is visible.

VisibilityType.Footprint reveals the actor if any
of its footprint cells are visible (this includes
Mobile actors moving between two cells).
2015-07-04 16:14:47 +01:00
Zimmermann Gyula
4933a88c64 Enable the EMP overlay animation in TS. 2015-07-03 18:05:23 +02:00
Matthias Mailänder
f431c14ab7 fix possible NREs 2015-06-30 22:36:52 +02:00
Matthias Mailänder
6582a0e096 Merge pull request #8589 from obrakmann/fix8543_range-circles-in-replays
Make range circles visible to observers
2015-06-29 23:10:28 +02:00
abcdefg30
699822cd51 Merge pull request #8590 from obrakmann/objectives-polish
Objectives polish
2015-06-29 18:52:34 +02:00
Oliver Brakmann
82221f780f Make range circles visible to observers 2015-06-29 18:11:52 +02:00
Matthias Mailänder
f65df39e36 Merge pull request #8586 from atlimit8/UpgradeManagerAfterIUpgradables
UpgradeManager after IUpgradables
2015-06-28 20:41:28 +02:00
Oliver Brakmann
4e010bd6e6 Change *VictoryConditions to use customizable objective descriptions 2015-06-28 19:08:37 +02:00
Oliver Brakmann
34f382ec57 Prevent unnecessary blinking of the options button in non-mission type games
The options button starts blinking when a new objective is added, which happens in all game modes, even skirmish and koth.  This change prevents the button from blinking in the latter two cases.

This prevents 1) confusion on part of the players, and 2) an unnecessary announcement of the objective since in skirmish and koth it is always the same.
2015-06-28 17:58:32 +02:00
atlimit8
a9908bffb4 UpgradeManager after IUpgradables 2015-06-28 10:24:00 -05:00
reaperrr
5db7492452 Fixes potential AttackMove crash 2015-06-28 16:06:39 +02:00
Matthias Mailänder
3fd49b87d3 Merge pull request #8556 from suvjunmd/tooltips
Modified actor tooltips to include friendly name and internal name
2015-06-28 13:35:37 +02:00
Dmitri Suvorov
1fb03ad656 Modified actor tooltips to include friendly name and internal name 2015-06-28 14:16:37 +03:00
Zimmermann Gyula
32eed88de5 Implements an AcknowledgesUpgrade method in UpgradeManager to allow checking for truly applicable upgrades - AcceptsUpgrade returns false if the upgrade has reached max level. 2015-06-28 12:58:50 +02:00