Commit Graph

346 Commits

Author SHA1 Message Date
atlimit8
74a9dc6793 Added IRangeMultiplier 2015-09-24 16:37:43 -05:00
Paul Chote
ef55d646f7 Unstatic the Sound class. 2015-09-20 14:11:06 +01:00
atlimit8
09984683a7 Add ActorInfo.TraitInfo[OrDefault]<T>() requiring ITraitIfo types 2015-09-19 09:56:14 -05:00
atlimit8
6970959ef1 .Trait[OrDefault]<Trait> => .Info.Traits.Get[OrDefault]<TraitInfo> where applicable 2015-09-19 09:49:24 -05:00
atlimit8
8162fa27ab Add ActorInfo.HasTraitInfo<T>() requiring ITraitInfo types 2015-09-19 09:49:24 -05:00
atlimit8
85fab45451 Remove Actor.HasTrait<T>() 2015-09-19 09:49:23 -05:00
atlimit8
45112cfa76 Remove redundant IBodyOrientation[Info] & replace with BodyOrientation[Info] 2015-09-15 22:57:08 -05:00
Pavel Penev
0494ffa120 Update the D2k map importer 2015-09-10 19:26:56 +01:00
atlimit8
8250f223c4 More HashSet trait fields & Lint support 2015-09-05 16:59:30 -05:00
Pavel Penev
09f67d18bb Some internal "race" to "faction" renaming 2015-08-22 23:34:36 +03:00
Matthias Mailänder
118782a85e check palette references 2015-08-17 21:36:45 +02:00
Paul Chote
e8794032e0 Introduce initial PPos plumbing.
PPos is best thought of as a cell grid applied in
screen space.  Multiple cells with different
terrain heights may be projected to the same PPos,
or to multiple PPos if they do not align with the
screen grid.

PPos coordinates are used primarily for map edge
checks and shroud / visibility queries.
2015-07-27 19:34:49 +01:00
atlimit8
cc3b286fa6 Remove unnecessary Lazy<>s from Sandworm.cs 2015-07-25 23:10:42 -05:00
penev92
7c1ef2231d Rename RaceInit to FactionInit 2015-07-25 00:39:31 +03:00
reaperrr
3b1607883d Fix D2k harvesters getting stuck on spice field after drop by carryall 2015-07-22 05:10:19 +02:00
Paul Chote
794c317687 Unhardcode BuildableTerrainLayer palette. 2015-07-18 12:14:23 +01:00
Paul Chote
bf08bbc357 Use a TerrainSpriteLayer for buildable terrain. 2015-07-18 12:14:22 +01:00
penev92
bb648decc3 Rename Player.Country to Player.Faction 2015-07-15 04:06:52 +03:00
penev92
2e04fb5ddd Rename Faction trait members
Rename Faction.Race to Faction.InternalName
2015-07-14 18:50:39 +03:00
atlimit8
1bcc07ce69 Add property requirements to safe traits 2015-07-12 12:44:30 -05:00
Oliver Brakmann
bd12a742f1 Merge pull request #8691 from Mailaender/wrange-renamings
Renamed WRange to WDist in the Lua API and documentation
2015-07-09 23:03:45 +02:00
Matthias Mailänder
56e9bcd96e rename RangeSquard to LengthSquared 2015-07-09 21:16:01 +02: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
Matthias Mailänder
ec9f0a4634 move ThrowsShrapnel to Mods.Commons 2015-07-09 13:07:49 +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
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
penev92
c3fcd9a8a1 Some cleanups 2015-07-06 22:24:50 +03: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
Paul Chote
7d62ac2b12 Merge RulesetCache.LoadDefaultRules and LoadMapRules. 2015-07-05 14:58:00 +01:00
Paul Chote
0dbbc00d0a Simplify editor/importer map creation. 2015-07-05 14:57:58 +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
atlimit8
a9908bffb4 UpgradeManager after IUpgradables 2015-06-28 10:24:00 -05:00
Matthias Mailänder
7faebe874a check for missing sequence entries using lint 2015-06-20 22:22:59 +02:00
Paul Chote
2156a234db Render shroud outside map bounds.
Fixes a regression from #8337.
2015-06-15 18:06:43 +01:00
Oliver Brakmann
ae8b146d2d Merge pull request #8325 from Mailaender/foundations-zero-tiles
Fixed a division through zero
2015-06-14 23:04:09 +02:00
Paul Chote
6e09c62fdd Allow resource placement outside the map cordon. 2015-06-11 21:27:35 +01:00
RoosterDragon
272a0d8691 Added a release config. 2015-06-09 18:06:31 +01:00
Taryn Hill
0dd6f54a11 Merge pull request #8090 from penev92/bleed_upgradableTraits
Make some traits upgradable.
2015-06-04 12:04:07 -05:00
Matthias Mailänder
a4f7daf47a avoid a division through zero 2015-06-02 22:12:48 +02:00
Oliver Brakmann
206c33ed41 Merge pull request #8226 from pchote/actor-disposal
Dispose traits when destroying an actor.
2015-06-02 19:33:22 +02:00
Matthias Mailänder
ea5003cd2d add new long WRange.RangeSquared to avoid integer overflows 2015-05-31 23:51:30 +02:00
penev92
5b00fddfc9 Make AttractsWorms upgradable 2015-05-30 20:01:47 +03:00
Paul Chote
8ae3afa3c5 Properly clean up traits that used to hook only death. 2015-05-29 19:21:35 +01:00
Paul Chote
585a43fd8f Rename Actor.Destroy/Destroyed to Dispose/Disposed. 2015-05-29 19:08:38 +01:00
penev92
97e150e757 Introduce ICallForTransport + carryall code fixes 2015-05-26 12:43:35 +03:00
Paul Chote
469f47aeea Add new map editor UI. 2015-05-15 17:09:27 +01:00
Paul Chote
d211fe9fe1 Add the world components of the new editor. 2015-05-15 17:09:20 +01:00