Commit Graph

530 Commits

Author SHA1 Message Date
Gordon Martin
5eab479c34 Adding SDL2 window grab on loading the game. Made this behaviour configurable in the 'Input' tab of the Settings menu
Updated settings file for TD to expose the new 'Lock mouse to window' display configuration option

A text label notes that modifying the 'Lock mouse' check box requires a restart
2014-06-09 19:10:05 +01:00
ScottNZ
157a42a3d5 Revert "Move cnc perf graph out of the way of the news button"
This reverts commit 8fc3870656.
2014-05-25 15:13:05 +12:00
Paul Chote
932765d0c4 Adjust news dialog layout. 2014-05-24 20:08:48 +12:00
Paul Chote
ccd9797caf Fix TD spawn dialog dropdown background. 2014-05-24 18:06:40 +12:00
Pavlos Touboulidis
de0a5ebd43 Improve replay metadata and the replay browser
List of changes:

* Better and more filters with new layout, for both mods.

* Rename/Delete/Detele all functionality.

* Simplified ReplayMetadata class considerably by introducing a new
GameInformation data object. The new GameInformation class contains
more information than previously available so the new solution is not
compatible with old replays, meaning it can't read old replays.

* Better and cleaner game information gathering in order to be written
at the end of the replay file.

* Revert changes to ReplayConnection, no longer necessary.

* Better exception message on missing sprites and fonts.

* New "SpawnOccupant" class that holds all the information needed by the
MapPreviewWidget to visualize a spawn point. It was using Session.Client
before and it was necessary to separate it to be able to show information
not available at lobby time.

