Commit Graph

20 Commits

Author SHA1 Message Date
Paul Chote
a081321790 Add copy/paste to the map editor. 2015-11-10 22:18:18 +00:00
Paul Chote
1c06297ff7 Make editor brushes disposable. 2015-11-10 22:17:28 +00:00
teees
2465344a20 only change editor brushes on mouseup
let other uses of the right mouse button bubble up
2015-11-03 13:15:28 +01:00
teees
eb6df6fe62 Handle mouse up event in default editor brush 2015-11-03 11:45:10 +01:00
Pavel Penev
642468ce0c Add MapGrid class
MapGrid is a mod Manifest field which includes (and thus makes redundant) TileSize, TileShape, SubCells info and MaximumTerrainHeight.
2015-09-27 04:14:43 +03:00
atlimit8
6e39a5e264 Replace .WithInterface<T>().Any() => .HasTraitInfo<T>() 2015-09-21 15:50:57 -05:00
atlimit8
09984683a7 Add ActorInfo.TraitInfo[OrDefault]<T>() requiring ITraitIfo types 2015-09-19 09:56:14 -05:00
atlimit8
8162fa27ab Add ActorInfo.HasTraitInfo<T>() requiring ITraitInfo types 2015-09-19 09:49:24 -05:00
Matthias Mailänder
154225d9ee rotate actors freely with mouse wheel and remove the facing hack 2015-09-06 08:54:14 +02:00
penev92
7c1ef2231d Rename RaceInit to FactionInit 2015-07-25 00:39:31 +03:00
penev92
1d49c23af0 Rename PlayerReference.Race and LockRace to Faction and LockFaction 2015-07-05 23:08:49 +03:00
Paul Chote
19c777a922 Move maximum terrain height definition to mod.yaml. 2015-07-05 17:49:56 +01:00
Paul Chote
6e09c62fdd Allow resource placement outside the map cordon. 2015-06-11 21:27:35 +01:00
Paul Chote
55cea73cf4 Allow actor placement outside the map cordon. 2015-06-11 21:27:34 +01:00
Paul Chote
f10d876429 Allow tile placement outside the map cordon. 2015-06-11 21:27:34 +01:00
Matthias Mailänder
113bcebf35 remove unneccesary null check 2015-05-25 17:46:34 +02:00
Matthias Mailänder
dd5eca7d1d fix a potential NRE 2015-05-25 16:26:14 +02:00
Matthias Mailänder
04be567813 fix error CS0219:
The variable `zoom' is assigned but its value is never used
2015-05-24 19:12:51 +02:00
Matthias Mailänder
31d1f0bcf9 fix error CS0172 2015-05-21 20:43:45 +02:00
Paul Chote
469f47aeea Add new map editor UI. 2015-05-15 17:09:27 +01:00