Matthias Mailänder
8ae2a65d9d
Shroud is actually a player trait.
2017-08-26 22:47:48 +01:00
rob-v
d4e9e0e069
Add Visualization chat commands
2017-07-23 15:08:24 +02:00
Paul Chote
695a572dc3
Move ActorMap to mod code.
2017-01-29 18:57:36 +00:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
ff94dd914a
Fix missing array bounds check in Shroud.IsExplored.
2016-11-24 19:07:18 +00:00
reaperrr
c4b5b745ef
Merge pull request #12307 from pchote/passive-visibility
...
Add plumbing for improved RA gap generator behaviour.
2016-11-18 14:34:35 +01:00
Paul Chote
d68c705512
Block actor sight above cliffs.
2016-11-11 17:46:53 +00:00
Paul Chote
983d8ac39e
Add passive visibility type.
2016-11-06 15:40:22 +00:00
Paul Chote
fdac5a6d8a
Rework internal shroud plumbing.
2016-11-06 15:40:22 +00:00
reaperrr
0aefd87485
Make Shroud object- instead of actor-based
2016-10-25 16:09:52 +02:00
Paul Chote
365bd5b9bd
Rename ResourceType trait fields for consistency.
2016-09-25 17:04:18 +01:00
Paul Chote
fdc6ea4564
Add trait descriptions to ResourceType.
2016-09-25 17:04:17 +01:00
Paul Chote
9edf4be229
Disable hide map crate if explored map is enabled.
2016-06-18 14:18:05 +01:00
Paul Chote
eb884ca76f
Convert lobby checkboxes to new options backend.
2016-06-04 10:03:06 +01:00
reaperrr
b0e90989a6
Add plumbing for customizable vertical ProximityTrigger range
...
And check DistanceAboveTerrain instead of just vertical distance to upgrade
source.
This is necessary to avoid situations where an actor is technically on the right
vertical distance above/below ground, but not upgraded because it is located on a lower/higher terrain level than the upgrade source.
2016-05-26 22:47:45 +02:00
Paul Chote
1eba0bea13
Prepare Shroud code for trait-defined lobby options.
2016-05-14 18:54:44 +01:00
Paul Chote
a0b5b5ce66
Move initial map exploration to Shroud.
2016-05-14 18:54:44 +01:00
Paul Chote
e79fbe1bb9
Reference SubCells directly from MapGrid.
2016-03-16 18:57:07 +00:00
Paul Chote
7993068c8f
Remove Map.SequenceProvider.
2016-03-12 19:46:20 +00:00
Paul Chote
62f28d2909
Move shroud options to rules.
2016-03-07 21:41:12 +00:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
abcdefg30
d416138cec
Merge pull request #10542 from RoosterDragon/simplify
...
General Cleanup
2016-01-18 11:37:30 +01:00
Oliver Brakmann
d151343216
Merge pull request #10468 from RoosterDragon/fix-dev-shroud-invalidation
...
Fix shroud not updating when disabled
2016-01-17 22:42:34 +01:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
Pavel Penev
861d1368a4
Unhardcode internal terrain palette name from all over the codebase
2016-01-17 19:02:16 +02:00
RoosterDragon
21fd4df586
Invalidate shroud when enabling/disabled the shroud.
...
This ensures when shroud is toggled during a replay, the shroud renderer and radar update correctly.
2016-01-09 23:07:32 +00:00
RoosterDragon
b0619a3e25
Added comments in performance sensitive code.
2015-12-13 16:24:54 +00:00
RoosterDragon
c0286bb147
Remove ActorMap.ActorsInWorld.
...
Prefer the more direct and efficient query on World.Actors instead.
2015-12-12 20:42:44 +00:00
RoosterDragon
bfe1804bf6
Fix some spellings.
2015-11-27 16:19:59 +00:00
reaperrr
2f69711341
Rename ActorMap *UnitsAt* occurences to *ActorsAt*
...
These enumerate actors in general, not just mobile actors (which the term 'unit' usually refers to).
2015-10-16 00:07:06 +02:00
Pavel Penev
642468ce0c
Add MapGrid class
...
MapGrid is a mod Manifest field which includes (and thus makes redundant) TileSize, TileShape, SubCells info and MaximumTerrainHeight.
2015-09-27 04:14:43 +03:00
RoosterDragon
6b62aa1ad5
Add missing sync interfaces.
2015-09-21 22:17:06 +01:00
RoosterDragon
ebf113dfb7
Remove Shroud.IsVisibleTest and IsExploredTest.
...
These are no longer any faster than the regular checks, so there's no need to keep them.
2015-09-06 21:13:32 +01:00
atlimit8
8250f223c4
More HashSet trait fields & Lint support
2015-09-05 16:59:30 -05:00
RoosterDragon
dab53f403d
Provide a hand-written enumerator for ActorMap.GetUnitsAt(CPos).
2015-08-31 20:43:19 +01:00
RoosterDragon
18478646d4
Avoid multiple ToMPos calls in ActorMap.
2015-08-31 20:43:18 +01:00
RoosterDragon
d415d3ba4e
Reduce allocations in the main game loop.
...
- Cache the shroud projection even for flat maps to avoid allocating single element arrays.
- Avoid LINQ in shroud and map projection queries to avoid enumerator allocations.
- Avoid LINQ in calculation of sync values.
- Cache enumerables in ProductionQueue.
- Cache delegate in HackyAI.
2015-08-18 21:17:28 +01:00
Matthias Mailänder
118782a85e
check palette references
2015-08-17 21:36:45 +02:00
Matthias Mailänder
dc477c3ced
add missing sequence reference
2015-08-15 09:59:53 +02:00
abcdefg30
dae70321c2
Merge pull request #8792 from deniz1a/reveal-shroud
...
Changes shroud lobby setting from disabling shroud to revealing it.
2015-08-12 22:04:15 +02:00
Paul Chote
c1fcd5fb47
Prevent shroud from being revealed outside the map cordon.
...
Fixes #8947 .
2015-08-04 23:12:19 +01:00
deniz1a
7efbf0633e
Changes shroud lobby setting from disabling shroud to revealing it.
2015-08-04 17:31:06 +03:00
Paul Chote
0b4543919d
Account for disabled shroud/fog in ShroudRenderer.
...
Fixes #8827 .
2015-08-03 21:07:02 +01:00
Oliver Brakmann
9e2f06aa2d
Merge pull request #8876 from pchote/music
...
Refine the music playlist code.
2015-08-02 15:49:13 +02:00
Paul Chote
5f2c62634c
Merge pull request #8817 from penev92/bleed_cleanups
...
Touch up a few files
2015-08-02 09:30:43 +01:00
Paul Chote
9b3ef9e7f7
Move MusicPlaylist to Mods.Common.
2015-08-01 22:56:07 +01:00
Zimmermann Gyula
1d80c37fda
Add support for hiding music tracks.
2015-08-01 22:41:25 +01:00
Paul Chote
a8ddc4e360
Always start the game with a random song.
...
This fixes the issue where games will always start
with shellmap theme.
2015-08-01 20:52:20 +01:00
Paul Chote
fb0e2c5cc3
Introduce background music concept.
2015-08-01 20:52:20 +01:00