Commit Graph

984 Commits

Author SHA1 Message Date
Alexander Fast
bab7f765dd Replaced GetPlayerNames method with simpler linq.
Bonus feature: it now auto complete bot names as well.
2014-08-21 13:02:17 +02:00
Alexander Fast
0c6f180f56 Replaced ForEach with loop, moved Trim outside. 2014-08-21 12:39:53 +02:00
Alexander Fast
3160fa40f6 Added tab completion to lobby chat.
Also fixes accidental reversion of one word logic during cleanup.
Fields that could be readonly are now readonly.
2014-08-19 22:48:51 +02:00
Alexander Fast
ab61830d0f Code cleanup based on code review.
Fixes multiple enumeration of IEnumerable.
Fixes return value of pure method not used.
Converted OnTabKey and OnClick handlers to method groups.
Removed one set of redundant parenthesis.
Replaced explicit type with var.
2014-08-19 21:27:39 +02:00
Alexander Fast
034625c2ea Added tab completion to in-game chat.
Both player names and chat commands can be completed.
Names of local players and bots are not candidates for completion.
If a completed name is the first word ": " is appended to the end.
The hotkey for toggling team/all chat has been moved to left Alt.
2014-08-19 17:19:32 +02:00
Paul Chote
520df8242d Merge pull request #6217 from Mailaender/starting-units-classname
Fixed lobby start unit notifications not showing class names
2014-08-19 10:15:12 +12:00
Paul Chote
774e516106 Suppress map change order when selecting the same map. Fixes #6206. 2014-08-19 00:13:48 +12:00
Matthias Mailänder
24a3fd3196 show a user friendly description of the starting unit template
closes #6209
2014-08-09 13:34:03 +02:00
Paul Chote
54fa8e4d30 Merge pull request #6182 from obrakmann/fix6172
Fix observer widgets not showing up when a player loses
2014-08-09 12:45:54 +12:00
Oliver Brakmann
d673520d82 Remove inconsistencies w.r.t the Surrender order
* Surrendering is now possible even in maps that do not use
  ConquestVictoryConditions.
* The Surrender button is greyed out instead of hidden when it cannot be
  used.
2014-08-08 13:35:50 +02:00
Oliver Brakmann
819eb64011 Add end game dialog 2014-08-08 13:35:49 +02:00
Oliver Brakmann
8cec848a0f Add a mission objectives GUI panel 2014-08-08 13:35:49 +02:00
Oliver Brakmann
b85d5a9193 Fix observer widgets not showing up when a player loses
Fixes #6172.
2014-08-05 12:52:04 +02:00
Matthias Mailänder
282b16e3fc disable music installation during a game
closes #6058
2014-08-03 14:38:47 +02:00
Paul Chote
e827b343ab Disable multiple-queuing from the keyboard. 2014-08-03 19:28:10 +12:00
Paul Chote
43bd8a361e Implement new production hotkeys. Fixes #3915, #4142, #4181. 2014-08-03 19:28:07 +12:00
ScottNZ
692e3a9c88 Move Power out of Building and into its own trait
Conflicts:
	mods/ts/rules/structures.yaml
