Commit Graph

21863 Commits

Author SHA1 Message Date
Matthias Mailänder
9a37e77d1a fix the weapon factory door opening animation 2015-04-25 22:52:14 +02:00
Matthias Mailänder
9c20de7d98 readonly and don't sync cosmetic traits 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
500a33b590 Cache some trait lookups that occur frequently. 2015-04-25 20:41:49 +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
Paul Chote
acee680083 Use the correct (tile-based) radar color when updating the radar. 2015-04-26 07:19:57 +12:00
RoosterDragon
087b407f46 Avoid ScrollPanelWidget drawing invisible child items.
If child items in a scroll panel will be outside the scissor area, then we can avoid drawing them at all. If a scroll panel has many items, this reduces to the draw cost closer to those visible in the panel, rather than costing for all the items.
2015-04-25 18:55:47 +01:00
RoosterDragon
60238a858d Load replays asynchronously and in parallel.
This prevents the UI blocking, and also speeds up loading time for getting all the replays displayed.
2015-04-25 18:55:46 +01:00
RoosterDragon
d2d2f4a838 Made FieldLoader thread-safe, and cache some expensive reflection calls. 2015-04-25 18:55:46 +01:00
RoosterDragon
109ccbb0b0 Added ConcurrentCache, a thread-safe Cache. 2015-04-25 18:55:45 +01: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
Robert Rouhani
5d4ca1d52f Fixed bug where the SDL2 directory wouldn't be deleted 2015-04-25 10:33:20 -04:00
Robert Rouhani
d3528d6ed8 Removed zlib from NSIS script 2015-04-25 10:30:01 -04:00
Robert Rouhani
7ccd5521e0 Removed zlib dependency and chose a specific version of SharpFont.Dependencies. 2015-04-25 10:30:00 -04:00
Robert Rouhani
4987a6b24c Updated SharpFont to 3.0.0, adjusted font rendering code for new fixed-point types. 2015-04-25 10:26:41 -04:00
abcdefg30
2a80642c6a Add a new line at the end of descriptions for better readability 2015-04-25 15:47:18 +02:00
abcdefg30
100a58e12c Use OnPlayerDiscovered instead of OnEnteredFootprint
in Monster Tank Madness
2015-04-25 15:47:17 +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
Matthias Mailänder
14777e46c4 Merge pull request #7933 from pchote/new-osx-launcher
New OSX launcher
2015-04-25 12:41:28 +02:00
Oliver Brakmann
ed5e8beedd Merge pull request #7978 from pchote/orca
Fix orca’s flying sequences.
2015-04-25 12:30:40 +02:00
sinf
9250c61473 Added Hotkeys for support powers 2015-04-25 13:15:06 +03:00
Paul Chote
722f4725d5 Fix orca’s flying sequences. 2015-04-25 22:06:02 +12:00
Matthias Mailänder
70db0fa784 add the Hovercraft wake animation 2015-04-25 11:26:59 +02:00
Oliver Brakmann
76ff0eddb9 Merge pull request #7908 from penev92/bleed_minimapCheat
Add a DevCommand for enabling the minimap
2015-04-25 11:13:23 +02: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
6b79af4d62 Merge pull request #7957 from Mailaender/ts-powerdown-indicator-palette
Fixed Tiberian Sun building repair and power down indicator palette
2015-04-25 19:50:21 +12:00
Matthias Mailänder
a5f60deedd fix TS repair indicator palette 2015-04-25 09:36:20 +02:00
Paul Chote
d8f24adcc7 Merge pull request #7853 from Mailaender/alpha-experiments
Added AlphaImage support
2015-04-25 19:03:25 +12:00
Paul Chote
e452aba9e4 Merge pull request #7850 from Mailaender/appveyor-cache
Tried to cache AppVeyor downloads
2015-04-25 18:57:57 +12:00
Paul Chote
1e30fdb333 Merge pull request #7909 from reaperrr/projectile-cleanup2
Projectiles cleanup Part 2
2015-04-25 18:41:06 +12:00
Paul Chote
27127dd1a9 Merge pull request #7907 from rneatherway/nuget-version-fix
Remove version information from NuGet folder names
2015-04-25 18:28:45 +12:00
Paul Chote
69fed6a688 Merge pull request #7865 from Phrohdoh/deploy-to-upgrade
Implement DeployToUpgrade.
2015-04-25 18:11:34 +12:00
Paul Chote
4116da7c01 Merge pull request #7857 from sinf/glgl
Print GLSL info log if shader compilation fails
2015-04-25 17:56:32 +12:00
Paul Chote
ddc3bd3a1f Merge pull request #7887 from Mailaender/unhardcode-render-sequence
Unhardcoded and self-documented render sequences
2015-04-25 17:35:07 +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
6d64217769 Merge pull request #7863 from Mailaender/global-palette-effect
Added a global palette effect for day/night lighting
2015-04-25 07:11:01 +03:00
Pavel Penev
f759530964 Merge pull request #7854 from sinf/tsnotifications
Add more TS notification sounds
2015-04-25 07:06:57 +03:00
Pavel Penev
f372f0c466 Merge pull request #7726 from Phrohdoh/prevent-eod
Prevent EjectOnDeath.
2015-04-25 07:03:00 +03:00
Pavel Penev
c9e89cc7f5 Merge pull request #7832 from Phrohdoh/cleanup
Another cleanup.
2015-04-25 06:53:16 +03:00
Pavel Penev
494d2f274a Merge pull request #7463 from Smith00101010/gdi05b
Added CnC: gdi05b
2015-04-25 06:48:06 +03:00
reaperrr
b100091ad1 Merge pull request #7967 from abcdefg30/tsfixes
Add descriptions to all TS units
2015-04-25 01:25:26 +02:00
abcdefg30
158659abcf Add descriptions for all buildable actors 2015-04-24 16:32:15 +02: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
Pavel Penev
f6051b1e2b Merge pull request #8007 from obrakmann/fix8006_carryall_dead_cargo_crash
Clean up state properly when a Carryall's cargo has died
2015-04-23 00:24:44 +03:00
Oliver Brakmann
3924e2643d Clean up state properly when a Carryall's cargo has died 2015-04-22 21:51:01 +02:00
Paul Chote
8a1f9261c3 Convert hidden [Desc] to a <summary>. 2015-04-22 21:24:48 +12:00