Commit Graph

15212 Commits

Author SHA1 Message Date
Paul Chote
1317101662 Add support for hardware cursors. 2014-12-23 22:09:22 +13:00
Paul Chote
75b046ae2a Reorganize cursor plumbing in preparation for hardware cursors. 2014-12-23 22:09:22 +13:00
Paul Chote
202247cf6a Include no-extension workaround for FrameCache too. 2014-12-23 22:09:22 +13:00
Paul Chote
380b0e1561 Capitalise cursor properties. 2014-12-23 22:09:21 +13:00
Matthias Mailänder
7c19f710b8 Merge pull request #7134 from pchote/map-class
Introduce map Class field to replace Selectable/UseAsShellmap
2014-12-22 22:23:41 +01:00
Paul Chote
dc211cc729 Fix an unrelated editor regression. 2014-12-23 10:00:23 +13:00
Paul Chote
bd2518649a Upgrade shipped maps to the latest format. 2014-12-23 10:00:19 +13:00
Paul Chote
96b5b1fc66 Automatically switch mods when connecting to a server / replay. 2014-12-23 09:20: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
6f0927069a Allow outside code to specify the map chooser visibility filter. 2014-12-23 09:08:00 +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
Paul Chote
b4c9c19cce Don’t crash when saving automatically-upgraded maps. 2014-12-23 09:08:00 +13:00
Paul Chote
14deb1efdf Drop support for map format 5. 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
Oliver Brakmann
4f4501ccb6 Merge pull request #7165 from Mailaender/appveyor
Added AppVeyor support
2014-12-22 18:49:23 +01:00
Matthias Mailänder
967d6b6ea0 Merge pull request #7161 from reaperrr/dissolve-namespaces03
Dissolve Move, Infiltration and Crates namespaces
2014-12-22 18:43:05 +01:00
RoosterDragon
b28d999131 Made SheetBuilder rely on global settings rather than global renderer.
Additionally exposed an InitializeSettings method on game to initialize the global settings so that other classes can set up all the secret dependencies on the global settings required.
2014-12-22 17:39:19 +00: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
reaperrr
070a3839d4 Remove obsolete D2k sln
Closes #7163.
2014-12-22 18:13:31 +01:00
reaperrr
370c3c65b6 Moved AttackLeap to Mods.RA.Traits, moved AttackPopupTurreted to
Mods.Cnc.Traits
2014-12-22 18:13:30 +01:00
reaperrr
65a140afa5 Dissolve Crates namespace, move CrateActions and Crate trait to Traits/Crates 2014-12-22 18:13:29 +01:00
reaperrr
52219b1c7a Dissolve Infiltration namespace 2014-12-22 18:13:28 +01:00
reaperrr
5c5210f5e3 Dissolve Move namespace into Activities & Traits 2014-12-22 17:32:08 +01:00
Matthias Mailänder
b0181b6d7b don't run tests that will fail due to known issues 2014-12-22 10:18:44 +01:00
Matthias Mailänder
c04bb13e71 fix redeploying failing the secondary objective
code cleanup
2014-12-22 09:56:36 +01:00
Matthias Mailänder
b294816489 left-click orders have been deprecated 2014-12-22 09:45:18 +01:00
Matthias Mailänder
38b579a081 Merge pull request #7169 from pchote/revert-attackmove
Closes #7128
2014-12-22 09:43:42 +01:00
Paul Chote
9fc8726a5e Merge pull request #7171 from chrisforbes/fix-mission-nre
Fix NRE in start game MissionBrowser IsDisabled query
2014-12-22 16:34:06 +13:00
Chris Forbes
2790748587 Fix NRE in start game MissionBrowser IsDisabled query 2014-12-22 16:12:53 +13:00
Paul Chote
488f0d1140 Revert "Fixes AttackMove moving even if an enemy is within range."
This reverts commit a155c7b7ac.
2014-12-22 15:17:51 +13:00
Paul Chote
e212517bbb Merge pull request #7126 from penev92/bleed_sandworm
Fix worms not releasing targets when they move deep onto rock
2014-12-22 14:46:08 +13: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
Paul Chote
acb29d74cd Merge pull request #7141 from RoosterDragon/sync-less-tostring
Generate sync reports faster
2014-12-22 09:01:08 +13:00
Matthias Mailänder
c42f4d8fcc add AppVeyor support 2014-12-21 20:08:35 +01: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
RoosterDragon
b728deb0e1 Added the ability to enumerate the map-coords of a CellRegion for performance. 2014-12-20 23:36:28 +00:00
Oliver Brakmann
b9e3c62671 Merge pull request #7157 from reaperrr/ra-common22
Moved Tooltip to Mods.Common.Traits
2014-12-20 22:16:51 +01: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
Chris Forbes
080e94f970 Merge pull request #7153 from reaperrr/ra-common20
More RA/Common reorganisation
2014-12-20 15:24:11 +13: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