Paul Chote
3f8d75a1ac
Remove SpatialBins.
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
eef941fd42
Track per-player frozen actors.
2013-08-12 21:34:18 +12:00
Paul Chote
bf9c737a11
Remove obsolete Gauss1D/Gauss2D functions.
2013-08-01 20:18:42 +12:00
ScottNZ
dc84acc300
Add an Unload voice for when a unit is unloading.
2013-07-22 22:19:37 +12:00
Paul Chote
27f04c1b78
Rename FindUnits -> FindActorsInBox.
2013-07-20 15:34:28 +12:00
Paul Chote
37c02fea79
Remove PPos overload of FindUnits.
2013-07-20 15:34:27 +12:00
Paul Chote
800acdbdf2
Rename FindUnitsInCircle -> FindActorsInCircle.
2013-07-20 15:34:27 +12:00
Paul Chote
e6865c5996
Remove PPos overload of FindUnitsInCircle.
2013-07-20 15:34:27 +12:00
Paul Chote
39d2095e54
Remove PPos overload of ClosestTo.
2013-07-20 15:34:27 +12:00
Paul Chote
1dfc4837d4
Add some world-coordinate helpers.
2013-07-20 15:34:26 +12:00
Paul Chote
eec986d93d
Add world coords overload of FindUnitsInCircle.
2013-07-06 19:12:25 +12:00
Paul Chote
c428cad70c
Refactor per-player shrouds & fix shellmap shroud.
2013-04-10 19:36:03 +12:00
Matthias Mailänder
47075e1cd0
generate random numbers as floats
...
as they get converted from double before use anyway
2013-03-01 10:53:41 +01:00
Kenny
f41fb32d60
Introducing per-player shrouds.
...
- Each player has their own shroud and their visibility does not extend outside of the shroud.
- Units and buildings can no longer target other units outside of their visibility. Buildings can still be targetted if they have been explored.
- GPS will provide visibility in the fog-of-war.
- Spies that infiltrate radar domes will gain their victim's exploration and reset it on all clients (if the victim does not have GPS)
2012-12-13 15:16:56 -08:00
Chris Forbes
b73a0a9720
fix off-by-one in new tile query
2012-10-14 10:07:08 +13:00
Chris Forbes
699838332d
Order results from FindTilesInCircle by distance
2012-10-13 12:55:51 +13:00
Matthias Mailänder
7a578a0679
notifications (formerly EVAalerts) centralized and race specific
...
outsourced into notifications.yaml
triggered with PlayNotification(...)
(v2: less redundant code for PlayVoice/Notifications)
added harvester under attack and battlecontrol terminated
2012-07-01 14:39:30 +12:00
James Dunne
9c49143534
New types for cell and pixel coordinate position/vectors.
2012-06-21 15:36:59 -05:00
Chris Forbes
dd88a1269a
move MakeArray to FileFormats.Exts
2011-12-27 14:52:11 +13:00
Chris Forbes
aef3ff6e65
remove some redundant SelectableInfo lookups
2011-10-23 11:49:38 +13:00
Chris Forbes
1e32014190
add CountryInfo.Selectable
2011-10-15 13:00:19 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Chris Forbes
4e1c845303
add common version of AreMutualAllies to WorldUtils
2011-07-14 20:29:07 +12:00
Chris Forbes
c9c31345aa
fix broken indent in WorldUtils.cs
2011-07-14 20:29:07 +12:00
Chris Forbes
e44b965785
fixed #999 -- replace order/first[ordefault] with .ClosestTo(point)
2011-07-14 20:29:07 +12:00
Chris Forbes
9b3e6c5c4a
remove FP sillyness from FindUnits & friends
2011-05-22 20:38:52 +12:00
Chris Forbes
ccc245ded4
reintroduce Cached<T>; use for Actor.Bounds, Actor.ExtendedBounds, which replace Actor.GetBounds(bool)
2011-05-22 20:38:48 +12:00
Paul Chote
b0425aff3b
Renormalize line endings and fix copyright headers again.
2011-04-07 21:15:42 +12:00
Paul Chote
0d53346138
Fix bogus ClampToWorld behavior (allowed helicopters to fly outside map)
2011-03-19 21:01:14 +13:00
Chris Forbes
c3728ce674
blah
2011-03-12 22:33:25 +13:00
Chris Forbes
1e3f365cf2
move all the Game.Exts junk either down into FileFormats or into WorldUtils
2011-03-12 22:33:24 +13:00
Chris Forbes
65a54ba13a
add audio feedback to stop/scatter/deploy junk
2011-03-06 10:22:40 +13:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Paul Chote
73020a9419
Make binary info loading lazy
2011-02-11 21:50:11 +13:00
Paul Chote
2daeb45bfe
Fix a subtle bug with flying units in spatialbins. Fixes #489 .
2011-02-01 22:06:09 +13:00
Paul Chote
7c5c989eb2
Introduce World.LocalShroud. Breaks targeting stealth tanks. Probably breaks FrozenUnderFog.
2010-11-27 11:20:04 +13:00
Paul Chote
fc5830a687
Added int2.Clamp(Rectangle). All queries for map geometry use map.Bounds.
2010-11-24 12:24:48 +13:00
Paul Chote
b8eda5a152
Tidy more uses of BottomRight/TopLeft, bogus location of FormatTime.
2010-11-24 11:37:18 +13:00
Paul Chote
de8603832f
Use Map.Bounds instead.
2010-11-24 11:12:37 +13:00
Paul Chote
f11bcd27cc
Kill Map.XOffset / Map.YOffset.
2010-11-24 10:26:38 +13:00
Bob
480c5edd75
move Building et al into Mods/
2010-11-06 11:05:45 +13:00
geckosoft
030bd4b28d
Core: Added basic support for Spectators
...
TODO: Someone modify the files for cnc (chrome / rules)
2010-10-31 04:03:31 +01:00
Paul Chote
230d59f655
Tweak visibility; hopefully allows targeting of detected units
2010-08-15 06:18:46 +12:00
Bob
ae703d50b2
Actor.traits is implementation detail
2010-08-14 17:39:49 +12:00
Paul Chote
7a4fa93ce9
Introduce a Targetable trait; Subs can attack bridges; May introduce subtle bugs due to previous stupid assumption that !selectable == !attackable.
2010-07-28 22:57:14 +12:00
Paul Chote
8fab45ae39
Move Cloak, HiddenUnderFog, FrozenUnderFog into Mods.RA; Simplify a pile of related stuff.
2010-07-28 21:11:50 +12:00
Paul Chote
55e59e0b53
Unhardcode voice/order interaction; reimplement for move and attack
2010-07-23 18:41:35 +12:00
Paul Chote
d21e9fe093
Kill ITerrainTypeModifier for explicit updating of a custom layer in the map. Functionally equivalent, but MUCH faster.
2010-07-22 22:22:53 +12:00
Chris Forbes
d5f12dd8ee
trim down license spam in all files
2010-07-18 16:48:21 +12:00