Commit Graph

265 Commits

Author SHA1 Message Date
Matthias Mailänder
7a466890e5 hide tabs when script errors occur 2015-08-06 12:51:07 +02:00
Matthias Mailänder
d4a0bfe2a5 disable menu buttons when script errors occur 2015-08-06 12:49:35 +02:00
Matthias Mailänder
f1b9b31f07 remove duplicated line 2015-08-06 12:49:35 +02:00
Matthias Mailänder
987fdab042 unhardcode the chrome definition keys 2015-08-05 21:19:09 +02:00
Paul Chote
de4fbfd47a Reset tooltips when dismissing a DropDownButtonWidget. 2015-08-05 09:11:19 +01:00
Paul Chote
710a32d1ce Extract ScrollPanel tooltip workaround into common code. 2015-08-05 09:11:19 +01:00
Pavel Penev
958e996004 Merge pull request #8922 from pchote/fix-tabcomplete-crash
Fix a divide by zero crash in TabCompletionLogic.
2015-08-04 00:44:50 +03:00
Paul Chote
0aca03158c Fix a divide by zero crash in TabCompletionLogic. 2015-08-03 21:42:30 +01:00
Paul Chote
800fe5ff8d Merge pull request #8902 from deniz1a/dropdown-autoscroll
Makes dropdown menus auto-scroll to selected item.
2015-08-03 21:13:41 +01:00
Matthias Mailänder
bbb186d9c8 fix marking player as spectator going through unsynced code 2015-08-03 10:28:32 +02:00
deniz1a
53329b7068 Makes dropdown menus auto-scroll to selected item. 2015-08-02 23:27:54 +03:00
Paul Chote
a0c256173b Merge pull request #8851 from penev92/bleed_rename
Some more renaming from "race" to "faction"
2015-08-02 15:34:41 +01:00
Oliver Brakmann
43a3717659 Merge pull request #8888 from deniz1a/fix-assetbrowser
Revert "Improves filter text field in asset browser."
2015-08-02 16:12:21 +02:00
Oliver Brakmann
9e2f06aa2d Merge pull request #8876 from pchote/music
Refine the music playlist code.
2015-08-02 15:49:13 +02:00
deniz1a
37ac08ecfe Revert "Improves filter text field in asset browser."
This reverts commit 4fcf73921f.
2015-08-02 16:17:48 +03:00
Paul Chote
1d307bfe07 Disable music auto-play unless tracks are installed. 2015-08-01 23:05:09 +01:00
Paul Chote
9b3ef9e7f7 Move MusicPlaylist to Mods.Common. 2015-08-01 22:56:07 +01:00
Paul Chote
5952d8c979 Fix crash when opening music player from TD lobby. 2015-08-01 20:52:20 +01:00
Paul Chote
fb0e2c5cc3 Introduce background music concept. 2015-08-01 20:52:20 +01:00
Paul Chote
3a8a18499e Fix radar pixel <-> cell conversions.
Fixes #8869.
2015-08-01 20:19:20 +01:00
Paul Chote
82abd5a016 Merge pull request #8808 from deniz1a/leavemap-cleanup
Removes unnecessary code from IngameChatLogic.cs.
2015-08-01 11:21:15 +01:00
Paul Chote
ed359c8aeb Improve radar display for isometric maps. 2015-07-31 08:34:16 +01:00
Paul Chote
372d93994c Account for heightmaps in choosing the minimap bounds. 2015-07-31 08:34:16 +01:00
Pavel Penev
1e9cc50805 Clean Production.cs of "race" 2015-07-31 05:38:43 +03:00
Pavel Penev
6379ee9394 Clean ObserverShroudSelectorLogic.cs of "race" 2015-07-31 05:38:27 +03:00
Paul Chote
66f4e1d775 Render the full map to the radar backing sheet. 2015-07-30 08:18:39 +01:00
Paul Chote
af69370c17 Improve lobby minimap display for isometric maps.
Also extracts a trait query from inside a tight loop to save unnecessary work.
2015-07-29 20:44:44 +01:00
James
1d3f4d6f12 added The First Decade Installation Logic 2015-07-29 08:18:26 +01:00
Matthias Mailänder
e127e55792 Merge pull request #8777 from pchote/base-key
Fall back to oldest building if no BaseBuildings exist.
2015-07-28 20:35:12 +02:00
deniz1a
e3c2dced36 Removes unnecessary code from IngameChatLogic.cs.
Cleanup after #8105.
2015-07-27 23:22:30 +03:00
Paul Chote
86ba26e013 Convert shroud calculations and rendering to PPos. 2015-07-27 19:34:50 +01:00
Paul Chote
e8794032e0 Introduce initial PPos plumbing.
PPos is best thought of as a cell grid applied in
screen space.  Multiple cells with different
terrain heights may be projected to the same PPos,
or to multiple PPos if they do not align with the
screen grid.

