Commit Graph

5016 Commits

Author SHA1 Message Date
Pavel Penev
4d787cbedb Check if WithSpriteBody is available in GrantUpgradePower 2015-11-16 01:25:09 +02:00
Pavel Penev
13978b08bc Fix UpgradeActorsNear revoking upgrades after the actor dies
Very hard bug to reproduce: if you can power down a stealth generator just as it is dieing you can hit a race condition that leads to ActorExited() being called to revoke the upgrades after they have already been revoked once.
2015-11-15 18:51:15 +02:00
Curtis Shmyr
f0e9b85ccc I before E except after C 2015-11-14 22:32:37 -07:00
Pavel Penev
4c7e6db4da Merge pull request #9599 from ChaoticMind/lua_debug
Add a Lua wrapper to display debug messages (shows if setting enabled)
2015-11-14 20:00:38 +02:00
Paul Chote
67193b43d5 Check deploy location at the time of transform. 2015-11-14 12:49:26 +00:00
Pavel Penev
8f85794a52 Allow AssetBrowserLogic's allowed extentions to be loaded from YAML
Keep the default list of file formats as a fallback for thirdparty mods, but still add it to YAML to show off the functionality and to make it more transparent what formats are supported.
2015-11-14 14:40:52 +02:00
Philipp Schärer
830288b5a0 Fixed the minimap orders for left click control
Use the correct actions when orders are issued
over the minimap.
2015-11-13 08:56:43 +01:00
evgeniysergeev
ea1115fe46 flip sprites in sequences and frames in combined sequences 2015-11-13 06:31:12 +03:00
RoosterDragon
e6e98d3aa2 Cache self.ToLuaValue in ScriptTriggers.
When making an Lua function call, any LuaCustomClrObject must be introspected via reflection in order to determine what to expose in Lua code. In OpenRA, we use these for any types that implement IScriptBindable, such as Actor.

