Commit Graph

13947 Commits

Author SHA1 Message Date
reaperrr
1ba41a9af5 Unhardcodes RenderInfantry sequence names. 2014-07-17 20:59:08 +02:00
ScottNZ
04cd99cd75 Add target flashing for C4. Closes #4659 2014-07-15 16:06:38 +12:00
Paul Chote
e3dae2edd0 Replace the obsolete race check from GiveUnitCrateAction. 2014-07-15 10:15:35 +12:00
Paul Chote
8bce37710b Merge pull request #5955 from Squiggles211/production_cancel_fix
Restored PlaceBuilding order's ProductionQueue checks.
2014-07-14 20:06:50 +12:00
Chris Forbes
709f29184a Merge pull request #5954 from abcdefg30/fixhijacker
Made Hijacker buildable by soviets
2014-07-14 08:45:51 +12:00
Squiggles211
006f7b888a Restored production queue current item checks
Fixes regression #5948 where you could freely build any building by
canceling the production before deploying by restoring the currentItem
checks in the PlaceBuilding order to ensure that the production is still
valid.
2014-07-13 14:06:30 -05:00
abcdefg30
1ef3099910 Hijacker again buildable by soviets 2014-07-13 20:39:54 +02:00
Matthias Mailänder
aca0b9d7dd Merge pull request #5932 from MustaphaTR/d2k-only-inf-fix
D2K - Fixed some tiles should be only infantry
2014-07-13 08:34:06 +02:00
Chris Forbes
e7cd4e07f9 Merge pull request #5946 from Phrohdoh/MoreTraitDocs
Added some trait [Desc()]s.
2014-07-13 17:51:55 +12:00
Taryn Hill
da001385ae Added some trait [Desc()]s. 2014-07-12 13:31:14 -05:00
reaperrr
56eca3a5e3 Ion Cannon now scorches the whole hit area, and uses higher Spread + low
MaxSpread to increase damage within the hit area, but keep area of effect
itself relatively low.
Additionally increased damage to make it less inferior to Nukes.
2014-07-12 16:31:53 +02:00
reaperrr
eb96b72878 Add MaxSpread to Warhead to allow setting a specific area of effect. 2014-07-12 12:14:56 +02:00
Matthias Mailänder
a03d607878 Merge pull request #5930 from MustaphaTR/ra-oil-explode
RA - Explosive Oil Derricks
2014-07-12 11:25:30 +02:00
Chris Forbes
d8df332d97 Merge pull request #5940 from Mailaender/fort-lonestar-tech-disable
Fixed unbuildable high-tech on Fort Lonestar
2014-07-12 20:28:56 +12:00
Matthias Mailänder
e512799eeb disable tech properly 2014-07-12 09:47:42 +02:00
Matthias Mailänder
8afddd9497 Merge pull request #5938 from abcdefg30/fortlonestar
Fixed a bug in Fort Lonestar
2014-07-12 09:45:00 +02:00
Pavlos Touboulidis
dcb7a44aa2 Use available TypeConverters to serialize and deserialize types 2014-07-12 04:46:45 +03:00
Pavlos Touboulidis
451426bc3f Trivial typo in exception message 2014-07-12 04:35:31 +03:00
Pavlos Touboulidis
e9dd0b0fab Make FieldLoader/FieldSaver able to work with private fields
* Unify the FieldLoader-related attributes (Ignore, LoadUsing,
FieldFromYamlKey) into a new 'Serialize' attribute. Keep the
previous attributes as shortcuts/aliases to the new attribute.

* Add 'YamlName' field to the new 'Serialize' attribute to allow
yaml names different from the field names. Example:
    [Serialize(YamlName = "Width")]
    private int widthExpression = "0";

* The FieldLoader will treat private fields like public now and
will try to load their values. The FieldSaver gets an optional
parameter specifying whether to save private fields by default.
The 'Serialize' attribute can be used to fine-tune individual
fields.

