Commit Graph

10002 Commits

Author SHA1 Message Date
Paul Chote
ac3f63b59c Remove IHasLocation lookup from Target. 2013-07-21 17:31:00 +12:00
Paul Chote
200fde77b1 Remove unnecessary IHasLocation checks in HackyAI.
Existing checks for ITargetable / Building / etc
make these redundant.
2013-07-21 17:31:00 +12:00
Paul Chote
8a988e5e02 Clean up HarvesterDockSequence. 2013-07-21 17:30:59 +12:00
Paul Chote
031c17ab9c Helicopter style fixes. 2013-07-21 17:30:59 +12:00
Paul Chote
179f97a598 Convert helicopter activities to world coords. 2013-07-21 17:30:59 +12:00
Paul Chote
712e13b1e7 Remove some duplication against WorldUtils.ClosestTo. 2013-07-21 17:30:59 +12:00
Paul Chote
b92aa760d2 FlyAttack style fixes. 2013-07-21 17:30:58 +12:00
Paul Chote
a070629571 Convert plane activities to world coords. 2013-07-21 17:30:58 +12:00
Paul Chote
f18994f800 Add WVec.HorizontalLengthSquared to simplify range checks. 2013-07-21 17:30:58 +12:00
Paul Chote
56da57bc09 Return WVec.LengthSquared as a long to avoid overflow. 2013-07-21 17:30:57 +12:00
Matthias Mailänder
0f42fa5460 Merge pull request #3585 from dan9550/td_nod_campaign
NOD01Script Spaces -> Tabs & updated code
2013-07-20 03:32:56 -07:00
Dan9550
897f6cd69e Updated code, removed NOD_01, Spaces -> Tabs
NOD01Script Spaces -> Tabs

started work on NOD_01

Conflicts:
	OpenRA.Mods.cnc_sw/OpenRA.Mods.Cnc_sw.csproj

removing uneeded files

Spaces -> Tabs NOD01Script.cs

started work on NOD_01

Conflicts:
	OpenRA.Mods.cnc_sw/OpenRA.Mods.Cnc_sw.csproj

removing uneeded files

Did some messing around still broken

Spaces -> Tabs #2

Updated the code a little, is somewhat more playable now

removed NOD_01
2013-07-20 19:39:42 +10:00
Matthias Mailänder
002df7b24e Merge pull request #3583 from pchote/omg-more-world-coords
More world coordinates
2013-07-20 01:08:53 -07:00
Paul Chote
ddd1314613 Convert ScreenShaker to world coords. 2013-07-20 15:34:28 +12:00
Paul Chote
0c35e49239 Remove PPos from range circle drawing. 2013-07-20 15:34:28 +12:00
Paul Chote
27f04c1b78 Rename FindUnits -> FindActorsInBox. 2013-07-20 15:34:28 +12:00
Paul Chote
37c02fea79 Remove PPos overload of FindUnits. 2013-07-20 15:34:27 +12:00
Paul Chote
800acdbdf2 Rename FindUnitsInCircle -> FindActorsInCircle. 2013-07-20 15:34:27 +12:00
Paul Chote
e6865c5996 Remove PPos overload of FindUnitsInCircle. 2013-07-20 15:34:27 +12:00
Paul Chote
39d2095e54 Remove PPos overload of ClosestTo. 2013-07-20 15:34:27 +12:00
Paul Chote
c1a0836640 Convert HackyAI to world coords. 2013-07-20 15:34:26 +12:00
Paul Chote
6201d7bfe2 Convert mission scripts to world coords. 2013-07-20 15:34:26 +12:00
Paul Chote
1dfc4837d4 Add some world-coordinate helpers. 2013-07-20 15:34:26 +12:00
Matthias Mailänder
8751d29a9a Merge pull request #3578 from pchote/renderer-cleanup
Renderer cleanup
2013-07-19 09:10:15 -07:00
Paul Chote
c21db5dbbd Remove hacky os-specific keyboard shortcuts. 2013-07-18 18:23:34 +12:00
Paul Chote
7abab1449c Remove obsolete stencil buffer configuration. 2013-07-18 18:13:46 +12:00
Paul Chote
7853c2127e Style fixes for Renderer.SdlCommon. 2013-07-18 18:13:16 +12:00
Paul Chote
1b4e387ecc Style fixes for Renderer.Gl. 2013-07-18 17:45:23 +12:00
Paul Chote
61cb279c1d Style fixes for Renderer.Cg. 2013-07-18 17:45:23 +12:00
Matthias Mailänder
52fcba1607 Merge pull request #3575 from pchote/r8reader
Native R8 support for sequences
2013-07-17 08:27:15 -07:00
Matthias Mailänder
77ff985dcd Merge pull request #3574 from ScottNZ/superweapons
Add atom bomb and gps public superweapon timers to RA
2013-07-17 08:25:25 -07:00
ScottNZ
b519c915ca Add public atom bomb and gps timers to RA 2013-07-17 14:52:50 +12:00
Paul Chote
acbd692de8 Add native support for the d2k R8 format. 2013-07-16 23:16:09 +12:00
Paul Chote
e8d7624867 Move R8Reader to FileFormats. 2013-07-16 23:02:16 +12:00
Paul Chote
da4a2f548b Support loading sprites with non-zero offsets. 2013-07-16 19:40:54 +12:00
ScottNZ
506790e09c Add "leading minute zero" overload to FormatTime 2013-07-16 18:35:28 +12:00
Matthias Mailänder
667aee095f Merge pull request #3571 from pchote/split-shadows
Add support for TS/RA2 split-shadows.
2013-07-15 09:18:35 -07:00
Matthias Mailänder
60d97ef5fb Merge pull request #3567 from cjshmyr/capturing
Remove unused interface INotifyOtherCaptured
2013-07-15 08:58:58 -07:00
Matthias Mailänder
3da3726ded Merge pull request #3566 from reaperrr/patch-1
Fixes & tweaks Badger contrails
2013-07-15 08:55:43 -07:00
Matthias Mailänder
f2c931b059 Merge pull request #3570 from 0x7c00/bleed
Allow the AI to look for more space to build: fixes #3189
2013-07-15 08:44:46 -07:00
Paul Chote
adea353e2b Support split shadows for TS and RA2. 2013-07-15 20:59:36 +12:00
Paul Chote
847f93246c Remove unnecessary properties from Sequence. 2013-07-15 20:58:25 +12:00
Paul Chote
a642b8298e Move harvester animation z offset to sequences. 2013-07-15 20:58:24 +12:00
Paul Chote
dcbef51ba0 Move ion cannon z offset to sequences. 2013-07-15 20:58:03 +12:00
Paul Chote
9a47c6a303 Allow sequences to define a custom z offset. 2013-07-15 20:57:14 +12:00
Paul Chote
15688eed13 Allow Animation to generate its own Renderables. 2013-07-15 20:54:02 +12:00
Nico
d3e760659a fix #3569 , and possible many other bugs... if the place is not close to the base, instead of returning the error, continue to see if there is another place to build 2013-07-14 23:31:09 -03:00
Nico
01f72f4f44 Revert "allow the AI to base-walk without restrictions"
This reverts commit d08d3d6e23.
2013-07-14 23:14:09 -03:00
Curtis Shmyr
a1f05fd017 Remove unused interface INotifyOtherCaptured 2013-07-14 11:53:15 -06:00
reaperrr
aa56c6339b Tweaks to Badger contrail 2013-07-14 18:02:02 +02:00