Paul Chote
cc05621c10
Draw editor terrain/resource preview as part of the world.
2020-01-12 18:30:50 +01:00
Paul Chote
e74033bded
Render editor actor previews as part of the world.
2020-01-12 18:30:50 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
teinarss
1e786b8e31
Add null check to EditorDefaultBrush for resources
2019-10-05 18:39:39 +02:00
teinarss
76034c198e
Added Undo Redo to editor
2019-09-27 17:40:32 +02:00
reaperrr
07de3ba5e0
Change default preview facing to 96
...
92 is not a multiple of 8, and all sprite actors
in the official mods have at most 32 facings.
2019-08-27 22:59:22 +02:00
Paul Chote
c253aaeb9d
Replace for(;;) with while (true).
2019-06-08 18:46:03 +02:00
Paul Chote
ebd36891dc
Switch other struct types to default(T).
2019-06-08 13:19:57 +02:00
Mustafa Alperen Seki
9fef2c01ec
Add AppearsOnMapPreview
...
Allows preplaced actors to be rendered on map preview when saving the
map.
Also removes requirements for ResourceLayer in OpenRA.Game and moves it
to OpenRA.Mods.Common.
2019-04-04 19:37:19 +02:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
rob-v
a77d2f15b1
Map Editor - Copy filter
2019-01-03 20:32:10 +01:00
Paul Chote
f6768fe624
Remove legacy editor actor properties plumbing.
2018-12-08 22:53:13 +01:00
David Wilson
22bece2dc9
Add a basic actor properties panel to the editor.
2018-11-24 10:14:17 +00:00
reaperrr
1eb573bcbc
Enforce required owner in map editor
...
It can easily happen that mappers forget to set the
current player to Neutral before placing more trees,
for example, so we force the editor to set a valid owner.
2018-11-21 22:29:55 +00:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Paul Chote
0f6dda3f5f
Calculate building placement offsets in screen space.
2017-09-10 18:26:54 +02:00
reaperrr
fdb3866238
Remove FootprintUtils
2017-07-13 17:43:41 +02:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
365bd5b9bd
Rename ResourceType trait fields for consistency.
2016-09-25 17:04:18 +01:00
Paul Chote
65df25b1a4
Remove lazy loading of binary map data.
2016-03-18 20:16:24 +00:00
Paul Chote
602acabe47
Remove World.TileSet.
2016-03-12 19:47:07 +00:00
Paul Chote
a3b1baa654
Extract default TileSet/Sequence dictionaries to ModData.
2016-03-11 21:18:32 +00: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
Philipp Schärer
b0cd4ec367
Fixed styling issues and TS compatibility
2016-01-30 22:17:23 +01:00
Philipp Schärer
32b599266c
Recovered flood fill functionality from the old editor
2016-01-30 20:38:50 +01:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
atlimit8
418e70b68e
Easier actor selection in map editor by actor bounds center
2015-11-20 22:59:20 -06:00
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