Commit Graph

626 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
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
Matthias Mailänder
31d1f0bcf9 fix error CS0172 2015-05-21 20:43:45 +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
abcdefg30
e725732f69 Merge pull request #8078 from Mailaender/make-all-docs
Fixed the trait documentation
2015-05-20 17:05:46 +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
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
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
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
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
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
Paul Chote
443bc63fa7 Render terrain grid above actors, too. 2015-05-15 17:08:31 +01:00
Paul Chote
9e5e1f1a89 Add methods to IOccupySpaceInfo. 2015-05-15 17:08:31 +01:00
abcdefg30
70e7b33fd7 Merge pull request #7979 from Mailaender/d2k-sand-blendmode
Fixed the Dune 2000 harvester sand out animation
2015-05-14 19:21:06 +02:00
Matthias Mailänder
7e1c3047f6 move generic Voxel render traits to Mods.Common 2015-05-14 17:02:47 +02:00
reaperrr
e190093ac4 Fix WithIdleOverlay to start with first frame after make animation 2015-05-13 23:18:59 +02:00
reaperrr
0d3dd28a3f Unharcode squad randomization, add minimum delay for creating attack force 2015-05-13 22:50:23 +02:00
Pavel Penev
7154ce4a2f Merge pull request #8147 from DeadlySurprise/vqaAudioFix
Fixed gdi3lose.vqa crash
2015-05-13 03:50:45 +03:00
abcdefg30
d62b01d294 Merge pull request #7538 from cjshmyr/teamhealth
Give ally players a yellow health bar (team health colors)
2015-05-12 18:01:27 +02:00
DeadlySurprise
35445775c2 Fixed crash 2015-05-11 18:19:06 +02:00
Pavel Penev
648dc31e24 Merge pull request #8131 from obrakmann/fix8129_hotkey_input_lose_focus
Fix HotkeyEntryWidget keeping keyboard focus after receiving input
2015-05-11 03:42:30 +03:00
Pavel Penev
ffd45e9b04 Merge pull request #7982 from Mailaender/ts-obelisk
Added the Tiberian Sun Nod Obelisk charge animation
2015-05-11 03:30:48 +03:00
Matthias Mailänder
69ce877a89 Merge pull request #8083 from obrakmann/separate_download_dir
Closes #8069
2015-05-10 21:30:38 +02:00
Curtis Shmyr
6ca51e47c1 Give ally players a yellow hp bar for team health colors 2015-05-10 11:12:10 -06:00
Oliver Brakmann
7ef14f56e2 Fix HotkeyEntryWidget keeping keyboard focus after receiving input 2015-05-10 17:46:39 +02:00
Oliver Brakmann
0f7aaf3445 Merge pull request #8125 from pchote/player-palettes
Reorganize palette loading.
2015-05-10 17:35:34 +02:00
Paul Chote
889360d4c6 Regenerate cached texture indices when the palette size changes. 2015-05-10 00:59:15 +01:00
Paul Chote
c0282bdff9 Remove Owner from ActorPreviews. 2015-05-10 00:01:43 +01:00
Matthias Mailänder
d99ae3bcb9 split render building/overlay and play sound for charge
to add the Tiberian Sun Nod Obelisk

tick slightly faster

tweak the local offsets
2015-05-09 19:56:15 +02:00
Oliver Brakmann
f251813f89 Keep downloaded files in a separate directory
As a side effect, this re-enables building the Windows installer on Linux hosts.
2015-05-08 20:59:24 +02:00
Oliver Brakmann
14886bc3f7 Merge pull request #8101 from penev92/bleed_references
Cleanup unused DLL references
2015-05-08 20:41:37 +02:00
Paul Chote
ba131fcf0a Merge pull request #7805 from penev92/bleed_prerequisites
Make buildings explicitly provide their names as prerequisites
2015-05-08 17:29:22 +01:00
Pavel Penev
0d759eee2a Merge pull request #8061 from Phrohdoh/with-decoration
Implement WithDecoration and subtraits.
2015-05-08 18:02:13 +03:00
Taryn Hill
d57d7c522f Implement WithDecoration. 2015-05-08 09:55:31 -05:00
Pavel Penev
3eb556258d Merge pull request #8021 from sinf/quickbuild
Added quick build feature
2015-05-08 17:53:57 +03:00
penev92
bb51657e40 Cleanup unused DLL references 2015-05-07 18:59:01 +03:00
penev92
dc3ae39db1 Rename ProvidesCustomPrerequisite to ProvidesPrerequisite 2015-05-07 03:04:11 +03:00
Paul Chote
88221423b6 Only issue a MouseMove event if the scroll offset actually changed. Fixes #8098. 2015-05-06 21:51:24 +01:00
penev92
e3e6bcaf2a Add an upgrade rule for explicit prerequisite providing by buildings 2015-05-04 01:58:49 +03:00
penev92
50fb6f1d25 Make buildings grant prerequisites explicitly 2015-05-04 01:39:32 +03:00
Oliver Brakmann
62b3592bd4 Merge pull request #7998 from Mailaender/ts-proc-dock
Added the Tiberian Sun docking overlays
2015-05-03 22:50:16 +02:00