Commit Graph

16481 Commits

Author SHA1 Message Date
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
reaperrr
b9e8406aeb Fix Unload definition in voice sets. 2015-05-22 01:51:56 +02:00
reaperrr
5e2c781c8a Adds PlayVoice, PlayVoiceLocal and HasVoice to ActorExts.
Makes Cargo unload voice customisable.
2015-05-22 01:51:55 +02: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
037bd6794c Upgrade rules for moving Voice to Voiced trait 2015-05-22 01:51:52 +02:00
reaperrr
0d05fdefbb Extract actor voice set into Voiced trait 2015-05-22 01:51:51 +02:00
Pavel Penev
66f99704a8 Merge pull request #8209 from Mailaender/mono2-CS0172
Fixed a compilation error on Mono 2.10
2015-05-21 22:06:54 +03:00
Matthias Mailänder
31d1f0bcf9 fix error CS0172 2015-05-21 20:43:45 +02:00
Pavel Penev
21d1348ea3 Merge pull request #8202 from deniz1a/revert-8097
Reverts #8097.
2015-05-21 21:38:10 +03:00
abcdefg30
0b09b82254 Merge pull request #8198 from Mailaender/net40-thirdparty-dll
Fixed SystemNotSupportedException caused by thirdparty mod DLLs on .NET > 4.0
2015-05-21 17:20:42 +02:00
Oliver Brakmann
5c95c7e157 Merge pull request #8130 from Mailaender/tileset-filters
Fixed glitchy remap errors of non-fitting actors on certain tilesets
2015-05-21 16:27:37 +02:00
Igor Popov
28e1eccf29 Merge pull request #8206 from baxxxster/bleed
Added possibility to use spaces in Server.Name
2015-05-21 12:25:25 +03:00
Glenn Martin Jensen
615c22f158 Added possibility to use spaces in Server.Name
This way it's easier for others to set a servername with spaces in it by
default
2015-05-21 09:49:04 +02:00
Matthias Mailänder
27cbfd9bb1 Merge pull request #8204 from reaperrr/group-sel-bug
Fixes bug that selection voices are played twice when selecting groups
2015-05-21 08:04:18 +02:00
reaperrr
75a0ff7702 Fixes the bug that selection voices are played twice when selecting groups
via 0-9 hotkeys.

Problem was that the voice was played for both KeyUp and KeyDown events.

Closes #8121.
2015-05-21 03:01:13 +02:00
deniz1a
e290975952 Reverts #8097.
It caused units not targeting enemies under fog even with satellite.
2015-05-21 00:24:27 +03:00
Oliver Brakmann
1f17ec4d4f Merge pull request #8201 from Mailaender/isometric-editor-sprites
Fixed Tiberian Sun multiplayer spawn and waypoints
2015-05-20 21:56:07 +02:00
Matthias Mailänder
d9b0e00b41 isometric waypoints 2015-05-20 21:17:20 +02:00
Matthias Mailänder
ca73b9612a isometric spawn points 2015-05-20 21:17:14 +02:00
Matthias Mailänder
9e81a05f86 allow 3rd-party mod DLLs on .NET > 4.0 2015-05-20 19:32:19 +02:00
Oliver Brakmann
5db63ba7aa Merge pull request #8123 from 42foobar42/nod06a
added mission 6a nod
2015-05-20 17:12:39 +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
Alexander Boll
da3d177c60 added mission 6a nod 2015-05-20 16:29:58 +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
Matthias Mailänder
1e7e2aa1e0 Merge pull request #8085 from abcdefg30/funpark
Add funpark01 - Take #3
2015-05-20 13:01:36 +02: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
Matthias Mailänder
6f3c11da1d remove actors without palette glitches, but non-sensical 2015-05-18 19:41:47 +02:00
Matthias Mailänder
2fbe7b0013 filter actors with glitchy remap errors on certain tilesets 2015-05-18 19:12:20 +02:00
Pavel Penev
a47235d162 Merge pull request #8065 from pchote/ingame-map-editor
Add the new map editor.
2015-05-18 19:16:16 +03:00
Pavel Penev
5d593de09d Merge pull request #8183 from Mailaender/unused-tilestart
Fixed the build for Mono 2.10 again
2015-05-17 22:02:15 +03:00
Matthias Mailänder
ffffe0089a fix error CS0219:
The variable `tileStart' is assigned but its value is never used
2015-05-17 20:34:47 +02:00
Pavel Penev
53af3df3ee Merge pull request #8174 from abcdefg30/formattime
Added a FormatTime function to UtilsGlobal.cs
2015-05-17 17:48:23 +03:00
Pavel Penev
d978fff982 Merge pull request #8106 from reaperrr/cnc-fixes
Several TD mod fixes
2015-05-17 17:39:33 +03:00
Pavel Penev
d718a5a5ca Merge pull request #8094 from reaperrr/hackyai-tweaks
Make HackyAI squad creation a little more flexible and controllable
2015-05-17 17:28:02 +03:00
Pavel Penev
2230daee14 Merge pull request #8179 from Mailaender/ts-skirmish-stats
Added skirmish stats to Tiberian Sun
2015-05-17 15:38:50 +03:00
Paul Chote
09e4c5c5ab Merge pull request #8109 from reaperrr/fix-idleoverlay
Fixes WithIdleOverlay to start with first frame after make animation
2015-05-17 13:06:44 +01:00
Paul Chote
60f96fcb7b Overhaul save panel. 2015-05-17 12:09:41 +01:00
Paul Chote
445c0d76a2 Fix create map panel geometry. 2015-05-17 12:09:40 +01:00
Matthias Mailänder
0638f1ce7d add skirmish stats
fixes #7728
2015-05-17 10:37:49 +02:00
deniz1a
db38f52721 Fixes location of phase transport being revealed by attack line. 2015-05-16 15:20:07 +03:00
abcdefg30
d50ed6ec2f Replace a bogus tab 2015-05-16 13:19:46 +02:00
abcdefg30
2fd91c53f2 Remove trailing spaces from nod04b map.yaml 2015-05-16 13:19:45 +02:00
abcdefg30
57dbdd097d Add a FormatTime function to UtilsGlobal.cs 2015-05-16 13:19:44 +02:00
Paul Chote
469f47aeea Add new map editor UI. 2015-05-15 17:09:27 +01: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
b1dc5012c3 Don’t crash if IQBO isn’t present on an actor. 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