PPos coordinates are used primarily for map edge
checks and shroud / visibility queries.
2015-07-27 19:34:49 +01:00
Oliver Brakmann
b749548e76 Re-enable replays for missions 2015-07-25 20:51:39 +02:00
Oliver Brakmann
4de03e991c Remove revealing views from observer mode in missions 2015-07-25 20:51:39 +02:00
Oliver Brakmann
a77e9c0d87 Delay loading the observer UI until the game is actually over 2015-07-25 18:56:25 +03:00
Oliver Brakmann
a725d63b0c Remove World.ObserveAfterWinOrLose
Fixes RenderPlayer for "All Players" view.
2015-07-25 18:56:24 +03:00
deniz1a
5546298866 Merges LeaveMapLogic into GameInfoLogic.
Opens options menu when game ends.

Closes settings or music window before opening options menu.

Moves game end video playback logic from GameInfoLogic to
LoadIngamePlayerOrObserverUILogic.

Improves menu buttons.

Stop video from playing on fatal lua script error
2015-07-25 18:56:24 +03:00
deniz1a
ef143e5f8a Freezes map after game ends.
Adds newline.

Disables keyboard hotkeys for units after game ends.
2015-07-25 18:56:23 +03:00
Oliver Brakmann
8c766a4a79 Merge pull request #8721 from penev92/bleed_rename
Some more Country -> Faction renaming
2015-07-25 17:10:35 +02:00
bryanwilbur
031109d766 The 'Jump to base' hotkey is useless if the Construction Yard is destroyed #3318
Now works like original Red Alert.  When there are no more Construction Yards the 'Jump to base' hotkey goes to the oldest undestroyed building.
2015-07-25 10:04:14 +01:00
Paul Chote
c70ebfab74 Create the user map directory if required.
Fixes #8772.
2015-07-25 09:36:29 +01:00
penev92
7c1ef2231d Rename RaceInit to FactionInit 2015-07-25 00:39:31 +03:00
penev92
b34810c1d3 Rename AddRaceSuffixLogic to AddFactionSuffixLogic 2015-07-25 00:39:29 +03:00
penev92
9a36bf6bcd Rename CountryTooltipLogic to FactionTooltipLogic 2015-07-25 00:20:59 +03:00
penev92
dc30e5a46d Rename LobbyCountry to LobbyFaction 2015-07-25 00:20:58 +03:00
deniz1a
f5b4befc75 Resets chat text field in lobby when Esc is pressed. 2015-07-24 23:21:37 +03:00
deniz1a
7337afcfeb Improves player name text field in game lobby.
Esc key resets text field to unmodified value and yields focus.
2015-07-24 23:13:17 +03:00
deniz1a
a51cc27fb5 Improves frame limit and player name text fields in settings menu.
Esc key resets text field to unedited value and yields focus.
2015-07-24 23:09:16 +03:00
deniz1a
4fcf73921f Improves filter text field in asset browser.
Text field takes keyboard focus by default.
Esc key resets filter or closes window if text field is empty.
2015-07-24 23:09:15 +03:00
deniz1a
d8c996f74a Fixes spelling in comment. 2015-07-24 23:09:15 +03:00