Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.
126 matches across 10 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | OpenRA.Mods.Cnc/Traits/World/JumpjetActorLayer.cs | 43 | terrainIndex = self.World.Map.Rules.TerrainInfo.GetTerrainIndex(info.TerrainType); |
| CRITICAL | OpenRA.Mods.Cnc/Traits/SupportPowers/DropPodsPower.cs | 98 | if (!self.World.Map.Rules.Actors.TryGetValue(unitType, out var actorInfo)) |
| CRITICAL | …A.Mods.Common/Scripting/Properties/PlayerProperties.cs | 93 | if (!Context.World.Map.Rules.Actors.TryGetValue(type, out var ai)) |
| CRITICAL | …A.Mods.Common/Scripting/Properties/PlayerProperties.cs | 108 | if (!Context.World.Map.Rules.Actors.ContainsKey(type)) |
| CRITICAL | …ds.Common/Scripting/Properties/ProductionProperties.cs | 41 | if (!Self.World.Map.Rules.Actors.TryGetValue(actorType, out var actorInfo)) |
| CRITICAL | OpenRA.Mods.Common/Scripting/Global/ActorGlobal.cs | 125 | if (!Context.World.Map.Rules.Actors.TryGetValue(type, out var ai)) |
| CRITICAL | OpenRA.Mods.Common/Scripting/Global/ActorGlobal.cs | 146 | var pqueue = Context.World.Map.Rules.Actors.Values.SelectMany(a => a.TraitInfos<ProductionQueueInfo>() |
| CRITICAL | OpenRA.Mods.Common/Scripting/Global/ActorGlobal.cs | 156 | var pqueue = Context.World.Map.Rules.Actors.Values.SelectMany(a => a.TraitInfos<ProductionQueueInfo>() |
| CRITICAL | OpenRA.Mods.Common/Scripting/Global/ActorGlobal.cs | 172 | if (!Context.World.Map.Rules.Actors.TryGetValue(type, out var ai)) |
| CRITICAL | OpenRA.Mods.Common/Scripting/Global/ActorGlobal.cs | 182 | if (!Context.World.Map.Rules.Actors.TryGetValue(type, out var ai)) |
| CRITICAL | …A.Mods.Common/Scripting/Global/ReinforcementsGlobal.cs | 35 | if (!Context.World.Map.Rules.Actors.TryGetValue(actorType, out var ai)) |
| CRITICAL | OpenRA.Mods.Common/ServerTraits/LobbyCommands.cs | 537 | .Concat(server.Map.Players.Players.Values.Select(p => p.Color)).ToList(); |
| CRITICAL | OpenRA.Mods.Common/ServerTraits/LobbyCommands.cs | 1400 | .Concat(server.Map.Players.Players.Values.Select(p => p.Color)).ToList(); |
| CRITICAL | …enRA.Mods.Common/Traits/Buildings/GroundLevelBridge.cs | 79 | var terrainIndex = self.World.Map.Rules.TerrainInfo.GetTerrainIndex(Info.TerrainType); |
| CRITICAL | …nRA.Mods.Common/Traits/World/SubterraneanActorLayer.cs | 42 | terrainIndex = self.World.Map.Rules.TerrainInfo.GetTerrainIndex(info.TerrainType); |
| CRITICAL | …RA.Mods.Common/Traits/BotModules/HarvesterBotModule.cs | 387 | var minCellCost = harv.Mobile.Locomotor.Info.TerrainSpeeds.Values.Min(ti => ti.Cost); |
| CRITICAL | ….Mods.Common/Traits/SupportPowers/ParatroopersPower.cs | 96 | if (!self.World.Map.Rules.Actors.TryGetValue(utLower, out var unitType)) |
| CRITICAL | …Commands/Documentation/ExtractZeroBraneStudioLuaAPI.cs | 132 | Console.WriteLine($" version = \"{utility.ModData.Manifest.Metadata.Version.Split('-').LastOrDefault()}\","); |
| CRITICAL | OpenRA.Mods.Common/Widgets/ProductionTabsWidget.cs | 115 | Groups = world.Map.Rules.Actors.Values.SelectMany(a => a.TraitInfos<ProductionQueueInfo>()) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packaging/functions.sh | 1 | #!/bin/sh |
| LOW | packaging/functions.sh | 41 | |
| LOW | packaging/functions.sh | 81 | cp -r "${SRC_PATH}/mods/${MOD_ID}-content" "${DEST_PATH}/mods/" |
| LOW | packaging/functions.sh | 121 | |
| LOW | packaging/functions.sh | 141 | set -o errexit || exit $? |
| LOW | packaging/macos/apphost.c | 1 | /* |
| LOW | packaging/macos/buildpackage.sh | 1 | #!/bin/bash |
| LOW | OpenRA.Mods.Common/WorldExtensions.cs | 201 | |
| LOW | OpenRA.Mods.Common/TraitsInterfaces.cs | 221 | DockClientManager DockClientManager { get; } |
| LOW | OpenRA.Mods.Common/TraitsInterfaces.cs | 861 | /// An actor can only be blocked by impassable terrain. |
| LOW | OpenRA.Mods.Common/TraitsInterfaces.cs | 881 | /// An actor can never be blocked by an allied actor capable of moving, even if the other actor is stationary. |
| LOW | OpenRA.Mods.Common/TraitsInterfaces.cs | 961 | /// Returned path is *reversed* and given target to source. |
| LOW | OpenRA.Mods.Common/Traits/World/PathFinder.cs | 81 | /// Returned path is *reversed* and given target to source. |
| LOW | OpenRA.Mods.Common/Traits/World/PathFinder.cs | 101 | bool laneBias = true) |
| LOW | OpenRA.Mods.Common/Traits/World/PathFinder.cs | 241 | bool laneBias = true) |
| LOW | OpenRA.Mods.Common/Traits/World/PathFinder.cs | 261 | /// </remarks> |
| LOW | OpenRA.Mods.Common/Pathfinder/HierarchicalPathFinder.cs | 21 | /// <summary> |
| LOW | OpenRA.Mods.Common/Pathfinder/HierarchicalPathFinder.cs | 41 | /// prioritize exploring nodes that lie closer to the target, rather than exploring nodes that take us away from |
| LOW | OpenRA.Mods.Common/Pathfinder/HierarchicalPathFinder.cs | 61 | /// grid. Every region will be represented by one node in the abstract graph (an abstract node, for short).</para> |
| LOW | OpenRA.Mods.Common/Pathfinder/HierarchicalPathFinder.cs | 81 | /// <see cref="Locomotor.CanMoveFreelyInto(Actor, CPos, SubCell, BlockedByActor, Actor, bool)"/>. It will be aware |
| LOW | OpenRA.Mods.Common/Pathfinder/HierarchicalPathFinder.cs | 121 | /// A lookup will fail, rather than return an empty list. |
| LOW | OpenRA.Mods.Common/Pathfinder/HierarchicalPathFinder.cs | 641 | /// <para> |
| LOW | OpenRA.Mods.Common/Pathfinder/HierarchicalPathFinder.cs | 1221 | /// of the original node to provide a better cost estimate. |
| LOW | OpenRA.Mods.Common/Pathfinder/Grid.cs | 21 | /// <remarks> |
| LOW | OpenRA.Mods.Common/Pathfinder/PathSearch.cs | 121 | return search; |
| LOW | OpenRA.Mods.Common/Pathfinder/PathSearch.cs | 161 | } |
| LOW | OpenRA.Mods.Common/EditorBrushes/EditorBlit.cs | 141 | // - Its a sparse blit; and |
| LOW | OpenRA.Mods.Common/UpdateRules/UpdatePath.cs | 21 | // |
| LOW | OpenRA.Mods.Common/Activities/Enter.cs | 41 | moveCooldownHelper = new MoveCooldownHelper(self.World, move as Mobile) { RetryIfDestinationBlocked = true }; |
| LOW | …enRA.Mods.Common/Activities/Move/MoveCooldownHelper.cs | 1 | using OpenRA.Activities; |
| LOW | …enRA.Mods.Common/Activities/Move/MoveCooldownHelper.cs | 41 | /// <summary> |
| LOW | …/UtilityCommands/Documentation/DocumentationHelpers.cs | 141 | typesPerFile[filePath] = list = []; |
| LOW | OpenRA.Mods.Common/MapGenerator/MatrixUtils.cs | 41 | public enum GraphMode |
| LOW | OpenRA.Mods.Common/MapGenerator/MatrixUtils.cs | 301 | GraphMode mode = GraphMode.Identifier) |
| LOW | OpenRA.Mods.Common/MapGenerator/MatrixUtils.cs | 321 | /// filler should capture and manipulate any necessary input and output |
| LOW | OpenRA.Mods.Common/MapGenerator/MatrixUtils.cs | 421 | return output; |
| LOW | OpenRA.Mods.Common/MapGenerator/MatrixUtils.cs | 741 | |
| LOW | OpenRA.Mods.Common/MapGenerator/MatrixUtils.cs | 1041 | /// counter-clockwise (as defined in MapGenerator.Direction). |
| LOW | OpenRA.Mods.Common/MapGenerator/MatrixUtils.cs | 1121 | /// Trace the borders between true and false regions of an input matrix, returning an array |
| LOW | OpenRA.Mods.Common/MapGenerator/MatrixUtils.cs | 1261 | /// <para> |
| LOW | OpenRA.Mods.Common/MapGenerator/MatrixUtils.cs | 1361 | return changesAcc; |
| LOW | OpenRA.Mods.Common/MapGenerator/MatrixUtils.cs | 1621 | links[point] = 0; |
| LOW | OpenRA.Mods.Common/MapGenerator/MatrixUtils.cs | 1681 | while (i != startAt); |
| LOW | OpenRA.Mods.Common/MapGenerator/Direction.cs | 261 | return best; |
| LOW | OpenRA.Mods.Common/MapGenerator/Direction.cs | 281 | /// Supplying a zero-offset will throw. Assumes that CVec(1, 0) |
| LOW | OpenRA.Mods.Common/MapGenerator/Terraformer.cs | 821 | /// and then projects, places, and dezones for them. |
| LOW | OpenRA.Mods.Common/MapGenerator/Terraformer.cs | 881 | } |
| LOW | OpenRA.Mods.Common/MapGenerator/Terraformer.cs | 1121 | pattern[mpos] = uniformity + 1024 * pattern[mpos] / max; |
| LOW | OpenRA.Mods.Common/MapGenerator/Terraformer.cs | 1201 | var closestI = distances.IndexOf(furthest); |
| LOW | OpenRA.Mods.Common/MapGenerator/Terraformer.cs | 1221 | /// If greater than zero, sub-paths are only allowed to change over in straight sections |
| LOW | OpenRA.Mods.Common/MapGenerator/Terraformer.cs | 1641 | /// the result to the map. If tiling fails, returns null without modifying the map. |
| LOW | OpenRA.Mods.Common/MapGenerator/Terraformer.cs | 2221 | Map.Resources[cpos].Type, |
| LOW | OpenRA.Mods.Common/MapGenerator/Terraformer.cs | 2341 | |
| LOW | OpenRA.Mods.Common/MapGenerator/NoiseUtils.cs | 41 | /// <summary> |
| LOW | OpenRA.Mods.Common/MapGenerator/LatTiler.cs | 61 | |
| LOW | OpenRA.Mods.Common/MapGenerator/TilingPath.cs | 161 | } |
| LOW | OpenRA.Mods.Common/MapGenerator/TilingPath.cs | 181 | /// </summary> |
| LOW | OpenRA.Mods.Common/MapGenerator/TilingPath.cs | 201 | /// <summary> |
| LOW | OpenRA.Mods.Common/MapGenerator/TilingPath.cs | 321 | |
| LOW | OpenRA.Mods.Common/MapGenerator/TilingPath.cs | 341 | // There is a matrix for each possible connection type, and each matrix stores the |
| 25 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | mods/ts/chrome.yaml | 49 | # ---------------------------------------------------------------------- |
| MEDIUM | mods/ts/chrome.yaml | 51 | # ---------------------------------------------------------------------- |
| MEDIUM | mods/ts/chrome.yaml | 251 | # ---------------------------------------------------------------------- |
| MEDIUM | mods/ts/chrome.yaml | 253 | # ---------------------------------------------------------------------- |
| MEDIUM | mods/ts/chrome.yaml | 454 | # ---------------------------------------------------------------------- |
| MEDIUM | mods/ts/chrome.yaml | 456 | # ---------------------------------------------------------------------- |
| MEDIUM | mods/ts/chrome.yaml | 521 | # ---------------------------------------------------------------------- |
| MEDIUM | mods/ts/chrome.yaml | 523 | # ---------------------------------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | packaging/format-docs.py | 3 | # This file is part of OpenRA, which is free software. It is made |
| MEDIUM | packaging/macos/buildpackage.sh | 242 | # Create a temporary read-only dmg for submission (notarization service rejects read/write images) |
| MEDIUM | packaging/windows/fixlauncher.py | 2 | # This file is part of OpenRA, which is free software. It is made |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | OpenRA.Mods.D2k/UtilityCommands/D2kMapImporter.cs | 511 | // Just get a template that contains a tile with the same ID as requested |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …s/cnc/maps/the-tiberium-strain/the-tiberium-strain.lua | 228 | local function ReinforceVillageFlameTank() |
| LOW | …s/cnc/maps/the-tiberium-strain/the-tiberium-strain.lua | 283 | local function ReinforceVillageHelicopter() |
| LOW | mods/ra/maps/proving-grounds/proving-grounds.lua | 495 | local function ReinforceCrateParatroopers() |
| LOW | mods/ra/maps/allies-07/allies07.lua | 66 | local function CompleteObjectiveWithSpeech(objective, speech, markDelay, speechDelay) |
| LOW | mods/ra/maps/allies-07/allies07.lua | 87 | local function InitialAlliedReinforcements() |
| LOW | mods/ra/maps/allies-07/allies07.lua | 317 | local function ClearSubActivityCompleted() |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | launch-dedicated.sh | 4 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | launch-dedicated.sh | 7 | # Read the file to see which settings you can override |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | OpenRA.Game/Server/OrderBuffer.cs | 99 | // We need to check if we have a connection slower than our baseline and then use that as our offset. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packaging/format-docs.py | 29 |