Commit Graph

15894 Commits

Author SHA1 Message Date
Oliver Brakmann
66c56ac47a Merge pull request #7678 from delftswa2014/feature/aicheats
Money cheat for all players and AI
2015-03-27 23:02:37 +01:00
Oliver Brakmann
7739f59d62 Merge pull request #7703 from reaperrr/d2k-trails
Fixed D2k trails and deviator explosion color
2015-03-27 22:27:20 +01:00
RoosterDragon
d44830c945 Inline the equality test in CPos.Equals for performance. 2015-03-27 19:50:09 +00:00
RoosterDragon
1853ddde94 Use MPos indexer for CellLayer in Shroud.
This reduces us to one conversion per cell rather than two or three.
2015-03-27 19:50:07 +00:00
RoosterDragon
1584018dcd Batch shroud cell changes.
By maintaining a set of changed cells we can avoid repeating work for cells that change multiple times before being rendered. The shroud renderer and radar widget now delay their work until they must render, and thus process each changed cell only once. This avoids significant repetition that was causing major slowdown when many actors were in the world.
2015-03-27 19:50:05 +00:00
reaperrr
663d434457 Fix sniper electro death anim.
Closes #7742.
2015-03-27 17:35:16 +00:00
reaperrr
b7fc275067 RA sequence cleanups.
Note: Removing Length: * from interior boxes and larvae as well as barrels
is intentional, boxes have just 1 frame, and frames 2+3 of larvae and
barrels are just duplicates of the first, added by Westwood to work around
damage stage issues.

Fixes fence palette on desert maps.
2015-03-27 17:35:16 +00:00
Paul Chote
08aa1e86a9 Disable legacy sequence parsing in RA. 2015-03-27 17:35:15 +00:00
reaperrr
6f244d5e3c Fix D2k missile trails and deviator explosion 2015-03-27 13:59:34 +01:00
reaperrr
8bc31a4ae2 Make smoke trail palette customisable, add player color trail support to bullets & missiles 2015-03-27 13:59:33 +01:00
reaperrr
9e2da0d2df Add support for player color explosions to CreateEffectWarhead 2015-03-27 13:51:13 +01:00
reaperrr
b52d055eec Misc constructor caching
Cache trait look-ups in constructor for various other traits and
activities.
2015-03-27 13:47:04 +01:00
reaperrr
1e9d1a6cb7 Cache trait look-ups in the constructor where possible for Air activities/traits 2015-03-27 13:47:04 +01:00
Pavel Penev
9a780ba07d Merge pull request #7738 from pchote/cnc-remove-legacy-parsing
Disable legacy sequence parsing in TD.
2015-03-27 02:58:41 -07:00
Pavel Penev
7179ec6ffb Merge pull request #7639 from reaperrr/projectile-cleanup
Remove TurboBoost and various other Projectile cleanups
2015-03-27 01:46:54 -07:00
reaperrr
b5c74c63c9 Make variable bullet angle and speed independent from each other 2015-03-27 00:11:33 +01:00
reaperrr
d531d29791 Add/tweak some descriptions and streamline style/organisation of
projectile and explosion effects code
2015-03-27 00:11:32 +01:00
reaperrr
1cc900b269 Yaml style fixes to reduce future --upgrade-mod "noise" a little 2015-03-27 00:11:32 +01:00
reaperrr
33cb4fe3e1 Projectile refactoring upgrade rules 2015-03-27 00:11:31 +01:00
reaperrr
c92b2298c3 Remove missile TurboBoost 2015-03-27 00:04:39 +01:00
reaperrr
2a4719b88b Rename Missile ROT to RateOfTurn 2015-03-27 00:04:38 +01:00
reaperrr
f9332c9efe Renames BlocksBullets to BlocksProjectiles and projectile High property to Blockable 2015-03-27 00:04:37 +01:00
reaperrr
fb710f15bb Move projectile palette definition from weapon to projectile effects 2015-03-27 00:04:36 +01:00
Pavel Penev
c61dc48548 Merge pull request #7324 from reaperrr/limitedammo2
Refactored LimitedAmmo to AmmoPool
2015-03-26 15:59:56 -07:00
Paul Chote
4e1a02e35e Add snow test map. 2015-03-26 22:42:44 +00:00
Paul Chote
0a6e21d908 Support tileset-specific art in TS. 2015-03-26 22:42:43 +00:00
Paul Chote
a9f6e09afd Add TS snow tileset. 2015-03-26 22:42:43 +00:00
Paul Chote
a2b423e4f9 Add a(nother) workaround for the legacy editor. 2015-03-26 22:41:46 +00:00
Paul Chote
549c0bf382 Disable legacy sequence parsing in TD.
Removes unused `powerdown` sequences.
2015-03-26 22:41:46 +00:00
Paul Chote
7ad2f3e104 Support tileset-specific sprite definitions. 2015-03-26 22:41:45 +00:00
reaperrr
c51afd837c Upgrade rules for LimitedAmmo -> AmmoPool refactoring 2015-03-26 23:21:02 +01:00
reaperrr
38d5163062 Refactors LimitedAmmo to AmmoPool.
Removes Reloads trait.

