Commit Graph

187 Commits

Author SHA1 Message Date
Paul Chote
12df496f5b Merge pull request #10015 from atlimit8/MapEditorTooltips
Add map editor only tooltips
2015-12-28 18:46:07 +00:00
Paul Chote
95629c29a4 Use map rules to build the editor sidebar. 2015-12-21 15:05:44 +00:00
atlimit8
e417ecb93f Add map editor only tooltips 2015-11-25 17:28:29 -06:00
atlimit8
39545c7150 Remove editor actor selection tooltip blank line 2015-11-20 22:56:44 -06:00
Paul Chote
a081321790 Add copy/paste to the map editor. 2015-11-10 22:18:18 +00:00
Oliver Brakmann
4bbf6ea0c7 Merge pull request #9925 from atlimit8/MultiLineMapEditorTooltips
Multi-line map editor tooltips
2015-11-10 21:06:57 +01:00
Paul Chote
6edac4bdf7 Set the default map location to the support dir. 2015-11-08 12:08:20 +00:00
atlimit8
9c0d83d0d9 Make ActorSelector tooltips better match actor tooltips in map editor 2015-11-07 16:10:13 -06:00
Paul Chote
b6f463729b Add a ChromeLogic base class for chrome logic. 2015-10-21 19:35:35 +01:00
Paul Chote
cf875c3db6 Update the UID stored in the map file after saving. 2015-10-17 23:25:52 +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
Pavel Penev
c41446e022 Merge pull request #9139 from Mailaender/editor-cash-counter
Added a total resource cash counter to the map editor
2015-09-24 15:07:15 +03:00
atlimit8
9acf121eb1 Replace ActorInfo.Traits.WithInterface with ActorInfo.TraitInfos<T>() 2015-09-21 15:50:57 -05:00
Matthias Mailänder
fea59346a5 add a total resource cash counter to the map editor 2015-09-19 18:21:07 +02: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
41698ab8bb show the current coordinate at the top 2015-08-17 21:21:52 +02:00
Paul Chote
e8794032e0 Introduce initial PPos plumbing.
PPos is best thought of as a cell grid applied in
screen space.  Multiple cells with different
terrain heights may be projected to the same PPos,
or to multiple PPos if they do not align with the
screen grid.

PPos coordinates are used primarily for map edge
checks and shroud / visibility queries.
2015-07-27 19:34:49 +01:00
Oliver Brakmann
8c766a4a79 Merge pull request #8721 from penev92/bleed_rename
Some more Country -> Faction renaming
2015-07-25 17:10:35 +02:00
Paul Chote
c70ebfab74 Create the user map directory if required.
Fixes #8772.
2015-07-25 09:36:29 +01: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
0dbbc00d0a Simplify editor/importer map creation. 2015-07-05 14:57:58 +01:00
Paul Chote
41fa77d12a Fix projected world coordinate calculation for Lua API. 2015-07-05 14:57:58 +01:00
Dmitri Suvorov
1fb03ad656 Modified actor tooltips to include friendly name and internal name 2015-06-28 14:16:37 +03:00
Paul Chote
ea31b5f393 Only invalidate metadata when overwriting map. 2015-06-21 13:07:45 +01:00
Paul Chote
9e18d3cceb Work around an unsynced code check. 2015-06-21 10:34:37 +01:00
Paul Chote
6aeebe697f Default new maps to oramap. 2015-06-20 22:32:18 +01:00
Paul Chote
b2050ae1aa Use the map save dialog to set new map properties. 2015-06-20 22:32:14 +01:00
Paul Chote
cd1fdb9b36 Update the MapCache with the correct UID. 2015-06-20 21:38:28 +01:00
Paul Chote
17d759c9be Save maps with the correct MapClassification. 2015-06-20 19:00:59 +01:00
Taryn Hill
8fd82f0998 Remove unused using directives from MapEditorLogic. 2015-06-12 23:00:57 -05:00
Taryn Hill
6c3e127469 Replace a problematic Get with GetOrNull in MapEditorLogic. 2015-06-12 23:00:43 -05:00
Matthias Mailänder
e2e9ce9d7e check sequence image at RenderSprites level 2015-06-11 21:18:25 +02:00
Paul Chote
60f96fcb7b Overhaul save panel. 2015-05-17 12:09:41 +01:00
Paul Chote
469f47aeea Add new map editor UI. 2015-05-15 17:09:27 +01:00