Commit Graph

59 Commits

Author SHA1 Message Date
Oliver Brakmann
a869dacdc4 Remove tooltips from map preview in MP server browser 2017-05-30 22:30:31 +01:00
Paul Chote
28fdb71163 Remove mod chooser reference from music installation prompt. 2017-05-29 12:33:20 +02:00
Paul Chote
7f3f36885a Fix bogus variable names in widget widths. 2017-05-27 13:00:00 +02:00
Paul Chote
29d827079e Fix "game" chat tab mouseover not working from globalchat login tab. 2017-05-27 13:00:00 +02:00
rob-v
a26210f914 Replays with MapPreview (like in Lobby) 2017-05-14 21:06:16 +01:00
rob-v
0e3cc1ad28 (Lobby)MapPreviewLogic refactoring 2017-05-14 21:06:16 +01:00
rob-v
ffc3f6e0d0 LAN games discovery 2017-05-14 22:01:25 +02:00
reaperrr
669cf01d80 Merge pull request #13224 from daVoodooShuffle/fix-13153
Cleaned Up Chrome Expression Whitespacing
2017-05-06 14:44:40 +02:00
daVoodooShuffle
53bf52149c Closes #13153
Modified all expressions to contain a space on either side

Only effects the YAML files that contain config variables:

X:
Y:
Width:
Height:
2017-05-06 15:26:41 +10:00
reaperrr
ea29cce3cf Merge pull request #13002 from rob-v/LobbyOptionsEditableByHost
Host can change Team and Spawn of any player. #12936
2017-05-04 19:15:01 +02:00
Taryn Hill
12f2fc3410 Merge pull request #13175 from rob-v/GlobalChat
Enhance - unify global chat (with lobby chat)
2017-04-29 09:28:34 -05:00
rob-v
bd025873cf Host can change Team and Spawn of any player. #12936 2017-04-23 12:06:44 +02:00
rob-v
1206205d17 Enhance - unify global chat (with lobby chat) 2017-04-22 20:25:20 +02:00
reaperrr
9f8e9426af Merge pull request #13005 from rob-v/LobbyMapTooltips
Added tooltip to Lobby Map title #12930 #12595
2017-04-22 15:31:34 +02:00
Paul Chote
ec42aed6bc Redirect mod chooser to content manager. 2017-04-21 18:02:20 +01:00
rob-v
199e9847d1 Add tooltips to production statistics #12820 2017-04-17 21:51:23 +02:00
rob-v
ffb639bd7c Added tooltip to Lobby Map title #12930 #12595 2017-04-03 10:11:29 +02:00
rob-v
d7684ee680 Real tough guy difficulty doesn't fit the UI #12844 2017-03-17 22:31:02 +01:00
reaperrr
66f1cc69d8 Move D2k/TS ingame-observer.yaml to common 2017-02-12 16:45:19 +01:00
reaperrr
6f9f630fdc Move RA chrome yamls to common 2017-02-12 16:45:15 +01:00
Alexis Hunt
ef8b672f51 Move most UI metrics to common.
This reduces the odds that a third-party mod will crash due to missing
one of them. Eliminates ra2#291.
2016-09-05 13:38:40 -04:00
Matthias Mailänder
690e5125ec Move shared metrics to mods/commons. 2016-01-30 23:03:37 +01:00
Paul Chote
9aab4b2be6 Move shared font files to the common mod directory. 2014-10-19 19:54:02 +13:00
Paul Chote
b1fba883a9 Remove legacy Lua API. 2014-10-19 12:43:17 +13:00
atlimit8
6640fa2539 Fixes old Lua Move Activity 2014-10-11 06:27:49 -05:00
atlimit8
0e182e4fa8 Fixes old Lua Turn Activity crash 2014-10-11 05:26:56 -05:00
Oliver Brakmann
0cf49ad49f Fix old-lua paradrop too. 2014-07-19 14:42:36 +12:00
Oliver Brakmann
33b916a713 Fix RepairBuilding not working for AI and Lua scripts
Fixes #5861
2014-07-07 19:43:52 +02: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
Matthias Mailänder
1e2e7bcf42 StyleCop 2014-07-05 09:00:20 +02:00
Oliver Brakmann
f8e5217b11 Fix breakage of old Lua api. Fixes #5686. 2014-06-21 13:04:31 +02:00
Oliver Brakmann
3a2bb75e01 Check team members' health in Team.Do function 2014-06-03 20:19:49 +02:00
Oliver Brakmann
7b3974d688 Add Reinforcements.ReinforceWithCargo 2014-03-23 14:16:05 +01:00
Oliver Brakmann
ca786f6039 Add Production.BuildTeamFromTemplate
Production.BuildTeamFromTemplate allows the production of teams from a
list of
actor types, assigning a function to that team once it is complete.

