Commit Graph

929 Commits

Author SHA1 Message Date
Matthias Mailänder
ee7ccf10e8 update auto-documentation 2015-07-09 10:56:59 +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
efe5ac26b9 Merge pull request #8679 from reaperrr/ai-tweaks1
Added configurable MinimumExcessPower to HackyAI
2015-07-07 23:48:48 +02:00
reaperrr
27ffd4967a AI base builder power tweaks 2015-07-07 22:22:59 +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
penev92
fe94b7686e Introduce IWarhead and move Warhead to Mods.Common 2015-07-06 22:24:20 +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
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
Pavel Penev
f221a70e40 Merge pull request #8652 from Mailaender/custom-rule-warning
Added a warning about custom game rules
2015-07-06 00:32:44 +03:00
Oliver Brakmann
c899606a6f Merge pull request #7872 from Mailaender/storm-effects
Unified FlashPaletteEffect and exposed it to Lua
2015-07-05 21:08:04 +02:00
Matthias Mailänder
5378b6225c unhardcode and increase the exit delay 2015-07-05 20:50:31 +02:00
abcdefg30
cc03e64b37 Fix Team set in PlayerReference being ignored for unplayable players 2015-07-05 19:32:48 +02:00
Paul Chote
19c777a922 Move maximum terrain height definition to mod.yaml. 2015-07-05 17:49:56 +01:00
Matthias Mailänder
ed7b54a21e add a Lua controllable flash palette trait 2015-07-05 18:15:12 +02:00
Matthias Mailänder
a0c3a3adaa sort globals alphabetically 2015-07-05 18:14:05 +02:00
Matthias Mailänder
1eeedf9bb4 radar LightPaletteRotator is actually RA95 exclusive 2015-07-05 18:07:11 +02:00
Matthias Mailänder
06f92c5b94 add sound file playing to the Lua API 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
Matthias Mailänder
8c92839e0b warn about custom rules 2015-07-05 17:16:43 +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
7d62ac2b12 Merge RulesetCache.LoadDefaultRules and LoadMapRules. 2015-07-05 14:58:00 +01: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
0dbbc00d0a Simplify editor/importer map creation. 2015-07-05 14:57:58 +01:00
Paul Chote
41fa77d12a Fix projected world coordinate calculation for Lua API. 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
Pavel Penev
f05b71ada2 Merge pull request #8642 from reaperrr/fix-lst
Added separate CloseSequence to WithLandingCraftAnimation
2015-07-05 14:55:51 +03:00
Pavel Penev
5187a958ff Merge pull request #8646 from pchote/radar-cleanup
Remove unused/duplicated minimap code.
2015-07-05 14:48:05 +03:00
Pavel Penev
7918181442 Merge pull request #8641 from suvjunmd/dps
Added exception handling to ExportCharacterSeparatedRules
2015-07-05 14:26:08 +03:00
Paul Chote
f1e6f01e44 Use the standard radar shroud updating when switching to observer. 2015-07-05 11:14:59 +01:00
Matthias Mailänder
5549bab073 fix nesting level does not match indentation 2015-07-05 08:30:15 +02:00
Dmitri Suvorov
0457e58fe9 Added exception handling to ExportCharacterSeparatedRules 2015-07-05 02:32:24 +03: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
de72db83db Added WithLandingCraftAnimation and removed RenderLandingCraft 2015-07-04 22:08:05 +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
e87e8ae632 Add a lint rule for VisibilityType. 2015-07-04 17:07:08 +01:00
Paul Chote
0bbfeb5653 Add upgrade rules. 2015-07-04 17:07:06 +01: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