* Updated the traits documentation exporter to write the yaml
name if it has been overriden.
2014-07-12 04:33:36 +03:00
abcdefg30
b87ea6ddef Update fort-lonestar.lua 2014-07-11 23:47:02 +02:00
Mustafa Alperen Seki
70af7f3595 Changed some tiles types 2014-07-11 16:34:16 +03:00
Mustafa Alperen Seki
b6a39c5993 Explosive Oil Derricks 2014-07-11 15:08:41 +03:00
Matthias Mailänder
a357bceb35 Merge pull request #5926 from pchote/ra-tabs
Fixes #5915
2014-07-11 13:42:21 +02:00
Matthias Mailänder
43242245b8 Merge pull request #5927 from MustaphaTR/ra-building-sort
Fixes #5914
2014-07-11 13:34:11 +02:00
Mustafa Alperen Seki
5fa4a5fa20 Sort Changes 2014-07-11 12:56:45 +03:00
Paul Chote
393702fe67 Fix bogus inconsistencies in the ra tab images:
- Soviet-normal tab glyphs were off by 1px.
- Allied-selected tabs had random semi-transparent pixels.
- Most tabs had a discoloured pixel near the left edge.
2014-07-11 20:04:03 +12:00
Paul Chote
1aacb21b04 Enable correct tab images for helicopters and aircraft. 2014-07-11 18:27:35 +12:00
Paul Chote
fc882437f0 Fix incorrect soviet tab image coordinates. 2014-07-11 18:26:00 +12:00
Daniel Hernandez
bac2b4f28e Add opposing-faction tab art for aircraft and navy, 2014-07-11 18:11:40 +12:00
Paul Chote
ee27b248d8 Remove bitrotted tab source artwork. 2014-07-11 18:09:32 +12:00
Paul Chote
fd2254f9db Merge pull request #5924 from Cr0s/patch-1
Fixed typo in HackyAI building placement code
2014-07-11 18:07:32 +12:00
Paul Chote
be2357f509 Merge pull request #5917 from pavlos256/deterministic-sort
Make tiles sorting deterministic in all cases
2014-07-11 17:53:08 +12:00
Cr0s
0f363d4c0f Fixed typo in HackAI building placement code 2014-07-11 05:44:45 +04:00
Matthias Mailänder
efeba3ec4f Merge pull request #5898 from MustaphaTR/d2k-techlevel
D2k Tech Level
2014-07-10 19:05:35 +02:00
Mustafa Alperen Seki
ec69e05433 Added D2K Tech Levels 2014-07-10 17:17:11 +03:00
Matthias Mailänder
6af834c436 Merge pull request #5901 from ScottNZ/techlevel
Add tech levels to ra
2014-07-10 15:07:46 +02:00
Matthias Mailänder
e8a7d4d93a Merge pull request #5911 from pchote/concrete-fix
Add AllowInvalidPlacement check to IsCellBuildable.
2014-07-10 13:41:02 +02:00
Pavlos Touboulidis
f45d063f1e Make tiles sorting deterministic in all cases
This may fix issue #5916.

In any case, it's wanted because this kind of sort is "unstable".
According to the docs:

    "This implementation performs an unstable sort; that is, if two
    elements are equal, their order might not be preserved."
2014-07-10 12:40:38 +03:00
Paul Chote
c6ed6dbeb9 Remove redundant overload and return early if outside map. 2014-07-10 20:34:17 +12:00
Matthias Mailänder
17310b7234 Merge pull request #5912 from pchote/powr-fix
Allow NormalizeSequence to remove existing damage prefixes.
2014-07-10 09:37:31 +02:00
Matthias Mailänder
d3128463c0 Merge pull request #5907 from reaperrr/misc-ts-fixes
More TS fixes & tuning
2014-07-10 09:04:22 +02:00
Paul Chote
2e9e4cff5c Allow NormalizeSequence to remove existing damage prefixes. Fixes #5909. 2014-07-10 17:16:46 +12:00
Paul Chote
05e1841e0e Add AllowInvalidPlacement check to IsCellBuildable. Fixes #5902. 2014-07-10 17:06:57 +12:00
Pavlos Touboulidis
b88b87b899 Improve game loop
Environment.TickCount was replaced with Game.RunTime that's based on
Stopwatch for increased accuracy.
2014-07-10 04:06:29 +03:00
reaperrr
69077629a7 Reduce infantry sequence tick values, fix Cyborg Commando idle shadow. 2014-07-09 20:14:21 +02:00
reaperrr
b09a301bb3 Added ^Tank default, adjusted movement penalties on terrain types. 2014-07-09 20:14:20 +02:00
reaperrr
1600b30fde Doubles Refinery storage capacity. 2014-07-09 20:14:19 +02:00
reaperrr
1973208694 Fixes Light Post. Closes #5903. 2014-07-09 20:13:38 +02:00
RoosterDragon
ffd2e8ea9d Sped up ActorMap.ActorsInBox.
- By ensuring both the add and remove actor lists are sets, we ensure the partitioning bins will contain only distinct actors. We can remove the HashSet and Distinct in ActorsInBox and ActorsInWorld which provides a nice speedup for queries. ActorsInBox sees nearly a 3x speedup in the RA shellmap.
2014-07-09 18:43:40 +01:00
ScottNZ
f8ad69889c Add tech levels to ra 2014-07-10 01:23:29 +12:00