2014-08-03 18:53:51 +12:00
Paul Chote
efebb500f0 Fix instant-use and AllowMultiple support powers.
Fixes #2185, #6090.
2014-08-02 21:30:29 +12:00
Paul Chote
d88b27745b Fix observer buttons. 2014-07-26 19:26:03 +12:00
Paul Chote
f9fcded77c Add icons to the production tooltip. 2014-07-26 18:20:10 +12:00
Paul Chote
7c9223caea Add tooltips for the power and cash displays. 2014-07-26 18:20:10 +12:00
Paul Chote
f7f01cc08e Add hotkey support to ProductionPaletteWidget. 2014-07-26 18:20:10 +12:00
Paul Chote
fa0b33a1ea Re-enable the ready colour blinking. 2014-07-26 18:20:10 +12:00
Paul Chote
0c607ffff2 Move legacy widgets into D2K project. 2014-07-26 18:20:10 +12:00
Paul Chote
a0e5554aaa Overhaul the RA sidebar UI. 2014-07-26 18:20:09 +12:00
Paul Chote
c1e83d9415 Support trimmed production icon rectangles. 2014-07-26 18:20:09 +12:00
Paul Chote
17d601113e Move SupportPowersWidget into RA and generalize. 2014-07-26 18:20:08 +12:00
Paul Chote
ae9a3075a9 Add a logic class for faction-specific backgrounds. 2014-07-26 18:20:08 +12:00
Paul Chote
cbfc8e0b27 Blink the power display red when low power. 2014-07-26 18:20:08 +12:00
Paul Chote
dee6a9bac4 Support fading the area behind the radar to black. 2014-07-26 18:20:08 +12:00
Paul Chote
fda3ae2fb0 Make the diplomacy panel consistent with cheats and menu. 2014-07-26 18:20:08 +12:00
Paul Chote
9e2b3ce0b8 Unify cheats -> debug and adjust plumbing for new RA UI. 2014-07-26 18:20:08 +12:00
Paul Chote
e7ae615ac9 Split the last TD UI logic into reuseable chunks. 2014-07-26 18:20:07 +12:00
Paul Chote
ef00411931 Add support for single-line time display. 2014-07-26 18:20:07 +12:00
Paul Chote
2de9d3780b Extract ProductionPalette background drawing into logic code. 2014-07-26 18:20:07 +12:00
Paul Chote
54b5da3460 Don’t crash if there are no production icons. Fixes #5543. 2014-07-26 18:20:07 +12:00
Paul Chote
1e76baf070 Move TD production widgets into the RA project. 2014-07-26 18:20:07 +12:00
Paul Chote
ba21428276 Hide invalid hotkey from button tooltips. 2014-07-26 18:20:06 +12:00
ihptru
3ef8d76bfe remove .php prefixes related to master server 2014-07-25 19:55:54 +04:00
Deniz Ayıkol
17ea6e1ec2 Make lobby chat field have keyboard focus by default. 2014-07-24 14:59:11 +03:00
Paul Chote
a2e6feac2a Merge pull request #5850 from pavlos256/game-loop
Improve the game loop
2014-07-24 20:24:08 +12:00
Matthias Mailänder
d830a0a7ae Merge pull request #6029 from pchote/gametomods
Move *Renderables and Render* out of Game.
2014-07-23 06:54:42 +02:00
Paul Chote
3744a1af25 Revert "Make Shift+<Hotkey> queue five units/buildings. Fixes #5544." 2014-07-22 20:16:47 +12:00
Paul Chote
51abbad5ff Move RenderSprites and RenderSimple into Mods.RA. 2014-07-22 16:43:39 +12:00
Pavlos Touboulidis
b88b87b899 Improve game loop
Environment.TickCount was replaced with Game.RunTime that's based on
Stopwatch for increased accuracy.
2014-07-10 04:06:29 +03:00
Oliver Brakmann
ab4a9388ce Change defaults for the production palette's ready sign
Default is now to blink alternating between white and gold.
2014-07-09 12:09:44 +02:00
Paul Chote
8b01ed034b Restore blinking ready label in RA. 2014-07-09 21:08:00 +12:00
Paul Chote
15ec2b40f2 Merge pull request #5890 from Mailaender/negative-spawns-crash-fix
Made GetSpawnOccupants more robust against invalid list queries
2014-07-09 20:48:12 +12:00
Matthias Mailänder
5a891daa59 make GetSpawnOccupants more robust against invalid list queries
fixes #5588
2014-07-09 06:21:59 +02:00
Paul Chote
5650d5fc98 Revert "use TickRender() for RenderSprites and PaletteModifier"
This reverts commit 87fd576b26.
2014-07-08 11:09:54 +12:00