Commit Graph

3205 Commits

Author SHA1 Message Date
Paul Chote
9dcf5c3dbb Merge pull request #4530 from obrakmann/lua
Added a few Lua functions, attempt 2
2014-02-08 00:05:23 +13:00
Paul Chote
54e09edd2c Merge pull request #4538 from Phrohdoh/MobilityChanges
Transfer code from overused Mobile to IMove (and IMoveInfo)
2014-02-07 23:54:18 +13:00
Paul Chote
5bdc047c5a Merge pull request #4499 from Mailaender/gdi02-fixes
GDI02 fixes
2014-02-07 23:13:13 +13:00
steelphase
643f8282ba #4570
C4Demolition.cs change order.TargetActor to target.Actor
2014-02-04 23:16:49 -05:00
Oliver Brakmann
886efd0b97 Add production-related Lua functions 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
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
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
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
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
85500c0ec7 Tidy AutoTarget code. 2014-02-01 10:55:04 +13: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
Paul Chote
a32d440b05 Show an error dialog if disconnected from the server. 2014-01-31 20:52:40 +13:00
Kanar
17cf890dce Enables "insufficient power"-speech in RA and C&C when powered-down supportpowerwidget is clicked 2014-01-27 04:29:32 +01:00
Matthias Mailänder
b8740a3a47 test for a list of files when loading mods
don't cache test file string arrays
2014-01-21 08:30:03 +01:00
Kanar
aace7ca607 Disables "building"-speech when nothing more can be built 2014-01-18 22:42:05 +01:00
Matthias Mailänder
151f7dc9c6 Merge pull request #4464 from pchote/attackmove
Add AttackMove to C&C helicopters
2014-01-16 12:12:27 -08:00
Paul Chote
99cb698424 Generalise AttackMove to support anything with IMove and AutoTarget.
Also removes the unnecessary JustMove parameter.
2014-01-16 18:47:29 +13:00
Chris Forbes
abaed4e8be fix client join/leave race with master server ping 2014-01-16 09:36:12 +13:00
ScottNZ
d34de25495 Move lua logs to lua.log 2014-01-12 23:28:50 +13:00
Paul Chote
d2fa1a12f9 Use DomainIndex to fix naval transport path perf. 2014-01-12 22:35:06 +13:00
Paul Chote
29e689178d Make EnterTransport more consistent with MoveAdjacentTo. 2014-01-12 22:09:11 +13:00
Paul Chote
3cdeea009b Make MoveAdjacentTo aware of moving targets.
Units moving toward another actor (passengers, hijackers, etc) will now repath if their target moves.
Fixes excessive repathing if the target cannot be reached.
2014-01-12 22:09:11 +13:00
Paul Chote
c333b59eb9 Cache trait lookups in MoveAdjacentTo. 2014-01-12 22:09:11 +13:00
Paul Chote
27ef3352f4 Fix AttackMove nits.
Clears StyleCop warnings and adds GetTargets implementation for the unit path debug.
2014-01-12 22:09:04 +13:00
Matthias Mailänder
69c97a6e39 Merge pull request #4441 from xaionaro/bleed
closes #4425
2014-01-11 02:31:16 -08:00
Dmitry Yu Okunev
0083e60590 Permit black color (S=0.0, V=0.2) 2014-01-11 14:06:53 +04:00
Matthias Mailänder
589f5297d9 optimized frame limit sleep
* calculate idealFrameTime only when needed
* only create a new Stopwatch when needed
* disallow wait times > 1 second
2014-01-11 09:14:31 +01:00
reaperrr
0763fc0167 Added HitAnimPalette trait to LaserZap projectile, LaserZap HitAnim can now use other palettes than the default effect palette. 2014-01-06 18:14:19 +01:00
reaperrr
26013c21f9 Added descriptions for LaserZap Color and HitAnim traits 2014-01-06 18:11:34 +01:00
Dan9550
91050ba458 OnCapture lua trigger & nod03a
Cleaned up nod03a, spaces -> tabs

nod03a and OnCapture lua trigger
2014-01-05 20:19:13 +11:00
Paul Chote
197c583ea6 Merge pull request #4422 from Mailaender/d2k-bloxxmas
Added the Dune 2000 BLOXXMAS terrain tiles
2014-01-04 14:32:49 -08:00
Matthias Mailänder
74b24c0f8d display TMP files in the asset browser 2014-01-04 14:41:07 +01:00
reaperrr
55c1a93bf5 Follow-up on #4415. Fixed/precised some descriptions. 2014-01-04 14:31:29 +01:00
Matthias Mailänder
cb3861b6de Merge pull request #4415 from reaperrr/hackyai-unhardcoding-rev2
Un-hardcoded several HackyAI aspects
2014-01-04 01:36:20 -08:00
Matthias Mailänder
a6c5b80731 this is not just ShowMuzzles anymore 2014-01-04 09:57:17 +01:00
Matthias Mailänder
4d99f9ce53 allow to C4 intact bridges that have taken some damage 2014-01-04 09:57:17 +01:00
Matthias Mailänder
027a281ae3 define torpedoes in a more generic way
fixes #3252 and closes #2097
2014-01-04 09:39:43 +01:00
Matthias Mailänder
4b43bb1cad replace misleading Underwater bool with what it really does 2014-01-04 09:39:43 +01:00
Matthias Mailänder
3bf385b485 added a new Launch.Replay=$FilePath parameter
that does not persist in settings.yaml
2014-01-04 09:19:20 +01:00