Commit Graph

5016 Commits

Author SHA1 Message Date
Paul Chote
bb092ec07b Make WithRepairAnimation fields readonly. 2015-08-01 14:19:10 +01:00
Paul Chote
c5becaab9b Make WithIdleOverlay fields readonly. 2015-08-01 14:19:10 +01:00
Paul Chote
a2d069ce55 Make WithHarvestOverlay fields readonly. 2015-08-01 14:19:09 +01:00
Paul Chote
8e6b764284 Make WithBuildingPlacedAnimation fields readonly. 2015-08-01 14:19:09 +01:00
Paul Chote
0065d27c68 Make WithBuildingExplosion fields readonly. 2015-08-01 14:19:09 +01:00
Paul Chote
eeb101c040 Make Contrail fields readonly. 2015-08-01 14:19:09 +01:00
Paul Chote
6a586fe501 Make RenderVoxels fields readonly. 2015-08-01 13:28:56 +01:00
Paul Chote
c6ecd772c4 Make RenderRangeCircle fields readonly. 2015-08-01 13:28:19 +01:00
Paul Chote
4b4cc52aa0 Make RenderDetectionCircle fields readonly. 2015-08-01 13:27:57 +01:00
Paul Chote
080f1880b9 Make RenderBuildingTurreted fields readonly. 2015-08-01 13:27:40 +01:00
Paul Chote
ef619a186c Make ExternalCapturableBar fields readonly. 2015-08-01 13:27:09 +01:00
Paul Chote
82abd5a016 Merge pull request #8808 from deniz1a/leavemap-cleanup
Removes unnecessary code from IngameChatLogic.cs.
2015-08-01 11:21:15 +01:00
abcdefg30
b8372984b0 Merge pull request #8247 from Mailaender/man-openra
Added a UNIX man page
2015-08-01 12:06:14 +02:00
reaperrr
a8c09f4035 Merge pull request #8846 from pchote/ingame-map-previews
Improve radar minimap on isometric maps.
2015-08-01 11:59:21 +02:00
Matthias Mailänder
7c86519242 organize launch arguments in it's own class 2015-08-01 11:56:45 +02:00
Matthias Mailänder
baa798d831 autogenerate and install a UNIX man page 2015-08-01 11:56:43 +02:00
Matthias Mailänder
88e16a890d extract Launch args for automatic manpage creation 2015-08-01 11:55:46 +02:00
abcdefg30
9d32667d15 Merge pull request #8860 from pchote/heightmap-placebuilding-footprint
Align the footprint tiles with the building preview.
2015-08-01 10:32:57 +02:00
Paul Chote
aebca2bdae Align the footprint tiles with the building preview. 2015-07-31 23:36:40 +01:00
reaperrr
5941914ced Fix WithProductionDoorOverlay namespace 2015-07-31 21:08:25 +02:00
Paul Chote
ed359c8aeb Improve radar display for isometric maps. 2015-07-31 08:34:16 +01:00
Paul Chote
372d93994c Account for heightmaps in choosing the minimap bounds. 2015-07-31 08:34:16 +01:00
Pavel Penev
10c5b82ef0 Rename BuildableInfo.ForceRace 2015-07-31 05:41:19 +03:00
Pavel Penev
720cb062b6 Add an upgrade rule for ProvidesPrerequisite.Race rename 2015-07-31 05:40:59 +03:00
Pavel Penev
a8dae72409 Clean ProvidesPrerequisite.cs of "race" 2015-07-31 05:38:49 +03:00
Pavel Penev
1e9cc50805 Clean Production.cs of "race" 2015-07-31 05:38:43 +03:00
Pavel Penev
6379ee9394 Clean ObserverShroudSelectorLogic.cs of "race" 2015-07-31 05:38:27 +03:00
reaperrr
c205afcf4d Add descriptions and LoadedChance to Explodes trait
'Chance' only allows to control whether the actor explodes at all.
'LoadedChance' allows to control how likely the actor will explode violently using Weapon, and otherwise falls back to EmptyWeapon.
2015-07-30 21:23:55 +02:00
Oliver Brakmann
439bc4ab34 Revert "HACK: Testcase for edge clamping."
This reverts commit fb84f1157e.
2015-07-30 16:36:40 +02:00
Paul Chote
fb84f1157e HACK: Testcase for edge clamping.
Remove before merging!
2015-07-30 08:18:45 +01:00
Paul Chote
66f4e1d775 Render the full map to the radar backing sheet. 2015-07-30 08:18:39 +01:00
Paul Chote
af69370c17 Improve lobby minimap display for isometric maps.
Also extracts a trait query from inside a tight loop to save unnecessary work.
2015-07-29 20:44:44 +01:00
reaperrr
398f02c5db Remove redundant ISync and ITick from Attack* traits
ISync is implemented by AttackBase, so there's no need for other Attack traits to implement it again.
AttackTurreted inherits AttackFollow, which already implements ITick.
2015-07-29 17:45:30 +02:00
Matthias Mailänder
c660d32051 Merge pull request #8833 from obrakmann/fix8826_trait-from-dead-crate-crash
Fix crates dying while not in the world
2015-07-29 15:30:07 +02:00
Matthias Mailänder
8eb5698d57 Merge pull request #8170 from DSUK/master
TFD Installer for Tiberian dawn, Red Alert and Tiberian Sun
2015-07-29 15:25:59 +02:00
Oliver Brakmann
1b9367ae4b Fix potential NRE in AI BaseBuilder
Detected by Coverity
2015-07-29 14:53:15 +02:00
Oliver Brakmann
eada254ad3 Fix crates dying while not in the world
On large maps, it can take the delivery aircraft longer than the crate's
lifetime to reach the paradrop location, so the crate will be destroyed while it's still in the aircraft, leading to an attempt to get a trait from a destroyed object in the Paradrop trait.

