Andre Mohren
0ea6a5626f
Do not enforce mods to use stylecop.
2021-08-20 20:45:31 +02:00
Paul Chote
864cc4becc
Fix weather particle physics.
...
The trait documentation specified that the speed
and offset values are px/tick, but they have actually
always been treated as px/render.
Fix the update logic and rescale the map definitions
to account for the fixed behaviour.
2021-08-20 20:38:37 +02:00
Paul Chote
d2257f9784
Fix macOS compat build dock icon, app name, dark mode support.
2021-08-20 20:34:23 +02:00
Paul Chote
f70457a66f
Remove unused symbol lookups.
2021-08-20 20:34:23 +02:00
Paul Chote
278a4acf96
Fix Engine.LaunchPath for macOS compatibility builds.
2021-08-20 20:34:23 +02:00
Paul Chote
be3412ee74
Fix depth offsets for sprite with non-zero ZRamp.
...
Bibs and other effects that should be drawn at ground level
can now simply define ZRamp: 1, Offset: <X>,<Y>,1, avoiding the
need to account for the Y offset or internal sprite offsets.
2021-08-20 20:17:55 +02:00
Paul Chote
27f9f35efb
Fix incorrect world height to screen depth conversion.
2021-08-20 20:17:55 +02:00
Paul Chote
ef1aee5e95
Fix and document the depth buffer calculations.
2021-08-20 20:17:55 +02:00
Paul Chote
962d6496bd
Overhaul depth preview rendering:
...
* Replace Jet color map with grayscale
* Added Shift + \ hotkey to toggle preview
* Added Shift + [, Shift + ] hotkeys to change contrast
* Added Shift + ;, Shift + ' hotkeys to change offset
2021-08-20 20:17:55 +02:00
Paul Chote
91c5f2cabe
Add Cityscape map.
2021-08-20 20:17:55 +02:00
Paul Chote
a9c6430924
Fix TS map importer:
...
- Fix infantry subcells and facing
- Import sandbags/walls.
2021-08-20 20:17:55 +02:00
Vapre
2ea2815529
CallFunc, avoid null check.
2021-08-20 12:31:04 +02:00
Paul Chote
5eb4c6a0bb
Set _KDE_NET_WM_DESKTOP_FILE x11 window property.
...
This explicitly tells KDE to associate the OpenRA window with
the integrated appimage desktop file, allowing it to use the
correct resolution icon for the task switcher.
2021-08-16 20:18:00 +02:00
abcdefg30
4145723ef0
Remove Sdl2HardwareCursorException
2021-08-14 17:11:34 +01:00
abcdefg30
b8ba1b36fe
Don't throw an exception when creating a hardware cursor fails
2021-08-14 17:11:34 +01:00
Matthias Mailänder
f63e15f5de
Fix igloos being labeled as haystacks in-game.
2021-08-11 19:09:20 -05:00
MustaphaTR
2f44b016b0
Add a condition per tileset.
2021-08-11 19:09:20 -05:00
Matthias Mailänder
b7bba5d55a
Restrict sonar pulse to unshrouded water.
2021-08-11 22:46:19 +02:00
teinarss
fba4c5049c
Replace Thread.CurrentThread.ManagedThreadId with Environment.CurrentManagedThreadId
2021-08-10 23:02:18 +02:00
Vapre
573a6cf645
FindAndDeliverResources, trivial optimizations.
2021-08-10 23:59:43 +03:00
reaperrr
eff7e803bf
Minor MoveOrderTargeter optimization
...
IsTraitPaused should be cheaper than Map.Contains,
so let's perform the cheaper check first.
2021-08-10 18:26:05 +02:00
reaperrr
58f55b808a
Add comment in Mobile
...
This isn't obvious to people not entirely familiar
with the code.
2021-08-10 18:26:05 +02:00
reaperrr
777a927c04
Cache unchanging values for MoveWithinRange
...
In theory, CandidateMovementCells could be called
every tick, so let's avoid creating the vars
every time.
2021-08-10 18:26:05 +02:00
Matthias Mailänder
0249116206
Rename instant to fast charge to avoid tab complete clash.
2021-08-09 13:17:47 -05:00
Ivaylo Draganov
2d0e7040db
Add separate chat panel for spectators and players
...
Forces the chat and performance panels to be re-initialized when a
player transitions to spectators. This ensures that spectators don't
get to see faction themed widgets.
2021-08-08 12:50:31 +01:00
Paul Chote
edd3a2eb75
Fix ingame menu tab display.
2021-08-07 13:12:56 -05:00
Paul Chote
29f4f5a0cd
Remove redundant ts ingame-info.yaml.
2021-08-07 13:12:56 -05:00
abcdefg30
ba7e1319ac
Remove DisableWindowsRenderThread and use threaded renderering for non windowed mode
2021-08-07 14:49:09 +01:00
Ivaylo Draganov
7a1169744e
Add tooltips to map name and author in map chooser
2021-08-05 18:36:50 +02:00
abcdefg30
453d59ae16
Defer rollover checks while generating selection decorations
2021-08-05 01:43:35 +03:00
Vapre
35e9fade06
PathGraph, skip closed cells early. Fix #19579 .
2021-08-04 20:02:12 +02:00
Paul Chote
8fc042fed1
Fix style nits in OrderEffects.
2021-08-02 21:50:32 +02:00
Paul Chote
2c5fce5e3c
Add missing TraitLocation to OrderEffects.
2021-08-02 21:50:32 +02:00
Paul Chote
7a93ff3258
Add support for TS-style tinted target flashes.
2021-08-02 21:50:32 +02:00
Paul Chote
9291263609
Fix indentation in OrderEffects.
2021-08-02 21:50:32 +02:00
Matthias Mailänder
f4a5878a53
Fix veinholes on Sunstroke.
2021-08-01 14:56:53 -05:00
Paul Chote
1ecb3bf99a
Don't add empty Translations nodes to maps.
2021-07-31 13:14:46 +02:00
reaperrr
c88994a0dd
Fix unarmed civilians being selected as combat units
2021-07-30 09:03:29 -05:00
fruehstueck
29b0999da3
Add GDI 8b
2021-07-30 09:03:29 -05:00
Paul Chote
b08117dc93
Don't report "Primary Building Selected" when nothing changes.
2021-07-29 16:19:53 +02:00
Paul Chote
99322cee8f
Set the closest production to Primary when force-targeting rallypoints.
2021-07-29 16:19:53 +02:00
Vapre
e201e410f4
PathGraph, skip closed cells early.
...
In path finding GetConnections considers connections to already closed cells and calculates the cost for them. The caller afterwards ignores them. These are 15% of all connections.
2021-07-27 14:49:22 +02:00
Paul Chote
24f64ae1a8
Fix an edge case where the wrong sheet may be mapped to a depth sprite.
2021-07-25 19:20:19 +02:00
Ivaylo Draganov
1f3f489328
Show map preview tooltip only if needed
2021-07-25 00:25:08 +01:00
Ivaylo Draganov
31056d4253
Add tooltip to overflowing map title in server browser
2021-07-25 00:25:08 +01:00
Paul Chote
70892a6661
Change DrawSprite calls to provide scales instead of sizes.
...
This allows us to remove a hacky workaround for calculating
depth offsets when sprites have size.Z == 0.
2021-07-25 00:32:17 +02:00
Paul Chote
8e94e1d5ec
Rework WidgetUtil sprite rendering helpers.
2021-07-25 00:32:17 +02:00
Vapre
2e6f444285
Map.Contains check grid type once.
2021-07-24 15:34:56 +02:00
abcdefg30
dcaa658678
Remove an outdated reference to ConditionManager
2021-07-23 11:04:07 -05:00
Hang
249bc4abc8
Fix the hide-map sequence of the d2k crate-effects
...
Frame 4218 belongs to explosion/nuke sequence, which should not part of crate-effects/hide-map sequence
2021-07-22 23:13:16 +02:00