Commit Graph

24041 Commits

Author SHA1 Message Date
Paul Chote
83d522d945 Split unrelated hotkeys from WorldInteractionController. 2017-09-15 23:06:38 +02:00
Paul Chote
0e3bfcfb35 Replace WorldCommandWidget with individual logic classes. 2017-09-15 23:06:38 +02:00
Paul Chote
983f9c4cde Remove hardcoded DevReloadChrome and HideUserInterface hotkeys. 2017-09-15 23:06:38 +02:00
Paul Chote
25e88008ef Make the mute hotkey global. 2017-09-15 23:06:38 +02:00
Paul Chote
c759a68492 Move hardcoded screenshot hotkey into yaml. 2017-09-15 23:06:38 +02:00
Paul Chote
8c4afa414a Add a base single-hotkey logic class to avoid future duplication. 2017-09-15 23:06:38 +02:00
Paul Chote
c6fe1639db Support multiple key handlers. 2017-09-15 23:06:38 +02:00
Paul Chote
7459050af9 Rework global music hotkey bindings. 2017-09-15 23:06:38 +02:00
reaperrr
08aaa998aa Fix AI BuildingLimits
The AI BaseBuilder would allow building a structure not only when the current number was lower, but also of it was equal to the limit, which allowed the AI to build one too much of every building.
2017-09-15 19:31:57 +01:00
reaperrr
dbcfb0c92e Rename and move WithTurretedSpriteBody
The name wasn't in line with our implicit naming convention and ambigous on top of that.
Also, only used by RA and TD so moved to Mods.Cnc.
2017-09-15 18:10:13 +01:00
reaperrr
c611b5aeeb Remove 'ed' from WithTurretedAttackAnimation
Too confusing, as people might think it requires 'WithTurretedSpriteBody', also not entirely in line with our (admittedly implicit) render trait naming convention.
2017-09-15 18:10:13 +01:00
Mustafa Alperen Seki
c0b8bb3fcf Add Generals Pilot Logic 2017-09-14 23:26:10 +02:00
gwenzek
11a990e352 check if target is alive 2017-09-14 23:19:28 +02:00
gwenzek
7721d0b328 add a "capturing" condition for ExternalCapture 2017-09-14 23:19:28 +02:00
Forcecore
8027bed6b2 Separated ship squad from ground unit squad
Just like aircrafts are independent from ground squads.
2017-09-13 23:31:26 +02:00
abcdefg30
5ddf28fa81 Bomber John rules cleanup
Removed hacks, default values and duplicates
2017-09-13 22:13:49 +02:00
abcdefg30
0f95febefa Bomber John sequence cleanup
Most of those sequences were unused or default values
Tick count fixed as well
2017-09-13 22:13:49 +02:00
abcdefg30
ed598d2ab4 Make it possible to disable adjacency 2017-09-13 22:13:49 +02:00
abcdefg30
17f7aac35c Add more RevealDisguiseOn types 2017-09-13 21:18:21 +02:00
abcdefg30
71f2026b32 Remove the hardcoded cloak reference from activities 2017-09-13 21:18:21 +02:00
Paul Chote
049ed086f9 Add assault move to TS. 2017-09-11 19:08:33 +02:00
Paul Chote
646a6aa1e8 Fix TS target types. 2017-09-11 19:08:33 +02:00
Paul Chote
3575e82078 Add assault move to D2K. 2017-09-11 19:08:33 +02:00
Paul Chote
d588854cc5 Add assault move to TD. 2017-09-11 19:08:33 +02:00
Paul Chote
c46d1944d9 Add assault move to RA. 2017-09-11 19:08:33 +02:00
Paul Chote
a81749e102 Add frontend code for issuing assault move orders. 2017-09-11 19:08:33 +02:00
Paul Chote
ffee45cd76 Add AttackMove support for AssaultMove orders and condition granting. 2017-09-11 19:08:33 +02:00
Paul Chote
1e4640dc0b Clean up SupportPowerTooltipLogic:
- Avoid creating unnecessary bindings
- Avoid duplicated text size calculations
- Relayout panel when (and only when) needed
- Color timer red when paused
2017-09-10 21:30:55 +02:00
Paul Chote
458c913264 Clean up ProductionTooltipLogic:
- Avoid creating unnecessary bindings
- Fix time display not updating on low power
- Fix power usage color not updating on power changes
- Avoid duplicated text size calculations
2017-09-10 21:30:55 +02:00
Paul Chote
b3b2efa781 Move hardcoded viewport keys into yaml. 2017-09-10 21:30:55 +02:00
Paul Chote
2a6bb0678e Move hardcoded support power keys into yaml. 2017-09-10 21:30:55 +02:00
Paul Chote
4f00d62237 Move hardcoded production keys into yaml. 2017-09-10 21:30:55 +02:00
Paul Chote
19000219af Allow widgets to expose custom hotkey names to the linter. 2017-09-10 21:30:55 +02:00
Paul Chote
1180c5ddaa Move hardcoded production tab keys into yaml. 2017-09-10 21:30:55 +02:00
Paul Chote
f5e38a4e2c Move ISeedableResource interface to Mods.Common. 2017-09-10 18:36:39 +02:00
Paul Chote
1de767d9bf Move objectives interfaces to Mods.Common. 2017-09-10 18:36:39 +02:00
Paul Chote
3f72076e1a Move radar signature interfaces to Mods.Common. 2017-09-10 18:36:39 +02:00
Paul Chote
e54cf9acc3 Move linter interfaces to Mods.Common. 2017-09-10 18:36:39 +02:00
Paul Chote
0648fc9f31 Move damage notification interfaces to Mods.Common. 2017-09-10 18:36:39 +02:00
Paul Chote
e3212d1e64 Move the IMove interface to Mods.Common. 2017-09-10 18:36:39 +02:00
Paul Chote
0f6dda3f5f Calculate building placement offsets in screen space. 2017-09-10 18:26:54 +02:00
reaperrr
0161d68237 Fix RA TorpTube bridge explosions
There were two issues at work here:
1) The combination of default MaximumLaunchAngle and default CruiseAltitude made torpedoes fly a ballistic curve, which combined with BoundToTerrain type made them explode 'in the air' when hitting non-water tiles. This would result in AIr returned as target type, which is invalid for torpedoes.
2) The explosion warheads were missing the Ground target type, which is actually the (only) target type that the bridge tiles you hit with torpedoes have.
2017-09-10 18:10:24 +02:00
reaperrr
b68c935807 Fix water splash on bridge in RA
On bleed, both the explosion as well as the water splash warhead of weapons triggered on bridges, since they have both the Ground and Water target types.

Ground cannot be made invalid for water splashes without causing regressions elsewhere, so a new Bridge target type is introduced to explicitly make bridges invalid targets for water splash effect warheads.
2017-09-10 18:10:24 +02:00
Paul Chote
23382dc508 Remove dummy d2k support bin overlay. 2017-09-10 15:25:43 +02:00
SoScared
b78736acb7 Replace all Creep with Neutral actors on map Agenda 2017-09-10 15:06:41 +02:00
Taryn Hill
48a071c756 Always use noget in fetch-thirdparty-deps-windows.sh 2017-09-10 14:52:13 +02:00
Forcecore
1dfba51665 Removed dead WSB from Refinery trait 2017-09-09 11:15:31 +01:00
reaperrr
43664a12b5 Tweaked TS tiberium colors
- excluded tiberium palettes from global lighting, just like in the original
- tweaked colors to match original more closely
2017-09-07 21:40:29 +01:00
Ishan Bhargava
9cd81a6310 Add myself to AUTHORS
Pull request #5666
2017-09-07 18:33:34 +02:00
reaperrr
024887b268 Move Contrail to Traits
And make interface implementations explicit while we're at it.
2017-09-06 22:07:02 +01:00