A 'template' in this case looks like this:
template = { {factory, {list of units to build using aforementioned factory}} }
e.g. template = { {barracks, {"e1", "e1", "e1", "e3", "e3"}} }

You can also build teams using multiple factories like this:
template = { {barracks, {"e3", "e3", "e3"}}, {war_factory, {"3tnk", "3tnk"}} }

Before using Production.BTFT you need to call
Production.EventHandlers.Setup once.
2014-03-21 23:22:01 +01:00
Oliver Brakmann
0eb1e2cc6d Actor.Patrol*: make sure that the actor is still alive 2014-03-21 23:22:01 +01:00
Oliver Brakmann
64a18389b7 Allow for incremental team assembly 2014-03-17 22:20:04 +01:00
Oliver Brakmann
00bc3f71fe Make Production.SetRallyPoint and .SetPrimaryBuilding more robust 2014-03-17 22:20:04 +01:00
Oliver Brakmann
800665579b Add Actor.RepairBuilding 2014-03-17 22:20:03 +01:00
ScottNZ
7d43ecc33f Remove the temperate RA shellmap and port the desert shellmap to Lua. 2014-03-06 19:27:29 +13:00
Oliver Brakmann
e65626cc6b Add Actor.Guard 2014-02-17 19:16:47 +01:00
Oliver Brakmann
bfc34df581 Add Actor.OnDamaged
Allows the AI to react to its units being attacked.
2014-02-17 19:16:47 +01:00
Oliver Brakmann
ba1558259b Add constants for the 8 main facing values to Lua. Fixes #4490 2014-02-17 19:16:47 +01:00
ScottNZ
025de83d3a Fix cargo loading/unloading.
- Fix the unloading subcell bug, letting us have units move to directly adjacent cells.
- Have the cursor change to a deploy-blocked cursor if the transport can't unload due to terrain type.
- Add RenderTransport for transport door opening.
- Remove turning/opening in general.
2014-02-12 20:07:44 +13:00
Oliver Brakmann
2f9b1459a8 Fix OpenRA.GetRandomInteger crashing under certain circumstances
OpenRA.GetRandomInteger crashes when the supplied high value is less or
equal to the low value.  A situation where this might occur is when you
try to get a random member of a dynamically generated array that
happens to have only a single member.
2014-02-02 23:37:22 +01:00
Oliver Brakmann
6be0a26353 Fix OpenRA.RunAfterDelay queuing a null action. Fixes #4512. 2014-02-02 23:37:22 +01:00
Oliver Brakmann
886efd0b97 Add production-related Lua functions 2014-02-02 23:37:22 +01:00
Oliver Brakmann
42532efd8f Replace Lua's for loops with Utils.Do/Team.Do
Besides fitting in better with the OpenRA coding style, this also gets
rid of some weird timing-related errors I have seen when creating teams
with a larger number (6+) of members. (The script would just print
'Error: function' in Team.AddActorEventHandlers. Adding a strategically
placed print statement fixed that. Replacing the original for loop with
Team.Do did as well)
2014-02-02 23:37:22 +01:00
Oliver Brakmann
b3323869cb Add Map.FindActorsInCircle and ...InBox, plus related shortcuts 2014-02-02 23:37:22 +01:00
Oliver Brakmann
5322096dc4 Add Team.Patrol and Actor.Patrol. Fixes #4491. 2014-02-02 23:37:22 +01:00
Oliver Brakmann
43e386a48d Add Utils.Seconds and Utils.Minutes 2014-02-02 22:30:36 +01:00