Commit Graph

2429 Commits

Author SHA1 Message Date
atlimit8
bbd54cb32f Added IDisabledTrait & rewrote upgrade code using a level-based approach.
Upgradeable traits are notified whenever an upgrade of their declared types are granted or revoked.  The traits maintain their own internal level counter, which is then used to enable or disable the trait functionality.  A trait can register for multiple upgrade types which then all affect the internal level counter.

	IDisabledTrait for identifying (and filtering) disabled traits
	UpgradableTrait provides an abstract base for traits to support upgrade levels
	Added IDisabledTrait support to GlobalButtonOrderGenerator

	Includes rework by pchote with alterations.
2014-11-26 05:45:26 -06:00
Oliver Brakmann
4956bc9213 Add min range to bazookas
Fixes #7000
2014-11-25 22:08:33 +01:00
abcdefg30
19713a19f6 Added support for selecting mission difficulty 2014-11-23 13:31:35 +01:00
abcdefg30
c62d33c4bb let nod attack from different directions 2014-11-22 14:59:09 +01:00
Matthias Mailänder
2dad3b5a59 fix harvesters crushing the sand bags 2014-11-22 14:59:09 +01:00
Matthias Mailänder
a29a16b921 port gdi03 to the new Lua API 2014-11-22 14:59:08 +01:00
Matthias Mailänder
8245b818f8 remove lonely tab 2014-11-22 14:57:16 +01:00
DeadlySurprise
c504383d92 Changed aspect ratio implementation 2014-11-18 22:35:34 +01:00
obrakmann
8ac2f7fce3 Merge pull request #6957 from ScottNZ/bleed
Set passenger facings when they are unloading
2014-11-15 23:54:15 +01:00
ScottNZ
60a197f8d7 Set PassengerFacing to 0 for ra/td lst 2014-11-16 10:53:16 +13:00
Paul Chote
c8ed0fc75c Fix the hotkey panel margins. 2014-11-15 09:46:31 +13:00
Paul Chote
f5c09121ad Remove buggy classic mouse orders. Closes #3153. 2014-11-15 09:40:25 +13:00
Matthias Mailänder
d418afaab9 don't re-use regular multiplayer crates
fixes #6869
2014-11-10 20:20:10 +01:00
Paul Chote
118275b376 Add terrain geometry visualisation. 2014-11-07 19:18:34 +13:00
Paul Chote
bd4c22ba96 Merge pull request #6682 from Mailaender/player-settings-ui
Added player name and color selection to Settings menu
2014-11-04 07:54:49 +13:00
Paul Chote
17f3b36f97 Merge pull request #6843 from Mailaender/unpolished-map-cull
Removed maps with visual problems
2014-11-02 09:57:46 +13:00
Matthias Mailänder
a3baee9d68 remove BelowUnits
closes #3670
2014-10-29 21:38:30 +01:00
Matthias Mailänder
4f919f5f4b remove Year 501
closes #6447
2014-10-28 07:37:10 +01:00
Matthias Mailänder
1478822a2f Merge pull request #6836 from pchote/polish-gdi0102
Closes #6757
Closes #6834
2014-10-26 08:02:46 +01:00
Matthias Mailänder
cb7ed7bf61 Merge pull request #6837 from obrakmann/mission-polish
Another mission polish PR
2014-10-26 07:47:47 +01:00
Paul Chote
99c0d8bd53 Require silos to be captured or destroyed in GDI02. 2014-10-26 13:43:35 +13:00
Oliver Brakmann
cb9f186097 Prevent viceroids from appearing in missions 2014-10-26 00:38:32 +02:00
Oliver Brakmann
fd8cd4ddea Enable fog in TD missions 2014-10-26 00:38:32 +02:00
Oliver Brakmann
1a63a0a167 Fix chat sounds overlapping with playing FMV in missions 2014-10-26 00:38:32 +02:00
Oliver Brakmann
90d517a448 Fix crates in gdi04a/b 2014-10-26 00:38:32 +02:00
Oliver Brakmann
7b1ab34392 Make crates not suck
* allow for crates without any associated CrateActions
* allow for crates to not auto-remove
2014-10-26 00:38:31 +02:00
Paul Chote
6f7d20681b Polish GDI01:
* Insert initial forces via landing craft.
* Remove unbuildable concrete wall from production palette.
* Fix chat sounds and reinforcement notification overlapping FMV.
* Cut down the excessive starting forces to encourage base building.
* Require Silo capture/destruction for victory.
2014-10-26 09:29:34 +13:00
Paul Chote
8b66162e99 Fix landing craft reinforcements in GDI01 and GDI02. 2014-10-26 09:21:43 +13:00
Paul Chote
69b561b12c Fix transport cargo visibility in GDI01 and GDI02. 2014-10-26 09:19:45 +13:00
Paul Chote
bb3dc06227 Polish Nod01:
- Script initial unit entry.
- Centre the camera on the initial starting point
- Give additional e3 reinforcements to clear the village.
2014-10-26 09:18:54 +13:00
obrakmann
93456fd2ab Merge pull request #6825 from huwpascoe/bike
Balancing: Increased BIKE cost to 600
2014-10-24 22:38:50 +02:00
Matthias Mailänder
f188894a53 Merge pull request #6807 from obrakmann/lua-cleanups
Lua cleanups
2014-10-24 18:29:34 +02:00
huwpascoe
07f3523bd4 Balancing: Increased BIKE cost to 600 2014-10-23 01:56:11 +01:00
steelphase
8fe7c71b66 Add chrome for slider thumb.
update hardcoded references to chrome.yaml to use public parameters.
2014-10-21 17:14:55 -04:00
Matthias Mailänder
1bed876540 bring back the player name and color to the settings menu
closes #6380
2014-10-21 23:09:39 +02:00
Matthias Mailänder
cfbdebc371 fix inconsistent naming 2014-10-21 23:04:09 +02:00
Oliver Brakmann
f55af366f2 Remove more references to old Lua API
Fixes #6811
2014-10-21 22:08:06 +02:00
Oliver Brakmann
37c5d51f19 Move Utils.Seconds and .Minutes into DateTime global
Also renames Date.IsHalloween to DateTime.IsHalloween
2014-10-21 22:08:06 +02:00
Oliver Brakmann
6a44c265e2 Made gdi04c easier to win and added cell trigger guards 2014-10-21 22:08:06 +02:00
steelphase
c0e7718fd5 Remove Unused Settings
This removes unused settings related to CrashDialog
2014-10-19 11:18:40 +02:00
Paul Chote
de8f3c3530 Add missing EOF newline to mod yaml files. 2014-10-19 21:06:50 +13:00
Paul Chote
cf2d30d80a Update map yaml formatting. 2014-10-19 21:06:50 +13:00
Matthias Mailänder
ae899b603d Merge pull request #6786 from pchote/retire-code
Retire legacy Lua API and IRC code.
2014-10-19 09:13:14 +02:00
Paul Chote
9aab4b2be6 Move shared font files to the common mod directory. 2014-10-19 19:54:02 +13:00
Paul Chote
0fc8344eb0 Add the statistics button to TD replays. 2014-10-19 15:32:27 +13:00
Paul Chote
2f6ceafc9c Add a new stats button glyph. 2014-10-19 15:32:27 +13:00
Paul Chote
ad88378a0b Overhaul the replay sidebar. 2014-10-19 15:32:26 +13:00
Paul Chote
0b875e2ca2 Allow custom ScrollPanel button styles. 2014-10-19 15:32:26 +13:00
Paul Chote
10923d6438 Remove old IRC code. 2014-10-19 13:19:09 +13:00
Paul Chote
5207fcc83b Remove legacy Lua API traits. 2014-10-19 12:43:17 +13:00