Commit Graph

170 Commits

Author SHA1 Message Date
Guido L.
f03355ba90 Fix bad behavor while pinging Clients 2015-01-01 13:45:59 +01:00
Paul Chote
df425b29b3 Merge pull request #7194 from reaperrr/move-ra-common25
More Mods.RA reorganisation, more files moved to Mods.Common
2015-01-01 16:39:26 +13:00
Matthias Mailänder
714233d72e Merge pull request #7220 from obrakmann/d2k-worm-option-and-maps
Add worms to d2k maps and add lobby option to disable them
2014-12-31 13:03:37 +01:00
Oliver Brakmann
de0a62eb42 Add a lobby option to control spawning creeps (viceroids/worms)
The lobby option is only exposed in d2k currently, not in TD or TS.
2014-12-28 19:26:39 +01:00
Paul Chote
d9752c3bdf Make production type hotkeys configurable. 2014-12-28 17:24:12 +13:00
reaperrr
311e347ad2 Style fixes 2014-12-26 22:10:52 +01:00
reaperrr
d074fb4471 Move *ResourceWarheads to Common, move warheads to Common.Warheads namespace 2014-12-26 21:38:50 +01:00
reaperrr
9dfd369446 Move some Building traits and related elements to Mods.Common 2014-12-26 21:38:49 +01:00
reaperrr
2054e41552 Dissolve Render namespace 2014-12-26 21:38:47 +01:00
Paul Chote
7575fd811d Rename static fields in SettingsLogic. 2014-12-26 12:13:09 +13:00
Paul Chote
9e47634d0f Fix public/static ordering. 2014-12-26 12:13:08 +13:00
Paul Chote
904efac284 Remove underscore prefix. 2014-12-26 12:13:08 +13:00
Paul Chote
362b4aeaef Fix variable ordering. 2014-12-26 12:13:08 +13:00
Paul Chote
22ab35f681 Fix capitalization. 2014-12-26 12:13:08 +13:00
Paul Chote
4ea7b5a908 Usings order. 2014-12-26 12:13:07 +13:00
Paul Chote
805039530d Info -> info. 2014-12-26 12:13:07 +13:00
Paul Chote
673ebba135 Fix invalid spacing style warnings. 2014-12-26 12:13:07 +13:00
Paul Chote
f4055dae53 Add --check-code-style utility command. 2014-12-25 10:18:20 +01:00
Paul Chote
ecd4479807 Move OpenRA.Lint into a --check-yaml utility command. 2014-12-25 10:10:57 +01:00
Paul Chote
91807cb53c Remove redundant StyleCop definitions. 2014-12-25 10:10:57 +01:00
Paul Chote
3086cc6154 Disable SA1024 and SA1035.
These rules generate many false positives, and do not help with code readability within OpenRA.
2014-12-25 10:10:57 +01:00
Oliver Brakmann
39d13dc654 Merge pull request #7121 from pchote/switchmods
Add Launch.Connect command and on-connect mod switching.
2014-12-24 16:06:00 +01:00
Matthias Mailänder
4b913d423e Merge pull request #7162 from penev92/bleed_moveFiles
Further RA project cleanup
2014-12-24 11:02:23 +01:00
penev92
681042caec Further RA project cleanup 2014-12-23 15:18:07 +02:00
Paul Chote
6923046564 Expose the cursor mode setting. 2014-12-23 22:09:22 +13:00
Paul Chote
380b0e1561 Capitalise cursor properties. 2014-12-23 22:09:21 +13:00
Paul Chote
660f6682ff Add Launch.Connect parameter for launching directly to a server. 2014-12-23 09:20:21 +13:00
Paul Chote
7bfffeadc2 Simplify mod content installation plumbing. 2014-12-23 09:20:21 +13:00
Paul Chote
ec7a32184e Move the mod-level initialisation code back into the load screen. 2014-12-23 09:20:19 +13:00
Paul Chote
2ed594fd86 Introduce map Visibility field.
This replaces the Selectable, UseAsShellmap, and special-cased Type = "Mission" fields.
2014-12-23 09:08:00 +13:00
Matthias Mailänder
711a1ca5fc Merge pull request #6830 from RoosterDragon/dispose-renderer-resources
Closes #5116
2014-12-22 19:59:41 +01:00
Matthias Mailänder
ea410d0688 Merge pull request #7096 from ScottNZ/countries
Closes #5928
2014-12-22 19:20:43 +01:00
RoosterDragon
9cbac2d5e1 Clean up style of files affected by the last commit. 2014-12-22 17:34:02 +00:00
RoosterDragon
f0f02dff5c Dispose of graphics resources deterministically.
Textures, FrameBuffers and VertexBuffers allocated by the Sdl2 Renderer were only being released via finalizers. This could lead to OpenGL out of memory errors since resources may not be cleaned up in a timely manner. To avoid this, IDisposable has been implemented and transitively applied to classes that use these resources.

As a side-effect some static state is no longer static, particularly in Renderer, in order to facilitate this change and just for nicer design in general.

Also dispose some bitmaps.
2014-12-22 17:34:01 +00:00
Paul Chote
f352aedf61 Merge pull request #7071 from RoosterDragon/deal-in-map-coords
Avoid redundant cell <-> map conversions
2014-12-22 14:08:30 +13:00
Matthias Mailänder
b05fd1664f Merge pull request #7158 from obrakmann/fix6839_part2
Disable dev and player commands for observers
2014-12-21 12:32:51 +01:00
RoosterDragon
c37a691c33 Convert some keys users of CellLayer to index via map-coords for efficiency. 2014-12-20 23:39:03 +00:00
Oliver Brakmann
a2eddeae40 Disable dev and player commands for observers
Fixes #6839
2014-12-20 19:34:10 +01:00
reaperrr
51cc87a8dc Move Tooltip to Mods.Common 2014-12-20 15:19:26 +01:00
Oliver Brakmann
087a06b3bc Merge pull request #7152 from ihptru/masterserver
notify user that his server does not have forwarded ports
2014-12-20 13:34:51 +01:00
Oliver Brakmann
2509bbdc8e Merge pull request #7149 from LipkeGu/devcmd_observer_crash
Accept DevCommands only from local players
2014-12-20 13:25:17 +01:00
ihptru
57897b4916 notify user that his server does not have forwarded ports 2014-12-20 10:54:01 +03:00
reaperrr
2d7c1a3394 Rename CommonTraitsInterfaces to TraitsInterfaces, move to Traits namespace 2014-12-19 13:18:36 +01:00
reaperrr
de224a381d Make WithRotor independent from WithTurret
Move WithRotor to Mods.Common
2014-12-19 13:18:32 +01:00
ScottNZ
4f4c67735d Overhaul the lobby faction dropdown for ra 2014-12-19 18:13:27 +13:00
Paul Chote
5b011e6baf Merge pull request #7072 from obrakmann/fmv-overhaul
Move FMV playback from Lua scripts to widgets
2014-12-19 17:43:07 +13:00
Guido L.
47e2859196 Accept DevCommands only from local Players 2014-12-18 22:41:19 +01:00
Oliver Brakmann
441f30f021 Punctuation fixes 2014-12-18 20:24:37 +01:00
Oliver Brakmann
4b9b1df96b Add short game option to GUI 2014-12-18 20:24:37 +01:00
Oliver Brakmann
280b30961f Add plumbing for short game option 2014-12-18 20:03:26 +01:00