Commit Graph

2289 Commits

Author SHA1 Message Date
Oliver Brakmann
cf9f25eb0b Fix LobbyCommands not validating user-modifiable input
Validates all input that could have been changed with custom yaml rules.
2016-02-21 16:50:43 +01:00
Oliver Brakmann
40514184d8 Convert CRLF to LF line endings in LobbyCommands.cs 2016-02-21 16:30:53 +01:00
abcdefg30
ff3f9356cc Merge pull request #10695 from bateramos/upstream/#10029
Bug fix #10029 Plane resupply
2016-02-20 17:28:37 +01:00
abcdefg30
f7d53311e3 Merge pull request #10751 from RoosterDragon/shuffle
Improve Util.Shuffle
2016-02-20 17:04:44 +01:00
PedroFerreiraRamos
bf97dd6b7b Bug fix #10029 Plane resupply 2016-02-19 08:35:18 -02:00
Paul Chote
02ab54c9bc Load MapPreview data without initialising a full Map. 2016-02-18 20:19:44 +00:00
Paul Chote
88f6daf57f Misc remaining FileSystem cleanups. 2016-02-18 18:12:33 +00:00
Paul Chote
d573e21a48 Traits open files via the Map. 2016-02-18 18:12:33 +00:00
Paul Chote
7106d7ecdf Pass ModData to ILintPass. 2016-02-18 18:12:33 +00:00
Paul Chote
24e9294741 Tidy ModData/ModFiles usage in utility commands. 2016-02-18 18:12:33 +00:00
Paul Chote
edf59b159f Small tidy in AssetBrowserLogic. 2016-02-18 18:12:32 +00:00
Paul Chote
a4337648e1 Use IReadOnlyFileSystem in MissionBrowserLogic. 2016-02-18 18:12:32 +00:00
Paul Chote
a0141318d5 Pass FileSystem in to InstallUtils. 2016-02-18 18:12:32 +00:00
Paul Chote
9341055f50 Use IReadOnlyFileSystem in UI code. 2016-02-18 18:12:31 +00:00
Paul Chote
b347fade71 Use IReadOnlyFileSystem in artwork loaders. 2016-02-18 18:12:31 +00:00
reaperrr
4d3a4a32b9 Merge pull request #10750 from obrakmann/drop-invalid-target
Fixed not dropping targets that are out of range if the attacker cannot move
2016-02-18 17:02:48 +01:00
Oliver Brakmann
426bf0d975 Merge pull request #10731 from RoosterDragon/fuzzy-singletons
Create singletons for AttackOrFleeFuzzy rulesets
2016-02-17 21:25:03 +01:00
Oliver Brakmann
b28d03049b Merge pull request #10728 from Codes4Fun/bleed
Fixed domain index updates for bridges
2016-02-17 20:46:23 +01:00
Oliver Brakmann
5866164c40 Merge pull request #10353 from Mailaender/resize-map
Added a resize map command
2016-02-15 21:10:39 +01:00
Matthias Mailänder
3a8d28e508 Check for out of bounds map actors and remove them if so. 2016-02-15 08:49:04 +01:00
Paul Chote
102880c80f Use the virtual filesystem to resolve MapFolder paths. 2016-02-15 00:44:36 +00:00
RoosterDragon
3a99111a42 Improve Util.Shuffle.
Reduce algorithmic complexity from O(n^2) to O(n).
2016-02-14 22:22:00 +00:00
Oliver Brakmann
fe25b9501b Merge pull request #10723 from abcdefg30/nukeHardcode
Unhardcode the palette the missile weapon of the NukePower uses
2016-02-14 22:43:38 +01:00
abcdefg30
b27950b517 Unhardcode the palette the missile weapon of the NukePower uses 2016-02-14 22:32:53 +01:00
Oliver Brakmann
ce62e456d7 Fix TD gunboat attack behaviour 2016-02-14 21:28:50 +01:00
teees
dc6d31cec8 Fix turreted immovable actors not dropping targets that are out of range 2016-02-14 21:28:50 +01:00
teees
e95cb7540d Fix immovable actors not dropping targets that are out of range 2016-02-14 21:28:50 +01:00
Zimmermann Gyula
f37e59e116 Do not render trails under fog by default.
Exposed a boolean for rendering a SpriteEffect under fog. Exposed a setting in LeavesTrails for this boolean, defaulting to false.
2016-02-14 18:11:43 +01:00
Matthias Mailänder
284e6ea061 Add a resize map command. 2016-02-13 21:56:51 +01:00
Oliver Brakmann
4c1322b4cd Merge pull request #10740 from reaperrr/fix-missile-nre
Fix Missile projectile crashing with NRE if it has no Image
2016-02-13 21:25:50 +01:00
Oliver Brakmann
7f5143bf46 Merge pull request #10746 from Phrohdoh/armament-yaml-excpt
Add an explicit YamlException to ArmamentInfo
2016-02-13 19:07:42 +01:00
Taryn Hill
4f798ede3c Add an explicit YamlException to ArmamentInfo
Throw a more descriptive exception when the current weapon ruleset
doesn't contain an entry for the referenced weapon.
2016-02-13 09:15:16 -06:00
Matthias Mailänder
00ecea03cb Require AircraftInfo for activity FallToEarth. 2016-02-13 14:24:19 +01:00
reaperrr
8729f39154 Fix Missile projectile crashing with NRE if it has no Image 2016-02-13 01:06:22 +01:00
Oliver Brakmann
613854de91 Merge pull request #10632 from reaperrr/cleanup-harv
Improve Harvester-related code
2016-02-12 22:03:51 +01:00
Oliver Brakmann
6fa4b2bbda Fix missing 'Cancel' buttons on some confirmation prompts 2016-02-12 16:48:59 +01:00
RoosterDragon
3b480ea4bb Create singletons for AttackOrFleeFuzzy rulesets.
This avoids the cost of recreating the engines and rules for every AI and AI squad.
2016-02-10 20:17:27 +00:00
Codes4Fun
c9ed97524f Fix for 7539.
When the bridge damage state changes, the domain cells of the bridge
would pull in the first neighbors domain which may be untraversable.
This change only pulls the domain of traversable neighbor tiles.
2016-02-09 14:38:16 -08:00
Oliver Brakmann
6093398de3 Merge pull request #10543 from whinis/RestartSkirmish
Restart skirmish matches
2016-02-09 20:42:02 +01:00
Paul Chote
34910cd128 Move map format upgrades to an explicit upgrade rule. 2016-02-08 18:53:28 +00:00
Paul Chote
e4867ad18a Clean up GetMapHash lint rule. 2016-02-08 18:51:58 +00:00
Oliver Brakmann
5d88b7fae2 Merge pull request #10716 from Mailaender/all-assets
Re-enabled All Packages which seems to be fast enough now.
2016-02-07 21:10:31 +01:00
Matthias Mailänder
aec74d8f7f Only list packages with viewable contents. 2016-02-07 20:24:44 +01:00
Matthias Mailänder
f87a4bf16f Default to the all packages instead of the first. 2016-02-07 20:24:44 +01:00
Matthias Mailänder
5e0a89fa30 Re-enabled All Packages which seems to be fast enough now. 2016-02-07 20:24:42 +01:00
Paul Chote
f8992991f5 Load the load screen images from the virtual filesystem. 2016-02-07 17:57:05 +00:00
Paul Chote
79b039d8b9 Change ILoadScreen to take a ModData instance. 2016-02-07 17:57:05 +00:00
Paul Chote
62402e0e2e Unify static mod metadata collections. 2016-02-07 16:28:04 +00:00
Whinis
f2260174f0 Changes to allow restarting of skirmish match 2016-02-07 10:22:54 -05:00
Oliver Brakmann
1df728adad Merge pull request #10697 from pchote/map-cleanup-part-2
Remove Map references from MapPreview.
2016-02-07 15:47:37 +01:00