Commit Graph

1384 Commits

Author SHA1 Message Date
Oliver Brakmann
dab7276601 Make repairing buildings and units grant experience
Using the repair button and repair pad, not using engineers and mechanics.
2016-07-19 20:20:38 +02:00
Oliver Brakmann
1e86326cbc Make capturing grant player experience 2016-07-19 20:20:38 +02:00
Oliver Brakmann
c1729a3b70 Make DonateSupplies grant player experience 2016-07-19 20:20:38 +02:00
Matthias Mailänder
5b61206ac6 Merge pull request #11513 from GraionDilach/idamage
Remove passing the warheads from DamageWarhead to AttackInfo.
2016-07-16 14:26:43 +02:00
abcdefg30
549c00c6c1 Merge pull request #11653 from Mailaender/damagedbyterrain-div0
Fixed a division through zero in DamagedByTerrain.
2016-07-16 11:03:38 +02:00
Matthias Mailänder
fcd904a168 Avoid a division through zero. 2016-07-15 20:10:30 +02:00
abcdefg30
d5bac4ebe4 Merge pull request #11651 from obrakmann/fix_HealthInit_breaking_Actor.Create
Allow HealthInit to be used with Actor.Create in Lua scripts
2016-07-15 14:10:47 +02:00
Oliver Brakmann
e6659f805b Merge pull request #11641 from abcdefg30/particleDensity
Convert ParticleDensityFactor from a float to an int
2016-07-15 10:30:57 +02:00
Oliver Brakmann
417e9ca71f Add a single-argument constructor to HealthInit
...which is a requirement for an ActorInit to be usable with the Lua API's Actor.Create() method.
2016-07-14 19:45:03 +02:00
Paul Chote
ac6b2a8f62 Support custom fully-open sequences for gates. 2016-07-13 22:22:07 +01:00
Oliver Brakmann
8c8fa2d258 Merge pull request #11578 from abcdefg30/turretedDeath
Don't add duplicate facing entries when modifying the DeathActorInit in Turreted.cs
2016-07-13 19:09:08 +02:00
Oliver Brakmann
3539e3146e Merge pull request #11560 from abcdefg30/supportSpeech
Refine the support power speech notifications setup
2016-07-13 18:40:07 +02:00
PedroFerreiraRamos
958e35d61f Fix air unit resupply #5966 2016-07-12 20:17:45 -03:00
abcdefg30
3a8b2bda43 Convert ParticleDensityFactor from a float to an int 2016-07-12 22:19:50 +02:00
Zimmermann Gyula
cf8fff2b99 Remove passing the warheads from DamageWarhead to AttackInfo.
Added a Damage class to pass damage value and damage(types) instead.
This removes a great amount of overhead and longterm opens possibilities to have damagetypes without warheads.
2016-07-12 10:09:49 +02:00
abcdefg30
6342b40bfd Merge pull request #11499 from Mailaender/damaged-by-terrain
Merged PoisonedByTiberium and DamagedWithoutFoundations into DamagedByTerrain
2016-07-10 22:22:29 +02:00
Matthias Mailänder
8df4e9e04c Merge PoisonedByTiberium and DamagedWithoutFoundations
into DamagedByTerrain.
2016-07-10 19:44:19 +02:00
Matthias Mailänder
e8aa46e0d7 Merge pull request #11474 from obrakmann/player-experience
Add foundation for player experience tracking
2016-07-10 16:08:14 +02:00
Matthias Mailänder
90439ac64c Merge pull request #11574 from obrakmann/fix_non-combatant-unitcratepickup
Prevent non-combatant players from receiving units from crate pickups
2016-07-10 15:51:32 +02:00
Emiel Suilen
c3e862b2ca Add a PlayerExperience trait 2016-07-10 15:30:17 +02:00
Oliver Brakmann
5157ac917f Cache PlayerResources in PlayerStatistics
and remove a couple of redundant fields.
2016-07-10 15:30:17 +02:00
Matthias Mailänder
da3aaf4318 Merge pull request #11620 from pchote/fly-on-unreserve
Order landed aircraft to take off if their reservation is cancelled.
2016-07-10 09:28:16 +02:00
Matthias Mailänder
c3de3a0a90 Merge pull request #11619 from pchote/fix-depot-sell
Fix service depot selling.
2016-07-09 21:17:06 +02:00
Paul Chote
b87020f93f Order landed aircraft to take off if their reservation is cancelled. 2016-07-09 12:08:48 +01:00
Paul Chote
b0c9d49d14 Fix INotifyRepair argument order. 2016-07-09 11:12:56 +01:00
Paul Chote
7325f0e733 Fix service depot animation breaking sell. 2016-07-09 11:11:31 +01:00
Zimmermann Gyula
ad0c38d352 Fix a wrong check in LeavesTrails. 2016-07-09 02:08:33 +02:00
Oliver Brakmann
b080417db3 Prevent non-combatant players from receiving units from crate pickups 2016-07-08 13:24:25 +02:00
Taryn Hill
7a0d12dd51 Implement ExitsDebugOverlay and ExitsDebugOverlayManager 2016-07-07 08:57:44 -05:00
Taryn Hill
59d97b8447 WithTextDecoration: Move exception to Info via IRulesetLoaded 2016-07-05 14:09:27 -05:00
evgeniysergeev
e83ffbec1c add RemoveSmudge function and trait 2016-07-05 12:03:04 +03:00
reaperrr
31d822bcd2 Merge pull request #11565 from Mailaender/withtextdecoration
Added WithTextDecoration
2016-07-04 18:37:28 +02:00
abcdefg30
7593cf3b63 Don't add duplicate facing entries when modifying the DeathActorInit in Turreted.cs 2016-07-04 18:32:01 +02:00
Oliver Brakmann
9ab2ce2362 Merge pull request #11520 from reaperrr/IdleWander
Make civilians wander around when idle
2016-07-04 11:50:35 +02:00
Matthias Mailänder
6148e8d8a3 Rename Stances to ValidStances. 2016-07-04 00:34:28 +02:00
Matthias Mailänder
a6e42823e5 Add WithTextDecoration. 2016-07-03 21:31:58 +02:00
Matthias Mailänder
9833a56e65 Merge pull request #11556 from pchote/gamespeeds
Port game speed selection to new lobby backend.
2016-07-03 20:55:09 +02:00
abcdefg30
430b654460 Merge pull request #11428 from reaperrr/attack-delay
Allow attack anims/overlays to start before weapons fire
2016-07-03 18:58:07 +02:00
Paul Chote
7caf636222 Port game speed selection to new lobby backend. 2016-07-03 15:46:08 +01:00
abcdefg30
6de12fb0e9 Add SpeechNotifications for InsufficientPower and Launch on support powers 2016-07-03 16:21:07 +02:00
Taryn Hill
3f6f918b3d GivesBounty: Replace Stances with ValidStances 2016-07-03 08:50:55 -05:00
Taryn Hill
ec808ddc54 GivesExperience: Replace FriendlyFire with ValidStances 2016-07-03 08:50:54 -05:00
Matthias Mailänder
889bbcf428 Cache the palette lookup. 2016-07-03 14:41:15 +02:00
Matthias Mailänder
4325e1b400 Let pipImages tick using the appropriate interface. 2016-07-03 14:40:47 +02:00
Matthias Mailänder
3e5155fa7d Cache pipImages in the constructor. 2016-07-03 14:40:14 +02:00
Matthias Mailänder
3a7558c273 Document and lint test pips and groups. 2016-07-03 12:26:29 +02:00
reaperrr
c8012baffb Make all Attack* traits listen to Stop order 2016-07-02 16:02:00 +02:00
reaperrr
c153277e8b Add AttackSounds trait
This trait plays sounds when preparing to attack or attacking.
2016-07-02 16:02:00 +02:00
reaperrr
3b43544e2d Add start delay functionality to attack animation traits 2016-07-02 16:02:00 +02:00
reaperrr
75c49620d1 Introduce INotifyAttack.PreparingAttack
And use it to allow triggering attack animations/overlays at a different point
than the actual weapon firing.
2016-07-02 16:02:00 +02:00