Commit Graph

547 Commits

Author SHA1 Message Date
Matthias Mailänder
23ca044515 allowUPnP is a bad name for automatic port forwards
also check it by default if all those checks went well
2013-04-10 12:45:16 +02:00
Paul Chote
248e815d99 More shroud refactoring.
This introduces a hash on Shroud which ShroudRenderer
can observe, removing the need to explicitly twiddle
a dirty flag between objects.

Shroud disabling is now done via RenderPlayer, so
enabling the cheat or winning/losing will now give
vis equivalent to an observer.
2013-04-10 21:08:22 +12:00
Paul Chote
c428cad70c Refactor per-player shrouds & fix shellmap shroud. 2013-04-10 19:36:03 +12:00
Scott_NZ
c173cfa771 Remove extra tab 2013-04-09 03:07:33 +12:00
Scott_NZ
67fcdb5b91 Remove Shroud.Jank() and make all references to it call Shroud.Dirty() instead 2013-04-09 00:18:08 +12:00
Matthias Mailänder
f0e88b55f6 Merge pull request #3005 from pchote/observer-shroud
Implement observer shroud selector in C&C
2013-04-08 02:44:44 -07:00
Paul Chote
c52bd4bf82 Implement observer shroud selector in C&C. 2013-04-08 21:24:09 +12:00
Paul Chote
76b206670a Make cheats logic robust against missing widgets.
Also removes force-desync stdout spam.
2013-04-07 23:41:31 +12:00
Paul Chote
096d95f391 Fix bogus pause logic. 2013-04-07 23:38:52 +12:00
Matthias Mailänder
b2d885d268 Merge pull request #2403 from Mailaender/mono-nat
Use Mono.Nat for UPnP port forwarding.
2013-04-06 04:50:22 -07:00
Matthias Mailänder
0488903a15 enhanced UPnP discovery usability
- don't search for NATs forever, 5 seconds seem to be enough
- disable the UPnP checkbox if discovery failed
- no computer industry acronyms in user GUI
- don't remove port-forwarding twice, just once on shutdown
- user-configurable settings for debugging
2013-04-06 13:32:50 +02:00
Matthias Mailänder
b25e29173a Merge pull request #2968 from pchote/map-chooser
Map chooser polish & refactoring
2013-04-06 01:08:21 -07:00
Paul Chote
2cb634b8f5 New spawn selector tooltip for C&C. 2013-04-06 14:50:40 +13:00
Matthias Mailänder
819e48334e fixed #2540 AI orders misinterpreted as an exploit on dedicated 2013-04-05 18:49:15 +02:00
Paul Chote
d739b747de Only render the previews we can actually see.
This really should be fixed generally in ScrollPanelWidget,
but this is the most painful case.
2013-04-06 03:12:02 +13:00
Paul Chote
4bc5d06c19 Minor map chooser polish tweaks. 2013-04-06 02:28:26 +13:00
Paul Chote
5e2e284cbf Add map type and author to lobby. 2013-04-06 01:52:16 +13:00
Paul Chote
8f7940f969 Move threading into the preview generation. 2013-04-06 01:39:05 +13:00
Paul Chote
c2cc4c2256 Add random map button to the C&C map chooser.
This also fixes issues relating to RunAfterTick
calls being run out of order - the downside being
that the list remains empty until the iteration
is complete. This will be fixed in a following patch.
2013-04-06 01:39:04 +13:00
Sascha Biedermann
2982002397 added "Force Desync" Cheat for debugging 2013-04-02 23:38:36 +02:00
Scott_NZ
3123bebe33 Fixes #2907
Sort servers by players in the server browser
2013-04-02 12:50:21 +13:00
Scott_NZ
c0e3861891 Fix #2888
Only choose out of the selectable maps when pressing Random Map in the lobby
2013-04-02 12:36:02 +13:00
Matthias Mailänder
c68d939e4f Merge pull request #2823 from ihptru/auto-map-dl
Auto map downloading
2013-04-01 09:11:25 -07:00
Matthias Mailänder
2fe75b322d Merge pull request #2879 from bidifx/chat
closes #2874: improved ingame chat
2013-03-30 00:40:47 -07:00
Matthias Mailänder
091bdac830 Merge pull request #2861 from Mailaender/version-mismatch-config
fully configurable version mismatch detection
2013-03-30 00:25:30 -07:00
Paul Chote
0cff8b5b12 Add a debug visualization for muzzle positions. 2013-03-29 20:42:56 +13:00
Sascha Biedermann
1eb7c62c62 closes #2874: improved ingame chat 2013-03-28 18:39:26 +01:00
Sascha Biedermann
467002a88b fixes #2866: added ButtonWidget.GetKey as delegate 2013-03-28 10:03:41 +01:00
Sascha Biedermann
10c38d1339 hotfix for #2789, ready CheckBox 2013-03-27 12:58:43 +01:00
Matthias Mailänder
81dac5521f make the whole version mismatch mechanic user-configurable 2013-03-27 12:19:22 +01:00
Matthias Mailänder
0a82bfe552 format TODO: uniformly to auto-generate task list in MonoDevelop 2013-03-27 09:45:17 +01:00
Matthias Mailänder
c993140fe7 Merge pull request #2822 from Mailaender/shroud-selector
Added Shroud selector to spectator mode
2013-03-26 14:34:06 -07:00
Matthias Mailänder
28f24cd03a Merge pull request #2801 from Mailaender/hotkey-cleanup
Remove inconsistencies that crash C&C mod
2013-03-26 14:28:49 -07:00
Matthias Mailänder
baacad8432 add Shroud selector to spectator mode, closes #2463 2013-03-24 10:42:58 +01:00
Matthias Mailänder
91442a0414 add a close button with hotkey to diplomacy widget 2013-03-24 08:37:38 +01:00
Igor Popov
10ec82d1bb give user info that new map has been downloaded (being in lobby). so he is not confused with the reason of black screen 2013-03-23 19:46:41 +04:00
Igor Popov
1005c0bc08 auto-map-downloading 2013-03-23 19:29:52 +04:00
Igor Popov
586723926a auto-map-downloading updated. (sync) 2013-03-23 19:27:53 +04:00
Matthias Mailänder
7f6eaf8d5e move order button hotkey logic to ingame chrome logic
removes power-down again from cnc mod as it is not wanted there
2013-03-23 09:47:35 +01:00
Matthias Mailänder
15324b1f1a bring the Diplomacy menu back to life, but
- rename LockTeams to FragileAlliances to avoid confusion
- only allow it in Free-For-All, not Team games or Missions
- grey out non-functional buttons and disabled checkboxes
2013-03-22 18:34:52 +01:00
Sascha Biedermann
594e3c14e6 fixes #2799: double click on server to join 2013-03-21 18:14:57 +01:00
Matthias Mailänder
99c3272a81 add tab cycle key to setting GUI 2013-03-20 08:24:51 +01:00
Sascha Biedermann
b6d09b8829 fixed child removal
fixed relayout on draw
refactored child remove/replace into ScrollPanelWidget
fixed scrolling on child remove
2013-03-19 17:39:07 +01:00
Sascha Biedermann
770d79da0b update player list in lobby gracefully for better user experience 2013-03-18 22:25:31 +01:00
Scott_NZ
2722fc5434 Pause the game when users navigate to the options menu in SP mode 2013-03-17 21:14:49 +13:00
Chris Forbes
c5d97fea69 Merge pull request #2738 from Mailaender/a-star
A-star debug overlay
2013-03-10 16:20:34 -07:00
Chris Forbes
7a41b10618 Merge pull request #2744 from ScottNZ/lobby
Add "Assign Teams" lobby drop down button
2013-03-10 16:20:19 -07:00
Scott_NZ
bd292b56cf Ignore spectators when counting clients for the assignteams command 2013-03-11 01:20:08 +13:00
Scott_NZ
7af91f1747 Disable the button/order when there aren't enough clients to assign 2013-03-11 00:29:23 +13:00
Matthias Mailänder
9d6c8453fd add hidden MaxFPS settings to ra/d2k GUI 2013-03-10 09:42:05 +01:00