Curtis Shmyr
5eadd26f66
Set lobby bool display values to start uppercase
2020-10-12 22:05:35 +02:00
Curtis Shmyr
c0cbca26ea
Use lobby option display values when clients join
2020-10-12 22:05:35 +02:00
RoosterDragon
8fb65fd9bf
Use string pooling in MiniYaml to de-duplicate strings in memory.
...
These config files often contain many repeated strings which result in different string references in memory. By using a pool, we can detect when the strings are equal and reuse an existing reference as strings are immutable.
The FromLines will now use a pool to de-duplicate strings for a single call. By allowing a pool to be provided as a parameter, we can reuse even more strings. The MapCache defines such a pool so that strings are reused across all maps in the cache for even more savings.
2020-10-12 21:57:08 +02:00
RoosterDragon
9072d645fd
Use TrimExcess to shrink lists used by MiniYaml after loading
2020-10-12 21:57:08 +02:00
Paul Chote
597b8b1caa
Hide legacy GL support behind a feature flag.
2020-10-12 12:24:22 +02:00
Paul Chote
2c0d512727
Package and default to GLES via ANGLE on windows.
2020-10-12 12:24:22 +02:00
Paul Chote
87c5cc96ad
Add an "Automatic" GL profile.
2020-10-12 12:24:22 +02:00
Paul Chote
fc844cfa6d
Print the GL_RENDERER string to stdout on engine start.
2020-10-12 12:24:22 +02:00
Paul Chote
1ab1c30e39
Remove glGetTexImage/glBindFragDataLocation on GLES.
...
These functions are not available in GLES3.
2020-10-12 12:24:22 +02:00
reaperrr
f2a1a497c7
Fix Pillbox damage
...
These were overlooked during the RA target type
refactor.
2020-10-12 11:56:55 +02:00
Paul Chote
1ddbe50b3f
Add inline node inclusion support to mod.yaml.
2020-10-11 01:42:59 +02:00
Paul Chote
dd7b8b24af
Use tileset ID in sequences instead of the TileSet object.
2020-10-11 01:23:15 +02:00
abcdefg30
6dcb701d1d
Fix a crash in AIUtils
2020-10-10 17:54:55 +02:00
reaperrr
f67b7ad837
Cache IResolveOrder traits on Actor
...
Avoids looking up all of them each time
an actor is given an order.
2020-10-10 13:59:40 +01:00
reaperrr
a4a409f39b
Pass world directly to UnitOrders.ResolveOrder
...
Avoids order.Subject.World look-ups.
Also removes validOrders parameter,
we can get that directly from World now.
2020-10-10 13:59:40 +01:00
reaperrr
904a5f60d1
Cache IOrderValidator traits on World
2020-10-10 13:59:40 +01:00
dnqbob
ca8341d432
Avoid WaterCheck crash in base builder
2020-10-10 11:44:43 +02:00
Clément Bœsch
815bbc6ee8
Save disconnect frame in the GameInformation
...
This information is useful to infer a winner in case the winstate is
unknown.
2020-10-10 01:17:39 +02:00
Clément Bœsch
ca8870a5cf
Server: handle wins/losses using Sync hash
...
Signed-off-by: Paul Chote <pchote@users.noreply.github.com >
2020-10-10 01:17:39 +02:00
Clément Bœsch
e5da58e2b4
Server: add basic replay recording
...
Signed-off-by: Paul Chote <pchote@users.noreply.github.com >
2020-10-10 01:17:39 +02:00
Paul Chote
dd18829def
Traits: add ICreatePlayersInfo
...
Signed-off-by: Clément Bœsch <u@pkh.me >
2020-10-10 01:17:39 +02:00
Paul Chote
41814a881d
Player: move player name resolve in a dedicated function
...
Signed-off-by: Paul Chote <pchote@users.noreply.github.com >
2020-10-10 01:17:39 +02:00
Clément Bœsch
d708f46d50
Orders: make SyncHash packet size check more accurate
2020-10-10 01:17:39 +02:00
Clément Bœsch
11f57b2b26
Protocol: add defeat state bitfields to Sync packets
...
Signed-off-by: Paul Chote <pchote@users.noreply.github.com >
2020-10-10 01:17:39 +02:00
Paul Chote
60df247416
Streamline SpawnOccupant management.
2020-10-09 12:19:19 +02:00
Trevor Nichols
6f32196f89
Support List<> for FieldSaver/FieldLoader
2020-10-07 22:04:10 +02:00
abcdefg30
d647aab7fe
Fix d2k conyards granting an unconsumed "auto-concrete" condition
2020-10-06 23:25:12 +01:00
Mustafa Alperen Seki
be88c33399
Add a lobby option to disable Concrete in D2k.
2020-10-06 13:29:33 +02:00
Mustafa Alperen Seki
7372da150a
Make LaysTerrain Conditional.
2020-10-06 13:29:33 +02:00
Mustafa Alperen Seki
3ec3eac160
Don't StartOnThreshold if the trait is disabled.
2020-10-06 13:29:33 +02:00
reaperrr
0990caefd7
Fix turreted defenses always realigning
...
This looks weird, doesn't match the originals
and makes map-defined custom facings useless.
2020-10-06 12:53:11 +02:00
Paul Chote
fc1786e243
Fix turrets immediately realigning on actor creation.
2020-10-05 15:13:48 +02:00
Matthias Mailänder
7e61199458
Fix a link in the Lua documentation.
2020-10-05 10:11:30 +02:00
Paul Chote
0672553a07
Lock Server.LobbyInfo to prevent races with callback threads.
2020-10-04 20:31:07 +02:00
reaperrr
8d1f72c104
Fix for SquadManagerBotModule
...
Aircraft and ships are immediately assigned a squad,
so adding them to `unitsHangingAroundTheBase` is bogus.
2020-10-04 00:31:35 +01:00
reaperrr
6337067032
Clean up property names + defaults of smudge smoke
2020-10-02 23:46:48 +02:00
reaperrr
7395a3ed2d
Use cached world instead of query in SmudgeLayer
2020-10-02 23:46:48 +02:00
abcdefg30
e4e1878a4b
Remove an used TerrainTemplateInfo constructor
2020-10-02 12:09:42 +02:00
abcdefg30
cc8908d7eb
Make ProductionParadrop and ProductionAirdrop refund undelivered actors
2020-10-02 11:51:48 +02:00
abcdefg30
0dac4520ad
Add a 'refundableValue' parameter to 'Produce'
2020-10-02 11:51:48 +02:00
Paul Chote
cc2e369475
Fix corrupted final frame in VQA playback.
2020-10-02 11:37:00 +02:00
tovl
92189e4b50
Let docking angle be determined by the host building.
2020-10-02 11:28:14 +02:00
abcdefg30
2e8c85ff0b
Add support for querying the Passengers of an actor via Lua
2020-10-02 11:24:52 +02:00
abcdefg30
798aff1140
Fix ValidStances of RevealsMap not working
2020-10-02 11:17:03 +02:00
Niklas Holma
8596ce00cc
Add a text field next to the map editor actor initializer sliders.
2020-09-28 15:46:19 +02:00
Matthias Mailänder
b5613acad8
Don't put absolute paths of developer machines in there.
2020-09-28 12:47:27 +02:00
Matthias Mailänder
7e992d44c8
Fix a crash when refineries share a cell.
2020-09-28 12:45:20 +02:00
Matthias Mailänder
7a7393b9f0
cachedWidth is never assigned.
2020-09-27 22:56:41 +01:00
Matthias Mailänder
f13e6fb76d
Fix Analyzer warning V3008 variable is assigned values twice.
2020-09-27 22:56:41 +01:00
Mustafa Alperen Seki
3e83346915
Add DamageTypes to SoundOnDamageTransition.
2020-09-27 21:22:52 +01:00