Commit Graph

3084 Commits

Author SHA1 Message Date
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
Matthias Mailänder
6bf66fbfc4 don't just crash when map IDs are missing
spit out a warning
2014-02-04 21:21:30 +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
16ddecdcbf StyleCop 2014-02-01 09:13:14 +01:00
Paul Chote
1759d73ed7 Add following to IMove. 2014-02-01 10:55:05 +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
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
Igor Popov
9d9807b23a cleanup 2014-01-28 11:02:23 +04: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
Matthias Mailänder
14b264e553 Merge pull request #4432 from ihptru/download-map-with-name
closes #4405
2014-01-11 02:54:04 -08: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
Igor Popov
ca61536c15 map-downloading: use filename served by content-disposition as saving location 2014-01-06 13:41:12 +04:00
Matthias Mailänder
a6c5b80731 this is not just ShowMuzzles anymore 2014-01-04 09:57:17 +01:00
Matthias Mailänder
3de1516747 allow invalid terrain targets for Air/Water bound weapons
made terrain targeting consistent with actors
2014-01-04 09:57:09 +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
e367cea840 one MOTD for all mods and create a default motd.txt 2014-01-04 09:34:17 +01:00
Matthias Mailänder
c2df142df4 don't hardcode the default mod here 2014-01-04 09:20:08 +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
Matthias Mailänder
62ffe4aeaf StyleCop 2014-01-04 09:19:20 +01:00
Paul Chote
bdc593c8ea Merge pull request #4235 from Mailaender/map-preview-crash
Don't crash map preview when loading a map with bogus tileset
2014-01-03 13:43:54 -08:00
Matthias Mailänder
c6d9574d52 automatically fix open areas
and don't hard-code the tiles no more
2014-01-03 16:46:38 +01:00
Matthias Mailänder
9cea5f96cd selectable maps by default 2014-01-03 16:45:43 +01:00
Matthias Mailänder
147fb64185 don't crash map preview when the tileset can not be found
fixes #3033
2014-01-03 16:07:01 +01:00
Chris Forbes
d20a47d37a Merge pull request #4396 from Mailaender/reject-move-fix
Fixed RejectsOrders for "Move"
2013-12-30 22:00:39 -08:00
Paul Chote
ffaa2698b2 Merge pull request #4016 from Mailaender/highlight-start
Blinking ready box when all slots are taken
2013-12-30 19:25:22 -08:00
Matthias Mailänder
7d19e25627 don't crash on empty orders 2013-12-30 08:44:14 +01:00
Paul Chote
0143e8bfb8 Support rectangular tiles. 2013-12-29 14:16:20 +13:00
Matthias Mailänder
f35400ad3e blinking ready checkbox when all slots are taken 2013-12-27 23:36:58 +01:00
Matthias Mailänder
c78a856894 C4 demolishable bridges 2013-12-26 21:22:47 +01:00
Paul Chote
bd334a6295 Introduce a mod/map upgrade tool. 2013-12-26 19:58:23 +13:00
Paul Chote
7a034a6609 Move CPos and CVec into FileFormats. 2013-12-26 19:45:13 +13:00
Paul Chote
ecdae4cbbe Convert weapons to world coords. 2013-12-26 19:45:12 +13:00
Paul Chote
c49b06fdde Convert Health Radius to world coordinates. 2013-12-26 19:44:50 +13:00
Paul Chote
aa2f865d5d Convert Altitude to world coords.
Removes the obsolete AltitudeInit: use CenterPositionInit instead.
2013-12-26 17:25:07 +13:00
Paul Chote
c42a6f8386 Convert terrain rendering to world coords. 2013-12-26 17:23:13 +13:00
Paul Chote
1a31368953 Convert range circle rendering to world coords. 2013-12-26 17:23:12 +13:00
Igor Popov
12199da97f re-InitializeLoaders on Dedicated server restart, will fresh list of maps too 2013-12-24 22:23:57 +04:00
Igor Popov
a8074ea23a initialize Options in Editor for a new map; fix when trying to add custom assets for map which does not exist yet; ( fixes #4333 ) 2013-12-20 01:46:13 +04:00
ScottNZ
8e9835f2fa Merge pull request #4331 from pchote/requires-fix
Allow mods to define a list of compatible map sources.
2013-12-18 19:22:09 -08:00
Paul Chote
6406e1d052 Allow mods to define a list of compatible map sources. Fixes #4319. 2013-12-19 14:44:20 +13:00
Matthias Mailänder
58fd9b8d1d Merge pull request #4327 from pchote/map-upgrade-fix
Persist custom map package contents on save. Fixes #4318.
2013-12-18 14:47:50 -08:00
Paul Chote
50ad3b64d8 Persist custom map package contents on save. Fixes #4318. 2013-12-18 22:14:49 +13:00
Paul Chote
b96c36f38f Fix most of the style violations in Game.cs. 2013-12-18 21:45:04 +13:00
Paul Chote
ff5cbc65c5 Throw a sensible exception when no renderers are available. Fixes #4322. 2013-12-18 21:42:45 +13:00
Paul Chote
393b1bbc0a Remove ContrailFader when complete. Fixes #4302. 2013-12-13 22:36:30 +13:00
Paul Chote
45ccf0035e Only render the frozen actors that are visible. Fixes #4300. 2013-12-13 22:36:25 +13:00