Commit Graph

438 Commits

Author SHA1 Message Date
Pavlos Touboulidis
b560268495 Change animations to use the proper SequenceProvider
Remove references to the global "Game" and use the SequenceProvider
of the current world/map.
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
49ec533481 Better distinction between Widgets using the mod's DefaultRules or the map's Rules 2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
3eefcc69f8 Use proper map rules in ProductionTooltipLogic.cs 2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
d9db1c1854 Revert replacing generic Ui.OpenWindow with static method in MusicPlayerLogic 2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
750fc4e02c Merge ModRuleset and MapRuleset into Ruleset 2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
63ec6d60e7 Refactoring to remove static Rules & SequenceProvider 2014-05-17 14:32:03 +03:00
Saticmotion
1bf3f3e03e The engine now uses the SDL2.0 scroll events properly.
Scroll speed is now a user preference.
2014-05-16 13:56:22 +02:00
ScottNZ
c7d8024522 Add a news panel to each mod 2014-05-14 23:51:41 +12:00
Paul Chote
fdd4437c52 Re-enable shellmaps. 2014-05-02 22:08:41 +12:00
Sebastien Kerguen
a7c77d4155 Fixes the speed of the blinking READY text (in RA & TD). 2014-04-24 20:22:22 +02:00
Paul Chote
1a69118f02 Make the ready overlay blink. Fixes #3032. 2014-04-22 23:49:24 +12:00
Matthias Mailänder
b6f2c119a7 take low power slowdown into account
fixes #4840
2014-04-19 08:58:47 +02:00
Paul Chote
4935266945 Merge FileFormats dll into Game and reorganise namespaces. 2014-04-17 01:20:47 +12:00
Paul Chote
1b2a90c00c Migrate to System.Lazy. 2014-04-09 20:20:41 +12:00
Matthias Mailänder
67cd0645a4 update to .NET 4.0 2014-04-09 20:20:26 +12:00
Oliver Brakmann
4d71e37ab0 Disable shellmaps temporarily 2014-04-03 17:24:01 +02:00
Paul Chote
0bc3a68e9f Unify all mods on the C&C order button logic. 2014-03-22 00:02:41 +13:00
Paul Chote
20b88fd904 Remove World.FrameNumber. 2014-03-12 17:19:29 +13:00
ScottNZ
1a3ec26a1e Unify ra and cnc main menu logic and clean up the main menus.
Move a bunch of buttons into an Extras submenu and the server browser.
Move CncMenuPaletteEffect to ra so it can be used elsewhere and rename it to MenuPaletteEffect.
2014-01-31 23:47:15 +13:00
Kanar
17cf890dce Enables "insufficient power"-speech in RA and C&C when powered-down supportpowerwidget is clicked 2014-01-27 04:29:32 +01:00
Paul Chote
7b01b74ffc Save the map choice from the Skirmish button. 2013-12-10 09:12:42 +13:00
Matthias Mailänder
bcba26a04e don't hardcode SHIFT modifier for backwards tab cycle
closes #4144
2013-12-07 12:19:32 +01:00
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