Paul Chote
aa9db669e7
Fix ActorPreview turret facings.
2015-02-10 15:22:42 +00:00
Paul Chote
268ca94dc1
Introduce ActorPreviewWidget.
2015-02-10 15:22:42 +00:00
Paul Chote
db1a27b071
Introduce IFinalizedRenderable.ScreenBounds.
2015-02-10 14:26:44 +00:00
Paul Chote
c55d723fb4
Remove Scale from IRenderable interface.
...
It is no longer used, and isn’t implemented for most renderables.
2015-02-09 23:26:06 +00:00
Paul Chote
a495a2f528
Split IFinalizedRenderable from Renderable to remove mutable structs.
2015-02-09 23:23:37 +00:00
penev92
6c6a4322ed
Move the AI namespace to Mods.Common
2015-02-09 16:57:29 +02:00
atimoschenkow
9bf43c00a3
Fix #7431
2015-02-09 00:50:18 +01:00
Jan-Willem Buurlage
ce6c883fb1
Fixed #7219 . Reduce boarding priority to resolve conflict with force-attacking own units.
2015-02-08 22:31:56 +01:00
Matthias Mailänder
b0f986887c
make maximum and minimum rows configurable
2015-02-08 20:43:35 +01:00
penev92
64887cb8c8
Move MainMenuLogic to Mods.Common
2015-02-06 13:37:43 +02:00
penev92
494b600ed8
Move refinery and harvester logic to Mods.Common;
...
Remove unused interface IAcceptOreDockAction
2015-02-06 13:23:07 +02:00
RoosterDragon
b4993efff1
Avoid some minor allocations.
...
- Don't call string.Format in Actor.ToString since it gets called often, instead prefer a simple concat.
- In HiddenUnderFog.IsVisible, avoid a needless level of lambda indirection.
2015-02-02 21:16:14 +00:00
Matthias Mailänder
5040baac9b
Merge pull request #7415 from obrakmann/gdi05a
...
Add mission gdi05a
2015-02-01 18:49:27 +01:00
Oliver Brakmann
4aa97ec776
Allow support powers to start with a full charge when created
2015-02-01 15:49:45 +01:00
atimoschenkow
f2ae11f247
Adjust nudging for cases where no enterable cell is found
...
- Randomly select one of the occupied "non-stupid" cells
- Notify blockers in that cell
- Wait until it can be entered
- Move to cell
2015-02-01 14:57:10 +01:00
Matthias Mailänder
bcda232a1c
Merge pull request #7231 from RoosterDragon/linq-checks
...
Checked LINQ queries and collections for inefficiencies.
2015-02-01 08:56:15 +01:00
RoosterDragon
7ad58a3e3d
Revert "don't check auto-generated code"
...
This reverts commit 47e2d9d623 .
2015-01-31 12:46:47 +00:00
Oliver Brakmann
22b1f4de59
Merge pull request #7331 from Phrohdoh/dune-armor-bonuses
...
TerrainModifiesDamage trait.
2015-01-30 17:30:43 +01:00
Matthias Mailänder
4899b555a9
Merge pull request #7191 from Mailaender/ts-superweapons
...
Added the Nod missile silo and the Ion Cannon to the Tiberian Sun mod
2015-01-29 21:48:14 +01:00
RoosterDragon
82bea961ba
Checked LINQ queries and collections for inefficiencies.
...
- Made Array.IndexOf available via extension method.
- Made ToHashSet extension method.
- Change collections queried often via Contains into sets.
- Avoid Count() extension if Count or Length property exist.
- Made Count() > 0 checks and variations calls to Any() instead.
- Don't call ToList/ToArray if there is no benefit to materializing the sequence.
- If the sequence does benefit from materialization, follow this general pattern:
- Collection queried often via Contains use ToHashSet to speed up lookups.
- Short lived variables use ToList. This is because ToArray requires an extra copy to output the final size.
- Collections persisted into fields or for a long time use ToArray to minimize memory overhead.
2015-01-29 19:20:11 +00:00
Oliver Brakmann
f247bc890e
Remove whitespace from empty line
2015-01-28 21:25:07 +01:00
Oliver Brakmann
7ddc340d5b
Merge pull request #7314 from Unit158/Levelup-command
...
Added a levelup command
2015-01-28 20:58:17 +01:00
Oliver Brakmann
2e1ca40bb5
Merge pull request #7155 from cjshmyr/buildarea
...
Use ActorMap instead of BuildingInfluence for finding buildable area
2015-01-28 19:03:49 +01:00
Curtis Shmyr
30cf02c8e2
Use ActorMap instead of BuildingInfluence for finding buildable area
2015-01-26 20:22:21 -07:00
Taryn Hill
86f6d634c0
Add TerrainModifiesDamage trait.
...
^Infantry take 80% damage on Rough terrain in D2k.
2015-01-26 18:08:44 -06:00
Matthias Mailänder
24deec2a7b
fix CodeLineMustNotEndWithWhitespace
2015-01-25 18:41:29 +01:00
Matthias Mailänder
47e2d9d623
don't check auto-generated code
2015-01-25 18:40:44 +01:00
penev92
828614d0f0
Add YAML upgrade rule
2015-01-25 17:17:35 +02:00
Oliver Brakmann
1f048b64ac
Add upgrade rule for PlayMusicOnMapLoad removal
2015-01-25 14:44:13 +01:00
Matthias Mailänder
a7f27a65ea
add Media.StopMusic()
2015-01-25 14:43:36 +01:00
Matthias Mailänder
3489794713
replace PlayMusicOnMapLoad trait with Lua Media.PlayMusic method
2015-01-25 14:43:36 +01:00
Christopher Grant
66c33452e8
Added a levelup command
2015-01-24 14:56:33 -05:00
Matthias Mailänder
fc16990c05
unhardcode and self-document
2015-01-24 17:35:21 +01:00
sinaptik
b6b2b1a942
Add scroll buttons that appear in the production palette when icons exceed available space #7227
...
scroll up and down buttons: add disabled status, make dynamic, make smaller
Rename MaxIconRows to MaxIconRowOffset for clarity
Clean up scrolling logic, reset row position when switching tab
2015-01-23 18:40:11 +13:00
Oliver Brakmann
2c71e954bf
Merge pull request #7170 from penev92/bleed_enemySightedNotification
...
Implement "Enemy unit sighted" notification
2015-01-22 21:58:58 +01:00
abcdefg30
2fd1576d15
Ignore buildlimits with AllTech cheat
2015-01-18 20:36:26 +01:00
penev92
52cc69fd1f
Move Crate, CrateSpawner and all CrateActions to Mods.Common
2015-01-18 16:40:55 +02:00
penev92
f1a0f6e2a5
Move Parachute, Parachutable and ParaDrop to Mods.Common
2015-01-18 16:15:14 +02:00
Matthias Mailänder
1b5928879c
save replays in a less generic file extension
2015-01-18 13:17:11 +01:00
Matthias Mailänder
44f1c52e44
Merge pull request #7204 from Mailaender/ts-harvest-overlay
...
Added the Tiberian Sun harvest animation
2015-01-18 12:58:46 +01:00
Oliver Brakmann
c2dac459bb
Merge pull request #7334 from RoosterDragon/less-alloc
...
Cache or inline some delegates to avoid allocations.
2015-01-17 16:04:36 +01:00
Matthias Mailänder
5aeb6eda06
move connection UI to commons
2015-01-17 15:17:54 +01:00
Matthias Mailänder
c1c1960b44
Merge pull request #7337 from reaperrr/common29
...
Moved Lint, UtilityCommands and Scripting properties to Mods.Common
2015-01-17 14:53:48 +01:00
penev92
e2832bb3d7
Implement EnemyWatcher and AnnounceOnSeen traits
2015-01-17 14:41:22 +02:00
Matthias Mailänder
e694692b97
add the Tiberian Sun harvest animation
2015-01-17 11:36:41 +01:00
Oliver Brakmann
e58d4ae87e
Merge pull request #7257 from Mailaender/d2k-guarding-voice
...
Added the Dune 2000 Guarding voice
2015-01-15 23:26:57 +01:00
reaperrr
52dd8c922f
Moves Lint checks to Mods.Common
2015-01-15 23:15:51 +01:00
reaperrr
e82b2ce8dd
Moves BaseAttackNotifier to Mods.Common
2015-01-15 22:59:43 +01:00
reaperrr
6f0ae30a7e
Moves nearly all ScriptingProperties to Mods.Common
2015-01-15 22:56:35 +01:00
reaperrr
f3d364877a
Moves the last 3 UtilityCommands and some prerequisite references to Mods.Common
2015-01-15 22:39:41 +01:00