RoosterDragon
0c32fca6c0
Fix slow saving of map previews.
...
Avoid quadratic behaviour when searching through actors by creating a dictionary lookup outside the loop.
2023-07-01 12:48:32 +02:00
IceReaper
56b5ace109
WSA use a Framerate of 15, source: FFMPEG.
2023-06-26 19:49:51 +02:00
IceReaper
5572650da2
Video FrameRate is now taken into account when video has no audio.
2023-06-26 19:49:51 +02:00
IceReaper
41669d246f
Videos no longer use more vram then required.
2023-06-26 19:49:51 +02:00
abcdefg30
49c837e7d0
Fix \r\n-style line endings not being properly handled for script errors
2023-06-26 19:36:47 +02:00
RoosterDragon
bc5e7d1497
Compress all pngs within oramap files.
...
Reduces size used for oramap files from 2,774,405 bytes to 2,614,332 bytes in total. The smaller files also improve loading times as the zlib decoder has less bytes to schlep through.
The PNG decoder shipped with OpenRA only supports a bit depth of 8 for images with a palette, so must must ensure that other depths (1,2 or 4) are not used.
zopfilpng is used for compression with the following command line:
'zopflipng.exe --keepcolortype -y -m image.png image.png'
The keepcolortype flag ensures the bit depth is not changed.
The oramap files were updated by:
- Saving as a folder, unpacking the data in loose files.
- Compressing the png files using the command above.
- Saving back as an oramap, except instead of regenerating the map preview on save we save the existing version on disk.
2023-06-26 19:28:06 +02:00
RoosterDragon
78bef8a98f
Compress all pngs.
...
Reduces size used for png files from 19,034,446 bytes to 13,305,798 bytes in total. The smaller files also improve loading times as the zlib decoder has less bytes to schlep through.
The PNG decoder shipped with OpenRA only supports a bit depth of 8 for images with a palette, so must must ensure that other depths (1,2 or 4) are not used.
zopfilpng is used for compression with the following command line:
'zopflipng.exe --keepcolortype -y -m image.png image.png'
The keepcolortype flag ensures the bit depth is not changed.
2023-06-26 19:28:06 +02:00
RoosterDragon
4f3d8f4caa
Fix Png parsing.
...
A regression from 06df75ffee causes this parsing to fail depending on how the image was compressed.
2023-06-26 19:28:06 +02:00
Paul Chote
0369f7516d
Work around Gnome 44 titlebar bug.
2023-06-26 19:21:51 +02:00
Gustas
3b0415678c
RA Naval balance
2023-06-26 19:13:41 +02:00
Gustas
69867b6c06
Fix EMP'ed units turning
2023-06-21 20:55:52 +02:00
RoosterDragon
231bf01f18
Fix CA1854
2023-06-20 17:57:40 +02:00
RoosterDragon
56fe08cb00
Disable CA1845
2023-06-20 17:57:40 +02:00
RoosterDragon
f752e04b03
Fix CA1816
2023-06-20 17:57:40 +02:00
RoosterDragon
a50e72f68d
Fix CA1802
2023-06-20 17:57:40 +02:00
RoosterDragon
0958197df2
Fix CA1052
2023-06-20 17:57:40 +02:00
RoosterDragon
f336a956cf
Fix CA1012
2023-06-20 17:57:40 +02:00
darkademic
19fa03435b
Only consider non-paused armaments (if any exist) when determining min/max range.
2023-06-20 16:46:21 +02:00
RoosterDragon
fa65e7fd3f
Bump Linguini.Bundle to 0.5.0.
...
This version contains performance improvements for the parser, improving the loading time of translations.
2023-06-15 17:48:37 +02:00
RoosterDragon
f794cf69f9
In TypeDictionary.TrimExcess, also TrimExcess on the internal data dictionary size.
...
As TypeDictionary instances tend to live a long time without edits after being initially populated, this will reduce their long term memory footprint.
2023-06-13 23:52:44 +02:00
RoosterDragon
366dc5383c
In HierarchicalPathFinder.BuildGrid, presize and reuse accessible cell set.
...
Most cells are accessible, so presizing to the full size of the grid is sensible to avoid allocations to resize as it is filled up. The set can also be reused across all layers to avoid allocating it many times.
2023-06-13 23:52:44 +02:00
michaeldgg2
fd2b14f464
DrawLineToTarget: made palette for rendering sprites customizable (and thus optional too)
2023-06-12 21:10:52 +03:00
Matthias Mailänder
590976a8e7
Add support for Wayland.
2023-06-12 19:57:35 +02:00
Paul Chote
bdbb651b98
Remove unused sequences and an awkward Combine.
2023-06-11 22:04:43 +02:00
Paul Chote
703618be19
Remove obsolete x64 and x64process sysinfo columns.
2023-06-11 13:18:49 +02:00
Paul Chote
1f37728ecf
Return proper sysinfo OS names for Linux/macOS.
2023-06-11 13:18:49 +02:00
penev92
d955efff14
Updated configure-system-libraries for new OpenAL
2023-06-11 10:41:02 +02:00
penev92
3fdee06dc7
Updated other referenced NuGet packages
2023-06-11 10:41:02 +02:00
penev92
c0cd7259b3
Updated native dependencies NuGet packages
2023-06-11 10:41:02 +02:00
Matthias Mailänder
c31f2abfc9
Add sanity checks to the Lua script trait.
2023-06-11 11:03:38 +03:00
RoosterDragon
06df75ffee
Improve PNG parsing performance.
...
Switch on the filter once per row rather than once per byte. This allows each row to be processed with a much tighter loop.
2023-06-10 16:20:02 +02:00
Matthias Mailänder
855e839b77
Try to fix chocolatey.
2023-06-09 19:25:36 +02:00
Gustas
06437df9b0
Fix CA1852
2023-06-06 14:13:04 +03:00
RoosterDragon
f4af5c1764
Fix CA1852
2023-06-06 11:51:47 +03:00
RoosterDragon
277699cbd5
Fix CA1822
2023-06-06 11:51:47 +03:00
Gustas
e4cac1fffc
Add more varied pre-selected colors to player colors palette
2023-06-05 13:16:26 +02:00
Matthias Mailänder
e164e48aae
Fix invalid integer expression syntax.
2023-06-04 21:29:15 +03:00
Matthias Mailänder
5eec9d29cb
Add a lint check for invalid integer expression syntax.
2023-06-04 21:29:15 +03:00
Matthias Mailänder
94abd8a928
Revert "Revert "Replace legacy Evaluator with IntegerExpressions.""
...
This reverts commit 4f16b0d464 .
2023-06-04 21:29:15 +03:00
JovialFeline
b18c2fe855
Add Mousetrap (scu33ea).
2023-06-03 21:45:18 +02:00
Gustas
02a7ff87db
Fix MoveAdjacent activities cancelling queued activities
2023-06-03 13:43:44 +02:00
Vapre
7c0f6ead3a
ActorMap, avoid IPositionable trait lookup.
2023-06-03 13:41:14 +02:00
Vapre
d72b1ffd49
ActorMap, do not look up influence node up to three times in cell layer.
2023-06-03 13:06:38 +02:00
Gustas
c82be175e1
Add RemoveNegativeSequenceLength update rule
2023-06-02 11:59:22 +02:00
michaeldgg2
dac35a60ad
WithDecoration: fixed crash when Palette is null
2023-06-02 11:49:59 +02:00
abcdefg30
ee02af3605
Don't play low power notifications in the beginning of twist-of-fate
2023-06-01 20:42:39 +03:00
abcdefg30
74ed202b29
Support enabling and disabling the low power notification via Lua
2023-06-01 20:42:39 +03:00
RoosterDragon
300281695a
Deserialize mod rules only once when loading all maps.
...
This avoids loading, parsing and merging YAML rules for the mod during loading of each individual map. This saves significant time resolving custom rules on each map loaded.
2023-06-01 12:59:53 +02:00
Matthias Mailänder
de22556153
Move unit testing into the make script.
2023-06-01 12:43:10 +02:00
Matthias Mailänder
5bcb1a678c
Fix fluent plural forms.
2023-06-01 12:43:10 +02:00