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
Oliver Brakmann
470ae17271
Move mission objectives and victory conditions to Mods.Common
2014-12-18 20:03:26 +01:00
Oliver Brakmann
e342619ac7
Add video support to legacy map importer
...
This enables the map importer to map the .ini video definitions to ours.
The mapping generally is as follows:
Intro => BackgroundInfo
Brief => Briefing
Action => GameStart
Win => GameWon
Lose => GameLost
An issue in some Red Alert maps means that this mapping is not always
quite correct. In those maps that do not have a 'Brief' video defined
(scg03a is an example), Westwood has assigned the video that should
probaby have been the 'Action' video to the 'Intro' slot instead. I can
only assume that that was done due to some limitation in the original
game code. Mappers will have to correct that assignment manually in
those cases.
2014-12-18 18:59:42 +01:00
reaperrr
ee8e1f46c1
Move 'Activity' into its own namespace in OpenRA.Game.
2014-12-14 17:12:46 +01:00
reaperrr
b217730caa
Move Activities CallFunc, RemoveSelf and SimpleTeleport to Common
2014-12-14 17:11:52 +01:00
reaperrr
4bf50c9153
Move more traits from Mods.RA to Mods.Common
2014-12-14 17:11:50 +01:00
penev92
1e9535b63a
Move more files
...
Move VoxelNormalsPalette to TS
2014-12-14 15:39:38 +02:00
Matthias Mailänder
611e3038b2
Merge pull request #7066 from WolfGaming/FixTimeoutInSinglePlayer
...
Fix: Game can no longer drop you in a single player game.
2014-12-14 10:50:36 +01:00
Paul Chote
ecd3809bc2
Fix a collection of whitespace-style issues in Mods.Common.
2014-12-14 17:06:43 +13:00
WolfGaming
20fe03b6c1
Added comment and a static field for localhost.
2014-12-14 02:26:42 +00:00
WolfGaming
f191babec8
Fix: Game can no longer drop you in a single player game.
2014-12-13 16:04:00 +00:00
reaperrr
26075b8eaf
Moves loadscreens into LoadScreens folder/namespace.
...
Moves LoadWidgetAtGameStart to Traits/World.
2014-12-11 23:21:34 +01:00
reaperrr
75b91af023
TimedUpgradeBar moved to Traits/Render
2014-12-11 23:21:33 +01:00
reaperrr
aadceb085b
Renames RallyPoint effect to RallyPointIndicator
2014-12-11 23:21:32 +01:00
reaperrr
ffca040c47
Moves traits from Common and Power namespaces to Common.Traits namespace
2014-12-11 23:21:31 +01:00
reaperrr
9a1e110481
Move some Render traits to Mods.Common
2014-12-11 23:10:06 +01:00
penev92
ce2c536a1a
Move Upgrades and Prerequisites
2014-12-10 00:07:07 +02:00
penev92
09350528fd
Moving renders
...
Remove Traits.Render
2014-12-09 01:29:25 +02:00