Paul Chote
f46e15c63e
Separate terrain geometry visualization from DevMode.
...
Also adds a “terrainoverlay" console command.
2015-04-29 05:26:50 +12:00
Paul Chote
098d69f120
Prevent resources from spawning on ramps.
2015-04-27 19:21:12 +12:00
abcdefg30
c4a63eee30
Merge pull request #7875 from penev92/bleed_exposePlayerReferences
...
Add upgrade rules support for map PlayerReferences
2015-04-26 22:53:42 +02:00
Oliver Brakmann
d6963567d9
Merge pull request #8034 from pchote/chrome-logic
...
Some chrome logic cleanups
2015-04-26 22:19:28 +02:00
penev92
2402b56da7
Reorganize PlayerReference loading to enable upgrade rules for them.
...
The PlayerReference definitions are now stored
as raw MiniYamlNodes in the map.
2015-04-26 23:16:20 +03:00
Oliver Brakmann
a6b8bdf978
Merge pull request #8027 from pchote/update-terrain-vertexbuffer
...
Update terrain layer when the terrain data changes.
2015-04-26 21:15:45 +02:00
Oliver Brakmann
e7cbd5a41b
Merge pull request #7937 from pchote/some-editor-prereqs
...
A collection of ActorPreview improvements.
2015-04-26 18:46:26 +02:00
Matthias Mailänder
6653322096
Merge pull request #8011 from penev92/bleed_fixTakeCover
...
Move prone-related logic from DamageWarhead to TakeCover
2015-04-26 16:20:27 +02:00
Matthias Mailänder
67c9df62c3
Merge pull request #7829 from sinf/hotkeys
...
Closes #7369
2015-04-26 16:02:08 +02:00
penev92
aa57d5f956
Move prone-related logic from DamageWarhead to TakeCover
...
Add DamageTypes to DamageWarhead and DamageTypeModifiers to TakeCover
2015-04-26 14:29:08 +03:00
Paul Chote
f4987f7258
Add support for multiple logic objects on a widget.
2015-04-26 19:30:28 +12:00
Paul Chote
57db20da5d
Merge pull request #8028 from RoosterDragon/cache-traits
...
Cache traits
2015-04-26 18:23:15 +12:00
Paul Chote
8a171bb452
Don’t export certain Init types.
2015-04-26 18:12:21 +12:00
Paul Chote
8f93d7b5d7
Simplify and fix animation glitches.
2015-04-25 22:52:14 +02:00
RoosterDragon
fb0cab7481
Cache results of TraitsImplementing calls.
...
If a class is caching the TraitsImplementing enumerable, instead cache the results of enumerating it to an array. The avoids having to enumerate the sequence each time it is needed.
2015-04-25 20:42:27 +01:00
RoosterDragon
2937a31463
Make IsDisabled a method on Actor.
...
This allows us to cache the disabled traits, which simplifies life for some callers since we relieve them of having to cache it, as well as improving perf for all IsDisabled calls.
2015-04-25 20:42:26 +01:00
RoosterDragon
6125d7c117
Rename existing fields that are caching TraitsImplementing calls for consistency.
2015-04-25 20:41:48 +01:00
Paul Chote
7df12cb3e9
Update terrain layer when the terrain data changes.
2015-04-26 07:35:07 +12:00
Oliver Brakmann
a48a878a71
Merge pull request #7983 from pchote/radar-colors
...
Adjust IRadarSignature to support per-cell colors.
2015-04-25 16:38:28 +02:00
Oliver Brakmann
bc7fd81297
Merge pull request #7840 from sinf/fix7838
...
Fixed parsing of hotkeys with no name (such as tilde)
2015-04-25 14:19:25 +02:00
sinf
5e86e63b37
Fixed parsing of hotkeys with no name (such as tilde)
2015-04-25 15:01:00 +03:00
Matthias Mailänder
175e9a14b7
Merge pull request #8000 from pchote/bogus-yaml-removals
...
Fix yaml merging
2015-04-25 13:42:18 +02:00
sinf
9250c61473
Added Hotkeys for support powers
2015-04-25 13:15:06 +03:00
Matthias Mailänder
1476a0eb70
Merge pull request #7847 from RoosterDragon/screen-map-refactor-perf
...
Refactored ScreenMap & improved perf of updates, removals and region lookups
2015-04-25 10:12:52 +02:00
Paul Chote
d8f24adcc7
Merge pull request #7853 from Mailaender/alpha-experiments
...
Added AlphaImage support
2015-04-25 19:03:25 +12:00
Pavel Penev
479e81d7f5
Merge pull request #7944 from LunaticEdit/bleed
...
EndOfStream first chance exceptions on server
2015-04-25 07:17:24 +03:00
Pavel Penev
c9e89cc7f5
Merge pull request #7832 from Phrohdoh/cleanup
...
Another cleanup.
2015-04-25 06:53:16 +03:00
RoosterDragon
09dc1db651
Refactored ScreenMap & improved perf of updates, removals and region lookups.
...
Reduce code duplication by extracting a common class to deal with spatial partitioning of actors, and use some (cached) delegates to reduce duplication further without affecting performance too much.
Speed up updates and removal of actors by caching their location so we only need to update or remove them from bins they are actually in (typically very few), compared to having to check every bin for removals which is much more work in comparison.
Speed up checking for actors inside a region by checking if items are located entirely within the bin they are located in. If so, we don't need to add them to the hash-set for de-duplication purposes which is fairly expensive.
2015-04-23 21:06:09 +01:00
Paul Chote
8a1f9261c3
Convert hidden [Desc] to a <summary>.
2015-04-22 21:24:48 +12:00
Paul Chote
2cbe269c1e
Support multiple inheritance for actor rules.
2015-04-22 21:24:47 +12:00
Paul Chote
0a43b3da72
Rewrite yaml merging block removal.
...
Fixes #2922 , #6818 .
2015-04-22 19:58:10 +12:00
Paul Chote
4b22436d14
Fix a regression from #7987 .
2015-04-20 04:55:31 +12:00
Oliver Brakmann
322801247f
Merge pull request #7987 from pchote/fix-player-bogosity
...
Fix random country display.
2015-04-19 18:13:04 +02:00
Paul Chote
3cfa96e7a6
Fix random country display.
2015-04-20 03:33:46 +12:00
Paul Chote
145f7b28f5
Adjust IRadarSignature to support per-cell colors.
2015-04-19 22:27:47 +12:00
Paul Chote
ab7706073b
Don’t crash when asking for the offset of an invalid subcell.
2015-04-19 15:20:45 +12:00
Matthias Mailänder
868e404b22
add 2 new blend modes: Multiplicative, DoubleMultiplicative
2015-04-18 13:41:53 +02:00
Oliver Brakmann
b363c2c51e
Don't unnecessarily discard 24bpp map previews
...
Those images now get converted on-the-fly by the game.
2015-04-18 11:27:23 +02:00
RoosterDragon
9c93001c84
Convert to 32bbp internally in FastCopyIntoSprite.
...
This avoids the need for callers to ensure the pixel format is correct, but ensures that the copying succeeds when the format is different.
2015-04-17 18:50:49 +01:00
RoosterDragon
106816a547
Cache the IRenderModifier and IRender traits in Actor.
...
Previously we just cached the query object, but now we cache the full results. This avoids having to re-evaluate them every render.
2015-04-14 20:15:45 +01:00
LunaticEdit
575b568c6a
EndOfStream first chance exceptions on server
...
The server class reads the memory stream in a forever loop until an
EndOfStreamException occurs. This causes repeated first chance
exceptions due to EndOfStreamException. This change verifies that the
memory stream's reader position is not past the length of the memory
stream.
2015-04-13 19:09:32 -04:00
penev92
cc73ba09ab
Fix flag-related crash for scripted "players"
2015-04-13 23:36:29 +03:00
Oliver Brakmann
7b1b17df4a
Allow non-selectable factions for players if LockRace is set
2015-04-12 15:27:25 +02:00
RoosterDragon
84dffce7c1
Added an extension method to clone bitmaps with a 32bbpArgb pixel format.
2015-04-11 21:05:46 +01:00
RoosterDragon
c1787a8368
Don't process images with the wrong pixel format in MapCache.
2015-04-11 15:20:16 +01:00
RoosterDragon
7883355481
Validate PixelFormat of source bitmap argument in FastCopyIntoSprite.
2015-04-10 19:54:03 +01:00
RoosterDragon
5dfcc3e9d0
Convert custom map previews that are not using PixelFormat.Format32bppArgb.
2015-04-10 19:54:02 +01:00
Taryn Hill
96d6ea79ce
Remove explicit private.
...
Remove unnecessary delegate.
Use extension method syntax.
Fix HealthInfo.NotifyAppliedDamage’s desc.
Remove unused using directives.
Remove explicit type declaration in Manifest.
2015-04-09 13:59:20 -05:00
Oliver Brakmann
a992318208
Fix "ally" suffix being wrongly assigned to enemy players
...
Fixes #7890
2015-04-07 17:34:54 +02:00
Matthias Mailänder
3f48c649f0
Merge pull request #7722 from penev92/bleed_diplomacyWindow
...
Closes #7391
2015-04-05 08:34:38 +02:00