Commit Graph

12391 Commits

Author SHA1 Message Date
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
Oliver Brakmann
9500a11689 Add Actor.ReturnToBase 2014-02-02 22:30:36 +01:00
Taryn
9c4ad15d1e Changed most references of trait Mobile -> IMove.
In Mobile.cs IsMoving now has a public set as opposed to the initial internal. 
Added IMoveInfo interface to go with *Info classes that require IMove.
WithRotor now uses IMove.IsMoving instead of (self.CenterPosition.Z > 0) as part of a check.
2014-02-02 15:13:49 -06:00
Matthias Mailänder
6f3617361e Merge pull request #4535 from ScottNZ/bleed
Fix Lua script filename typo in OpenRA.sln
2014-02-02 03:33:59 -08:00
ScottNZ
3b2517ab8e Fix Lua script filename typo in OpenRA.sln 2014-02-02 22:12:15 +13:00
Paul Chote
4b38390907 Merge pull request #4534 from Mailaender/cnc-assetbrowser
Added the Asset Browser for Tiberian Dawn
2014-02-01 03:21:03 -08:00
Matthias Mailänder
477e486054 update CHANGELOG 2014-02-01 12:17:02 +01:00
Matthias Mailänder
aae1e7e134 set up the asset browser for Tiberian Dawn 2014-02-01 12:17:01 +01:00
Matthias Mailänder
d6ca396b73 slow down the medic heal animation 2014-02-01 10:28:52 +01:00
Matthias Mailänder
0bca2bf882 slow down the mechanic toolbox repair animation 2014-02-01 10:28:51 +01:00
Matthias Mailänder
e4effd0125 Merge pull request #4478 from pchote/aircraft-follow
Add Guard and AttackMove to RA and C&C aircraft.
2014-02-01 00:38:21 -08:00
Matthias Mailänder
16ddecdcbf StyleCop 2014-02-01 09:13:14 +01:00
Matthias Mailänder
e344b95a6f simplified Lua syntax for GDI02 2014-02-01 09:13:14 +01:00
Paul Chote
1d8e785d0d Merge pull request #4448 from Mailaender/test-files
TestFile to TestFiles in mod.yaml
2014-01-31 20:17:56 -08:00
Paul Chote
efd0b5c189 Merge pull request #4474 from Mailaender/monodevelop-luabinding
Set up project files for the MonoDevelop LuaBinding
2014-01-31 20:04:11 -08:00
Paul Chote
ff1c4ae44b Merge pull request #4517 from Mailaender/reactivate-husks
Capturable husks for all mods
2014-01-31 20:03:21 -08:00
Paul Chote
e58053cb69 Make aircraft guardable. 2014-02-01 10:57:56 +13:00
Paul Chote
fae9611d27 Fix HeliFly lua bindings. 2014-02-01 10:56:06 +13:00
Paul Chote
697b50c149 Add Guard support to Aircraft. 2014-02-01 10:56:04 +13:00
Paul Chote
1759d73ed7 Add following to IMove. 2014-02-01 10:55:05 +13:00
Paul Chote
9147e1f778 Ensure that planes circle after being ordered via IMove. 2014-02-01 10:55:05 +13:00
Paul Chote
db9ebd4a61 Add range support to Fly. 2014-02-01 10:55:05 +13:00
Paul Chote
4eaaa052cc Simplify Fly interface. 2014-02-01 10:55:04 +13:00
Paul Chote
c781d4c2fe Add range support to HeliFly. 2014-02-01 10:55:04 +13:00
Paul Chote
8d26d5e3fa Simplify HeliFly interface. 2014-02-01 10:55:04 +13:00
Paul Chote
d13e7ed432 Add AttackMove support to RA aircraft. 2014-02-01 10:55:04 +13:00
Paul Chote
61f5ab7167 Remove redundant AttackMove definitions. 2014-02-01 10:55:04 +13:00
Paul Chote
85500c0ec7 Tidy AutoTarget code. 2014-02-01 10:55:04 +13:00
Matthias Mailänder
3aad269ac2 added a hospital icon by Allen262
http://cnc-comm.com/community/?topic=1685.msg8393#msg8393
2014-01-31 19:04:24 +01:00
Matthias Mailänder
60bda58538 update CHANGELOG 2014-01-31 13:17:52 +01:00
Matthias Mailänder
0de1e20651 capturable husks for Dune 2000 2014-01-31 13:17:27 +01:00
Matthias Mailänder
a0e50762ad capturable husks for Red Alert 2014-01-31 13:17:27 +01:00
Matthias Mailänder
018f30c86e capturable husks for Tiberian Dawn 2014-01-31 13:17:26 +01:00
Matthias Mailänder
7a77f3a755 Merge pull request #4520 from ScottNZ/new-menu
Unify ra and cnc main menu logic
2014-01-31 03:02:22 -08:00
ScottNZ
255945076c Update CHANGELOG: add entries for new menus and reword some existing entries 2014-01-31 23:55:51 +13:00
Angusm3
d77614bf8b obelisk health upgrade to same level as ATWR 2014-01-31 03:55:18 -07:00
ScottNZ
1a3ec26a1e Unify ra and cnc main menu logic and clean up the main menus.
Move a bunch of buttons into an Extras submenu and the server browser.
Move CncMenuPaletteEffect to ra so it can be used elsewhere and rename it to MenuPaletteEffect.
2014-01-31 23:47:15 +13:00
Matthias Mailänder
81ec978a61 Merge pull request #4523 from pchote/disconnect-dialog
Show an error dialog if disconnected from the server.
2014-01-31 01:07:17 -08:00
Matthias Mailänder
7b84b10a16 Merge pull request #4519 from pchote/network-crash
Catch IOExceptions in Connection.cs.
2014-01-31 00:55:33 -08:00
Paul Chote
dda39ff14d Update changelog. 2014-01-31 20:57:10 +13:00
Paul Chote
a32d440b05 Show an error dialog if disconnected from the server. 2014-01-31 20:52:40 +13:00
Paul Chote
06be4d3efd Catch IOExceptions in Connection.cs. Closes #4083. Closes #4423. 2014-01-31 15:41:32 +13:00
Matthias Mailänder
7e8e427449 Merge pull request #4514 from ihptru/fix3877
do not create empty map on fail to download
2014-01-30 04:03:08 -08:00
Igor Popov
9b7233ebd1 fix #3877; 2014-01-30 15:50:27 +04:00