Commit Graph

366 Commits

Author SHA1 Message Date
Paul Chote
6881dcc710 Fix UI rendering of offset sprites. 2013-12-01 09:49:27 +13:00
Paul Chote
6d6d1e230b Remove runtime mod merging. Closes #3421. 2013-11-15 09:54:42 +13:00
ScottNZ
00ec1ca87a Remove unused usings 2013-11-12 19:39:33 +13:00
ScottNZ
86a3e14f2d Remove constructor base() redundancies 2013-11-12 17:31:55 +13:00
Matthias Mailänder
445b0518ef disable team-chat when there are no allies listening
closes #4033
2013-11-09 22:34:12 +01:00
Paul Chote
f2a0614622 Fix chat for defeated players. 2013-10-26 12:20:50 +13:00
Paul Chote
131583a1e9 Remove legacy settings panel. 2013-10-25 08:31:34 +13:00
Paul Chote
b278880ef6 Rewrite C&C Settings panel. 2013-10-25 08:31:34 +13:00
Paul Chote
94554d7678 Support nested scissor rectangles. 2013-10-25 08:31:34 +13:00
Matthias Mailänder
e912aa63ed Merge pull request #3983 from pchote/polish-chat-input
Polish chat input.
2013-10-24 10:25:23 -07:00
Paul Chote
11b34884cc Use the newly polished text entry in C&C. 2013-10-24 20:02:17 +13:00
Paul Chote
bc174f1e82 C&C main menu improvements:
- Disable target reticle when a window is open.
- Show the faction logos when the shellmap is disabled.
2013-10-23 19:22:25 +13:00
Paul Chote
7ffbfb9b7e Add a Hotkey class for user-configurable keys. Fixes #3779.
Users can now define and use hotkeys that include modifiers (ctrl/meta/shift/alt).
2013-10-22 09:14:05 +13:00
Paul Chote
aab6fec68b Remove VirtKey and KeyName. 2013-10-21 20:24:24 +13:00
Paul Chote
3ef6a8317a Remove Game.Zoom. 2013-10-16 18:21:46 +13:00
ScottNZ
a7b7b68a2e Add missing [Translate]s to support power widgets 2013-10-15 14:40:50 +13:00
Paul Chote
9f1f6eae9d Merge pull request #3929 from ScottNZ/translation
Add translation support
2013-10-13 23:57:12 -07:00
ScottNZ
42a4d30162 Set up English translation for requires/on-hold/ready texts 2013-10-14 19:38:21 +13:00
ScottNZ
6598f0382a Add support for game translation 2013-10-14 19:38:18 +13:00
Paul Chote
d8c6acad45 Merge pull request #3903 from Mailaender/gameinit-redundancy
Removed the now redundant per mod Install/DownloadPackagesLogic
2013-10-12 14:38:13 -07:00
Matthias Mailänder
b618fc7cc2 complete password protected servers
closes #2290
2013-10-07 19:37:12 +02:00
Matthias Mailänder
cdfc21af2c remove redundant install and download logic 2013-10-06 10:52:55 +02:00
Paul Chote
fe8c80aca6 Add Game.Zoom for remaining engine stuff. 2013-10-05 21:01:22 +13:00
Paul Chote
3825bec835 Merge pull request #3695 from Mailaender/team-no-nre
Don't crash C&C ingame menu after player drop
2013-08-28 13:52:35 -07:00
Matthias Mailänder
1e2bccbc59 Merge pull request #3693 from ScottNZ/crashform
Add crash dialog
2013-08-18 00:11:02 -07:00
Matthias Mailänder
f5cf3df003 check for null because clients may be gone already
fixes #3694
2013-08-18 08:41:00 +02:00
ScottNZ
7f67b567f9 Add Fatal Error dialog 2013-08-18 14:58:07 +12:00
Matthias Mailänder
efb55d4cb9 read support power icons from sequences
so that d2k can grab them from DATA.R8
2013-08-17 23:31:22 +02:00
Matthias Mailänder
376a6c7a5d read the production icons from sequences
this allows d2k to read them from DATA.R8 without trouble
2013-08-17 23:31:22 +02:00
Matthias Mailänder
d2e4c2904f fix broken team display in cnc objectives 2013-08-11 12:21:33 +02:00
Matthias Mailänder
771c32255c use advanced player statistics in cnc mod 2013-08-11 12:21:28 +02:00
Paul Chote
8271e5ed63 Merge pull request #3634 from Mailaender/style
StyleCop Cleanup
2013-08-09 19:19:03 -07:00
Matthias Mailänder
03a0640f65 merged RA/CncPerfDebugLogic
separate text and graph, fixes #3491
small repositions to fit with other widgets
2013-08-08 23:09:48 +02:00
Matthias Mailänder
d278bc84d1 StyleCop clean Cnc DLL 2013-08-07 15:42:34 +02:00
Matthias Mailänder
ad95f48711 merge C&C and RA music player logic
mainly code cleanup, but with the following improvements:
- scroll to current song which fixes #3360 and overlapping label
- use Rules.InstalledMusic & Sound.MusicPlaying everywhere
- separated C&C install logic and log catched exceptions
- save the music settings on back/close
2013-08-03 00:37:04 +02:00
Paul Chote
4009edfa96 Add audio device selection. Fixes #3553. 2013-08-02 19:38:49 +12:00
Paul Chote
0e37c99521 Use C&C world tooltips in RA and D2K. Fixes #2382. 2013-07-28 19:53:12 +12:00
Paul Chote
9be6f3f29d Move C&C world tooltip code into ViewportControllerWidget. 2013-07-28 19:06:13 +12:00
Paul Chote
0cdc4d6f01 Rename ViewportScrollController -> ViewportController. 2013-07-28 18:57:12 +12:00
Paul Chote
7c91d6976d Split keyboard and mouse focus.
Fixes #3304.
Fixes #2075.
Fixes C&C chat focus bug.
2013-07-27 21:02:52 +12:00
ScottNZ
8bec40eb9b Move SupportPowerInstance out of SupportPowerManager 2013-07-14 22:40:38 +12:00
Paul Chote
ec15aa5ee4 Restore radar enable/disable sounds. 2013-07-08 21:06:30 +12:00
Paul Chote
f8313672ff Kill PowerBarWidget. Fixes #3446. 2013-07-05 21:50:34 +12:00
Paul Chote
6fa4e54022 Remove the hardcoded mess of RadarBinWidget. 2013-07-04 23:19:25 +12:00
Paul Chote
a0e224ec71 Add a Credits menu. Fixes #2864. 2013-06-19 13:21:29 +12:00
Matthias Mailänder
90dc6d3298 Merge pull request #3238 from pchote/local-pause-state
Remove local pause order lag delay
2013-05-10 03:07:08 -07:00
Paul Chote
656476991f Replace ColorRamp with HSLColor everywhere.
Fixes:
* Nuclear-purple color exploit.
* #3247.
* Removes a bunch of unnecessary color conversions every frame.

Caveats:
* The ramp range is now defined on the palette, so ramps can no longer be set per-player (may impact maps which define custom colors).
* It's no longer possible to perfectly recreate the original WW color ramps (I doubt we care).
* The old ColorRamp setting isn't migrated, so players will lose their color settings.
2013-05-10 19:23:30 +12:00
Paul Chote
c3c5321e1d Predict local pause state to avoid order lag. Fixes #3223. 2013-05-09 22:42:55 +12:00
Matthias Mailänder
461cc347fc Merge pull request #3169 from pchote/colorpicker
New Colorpicker with graphical mixer
2013-04-27 03:12:53 -07:00
Paul Chote
70f705bdc7 Implement the new color picker. 2013-04-27 12:35:41 +12:00