Commit Graph

17938 Commits

Author SHA1 Message Date
abcdefg30
7612f60b22 Merge pull request #8939 from Mailaender/lint-map-scripts
Added checks for syntax errors in Lua scripts
2015-08-19 21:36:34 +02:00
abcdefg30
7e7e3723dc Add "check-scripts" to make.ps1 2015-08-19 21:21:01 +02:00
Matthias Mailänder
5a3e61a902 check the .lua scripts for syntax error 2015-08-19 21:21:01 +02:00
clemty
4351094bd7 TD tooltip fixes
- mention Apache being strong vs aircraft
- mention engineers will damage buildings, not just capture them

reverted:
- Sentences are now (mostly) lowercase, end with full-stop
- Changed "defence" tab tooltip to "defense"
2015-08-19 12:53:08 +02:00
RoosterDragon
3d94c4b216 Minor formatting fix in Mobile.cs. 2015-08-18 22:03:14 +01:00
RoosterDragon
7eab7220ff In CanMoveFreelyInto, check if transient actor checks are needed at the start.
When transient actors checks are not needed, all control flows in the method return true. Therefore, we can return true directly in this case. Checking this condition is cheaper than checking for a free sub-cell, so this allows us a faster exit when we don't need to check for transient actors.
2015-08-18 22:03:13 +01:00
RoosterDragon
ca75b5af30 Factor logic for determining if an actor blocks movement into IsBlockedBy. 2015-08-18 22:03:11 +01:00
RoosterDragon
6414743f8e Introduce HasCellCondition to avoid HasFlag overhead. 2015-08-18 22:03:09 +01:00
RoosterDragon
d415d3ba4e Reduce allocations in the main game loop.
- Cache the shroud projection even for flat maps to avoid allocating single element arrays.
- Avoid LINQ in shroud and map projection queries to avoid enumerator allocations.
- Avoid LINQ in calculation of sync values.
- Cache enumerables in ProductionQueue.
- Cache delegate in HackyAI.
2015-08-18 21:17:28 +01:00
abcdefg30
83b310713d Merge pull request #8905 from atlimit8/WithProductionOverlay_accept_OnOwnerChanged
WithProductionOverlay: replace ITick => INotifyCreated & add INotifyOwnerChanged
2015-08-18 21:17:00 +02:00
abcdefg30
ee09dd41bc Merge pull request #8957 from Mailaender/ts-decorations
Added Tiberian Sun decorational actors
2015-08-18 21:15:28 +02:00
reaperrr
e057a97217 Remove bogus ShadowIndex from TS cameo palette 2015-08-18 18:33:46 +02:00
Pavel Penev
663c9239df Mop up remaining "race" private variables 2015-08-18 00:26:11 +03:00
Pavel Penev
2b359b54c7 Add an upgrade rule for renaming crates' ValidRaces 2015-08-18 00:26:09 +03:00
Pavel Penev
1a95e7a9f1 Rename crates' ValidRaces 2015-08-18 00:26:07 +03:00
Pavel Penev
b6b107de46 Rename RenderSpritesInfo.RaceImages 2015-08-18 00:26:05 +03:00
Pavel Penev
1e817fad76 Merge pull request #9089 from Mailaender/editor-coordinate
Added a coordinate display to the map editor
2015-08-18 00:12:10 +03:00
Pavel Penev
3d292d8200 Merge pull request #8749 from Mailaender/lint-palettes
Added a lint rule for palette references
2015-08-17 23:09:53 +03:00
Matthias Mailänder
4f05681707 Merge pull request #8912 from reaperrr/ts-icons1
Added the Nod repair bay icon
2015-08-17 21:46:20 +02:00
Matthias Mailänder
322358ff3d also check shroud sequences 2015-08-17 21:36:55 +02:00
Matthias Mailänder
118782a85e check palette references 2015-08-17 21:36:45 +02:00
Matthias Mailänder
41698ab8bb show the current coordinate at the top 2015-08-17 21:21:52 +02:00
Matthias Mailänder
ba8e292b71 Merge pull request #9022 from RoosterDragon/less-sync
Sync only once per tick
2015-08-17 21:13:55 +02:00
abcdefg30
0c021770f0 Merge pull request #9076 from Mailaender/resource-sequences
Added missing check yaml references
2015-08-17 21:13:32 +02:00
Paul Chote
eae41b1750 Fix LST queue type. 2015-08-17 19:37:24 +01:00
reaperrr
4e633b21f6 Fixed D2k grenadier to not explode violently when reloading
Removed redundant Chance (default is 100 anyway).
2015-08-17 20:11:57 +02:00
reaperrr
3ae75f870c Add Explodes safeguards
Accept both null and empty string to disable explosion weapons.

