Commit Graph

15987 Commits

Author SHA1 Message Date
Matthias Mailänder
8494ad0a38 Merge pull request #7834 from RoosterDragon/avoid-preventable-allocations
Avoid preventable allocations
2015-04-03 13:52:46 +02:00
Pavel Penev
cedfe5c0b5 Merge pull request #7734 from RoosterDragon/frozen-lazy-render
Lazily generate frozen actor renderables.
2015-04-03 04:16:19 -07:00
Pavel Penev
39dfbb5505 Merge pull request #7837 from Mailaender/ts-building-overlay-translucency
Added transparency to the Tiberian Sun building placement overlay
2015-04-03 03:39:44 -07:00
Paul Chote
98b8078f7d Merge pull request #7573 from bvandenbogaard/bleed
Added audio.bag/audio.idx support used in RA2
2015-04-03 11:35:54 +01:00
Matthias Mailänder
5733c049e1 Merge pull request #7715 from RoosterDragon/random-prevent-crash
Only evaluate input sequence once in RandomOrDefault.
2015-04-03 12:27:20 +02:00
Matthias Mailänder
bf588c1cf2 transparent build overlay 2015-04-03 12:03:39 +02:00
Paul Chote
070d8ea6a2 Merge pull request #7811 from reaperrr/new-blendmodes1
Added two new BlendModes
2015-04-03 10:57:12 +01:00
Matthias Mailänder
f785f15bf4 Merge pull request #7798 from reaperrr/ts-weapons01
Split TS weapons.yaml and fix weapons and aircraft
2015-04-03 11:56:21 +02:00
Paul Chote
94360655c3 Merge pull request #7830 from obrakmann/fix7824_allies03b_crash
Fix crash in allies03b
2015-04-03 10:44:05 +01:00
Matthias Mailänder
de2860358f Merge pull request #7814 from Phrohdoh/default-image
Image reference in 'Defaults' sequence block.
2015-04-03 10:36:29 +02:00
Matthias Mailänder
39b42a35a0 Merge pull request #7823 from RoosterDragon/celllayer-enumerator
Fix CellLayer.GetEnumerator
2015-04-03 10:13:16 +02:00
Paul Chote
5f7b9b7621 Merge pull request #7827 from obrakmann/fix-refund-tooltip-margins
Fix margins of refund tooltips
2015-04-03 01:13:04 +01:00
RoosterDragon
b66db23adf Only evaluate input sequence once in RandomOrDefault.
This ensures non-deterministic sequences cannot crash by returning an empty sequence on the second evaluation.
2015-04-03 01:08:30 +01:00
Pavel Penev
78afbffbc8 Merge pull request #7835 from reaperrr/fix-ps-check
Fixed make.ps1 'check' command
2015-04-02 15:12:41 -07:00
reaperrr
d72cec6275 Fix make.ps1 'check' command 2015-04-02 23:19:49 +02:00
RoosterDragon
287ead56b3 Avoid allocating a delegate and new list in every tick of RepairableBuilding. 2015-04-02 21:41:22 +01:00
RoosterDragon
ab2ef0ba03 Improve performance of target validation.
The Warhead and WeaponInfo classes now maintain preconstructed sets of valid and invalid targets to speed up validation checks since LINQ Intersect no longer has to be called (which recreates the sets internally each time).