This fixes the lifetime logic of crates so that the lifetime will only be increased when the crate is actually in the world. This will probably also better reflect the intention behind the Lifetime property, which I assume was meant to be the time the crate would be on the map available for pickup, rather than the lifetime of the actor itself.
2015-07-29 12:35:58 +02:00
James
1d3f4d6f12 added The First Decade Installation Logic 2015-07-29 08:18:26 +01:00
Matthias Mailänder
0ba54b425e Merge pull request #8759 from reaperrr/ai-bldgcheck
Improved AI BaseBuilder
2015-07-28 22:32:21 +02:00
reaperrr
d8e458d028 Added TODOs for foundation of checked water cells
Fix description style issues
2015-07-28 22:03:53 +02:00
reaperrr
91178d6f62 Improved naval placement check
Moved water checks before --waitTicks.
Use Water enum instead of multiple booleans.
Check for BaseProvider rather than BaseBuilding.
Move expensive ClosEnoughToWater check to last position for naval
production override.
2015-07-28 22:03:52 +02:00
Matthias Mailänder
e127e55792 Merge pull request #8777 from pchote/base-key
Fall back to oldest building if no BaseBuildings exist.
2015-07-28 20:35:12 +02:00
Oliver Brakmann
dff56f6c20 Merge pull request #8781 from pchote/heightmap-shroud
Add plumbing for heighmap-aware shroud and map bounds checks.
2015-07-28 15:35:51 +02:00
Pavel Penev
7701980b76 Simple code style cleanups 2015-07-28 14:21:17 +03:00
Pavel Penev
9801d89e75 Merge pull request #8813 from pchote/fix-bounds-checks
Replace map.Contains with proper array bounds checks.
2015-07-28 04:27:53 +03:00
deniz1a
e3c2dced36 Removes unnecessary code from IngameChatLogic.cs.
Cleanup after #8105.
2015-07-27 23:22:30 +03:00
Matthias Mailänder
9fefc1f7b7 Merge pull request #8816 from reaperrr/common-armor
Moved Armor trait to Mods.Common
2015-07-27 22:04:29 +02:00
reaperrr
89f3718aa7 Move Armor trait to Mods.Common 2015-07-27 21:12:03 +02:00
Paul Chote
86ba26e013 Convert shroud calculations and rendering to PPos. 2015-07-27 19:34:50 +01: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