Commit Graph

3790 Commits

Author SHA1 Message Date
Matthias Mailänder
cde7ec1948 disallow building placement when the game is paused
touches the most glitchy case of #3277
2014-07-06 09:39:16 +02:00
Matthias Mailänder
565ea05bd7 fix problem with cnc nuke leaking the long idle sequence Tick
and avoid magic numbers
2014-07-06 09:23:31 +02:00
Matthias Mailänder
960248fe44 freeze animations during pause to visualize it better 2014-07-06 08:24:08 +02:00
Matthias Mailänder
d1e18cad7a new PauseState to differentiate game and editor pausing 2014-07-06 08:24:08 +02:00
Matthias Mailänder
d580ca6417 ActorMap is updated in Tick
so we can't search for adjacent actors in TickRender
2014-07-06 08:24:08 +02:00
Matthias Mailänder
394d635dae new trait WithMakeAnimation 2014-07-06 08:24:08 +02:00
Matthias Mailänder
87fd576b26 use TickRender() for RenderSprites and PaletteModifier 2014-07-06 08:24:08 +02:00
Matthias Mailänder
58cb603803 Merge pull request #5834 from Squiggles211/heli-turn
Increase Chinook landing speed and removed turn before landing.
2014-07-06 08:19:44 +02:00
Matthias Mailänder
9be8f4ce29 Merge pull request #5832 from obrakmann/fix-old-lua-breakage
Fix breakage of the old Lua API due to recent changes
2014-07-06 07:55:34 +02:00
Squiggles211
ebc6515d73 Fixes #5054 by removing chinook's turn before landing and increasing ascend/descend speed
Allows for any helicopter to enable or disable the turn before landing
but sets it to default off for the chinook.  (may be desireable for
single player missions visual effect like Allies01?)  Also gives the
chinook a faster ascend/descend speed.  Fixes #5054
2014-07-06 00:52:43 -05:00
Oliver Brakmann
3a67b3dec3 Fix breakage of the old Lua API due to recent changes
Specifically, the CPos::CenterPosition -> Map::CenterOfCell rename (#5758),
as well as the additional argument to Paradrop::SetLZ (#5695).
2014-07-06 01:21:22 +02:00
Chris Forbes
ee2dc60eb3 Merge pull request #5822 from Mailaender/voxel-walker-move
Moved specialized voxel render traits to Mods.TS library.
2014-07-06 10:52:35 +12:00
Paul Chote
cc14f5ef17 Don’t try to render the repair indicator if there are no repairers. Fixes #5823 2014-07-06 10:05:56 +12:00
Matthias Mailänder
07c75b5e27 move WithVoxelWalkerBody to Mods.TS 2014-07-05 12:12:56 +02:00
Paul Chote
8743f39a79 Merge pull request #5814 from Mailaender/vamos-vamos
Fixed units not moving to the RallyPoint
2014-07-05 20:00:47 +12:00
Matthias Mailänder
5e7e677ca9 fix shadow sprite not being rendered on the ground 2014-07-05 09:13:52 +02:00
Matthias Mailänder
8cdd7dce6c make the fallrate customizable 2014-07-05 09:13:52 +02:00
Matthias Mailänder
4a7687d7e4 add a customizable parachute shadow
closes #3335
2014-07-05 09:13:52 +02:00
Matthias Mailänder
18a77e0039 make the parachute palettes configurable 2014-07-05 09:13:52 +02:00
Matthias Mailänder
ef01fb289b make the parachute animation optional
instead of hard-coding default sprite sequences
2014-07-05 09:13:52 +02:00
Matthias Mailänder
ff1be8daea merge ParachuteAttachment and Parachutable 2014-07-05 09:13:52 +02:00
Matthias Mailänder
a38d43019a new setting to allow unlucky paratroopers 2014-07-05 09:13:51 +02:00
Matthias Mailänder
2907273ef2 new trait Parachtuable that decides on the fate upon landing 2014-07-05 09:13:51 +02:00
Matthias Mailänder
1a0bb726e6 document for modders 2014-07-05 09:13:51 +02:00
Matthias Mailänder
8f805248ca StyleCop 2014-07-05 09:13:51 +02:00
Matthias Mailänder
1e2e7bcf42 StyleCop 2014-07-05 09:00:20 +02:00
Matthias Mailänder
7b5f000ba0 stop pretending this is configurable and use MoveTo
fixes #5682
2014-07-05 08:58:21 +02:00
Matthias Mailänder
4fed3371d0 avoid an unneccessary conversion FieldLoader can do 2014-07-05 08:58:21 +02:00
Paul Chote
6250c9df12 Merge pull request #5696 from Mailaender/emit-cargo-on-sell
Finished EmitCargoOnSell
2014-07-05 12:30:29 +12:00
Paul Chote
15d8fadb60 Merge pull request #5801 from Mailaender/building-influence-crash
Fixed a crash when trying to capture husks that have been destroyed.
2014-07-05 11:36:54 +12:00
Paul Chote
31aaaf26b5 Merge pull request #5812 from Mailaender/rallypoint-test-building-hack-removal
Fixed the AI choosing rallypoints on land for shipyards
2014-07-05 11:22:00 +12:00
Paul Chote
8d6cd143d6 Merge pull request #5807 from Mailaender/building-influence-reslayer
Fixed resources growing on building bibs and behind trees
2014-07-05 10:53:10 +12:00
Matthias Mailänder
13e0dac141 execute chat commands only locally
fixes #5755
2014-07-04 18:18:33 +02:00
Matthias Mailänder
0572220cc3 Merge pull request #5768 from pchote/multirepair
Closes #3748
2014-07-04 16:12:46 +02:00
Pavlos Touboulidis
d1251d412f Instant filtering by file name in the asset browser 2014-07-04 16:33:26 +03:00
Matthias Mailänder
79dd9a9c6b get rid of the RallypointTestBuilding hack 2014-07-04 14:57:34 +02:00
Matthias Mailänder
0feb5a7bdc check for building influence when growing resources
closes #5556
2014-07-04 09:22:14 +02:00
Ishan Bhargava
16df8322c6 Added repair bonus for multiple players
More than one player can now contribute to repairing a building.
Base repair amount is multiplied by value of array
Players who can't afford to contribute are ignored
Repair indicator cycles between each player's color.
2014-07-04 10:40:26 +12:00
Paul Chote
ce99f02ba6 Merge pull request #5678 from pavlos256/find-tiles-in-circle
Fix and optimize FindTilesInCircle
2014-07-04 10:27:37 +12:00
Matthias Mailänder
b02ca7695f StyleCop 2014-07-03 18:35:11 +02:00
Pavlos Touboulidis
daed053a57 Fix and optimize FindTilesInCircle 2014-07-03 18:11:28 +03:00
Paul Chote
0ffe88753c Merge pull request #5789 from Mailaender/render-trait-documentation
Documented the various overlay and animation change traits
2014-07-03 23:54:13 +12:00
Paul Chote
a4083f4597 Merge pull request #5794 from Mailaender/lint-map-cordons
Added a new Lint check for invalid map cordons
2014-07-03 23:43:41 +12:00
Matthias Mailänder
884fbc0ea9 add a new lint check for invalid map cordons 2014-07-03 10:56:59 +02:00
Matthias Mailänder
e666c75883 don't capture dead actors 2014-07-03 10:33:41 +02:00
Matthias Mailänder
6097b3eb19 document the various overlay and animation change traits 2014-07-03 09:50:10 +02:00
Matthias Mailänder
3c3f85a272 add documentation 2014-07-03 09:05:22 +02:00
Matthias Mailänder
68a97b079b spurious tab 2014-07-03 09:05:22 +02:00
RoosterDragon
3a30748f05 Reduce working set by releasing buffers for sheets.
Sheets carry a managed buffer of data that allows updates to be made without having to constantly fetch and set data to the texture memory of the video card. This is useful for things like SheetBuilder which make small progressive changes to sheets.

However these buffers are often large and are kept alive because sheets are referenced by the sprites that use them. If this buffer is explicitly null'ed when it is no longer needed then the GC can reclaim it. Sometimes a buffer need not even be created because the object using the sheet only works on the texture directly anyway.

In practise, this reduced memory consumed by such buffers from ~165 MiB to ~112 MiB (at the start of a new RA skirmish mission).
2014-07-02 17:25:56 +01:00
Matthias Mailänder
ea86aac089 replace EmitCargoOnSell with Cargo.EjectOnSell 2014-07-01 22:11:44 +02:00