Commit Graph

4922 Commits

Author SHA1 Message Date
Paul Chote
21d19e65a5 Unhardcode map installation directory. 2016-02-28 19:34:56 +00:00
Paul Chote
be52c1cb72 Properly use the virtual filesystem for map loading and saving. 2016-02-28 19:27:33 +00:00
Paul Chote
6490a66ffc Fix false Folder contains for absolute paths. 2016-02-28 10:18:50 +00:00
Paul Chote
b0f4646b88 Dispose package on exception. 2016-02-28 10:18:50 +00:00
Paul Chote
617113fa86 Rework IReadWritePackage interface. 2016-02-28 10:18:50 +00:00
Paul Chote
bee3eb2c0a Dispose MapPreviews and map packages. 2016-02-28 10:18:49 +00:00
Paul Chote
b5f792b997 Fix unmounting of explicit packages. 2016-02-28 10:18:49 +00:00
Oliver Brakmann
59d9eeaa08 Merge pull request #10795 from Mailaender/screenmap-bounds-crash
Fixed screen map updates for invisible mobile actors
2016-02-27 17:52:49 +01:00
Matthias Mailänder
9734054582 Reduce duplication. 2016-02-27 14:10:17 +01:00
Oliver Brakmann
fe6c4d8e5c Merge pull request #10788 from pchote/widget-moddata
Remove Game.ModData references from Widget code.
2016-02-25 22:18:18 +01:00
Oliver Brakmann
07ec56fd22 Merge pull request #10821 from obrakmann/pr10559-squashed
Added mousewheel zooming
2016-02-24 22:37:00 +01:00
Philipp Schärer
ea74499ec2 Added mousewheel zooming 2016-02-24 22:22:32 +01:00
Paul Chote
a6c4eb330a Remove modRules widget logic argument. 2016-02-23 23:34:36 +00:00
Paul Chote
84b470017f Remove static Game.ModData references from widget logic. 2016-02-23 23:34:34 +00:00
Oliver Brakmann
4f1fa3acec Merge pull request #10786 from pchote/mappreview-packages
Remove internal use of map paths.
2016-02-23 22:52:54 +01:00
Paul Chote
e71225496b Clarify GPL version. 2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9 Update licence header year. 2016-02-21 16:27:31 +00:00
Paul Chote
8a9bce45ec Remove map loading shim. 2016-02-21 16:11:36 +00:00
Paul Chote
d492c23a6d Store map packages in MapPreview. 2016-02-21 16:11:36 +00:00
Paul Chote
226081d379 Remove map saving shim method. 2016-02-21 16:11:36 +00:00
Paul Chote
573e26c887 Load and save maps using packages. 2016-02-21 16:11:35 +00:00
Paul Chote
9c3b967a47 Remove dead map saving code. 2016-02-21 15:11:55 +00:00
Matthias Mailänder
9d85ddb82c Merge pull request #10191 from abcdefg30/backfallDeathAnim
Add support for a FallbackSequence in WithDeathAnimation
2016-02-21 10:18:47 +01:00
Paul Chote
34e6bfdfa0 Fix filesystem references under Windows. 2016-02-19 20:44:06 +00:00
Paul Chote
02ab54c9bc Load MapPreview data without initialising a full Map. 2016-02-18 20:19:44 +00:00
Paul Chote
ab25e26312 Add method to check if IGlobalModData exists. 2016-02-18 20:19:43 +00:00
Paul Chote
fe75f265f8 Disable now-invalid sequence caching. 2016-02-18 18:12:34 +00:00
Paul Chote
0b13811976 Don't reenumerate files when loading maps. 2016-02-18 18:12:33 +00:00
Paul Chote
88f6daf57f Misc remaining FileSystem cleanups. 2016-02-18 18:12:33 +00:00
Paul Chote
d573e21a48 Traits open files via the Map. 2016-02-18 18:12:33 +00:00
Paul Chote
7106d7ecdf Pass ModData to ILintPass. 2016-02-18 18:12:33 +00:00
Paul Chote
b9f8301959 Use IReadOnlyFileSystem in Sound code. 2016-02-18 18:12:32 +00:00
Paul Chote
d1d3d72edb Implement IReadOnlyFileSystem on Map. 2016-02-18 18:12:32 +00:00
Paul Chote
6fde09c075 Use IReadOnlyFileSystem in voxel loader. 2016-02-18 18:12:31 +00:00
Paul Chote
9341055f50 Use IReadOnlyFileSystem in UI code. 2016-02-18 18:12:31 +00:00
Paul Chote
b347fade71 Use IReadOnlyFileSystem in artwork loaders. 2016-02-18 18:12:31 +00:00
Paul Chote
a1bc70cb58 Use IReadOnlyFileSystem in MusicInfo. 2016-02-18 18:12:31 +00:00
Paul Chote
9978e20a83 Introduce IReadOnlyFileSystem interface. 2016-02-18 18:12:31 +00:00
Oliver Brakmann
5866164c40 Merge pull request #10353 from Mailaender/resize-map
Added a resize map command
2016-02-15 21:10:39 +01:00
Paul Chote
b50b2f31b5 Restore key:value syntax for MapFolders. 2016-02-15 00:44:37 +00:00
Paul Chote
a229e4253f Implement new syntax for mod-specific filesystem requests. 2016-02-15 00:44:36 +00:00
Paul Chote
a0bc556172 Implement new syntax for package-specific filesystem requests. 2016-02-15 00:44:36 +00:00
Paul Chote
102880c80f Use the virtual filesystem to resolve MapFolder paths. 2016-02-15 00:44:36 +00:00
Oliver Brakmann
f3eab0eab0 Merge pull request #10742 from mazarf/bleed
Fix max view distance check.
2016-02-14 22:39:07 +01:00
abcdefg30
fe5754e2bd Change the parameters of ICrushable.CrushableBy 2016-02-14 18:51:59 +01:00
abcdefg30
9ea2a7a0bd Add [RequireExplicitImplementation] to the ICrushable interface 2016-02-14 18:51:58 +01:00
abcdefg30
8b59ce4dc2 Add a new INotifyCrushed interface 2016-02-14 18:51:56 +01:00
Zimmermann Gyula
f37e59e116 Do not render trails under fog by default.
Exposed a boolean for rendering a SpriteEffect under fog. Exposed a setting in LeavesTrails for this boolean, defaulting to false.
2016-02-14 18:11:43 +01:00
Matthias Mailänder
8b9e60ba82 Set the bounds when resizing maps. 2016-02-13 21:56:51 +01:00
Matthias Mailänder
284e6ea061 Add a resize map command. 2016-02-13 21:56:51 +01:00