Commit Graph

18968 Commits

Author SHA1 Message Date
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
abcdefg30
f52bbd1b0b Merge pull request #9928 from Biofreak1987/fix_nod05_airstrike_crash
Fix nod05 airstrike Lua crash and update map rules
2015-11-12 22:48:46 +01: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
Biofreak1987
84a0dc0242 Fix nod05 airstrike Lua crash and update map rules
- Fix airstrike Lua crash when there are no targets
- Increased harvester search range
- Hide owner row from husks and walls

Changes to make it closer to the original:
- Added e3 and sandbag production
- Made airstrikes gdi only
- Limited airstrike squadsize to 1
- Allow to attack civilian buildings
2015-11-12 13:27:53 +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
e05098400a Merge pull request #9968 from Phrohdoh/miniyaml-cleanups
MiniYaml.cs cleanups
2015-11-11 22:19:37 +01: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
d760ee1cd5 Merge pull request #9948 from OmegaBolt/d2k-thumper-bal
D2k thumper worm attraction balance change
2015-11-11 23:01:06 +02: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
Pavel Penev
a4b54aacbb Merge pull request #9933 from pchote/shroud-cursor-bug
Prevent frozen actors leaking through shroud.
2015-11-11 22:28:12 +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
Oliver Brakmann
db96b62427 Merge pull request #9967 from cjshmyr/barrackexits
Made both barracks' doors exit to different cells
2015-11-11 20:20:03 +01:00
Taryn Hill
a8600ffbe7 Replace instance of 4 spaces with a single tab in MiniYaml.cs 2015-11-11 13:03:22 -06:00
Curtis Shmyr
1a0bf541de Made both barracks' doors exit to different cells 2015-11-11 11:51:15 -07:00
Taryn Hill
44e03c094b Add newlines in MiniYaml.cs for readability 2015-11-11 12:47:30 -06:00
Taryn Hill
9b568f53a1 Rename some variables in MiniYaml.cs for readability 2015-11-11 12:44:04 -06: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
Taryn Hill
d33922915e Merge pull request #9891 from teees/sounds-fix
Added sounds for orca takeoff and landing (TS)
2015-11-11 06:15:59 -06:00
Pavel Penev
34876db9d9 Merge pull request #9885 from pchote/editor-copypasta
Add copy/paste to the map editor
2015-11-11 01:00:37 +02: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
Oliver Brakmann
727ad3e61b Merge pull request #9947 from OmegaBolt/d2k-leftover-armours
D2k fixed armour & AI typos
2015-11-10 21:57:51 +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
atlimit8
44eec7a885 Merge pull request #9893 from teees/minor-fixes
Polish the Tiberian Sun Construction Yard and MCV deployment

Use the undeploy cursor for the construction yard
Use the correct deploy sound for the mcv
2015-11-09 23:27:22 -06:00
Oliver Brakmann
496f8d7ddf Merge pull request #9950 from GraionDilach/fix-sp-disable
Fix observer GUI showing disabled support powers.
2015-11-09 21:03:32 +01:00
Pavel Penev
cfdce8d1a2 Merge pull request #9934 from OmegaBolt/d2k-sw-times
D2k super weapon timers
2015-11-09 21:49:36 +02:00
Pavel Penev
76cdda2eae Merge pull request #9946 from OmegaBolt/d2k-bfd-mapup
D2k Battle For Dune map update
2015-11-09 21:41:37 +02:00
Oliver Brakmann
4ea20027b1 Merge pull request #9941 from OmegaBolt/d2k-orni-bombs
D2k Ornithopter bomb damage increase
2015-11-09 19:57:10 +01: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
OmegaBolt
fbebb26a33 D2k thumper worm attraction balance 2015-11-09 18:28:22 +00:00
OmegaBolt
3532b22e5e D2k fixed armour & AI typos 2015-11-09 18:08:51 +00:00
OmegaBolt
bf982f81d0 D2k Battle For Dune map update 2015-11-09 17:03:16 +00:00
OmegaBolt
494266e257 D2k Ornithopter bomb damage increase 2015-11-09 14:36:48 +00:00
OmegaBolt
03367d4913 D2k super weapon timers 2015-11-08 22:15:58 +00:00
Paul Chote
9ae811e0c0 Prevent frozen actors leaking through shroud. 2015-11-08 20:53:47 +00:00
Pavel Penev
d2c94adc55 Merge pull request #9875 from OmegaBolt/d2k_infondunes
D2k, fixed infantry moving too slow on dunes
2015-11-08 21:54:51 +02:00
Oliver Brakmann
ea2defdbc1 Merge pull request #9659 from abcdefg30/atreides03a
Add atreides03a
2015-11-08 19:30:37 +01: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
Matthias Mailänder
3941bc441f Merge pull request #9913 from OmegaBolt/d2k-start-cash
Added D2k 7000 start cash option
2015-11-08 17:39:51 +01:00
Pavel Penev
62f2c01bd6 Merge pull request #9920 from pchote/label-truncation
Truncate long user-defined strings.
2015-11-08 17:21:19 +02:00
Paul Chote
fed2029d1f Truncate long player names in lobby. 2015-11-08 14:59:59 +00:00