Commit Graph

1125 Commits

Author SHA1 Message Date
Paul Chote
5f2c62634c Merge pull request #8817 from penev92/bleed_cleanups
Touch up a few files
2015-08-02 09:30:43 +01:00
Taryn Hill
22ffeb2a12 Use DistanceAboveTerrain in CreateEffectWarhead 2015-08-01 11:48:50 -05:00
Taryn Hill
6fa1f757b0 Add Map.DistanceAboveTerrain(WPos) and Actor.IsAtGroundLevel() extension method 2015-08-01 11:48:47 -05:00
reaperrr
c3d996cb62 Adds WithReloadingTurret render trait to TD mod 2015-08-01 17:15:34 +02:00
abcdefg30
1b20807677 Merge pull request #8870 from obrakmann/fix-ai-using-shared-random
Fix AI using SharedRandom values
2015-08-01 16:39:32 +02:00
Oliver Brakmann
c539b9fcb4 Fix AI using SharedRandom values
The AI code runs on only one hosts, so by having the AI use SharedRandom values, the host's random gets out of sync with the other players' and crashes the game.
2015-08-01 15:59:12 +02:00
Matthias Mailänder
97192dd8b2 Merge pull request #8868 from pchote/readonly-traits
Make trait fields readonly
2015-08-01 15:58:42 +02:00
Paul Chote
3dda305524 Make NukePower fields readonly. 2015-08-01 14:19:12 +01:00
Paul Chote
6f60b16f06 Make SmokeTrailWhenDamaged fields readonly. 2015-08-01 14:19:12 +01:00
Paul Chote
60305face7 Make WithVoxelBody fields readonly. 2015-08-01 14:19:11 +01:00
Paul Chote
a127c6b050 Make WithVoxelBarrel fields readonly. 2015-08-01 14:19:11 +01:00
Paul Chote
322d941332 Make WithProductionOverlay fields readonly. 2015-08-01 14:19:11 +01:00
Paul Chote
038e8018b9 Make WithBuildingPlacedOverlay fields readonly. 2015-08-01 14:19:11 +01:00
Paul Chote
4e27ac9aac Make WithTurret fields readonly. 2015-08-01 14:19:10 +01:00
Paul Chote
d20819735c Make WithRotor fields readonly. 2015-08-01 14:19:10 +01:00
Paul Chote
f91b28a2a0 Make WithRepairOverlay fields readonly. 2015-08-01 14:19:10 +01:00
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
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