* Fix keyboard focus UI bug when closing a window would not remove focus.
2014-05-22 21:54:14 +03:00
Pavlos Touboulidis
042910bd5e New common dialog: TextInputPrompt to get a string from the user
For both ra and cnc
2014-05-22 21:54:14 +03:00
Matthias Mailänder
e80eb7e0ee Merge pull request #5353 from pchote/map-validation
Disable maps with invalid rules
2014-05-22 09:55:06 +02:00
Paul Chote
72095c7fef Merge pull request #5280 from WolfGaming/techleveltraits
TechTreeTrait system has been made
2014-05-20 12:35:26 +12:00
WolfGaming
c873cac6e7 Added needed yaml files 2014-05-19 04:29:29 +00:00
Paul Chote
05eb56b1e2 Simplify MenuPaletteEffect activation. 2014-05-19 10:24:09 +12:00
Paul Chote
948b10aca1 Fix incorrect font in spawn selector. 2014-05-18 19:09:42 +12:00
Paul Chote
d548b88a57 Adjust the singleplayer menu button positions to remove unnecessary mouse movement. 2014-05-18 19:07:22 +12:00
Paul Chote
69e87b0057 Disable maps with broken rules in the lobby. Fixes #4334. 2014-05-18 17:41:36 +12:00
Squiggles211
5a60dc6a56 Fixes crash when joining multiplayer lobby
Fixes crash when joining a multiplayer lobby caused by recent spawn
choice changes.
2014-05-17 23:37:54 -05:00
Paul Chote
28c0310357 Merge pull request #5192 from matija-hustic/spawnchoice
Spawnchoice
2014-05-17 17:53:00 +12: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
matija-hustic
6eac7a3e05 Smaller spawns+letters. Map dialog width. Unavailable spawns disabled. 2014-05-16 11:23:23 +01:00
ScottNZ
8fc3870656 Move cnc perf graph out of the way of the news button 2014-05-14 23:51:46 +12:00
ScottNZ
c7d8024522 Add a news panel to each mod 2014-05-14 23:51:41 +12:00
Matthias Mailänder
8ba9f3dea7 fix missing un-l10n of C&C Requires: production tooltip
closes #5209
2014-04-28 08:30:12 +02:00
Matija H
a0f6038ea6 Facilitated spawn choice at game setup screen. 2014-04-25 23:27:16 +01:00
Matthias Mailänder
ef07cdeaa8 unambigitous naming 2014-04-21 13:49:00 +02:00
Matthias Mailänder
27a73d810f auto reformatting to key: value 2014-04-21 13:49:00 +02:00
Matthias Mailänder
4c4f7ab31f revert back to untranslated for uniform auto-generation 2014-04-21 13:49:00 +02:00
ScottNZ
22dd2b0a92 Add singleplayer mission menu to ra/td 2014-04-19 15:54:55 +12:00
Paul Chote
1178910aa1 Fix volume slider order in the settings panel. Fixes #5088. 2014-04-14 17:00:02 +12:00
Paul Chote
c720cb0b41 Extract mod selector into its own mod. 2014-04-03 07:21:56 +13:00
Paul Chote
6be25468bb Animate the C&C color picker preview. 2014-04-02 19:24:07 +13:00
Paul Chote
143d3aa083 Replace ShpImageWidget -> SpriteSequenceWidget. 2014-04-02 19:24:07 +13:00
Paul Chote
bf0c7297e2 Clean up the AssetBrowser logic. 2014-04-02 19:24:07 +13:00
Matthias Mailänder
98a3d7d55d scroll the game server list faster
closes #3462
2014-03-29 20:06:17 +01:00
Matthias Mailänder
64b4f62af0 hard-coded TooltipTemplate to YAML 2014-03-29 20:02:52 +01:00
Matthias Mailänder
d514689ec7 hard-coded ScrollVelocity to YAML 2014-03-29 19:50:31 +01:00
Paul Chote
55ad12d9a3 Show player and spawn details in the replay browser. 2014-03-23 13:00:53 +13:00
Paul Chote
3a8c94d8f8 Hook up observer view keybindings. Fixes #4435.
Uses 0-9 to select view (plus shift to cycle backwards), '-' for                 combined shroud and '=' for world view.
2014-03-22 23:18:52 +13:00
Paul Chote
a31cdec87a Move control group logic into its own logic class. 2014-03-22 22:32:41 +13:00
Paul Chote
2c8fc4603a Add flags and player colours to the observer selector. 2014-03-22 20:01:09 +13:00
Paul Chote
9541686de3 Add an order button for beacon placement. 2014-03-22 00:12:28 +13:00
Paul Chote
0bc3a68e9f Unify all mods on the C&C order button logic. 2014-03-22 00:02:41 +13:00
Paul Chote
c3ba27ef6c Reimplement ingame map downloading. 2014-03-21 23:33:15 +13:00
Paul Chote
e2e0728e20 Add a force start warning dialog. 2014-03-21 23:33:15 +13:00
Paul Chote
c5ba8548c4 Move C&C chrome definitions to more closely match the other mods. 2014-03-21 23:33:14 +13:00
Paul Chote
1020d45664 Split lobby map preview into its own logic class. 2014-03-21 23:33:14 +13:00
Paul Chote
8535e8d257 Add settings tab to TD lobby. Partially fixes #4770. 2014-03-20 22:53:19 +13:00
Paul Chote
48f3d8f3c0 Make the TD menu button positions consistent. Fixes #4735. 2014-03-20 22:46:27 +13:00
joncloud
cd43bf118b Fixed #4697 - Added lobby disconnect hotkey, and renamed the button for single player.
Fixed #4697 - Corrected a misspelled hotkey.
2014-03-16 13:45:01 -07:00
Paul Chote
45ad52f737 Adjust C&C replay UI. 2014-03-14 10:07:54 +01:00
Matthias Mailänder
0c20e38443 add a pause/slowdown/play/fastforward button for replays
closes #4633
2014-03-14 10:07:54 +01:00
Chris Forbes
32c2e001b6 Merge pull request #4852 from pchote/timer-fixup
Overhaul ingame timer displays.
2014-03-12 22:40:21 +13:00
Paul Chote
a7d6f717c4 Overhaul ingame timer displays. Fixes #3062. 2014-03-12 17:19:06 +13:00