Commit Graph

2024 Commits

Author SHA1 Message Date
RoosterDragon
adc7e902e3 Speed up AutoTarget.ChooseTarget among groups of allied units.
Most auto target scans will be conducted among groups of allied units unable to target each other because they are allied and their weapons only target enemies. Since they cannot target each other, the scan will be repeated constantly. Realising this, we can significantly reduce the performance impact of auto target scanning by bailing early in this scenario to avoid carrying out expensive targeting checks on friendly units which we know will fail anyway.
2016-01-04 07:07:26 +00:00
Sean Hunt
a7a22d7a49 Style fixes. 2016-01-03 12:02:26 -05:00
Paul Chote
8ce274ed79 Overhaul and rename WithActiveAnimation -> WithIdleAnimation. 2016-01-03 01:17:29 +00:00
Paul Chote
adaa1fa70e Add multiple sequence and upgrade support to LeavesTrails. 2016-01-03 01:17:29 +00:00
Paul Chote
6af377030c Add sequence parameter to SpriteEffect. 2016-01-03 01:17:29 +00:00
RoosterDragon
8d7ed98636 Merge pull request #10380 from pchote/improve-trails
Polish and improved customization for actor trails
2016-01-03 01:15:26 +00:00
RoosterDragon
55d074b25d Merge pull request #10384 from pchote/upgrade-newlines
Fix duplicated end of file newline being saved to upgraded yaml.
2016-01-03 00:56:19 +00:00
Pavel Penev
30f6c10101 Fix upgrade rule output spam 2016-01-02 22:37:12 +02:00
Paul Chote
bc4ea3f87b Don’t duplicate the final newline when saving upgraded yaml. 2016-01-02 20:06:52 +00:00
Matthias Mailänder
63af439c73 Merge pull request #10365 from reaperrr/fix-missile-effects
Misc Missile and CreateEffectWarhead tweaks
2016-01-02 17:08:52 +01:00
Paul Chote
f8b0674ccc Add extra configuration options for trails. 2016-01-02 12:25:52 +00:00
Matthias Mailänder
fb62b40848 Merge pull request #10252 from penev92/removeToP
Remove obsolete TransformOnPassenger trait
2016-01-02 12:49:01 +01:00
Pavel Penev
51281e2546 Remove obsolete TransformOnPassenger trait
The upgrade system has made this obsolete. Units like the RA2 IFV are better done that way.
2016-01-02 02:01:46 +02:00
RoosterDragon
0363aeaaea Merge pull request #10362 from Mailaender/new-map-crash
Fixed a crash on new map creation
2016-01-01 20:53:06 +00:00
teees
ce5c8fde5c fix hovers trait to use heightmap 2016-01-01 21:04:17 +01:00
Matthias Mailänder
bf2513407a fix a crash on new map creation 2016-01-01 16:47:15 +01:00
reaperrr
d93a3a61ee Use DistanceFromEdge instead of OuterRadius for CreateEffectWarhead's hit check 2016-01-01 15:52:13 +01:00
reaperrr
671f5af723 Unhardcode Missile freefall gravity 2016-01-01 15:52:12 +01:00
reaperrr
c02206601c Use airMargin in CreateEffectWarhead's water check
Closes #10350.
2016-01-01 15:43:34 +01:00
Paul Chote
99ef4dc832 Merge pull request #10346 from RoosterDragon/misc-fixes
Dispose fixes + misc touchups
2016-01-01 13:53:05 +00:00
Matthias Mailänder
be235eb9fb Merge pull request #10210 from pchote/other-enter-traits
Add enter behaviour field to Infiltrates/EngineerRepair/RepairsBridges.
2016-01-01 12:01:26 +01:00
Matthias Mailänder
b3c474ebf9 Merge pull request #9452 from atlimit8/CreateFrozenActorsInFrozenUnderFogConstructor
Move FrozenActor creation to Created in FrozenUnderFog
2016-01-01 11:45:08 +01:00
RoosterDragon
5f13fa0343 Fix serialization of custom exceptions. 2016-01-01 04:51:55 +00:00
RoosterDragon
b5f24c3fa6 Add some missing Dispose calls, fix some Dispose implementations. 2016-01-01 04:51:54 +00:00
Matthias Mailänder
85ffd505c1 Merge pull request #10344 from obrakmann/fix10339_map-editor-filetype-crash
Allow only valid file types when saving maps in the editor
2015-12-31 13:33:45 +01:00
Matthias Mailänder
cd730914db Merge pull request #10119 from RoosterDragon/sort-effects-with-actors
Interleave renderables for effects and actors
2015-12-31 12:31:47 +01:00
Matthias Mailänder
6a555a7a8d Merge pull request #10089 from abcdefg30/shellmapCPU
Try to win a small amount of performance when the shellmap is disabled
2015-12-31 12:22:14 +01:00
atlimit8
4744f436d3 Move FrozenActor creation to Created in FrozenUnderFog 2015-12-31 00:53:26 -06:00
RoosterDragon
208b51feb1 Speed up GlobalLightingPaletteEffect.
Perform everything in integer arithmetic using some bit twiddling to avoid the performance cost of converting to and from floating point values.
2015-12-31 06:26:05 +00:00
reaperrr
f7c6938e27 Merge pull request #10243 from pchote/fix-neutrino-bullets
Fix collision detection for Missiles and Bullets.
2015-12-31 00:14:16 +01:00
Matthias Mailänder
aed5e4a057 Merge pull request #10337 from RoosterDragon/fix-upgrade
Fix UpgradeChromeMetrics.
2015-12-30 23:48:33 +01:00
RoosterDragon
47aafc7936 Merge pull request #10334 from obrakmann/fix10331_suppress-unread-irc-notifications
Fix counting IRC notifications as unread messages
2015-12-30 22:25:17 +00:00
abcdefg30
f364a306f3 Merge pull request #10201 from teees/discardexcessresources
Optionally discard resources when silo capacity has been reached
2015-12-30 22:43:15 +01:00
Paul Chote
5b99a0c2da Implement enter behaviour for building/bridge repair. 2015-12-30 19:54:18 +00:00
Paul Chote
f5fafb1b9d Move EnterBehaviour behaviour to Enter. 2015-12-30 19:53:06 +00:00
Paul Chote
8771562e37 Reduce projectile search radius to match warheads. 2015-12-30 19:32:00 +00:00
Paul Chote
124e7b389a Add a lint test for projectile target search radius. 2015-12-30 19:31:59 +00:00
Paul Chote
871d328c35 Fix collision detection for Missiles and Bullets. 2015-12-30 19:15:17 +00:00
Oliver Brakmann
83ee267105 Allow only valid file types when saving maps in the editor
It will also allow saving to files and directories which have a dot in their name.
2015-12-30 19:59:13 +01:00
abcdefg30
d2b75d780d Merge pull request #9856 from atlimit8/FilterInstalledModsFromNeededMods
Show only missing required "mod (version)"s
2015-12-30 15:38:07 +01:00
RoosterDragon
a010b06b49 Fix UpgradeChromeMetrics.
This needs to handle the null value passed in for the parent parameter from it's only (non-recursive) callsite.
2015-12-30 04:48:38 +00:00
RoosterDragon
6156575cd5 Fix parameters sent to DetectionCircleRenderable.
The parameters had been accidentally reversed in the builder methods.
2015-12-30 04:26:52 +00:00
atlimit8
68fd5dfd58 Merge pull request #10272 from RoosterDragon/player-dict
Speed up dictionaries keyed on Player
2015-12-29 19:27:11 -06:00
Oliver Brakmann
7858ba16c4 Fix counting IRC notifications as unread messages 2015-12-30 00:50:03 +01:00
Pavel Penev
1d69669b05 Merge pull request #10168 from teees/heightmap-fixes
Use heightmap to get correct groundlevel, use AircraftInfo for correct ground level
2015-12-29 21:45:55 +02:00
abcdefg30
c372d966b4 Merge pull request #10322 from RoosterDragon/triggers-array
Store triggers in ScriptTriggers in an array.
2015-12-29 16:41:03 +01:00
abcdefg30
0c23648899 Merge pull request #10225 from reaperrr/disable-turret
Disable WithSpriteTurret until build/transform complete
2015-12-29 16:27:38 +01:00
abcdefg30
d5cfc1672c Merge pull request #9800 from huwpascoe/hitshape
Hitshape
2015-12-29 16:16:05 +01:00
RoosterDragon
0c5463208d Store triggers in ScriptTriggers in an array.
We can use the enum to index the array directly, in order to give faster lookups compared to a dictionary.
2015-12-29 14:27:54 +00:00
abcdefg30
e38424a2eb Merge pull request #10133 from Mailaender/benchmark
Added a benchmark mode
2015-12-29 15:20:28 +01:00