Oliver Brakmann
30cf8c204b
Fix desync when removing smudges
...
The cause of the crash was that the `RemoveSmudge` method only invokes `SharedRandom` in the else-branch of an if condition that is only taken when the `RenderPlayer` has fog visibility on the location (locations the `RenderPlayer` can see get removed from `dirty` in `TickRender`).
To add insult to injury, the `Type` field does not even need to get set since we are only using the `Sprite` field's `null` value as a marker to be picked up by the `TickRender` method. The `Type` field is only ever used twice in `AddSmudge`, in a branch of an if-condition that will not be taken when the `Sprite` field is null, which we set explicitly. The same holds true for the `Depth` field.
2016-07-26 21:46:18 +02:00
abcdefg30
4ed2c53b1a
Fix the Desc of MapOptionsInfo
2016-07-24 15:34:21 +02:00
abcdefg30
3a8b2bda43
Convert ParticleDensityFactor from a float to an int
2016-07-12 22:19:50 +02:00
Taryn Hill
7a0d12dd51
Implement ExitsDebugOverlay and ExitsDebugOverlayManager
2016-07-07 08:57:44 -05:00
evgeniysergeev
e83ffbec1c
add RemoveSmudge function and trait
2016-07-05 12:03:04 +03:00
Paul Chote
7caf636222
Port game speed selection to new lobby backend.
2016-07-03 15:46:08 +01:00
Paul Chote
8ce4ab0bd1
Port map difficulty to new options backend.
2016-06-19 22:15:26 +01:00
Paul Chote
1d1b97cb6a
Add ScriptLobbyDropdown trait and lua API.
2016-06-19 22:15:26 +01:00
Paul Chote
3585d8afd4
Remove legacy installation logic.
2016-06-14 20:18:57 +01:00
Paul Chote
24f166595f
Convert lobby dropdowns to new options backend.
2016-06-04 10:06:18 +01:00
Paul Chote
eb884ca76f
Convert lobby checkboxes to new options backend.
2016-06-04 10:03:06 +01:00
reaperrr
54891ed4bd
Moved RejectsOrders and ValidateOrder from Game to Mods.Common
2016-05-26 11:37:39 +02:00
reaperrr
122035c36c
Remove Smoke effect and use SpriteEffect instead
2016-05-23 23:57:18 +02:00
abcdefg30
6682a4e97e
Merge pull request #11290 from Mailaender/d2k-shellmap-editor-crash
...
Fixed a crash when loading the Dune 2000 shellmap in the map editor
2016-05-23 01:11:34 +02:00
reaperrr
407a061c0a
Merge pull request #11176 from pchote/lobby-trait-checkbox-prep
...
Query lobby checkbox state via their owning traits.
2016-05-16 19:00:35 +02:00
Matthias Mailänder
fc523ae953
Print actor information instead of the function name.
2016-05-15 16:21:32 +02:00
Matthias Mailänder
26c0f1ebc0
terrain palette auto detection
2016-05-15 11:46:46 +02:00
Paul Chote
0a7c80ef6e
Prepare short game code for trait-defined lobby options.
2016-05-14 18:54:44 +01:00
Paul Chote
e3bc73a168
Prepare ally build adjacency code for trait-defined lobby options.
2016-05-14 18:54:44 +01:00
Paul Chote
c412e4e86c
Prepare MapCreeps code for trait-defined lobby options.
2016-05-14 18:54:44 +01:00
Paul Chote
183e5ae7ab
Generate initial frozen renderables for all map-placed actors.
2016-04-21 17:21:29 +01:00
Paul Chote
c68ef3d25f
Preserve editor actor order.
2016-04-17 20:25:20 -04:00
reaperrr
fd5a597966
Move Render traits to Traits.Render namespace
2016-04-15 20:43:04 +02:00
Paul Chote
e54917a0b2
Fix depth-enabled shroud rendering.
2016-04-15 09:42:29 -04:00
Paul Chote
2915db67c4
Add depth buffer support to sprites and sequences.
2016-04-15 09:42:29 -04:00
Paul Chote
7315ffbcb7
Fix outdated file headers.
2016-04-10 09:41:12 -04:00
Paul Chote
aa061a5bc6
Whitelist lighting and weather traits.
2016-04-09 13:41:08 -04:00
Paul Chote
4a7ef68b39
Remove Map.SpawnPoints.
2016-03-18 20:16:25 +00:00
Paul Chote
65df25b1a4
Remove lazy loading of binary map data.
2016-03-18 20:16:24 +00:00
Paul Chote
e79fbe1bb9
Reference SubCells directly from MapGrid.
2016-03-16 18:57:07 +00:00
Paul Chote
602acabe47
Remove World.TileSet.
2016-03-12 19:47:07 +00:00
Paul Chote
7993068c8f
Remove Map.SequenceProvider.
2016-03-12 19:46:20 +00:00
Paul Chote
8532f4deef
Move smudge definitions from Map to SmudgeLayer.
2016-03-08 20:54:26 +00:00
Paul Chote
01a14d9ae5
Move mission briefing to rules.
2016-03-07 21:41:14 +00:00
Paul Chote
668e13b849
Move mission videos to rules.
2016-03-07 21:41:13 +00:00
Paul Chote
d4f8fe1666
Move map configuration to rules.
2016-03-07 21:41:13 +00:00
Paul Chote
5b2bf5b284
Move build radius configuration to rules.
2016-03-07 21:41:13 +00:00
Paul Chote
cce292a68a
Move creeps configuration to rules.
2016-03-07 21:41:13 +00:00
Paul Chote
3c779d4101
Move starting units configuration to rules.
2016-03-07 21:41:13 +00:00
Paul Chote
f44993e4f7
Move crates option to rules.
2016-03-07 21:41:12 +00:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
Paul Chote
d573e21a48
Traits open files via the Map.
2016-02-18 18:12:33 +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
Paul Chote
626fa0b60b
Move CellCorners to MapGrid.
2016-02-05 23:00:14 +00:00
Paul Chote
b0bd252343
Move Util to Mods.Common.
2016-01-19 23:35:18 +00:00
Paul Chote
275be64f05
Remove Util.QuantizeFacing from support powers.
2016-01-19 23:34:13 +00:00
abcdefg30
d416138cec
Merge pull request #10542 from RoosterDragon/simplify
...
General Cleanup
2016-01-18 11:37:30 +01:00
Oliver Brakmann
d151343216
Merge pull request #10468 from RoosterDragon/fix-dev-shroud-invalidation
...
Fix shroud not updating when disabled
2016-01-17 22:42:34 +01:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00