Previously, we would need to pay the cost of this reflection for every individual Lua call an Actor used in its ScriptTriggers trait where it passed `self` as a parameter. This would be repeated every time. For performance, we now cache self.ToLuaValue in the trait and use that for all calls so we only pay the reflection cost once on trait construction. This removes a significant overhead in the Lua bridging code.
2015-11-12 22:18:19 +00:00
Oliver Brakmann
1b8cdfad02 Merge pull request #9854 from Arcitectus/resolve.Issue#6170
prevent allied units from autoattack building which is being captured…
2015-11-12 21:42:39 +01:00
Paul Chote
98d0844695 Merge pull request #9922 from penev92/validateColor
Validate player color when changing slots in the lobby
2015-11-11 22:56:30 +00:00
Paul Chote
dbd23c9d46 Merge pull request #9919 from obrakmann/fix9863
Fix bogus owner check in Lua API production code
2015-11-11 22:23:44 +00:00
Oliver Brakmann
121b0a6e9c Merge pull request #9942 from abcdefg30/descexplodes
Fix the documentation of Explodes
2015-11-11 22:14:14 +01:00
Pavel Penev
36bf9eee0c Merge pull request #9949 from pchote/fix-more-overlaps
Truncate player names in more places.
2015-11-11 22:38:54 +02:00
abcdefg30
8c2c946254 Add an upgrade rule for the DeathType -> DeathTypes change 2015-11-11 21:24:04 +01:00
abcdefg30
4a4608e1f3 Rename DeathType to DeathTypes of Explodes 2015-11-11 21:23:40 +01:00
abcdefg30
a5aff66848 Polish the documentation in Explodes.cs 2015-11-11 21:23:27 +01:00
Michael Rätzel
51bb515a4d prevent allied units from autoattack building which is being captured. resolves #6170. 2015-11-11 14:32:38 +01:00
Paul Chote
a081321790 Add copy/paste to the map editor. 2015-11-10 22:18:18 +00:00
Paul Chote
1c06297ff7 Make editor brushes disposable. 2015-11-10 22:17:28 +00:00
Oliver Brakmann
bf3a46be93 Merge pull request #9958 from penev92/gpsAutoTarget
Enable AutoTarget to aquire targets under fog if GPS is present
2015-11-10 22:23:58 +01:00
Pavel Penev
ab2c5ab43d Enable AutoTarget to aquire targets under fog if GPS is present 2015-11-10 22:50:22 +02:00
Oliver Brakmann
4bbf6ea0c7 Merge pull request #9925 from atlimit8/MultiLineMapEditorTooltips
Multi-line map editor tooltips
2015-11-10 21:06:57 +01:00
Taryn Hill
2fc391c5b8 Add a comment explaining some of the sequence parsing code 2015-11-10 07:17:18 -06:00
Paul Chote
491e96466d Truncate player name in replay browser. 2015-11-09 18:55:54 +00:00
Zimmermann Gyula
6b891c50cf Fix observer GUI showing disabled support powers. 2015-11-09 19:55:51 +01:00
Paul Chote
6236b29fde Truncate player name in observer stats and diplomacy panels. 2015-11-09 18:51:15 +00:00
Paul Chote
dcc21aea41 Truncate player name in ingame menu stats. 2015-11-09 18:50:58 +00:00
Oliver Brakmann
b30bae08c0 Fix bogus owner check in Lua API production code 2015-11-09 19:31:19 +01:00
atlimit8
cdb2da33be CreateEffectWarhead target types support 2015-11-08 12:54:17 -06:00
atlimit8
def564e97c reorganize CreateEffectWarhead.GetImpactType(World world, CPos cell, WPos pos) 2015-11-08 12:54:14 -06:00
Matthias Mailänder
ab739c8446 Merge pull request #9415 from atlimit8/SpawnActorOnDeath_to_Common
Move SpawnActorOnDeath to OpenRA.Mods.Common
2015-11-08 19:07:07 +01:00
Paul Chote
fed2029d1f Truncate long player names in lobby. 2015-11-08 14:59:59 +00:00
Paul Chote
cfc92f66a4 Truncate long server names in MP browser. 2015-11-08 14:59:59 +00:00
Paul Chote
19aa07d019 Truncate long map name in replay browser. 2015-11-08 14:59:59 +00:00
Paul Chote
b689364a4d Truncate long map name / mod version in MP panel. 2015-11-08 14:59:59 +00:00
Paul Chote
bb66957bad Truncate long map name / author in map chooser. 2015-11-08 14:59:58 +00:00
Paul Chote
ef3a0e36e0 Truncate long map name / author in lobby. 2015-11-08 14:59:58 +00:00
Paul Chote
6edac4bdf7 Set the default map location to the support dir. 2015-11-08 12:08:20 +00:00
Paul Chote
101efaed4f Merge pull request #9873 from teees/editor-fix
Handle mouse up event in default editor brush (instead of mouse down)
2015-11-08 11:29:03 +00:00
Matthias Mailänder
e8a07a6ddf Merge pull request #9921 from obrakmann/fix-weatheroverlay-typo
Fix typo in WeatherOverlayInfo
2015-11-08 09:12:15 +01:00
Matthias Mailänder
0e13472651 Merge pull request #9924 from cjshmyr/lua-islocalplayer
Added 3 Lua player API properties
2015-11-08 08:52:17 +01:00
atlimit8
9c0d83d0d9 Make ActorSelector tooltips better match actor tooltips in map editor 2015-11-07 16:10:13 -06:00
atlimit8
4c2488f9b1 Made editor actor preview tooltip easier to read 2015-11-07 16:10:13 -06:00
atlimit8
cbc8d1c5ec Multiline support for SimpleTooltipLogic 2015-11-07 16:10:00 -06:00
Curtis Shmyr
2a6c87f81d Added 3 Lua player API properties 2015-11-07 12:17:09 -07:00
Pavel Penev
98134fab5d Validate player color when changing slots in the lobby 2015-11-07 20:27:10 +02:00
Oliver Brakmann
27d915046c Fix typo in WeatherOverlayInfo 2015-11-07 19:23:22 +01:00
Pavel Penev
239f842107 Merge pull request #9909 from reaperrr/fix-upgrade-dates
Change engineVersion for several upgrade rules to 20150920
2015-11-07 16:17:01 +02:00
Pavel Penev
5df01b2137 Merge pull request #9916 from pchote/news-from-the-future
Fetch battlefield news once per game launch.
2015-11-07 14:12:03 +02:00