Throw specific exception if weapon was not found.
Require Weapon (EmptyWeapon stays optional).
2015-08-17 20:11:38 +02:00
Pavel Penev
17b2a37e97 Merge pull request #9051 from abcdefg30/creepssetting
Fix the creeps setting being ignored
2015-08-17 18:57:06 +03:00
abcdefg30
0c4e691008 Rename HuskActor to Actor 2015-08-17 17:38:07 +02:00
abcdefg30
3dc5515d16 Remove references to 'husk' in the descriptions 2015-08-17 17:38:06 +02:00
abcdefg30
5967b06189 Remove the 'workaround' in gdi05 2015-08-17 17:38:05 +02:00
abcdefg30
b24c1845fb Adjust the upgrade rule for SpawnActorOnDeath 2015-08-17 17:38:04 +02:00
abcdefg30
9f5a8a6d1f Fix the creeps setting being ignored 2015-08-17 17:38:03 +02:00
Guido L
ce9bbd2a52 Fix TerrainTypes for walls and crates 2015-08-17 16:44:20 +02:00
Pavel Penev
71c5d69dc5 Merge pull request #8938 from abcdefg30/heliheigth
Have flying actors account for terrain height
2015-08-17 13:53:39 +03:00
Pavel Penev
ac46a356f4 Merge pull request #9057 from Mailaender/map-tilset-sequence-nre
Fixed a likely null reference exception when checking mod sequence definitions
2015-08-17 13:44:06 +03:00
abcdefg30
e05ba2454c Merge pull request #9084 from Mailaender/sonar-shroud
Fixed sonar pulse revealing shroud
2015-08-16 23:58:09 +02:00
Matthias Mailänder
51fabae106 change editor tooltip to actor: description (type) 2015-08-16 21:58:17 +02:00
Pavel Penev
4600d1c62b Merge pull request #9071 from pchote/fix-shroud-healthbars
Fix visibility queries when fog is disabled.
2015-08-16 19:19:16 +03:00
Matthias Mailänder
61cba78d62 rebalance sonar to not reveal any shroud 2015-08-16 13:32:26 +02:00
Matthias Mailänder
e3194ed35a Merge pull request #9080 from pchote/fix-spy-overlay
Replace icon veterancy overlay with new artwork.
2015-08-16 09:33:47 +02:00
Paul Chote
78391e7c65 Replace icon veterancy overlay with new artwork.
New shp includes frames for higher level veterancy
for potential future use.
2015-08-15 20:59:52 +01:00
Paul Chote
0b13a173ae Merge pull request #9053 from abcdefg30/dropzone-w-shroudrange
Fix a crash in dropzone-w
2015-08-15 10:25:45 +01:00
Paul Chote
a4c4cec4ee Merge pull request #9050 from GraionDilach/fix-td-shippedost
Increase ShippedSoundtracks of the TD mod.
2015-08-15 10:15:04 +01:00
Paul Chote
b7d549e2d2 Merge pull request #9062 from clemty/renamedefencetab
TD: renames tooltip on "Defence" tab to "Support"
2015-08-15 10:04:35 +01:00
Matthias Mailänder
37b6dc1603 add maps from the resource site 2015-08-15 11:03:45 +02:00
Matthias Mailänder
dc477c3ced add missing sequence reference 2015-08-15 09:59:53 +02:00
Matthias Mailänder
d0634d9bb7 add missing weapon reference 2015-08-15 09:57:42 +02:00
Matthias Mailänder
299e5881b3 Merge pull request #9072 from pchote/fix-shroud-option-case
Fix capitalisation of the "Explored Map" option.
2015-08-14 23:26:14 +02:00
Paul Chote
30d0ce2dee Remove bogus property from d2k conyard. 2015-08-14 19:44:24 +01:00