Fixed minor bugs in the AI where it was repeating the validation logic but failing to account for invalid targets.
2015-04-02 21:11:12 +01:00
Pavel Penev
5ac648600d Merge pull request #7794 from ScottNZ/balance-stuff
Misc ra balance changes
2015-04-02 11:47:38 -07:00
Oliver Brakmann
92e0dbd864 Merge pull request #7822 from RoosterDragon/map-cache-dispose-fix
Ensure MapCache disposes cleanly.
2015-04-02 20:26:02 +02:00
Oliver Brakmann
b1f6136b98 Fix crash in allies03b 2015-04-02 19:06:16 +02:00
Taryn Hill
58f32a11f8 Merge pull request #7828 from obrakmann/fix7821_pbog_crash_td
Fix crash when placing buildings in TD.
2015-04-02 11:38:35 -05:00
Oliver Brakmann
0406e8e708 Add $-sign to refund tooltip 2015-04-02 18:35:34 +02:00
Oliver Brakmann
5e7a71edf5 Fix crash when placing buildings in TD
Caused by production queues being tied to buildings, not the player, in TD.
PBOG would therefore try to find the PlaceBuilding trait, which is on the player, on the conyard actor and crash.
2015-04-02 18:04:19 +02:00
RoosterDragon
9c0d3d737d Fix CellLayer.GetEnumerator. 2015-04-01 22:52:36 +01:00
reaperrr
6dc577ed6f Make all aircraft repairable on GDI repair bay, make all armed aircraft rearmable on both helipads 2015-04-01 23:49:01 +02:00
reaperrr
32bed06df5 Fix Orca Bomber and Banshee Fighter flight behavior and reloading 2015-04-01 23:49:00 +02:00
reaperrr
0efce0e94a Brings TS weapons more in line with the original's rules
Adds trails to missiles.
2015-04-01 23:48:59 +02:00
reaperrr
fbfc38fe1b Fix TS weapon names to match the original 2015-04-01 22:42:01 +02:00
reaperrr
ca67407358 Split TS weapons.yaml into several categorized yamls 2015-04-01 22:42:01 +02:00
reaperrr
40d73db9fd Added BlendModes to TS EMP explosion and Ion Cannon explosion 2015-04-01 22:01:26 +02:00
reaperrr
883e3822c6 Tweak D2k artillery missiles speed and angle.
Additionally, remove bogus properties (leftovers from projectile change)
2015-04-01 22:01:25 +02:00
reaperrr
10f205b43d Reduce brightness of several D2k weapon effects via new blend modes 2015-04-01 22:01:24 +02:00
RoosterDragon
47e2c48068 Ensure MapCache disposes cleanly.
This prevents the map loading thread writing to disposed objects which can have unintended side effects.
2015-04-01 20:58:09 +01:00
Oliver Brakmann
cc1da824cd Merge pull request #7820 from Mailaender/oldlength-ancient-mono-fix
Removed unused oldLength
2015-04-01 21:39:56 +02:00
reaperrr
c0448fce3e Adds two new BlendModes. 2015-04-01 21:16:01 +02:00
Matthias Mailänder
dc3f82f537 Merge pull request #7816 from Phrohdoh/cleanups
Small code cleanup.
2015-04-01 20:53:42 +02:00
Matthias Mailänder
4cc016c3d0 remove unused oldLength
closes #7808
2015-04-01 19:43:56 +02:00
Taryn Hill
4ed53c5952 Simplify return statements.
Remove redundant ‘this’.
Remove unused using directives.
Simplify LINQ chains.
Add some trait property descriptions.
Add readonly where viable.
Add fullstops to some yaml descriptions.
2015-04-01 12:33:17 -05:00
Chris Forbes
14e9cfd433 Merge pull request #7812 from pchote/modules
Pluggable upgrade modules
2015-04-02 05:25:48 +13:00
Oliver Brakmann
ff77d2d029 Fix margins of refund tooltips 2015-04-01 17:14:41 +02:00
Taryn Hill
28ea59854e Merge pull request #7748 from pchote/heightmap-input
Account for terrain height and slope when calculating order location.
2015-04-01 07:57:33 -05:00
Taryn Hill
32083344aa Set place to default image for TS’ overlay sequence. 2015-03-31 21:37:28 -05:00
Taryn Hill
f41497b421 Allow Defaults: image in sequence definitions. 2015-03-31 21:36:50 -05:00
Taryn Hill
e066c893eb Remove unnecessary image references in ts/sequences/misc. 2015-03-31 21:36:15 -05:00
Paul Chote
704e3656b4 Implement Ion Cannon Uplink upgrade. 2015-03-31 22:32:13 +01:00
Paul Chote
a89029acf0 Implement GDI power turbines upgrade. 2015-03-31 22:32:13 +01:00
Paul Chote
0c5be6183f Implement GDI component tower upgrades. 2015-03-31 22:32:13 +01:00
Paul Chote
ebd09f196c Add upgrade support to SupportPower. 2015-03-31 22:32:12 +01:00
Paul Chote
e440d00585 Add upgrade support to WithIdleOverlay. 2015-03-31 22:32:12 +01:00
Paul Chote
5c18220636 Add upgrade support to WithTurret. 2015-03-31 22:32:11 +01:00