Paul Chote
8ae3afa3c5
Properly clean up traits that used to hook only death.
2015-05-29 19:21:35 +01:00
Paul Chote
4ff309811f
Dispose actors when tearing down the world.
2015-05-29 19:21:34 +01:00
Paul Chote
585a43fd8f
Rename Actor.Destroy/Destroyed to Dispose/Disposed.
2015-05-29 19:08:38 +01:00
Oliver Brakmann
8b6c4a5b13
Merge pull request #8248 from Mailaender/premultiplied-geometric-renderers
...
Fixed transparency breakage on quad and line rendering
2015-05-29 14:11:28 +02:00
Oliver Brakmann
16a9b9284b
Merge pull request #8167 from deniz1a/fix-sat-icon
...
Prevents satellite icons from being drawn over frozen actors.
2015-05-29 13:56:37 +02:00
Matthias Mailänder
dec7ad1ee2
Merge pull request #8268 from obrakmann/fix8262_d2k_double_remove_from_world
...
Fix potentially removing actors twice from world in Actor::ChangeOwner
2015-05-27 22:03:43 +02:00
Oliver Brakmann
7b3b2f85f8
Fix potentially removing actors twice from world in Actor::ChangeOwner
2015-05-26 17:16:56 +02:00
Oliver Brakmann
641213696f
Merge pull request #8191 from abcdefg30/luawidget
...
Add a custom text display to lua
2015-05-26 00:03:08 +02:00
Oliver Brakmann
2b1c7f90a4
Merge pull request #8256 from Mailaender/voxel-fbo-nre
...
Fixed a dereference of an explicit null value in VoxelRenderer
2015-05-25 18:51:03 +02:00
Matthias Mailänder
1b16a51021
fix a dereference of an explicit null value
2015-05-25 17:41:55 +02:00
abcdefg30
35374d168f
Add support for custom mission timers: UserInterfaceGlobal
2015-05-25 16:57:15 +02:00
abcdefg30
852ea87daa
Add lua support for nullables
2015-05-25 16:54:42 +02:00
Matthias Mailänder
70fdb73127
fix missing dispose on stream in IniFile
2015-05-25 16:07:21 +02:00
Matthias Mailänder
96e2c9bb79
use premultiplied alpha on geometric renderers
...
to fix transparency again
2015-05-25 13:39:38 +02:00
deniz1a
106286da23
Prevents satellite icons from being drawn over frozen actors.
2015-05-25 06:31:04 +03:00
Paul Chote
322285ef66
Update NukePaletteEffect for premultiplied alpha.
2015-05-24 18:32:42 +01:00
Pavel Penev
902cd124ba
Merge pull request #8149 from Mailaender/fetch-geoip-db
...
Automatized GeoIP database download
2015-05-24 16:43:22 +03:00
Pavel Penev
9ed7ef10b9
Merge pull request #8227 from obrakmann/fix8219_rise_of_the_undead_bridges
...
Fix broken bridges being initialized with a non-zero HP value
2015-05-24 15:05:29 +03:00
Oliver Brakmann
c6c9863681
Merge pull request #8176 from pchote/fix-palette-alpha
...
Load textures using premultiplied alpha.
2015-05-24 13:15:54 +02:00
Matthias Mailänder
d0b3e5fb8b
Merge pull request #8114 from penev92/bleed_d2kUpgrades
...
Add D2k building upgrades
2015-05-24 08:23:28 +02:00
Pavel Penev
9e0e866199
Merge pull request #8207 from obrakmann/map-chooser-overhaul
...
Split maps into system and custom maps in the map chooser
2015-05-24 04:12:23 +03:00
Oliver Brakmann
d9f0ca362f
Fix broken bridges being initialized with a non-zero HP value
2015-05-24 02:02:20 +02:00
Oliver Brakmann
dc08b7a90a
Add buttons for map file management to map chooser
2015-05-24 01:49:30 +02:00
penev92
32bb70abca
Remove DamageWarhead.DeathType in favor of DamageWarhead.DamageTypes
2015-05-24 00:15:07 +03:00
Matthias Mailänder
486c7527c9
Merge pull request #8012 from reaperrr/voiceset
...
Extracted actor Voices from Selectable into own Voiced trait
2015-05-23 21:59:34 +02:00
Matthias Mailänder
8e919d3215
move GeoIP functions into it's own class
...
extract the geoip database .gz in-game
2015-05-23 16:00:46 +02:00
reaperrr
3777a8bca9
Moved Voice-related extensions to VoiceExts.
...
Note: This is a work-around until Selectable can be moved to Mods.Common, which is when the voice extensions should be moved back to ActorExts.
Pulled phrase check before foreach in PlayVoice ActorExts.
Removed superflous actor parameter from PlayVoice/PlayVoiceLocal.
Simplified PlayVoice extensions.
variant is no longer customisable, as all current usages use self.Owner.Country.Race anyway.
2015-05-23 13:46:01 +02:00
Paul Chote
5532ed4fc9
Remove now-redundant blend code.
2015-05-23 08:50:28 +01:00
Paul Chote
26fd858fc7
Use premultiplied alpha for all textures and blending.
2015-05-23 08:50:28 +01:00
Pavel Penev
0d33fdb5e1
Merge pull request #8200 from RoosterDragon/sheet-fixes
...
Sheet fixes
2015-05-22 18:30:13 +03:00
Pavel Penev
686e01c6cc
Merge pull request #8193 from RoosterDragon/line-render-perf
...
Improve performance of line rendering
2015-05-22 17:51:11 +03:00
Pavel Penev
beb1481107
Merge pull request #8195 from obrakmann/fix8181_reveal_fakes_with_unit_selection_key
...
Fix revealing fakes by double-clicking a building
2015-05-22 17:09:00 +03:00
reaperrr
5f68516070
Cleaned up IVoiced-related code.
...
Added Volume control and descriptions to Voiced.
Streamline voice checks in WorldUtils and DeathSounds.
2015-05-22 01:51:54 +02:00
reaperrr
251d3e6864
Move PlayVoice and PlayVoiceLocal from Sound to Voiced.
...
Move HasVoice, HasVoices and GetVoices from WorldUtils to Voiced.
2015-05-22 01:51:53 +02:00
reaperrr
0d05fdefbb
Extract actor voice set into Voiced trait
2015-05-22 01:51:51 +02:00
OmegaBolt
f3ec07d4e4
Add Upgrade production queue to D2k
2015-05-21 21:26:10 +03:00
deniz1a
e290975952
Reverts #8097 .
...
It caused units not targeting enemies under fog even with satellite.
2015-05-21 00:24:27 +03:00
RoosterDragon
b48b994f16
Remove half-baked thread-safety mechanisms from Sheet.
...
Sheet is now thread-unsafe, rather than attempting to expose a dodgy thread safety model.
2015-05-20 18:50:28 +01:00
RoosterDragon
d42c3a9740
Allow a sheet buffer to be released without error, even if unbuffered.
2015-05-20 18:35:24 +01:00
Oliver Brakmann
da16142412
Enable unit selection keys for spectators and in replays.
...
Only work in per-player views.
2015-05-20 18:56:14 +02:00
Oliver Brakmann
9895aee6f2
Disable unit selection by double-clicking for enemy units
2015-05-20 18:28:34 +02:00
abcdefg30
e725732f69
Merge pull request #8078 from Mailaender/make-all-docs
...
Fixed the trait documentation
2015-05-20 17:05:46 +02:00
Matthias Mailänder
9c53ff1403
Merge pull request #8103 from RoosterDragon/mapcache-better-threading
...
Fix graphical glitches & crashes related to map loading
2015-05-20 13:11:44 +02:00
RoosterDragon
b9ebeaadca
Improve performance of line rendering.
...
- Create an overload that renders a line in one color, as this allows most existing calls to be simplified. This also allows a slight performance improvement by only normalizing the components once.
- Introduce a DrawLineStrip method. This improves performance by allowing the color components to be normalized once for the whole strip, and only needing to calculate vertices once per point rather than twice since we can reuse the last result.
2015-05-19 21:41:50 +01:00
Oliver Brakmann
9397749118
Merge pull request #8097 from deniz1a/cloaked-targetability
...
Fixes location of phase transport being revealed by attack line.
2015-05-18 23:04:09 +02:00
deniz1a
db38f52721
Fixes location of phase transport being revealed by attack line.
2015-05-16 15:20:07 +03:00
Paul Chote
d211fe9fe1
Add the world components of the new editor.
2015-05-15 17:09:20 +01:00
Matthias Mailänder
1f024a8695
Add menu plumbing for the new map editor.
2015-05-15 17:08:33 +01:00
Paul Chote
444c02a498
Add ClickThrough property to ContainerWidget.
2015-05-15 17:08:32 +01:00
Paul Chote
038847cc4c
Force the first template variant in TTPW.
2015-05-15 17:08:32 +01:00