Commit Graph

184 Commits

Author SHA1 Message Date
Paul Chote
e79fbe1bb9 Reference SubCells directly from MapGrid. 2016-03-16 18:57:07 +00:00
abcdefg30
e1b2f5a280 Merge pull request #10901 from pchote/server-maps
Remove Map usage from the server and mission browser.
2016-03-13 11:24:04 +01:00
Paul Chote
6c319d53dd Remove an obsolete comment from Map. 2016-03-12 20:01:39 +00:00
Paul Chote
be5eee0227 Allow rules to be constructed from a MapPreview. 2016-03-12 20:01:39 +00:00
Paul Chote
7993068c8f Remove Map.SequenceProvider. 2016-03-12 19:46:20 +00:00
abcdefg30
d7bdc840d6 Merge pull request #10909 from pchote/remove-ruleset-cache
Remove ruleset cache
2016-03-12 20:41:03 +01:00
abcdefg30
6c4d24e505 Merge pull request #10851 from obrakmann/prod-from-map-edge_ground-units-fixes
Fix ProductionFromMapEdge to work properly with ground units
2016-03-12 20:37:02 +01:00
Paul Chote
82a9d69a51 Remove RulesetCache and push rule parsing to background thread. 2016-03-11 21:18:32 +00:00
Paul Chote
a3b1baa654 Extract default TileSet/Sequence dictionaries to ModData. 2016-03-11 21:18:32 +00:00
Paul Chote
b0c0bf3151 Revert format upgrader and map importers saving rules to external file. 2016-03-11 16:46:22 +00:00
Paul Chote
20e8bc249d Restore support for inline map rules. 2016-03-10 19:27:50 +00:00
Paul Chote
c58520e41b Add upgrade rules for Map format 9 -> 10. 2016-03-08 22:19:25 +00:00
Paul Chote
9c4dd54fa3 Generate map previews on save. 2016-03-08 21:13:38 +00:00
Paul Chote
b969d61466 Move advanced map yaml to their own files. 2016-03-08 20:54:54 +00:00
Paul Chote
e59557f588 Include all yaml and lua files in Map UID. 2016-03-08 20:54:26 +00:00
Paul Chote
8532f4deef Move smudge definitions from Map to SmudgeLayer. 2016-03-08 20:54:26 +00:00
Paul Chote
4a7dfb9d4c Add upgrade rules for Map format 8 -> 9. 2016-03-07 21:41:14 +00:00
Paul Chote
01a14d9ae5 Move mission briefing to rules. 2016-03-07 21:41:14 +00:00
Paul Chote
668e13b849 Move mission videos to rules. 2016-03-07 21:41:13 +00:00
Paul Chote
d4f8fe1666 Move map configuration to rules. 2016-03-07 21:41:13 +00:00
Paul Chote
5b2bf5b284 Move build radius configuration to rules. 2016-03-07 21:41:13 +00:00
Paul Chote
cce292a68a Move creeps configuration to rules. 2016-03-07 21:41:13 +00:00
Paul Chote
3c779d4101 Move starting units configuration to rules. 2016-03-07 21:41:13 +00:00
Paul Chote
e34864fe40 Use DefaultCash for the default cash. 2016-03-07 21:41:12 +00:00
Paul Chote
62f28d2909 Move shroud options to rules. 2016-03-07 21:41:12 +00:00
Paul Chote
f44993e4f7 Move crates option to rules. 2016-03-07 21:41:12 +00:00
Paul Chote
aed8518e04 Move cheats option to rules. 2016-03-07 21:41:12 +00:00
Paul Chote
2029f34c86 Remove redundant Rules definition from ImportLegacyMapCommand. 2016-03-07 21:41:11 +00:00
Oliver Brakmann
be3bd52474 Add a method returning the closest edge cell matching a condition to Map 2016-03-05 14:17:01 +01:00
Paul Chote
be52c1cb72 Properly use the virtual filesystem for map loading and saving. 2016-02-28 19:27:33 +00:00
Paul Chote
617113fa86 Rework IReadWritePackage interface. 2016-02-28 10:18:50 +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
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
Paul Chote
34e6bfdfa0 Fix filesystem references under Windows. 2016-02-19 20:44:06 +00:00
Paul Chote
0b13811976 Don't reenumerate files when loading maps. 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
d1d3d72edb Implement IReadOnlyFileSystem on Map. 2016-02-18 18:12:32 +00:00
Paul Chote
b347fade71 Use IReadOnlyFileSystem in artwork loaders. 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
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
Mazar Farran
22a3358581 Fix max view distance check. 2016-02-12 21:01:34 -08:00
Paul Chote
34910cd128 Move map format upgrades to an explicit upgrade rule. 2016-02-08 18:53:28 +00:00
Paul Chote
6c7b687f34 Move map UID calculation to a static method. 2016-02-08 18:51:58 +00:00
Matthias Mailänder
60e86f73d0 Merge pull request #10702 from RoosterDragon/map-contains-fix
Fix Map.Contains for maps with height
2016-02-06 23:02:56 +01:00