This enables adding multiple AmmoPools via @ differentiators and
Name which adds the possibility to assign each armament to a specific
ammo pool.

Furthermore, this moves all Reloads functionality onto AmmoPool.

Now a combination of all three is possible on a single actor: no limited
ammo, limited ammo that can reload on its own, and limited ammo which
needs to be reloaded at a rearm actor.

Additionally moves RearmSound from Minelayer to AmmoPool.
2015-03-26 23:21:01 +01:00
Matthias Mailänder
43b4bfc9e5 Merge pull request #7706 from penev92/bleed_fixDisguise
Fix for the EnemyWatcher-Disguise trait interaction
2015-03-26 22:35:18 +01:00
Matthias Mailänder
ab2db13b3c Merge pull request #7736 from abcdefg30/allies05aFIX
Fixes #7735
2015-03-26 22:26:31 +01:00
Matthias Mailänder
4084140716 Merge pull request #7731 from pchote/ts-tileset-fixes
Fix TS/RA2 tileset importer and apply correctness fixes to TS temperate.
2015-03-26 22:13:31 +01:00
penev92
460d0b84a6 Fix EnemyWatcher's interaction with disguised actors 2015-03-26 15:20:26 +02:00
Paul Chote
bbee16db99 Fix TS tileset. 2015-03-25 19:59:09 +00:00
Paul Chote
5d0eecd4c5 Don’t crash on bogus TerrainTiles. 2015-03-25 19:59:09 +00:00
Paul Chote
c5625d0d70 Fix radar color keys. 2015-03-25 19:59:09 +00:00
Paul Chote
a76bc3e188 Include sprite extension in imported tilesets. 2015-03-25 19:59:08 +00:00
Paul Chote
23bbe23603 Update imported tile types.
Using data provided by @tomsons26.
2015-03-25 19:59:08 +00:00
Oliver Brakmann
6fca67e7f6 Merge pull request #7664 from penev92/bleed_harvesterInsurance
Implement Carryall edge spawn, harvester delivery by carryall and harvester insurance for D2k
2015-03-25 20:03:00 +01:00
Oliver Brakmann
15af43d9b4 Merge pull request #7674 from obrakmann/fix7414_debian_dependencies
Add MaxMind GeoIP2's dependencies to debian package
2015-03-25 19:14:01 +01:00
abcdefg30
7c7e5efc4f Fix a fatal error in allies05a 2015-03-25 16:15:49 +01:00
reaperrr
036f2459bf Merge pull request #7732 from pchote/tsra2-reverses
Clean up sequence key loading and add Reverses field for TS/RA2.
2015-03-25 06:41:44 +01:00
Matthias Mailänder
b5779b2583 Merge pull request #7733 from pchote/d2k-remove-legacy-parsing
Disable legacy sequence parsing in D2K.
2015-03-24 22:16:12 +01:00
Paul Chote
9b33d7b1e5 Disable legacy sequence parsing in D2K. 2015-03-24 18:01:30 +00:00
Paul Chote
4baf639130 Add a Reverses sequence key for TS/RA2 animations. 2015-03-24 17:37:08 +00:00
Paul Chote
4d60757611 Simplify sequence field parsing. 2015-03-24 17:37:08 +00:00
Taryn Hill
8d8db8d90d Merge pull request #7707 from pchote/tileset-fixes
Automated correctness fixes for tileset definitions.
2015-03-24 09:03:34 -05:00