Commit Graph

105 Commits

Author SHA1 Message Date
b2cda5fd20 [Editor] Enable creating snapshots when map is being saved
Because the new map creation is done in different place than saving
already existing maps, there is a bug that no snapshot is created
when new map is created. The snapshots only are created when
map is saved (Save via button with floppy disk icon in Map View
toolbar).
2021-02-21 20:27:00 +01:00
85b53862da [Editor] BUGFIX: The grid and background weren't be updated when rows or columns were changed 2021-02-21 20:26:59 +01:00
353f416716 [Editor] Enable Assets importing and removing through Project Structure panel 2021-02-21 18:11:52 +01:00
80cff63501 [Editor] Enable Assets renaming through Project Structure panel 2021-02-21 16:53:13 +01:00
1ca3f34143 [Editor] Enable ImageLayer serialization 2021-02-20 13:11:55 +01:00
c6815a065f [Editor] Make SelectGraphicAssetView generic 2021-02-20 12:44:57 +01:00
7f4c80bb06 [Editor] Enable ImageLayer positioning 2021-02-20 12:32:51 +01:00
325071e384 [Editor] Add support for ImageLayer mode 2021-02-20 11:50:19 +01:00
878d6de678 [Editor] Improve Parameter<T> binding to backing properties 2021-02-20 11:44:23 +01:00
53c24c9b99 [Editor] Add working opacity parameter to Image Layer 2021-02-20 10:33:42 +01:00
f2fe303e31 [Editor] Enable basic Image Layer rendering 2021-02-20 10:23:07 +01:00
5c44f0e5c4 [Editor] Add support for importing and storing images in :editor 2021-02-19 23:13:05 +01:00
d2bb1b99f6 [Editor] Use SelectGraphicAssetView in MapCreationWizard (tileset selection step) 2021-02-19 20:49:52 +01:00
668cde7eec [Editor] Create SelectGraphicAssetView and *Fragment 2021-02-19 19:33:05 +01:00
47f754862b [Editor] Increase max brush size to 15 2021-02-19 13:22:17 +01:00
5d604febd3 [Editor] Optimize grid and background render in map editor 2021-02-19 13:21:33 +01:00
05ebaae11e [Editor] Set max map editor drawer width to 256 2021-02-18 23:50:22 +01:00
a4e8b45dcb [Editor] Fix possibility to provide non-numeric characters in IntegerParameter Spinner 2021-02-18 23:27:46 +01:00
9fd172f50a [Editor] Enable submitting on enter in autocommit Parameters
The bug was related to autocommit IntegerParameter, which did not update the value when user provided value by hand in text field and pressed the enter.
2021-02-18 22:50:32 +01:00
162dac3aa6 [Editor] Add support for ColorLayer serialization 2021-02-18 21:24:01 +01:00
8a41e50e6d [Editor] Split ImageLayer to ColorLayer and ImageLayer 2021-02-18 20:56:10 +01:00
f85fa5ecc2 [Editor] Enable controlling color and opacity of ImageLayer via parameters 2021-02-18 20:00:49 +01:00
df74c40107 [Editor] Add support for commit handler in Parameters Table Fragment 2021-02-18 19:59:49 +01:00
8b0f6dafc3 [Editor] Add support for manual committing in Parameters Table Fragment 2021-02-18 13:39:50 +01:00
4dd6c791b6 [Editor] Create Parameters Table Fragment 2021-02-18 12:39:11 +01:00
973b0ada58 [Editor] Enable serialization and deserialization for passage map of ObjectLayer 2021-02-17 22:42:48 +01:00
7f57514b18 [Editor] Enable drawing passage map on ObjectLayer 2021-02-17 22:18:27 +01:00
c76ad76d37 [Editor] Enable basic serialization for object and image layers
The layers' properties are not serialized/deserialized yet. All the protos for object layer and image layer contains actually nothing except the layer name in Layer proto container.
2021-02-17 14:37:10 +01:00
78e11029e5 [Editor] Add support for object and image layers in editor 2021-02-17 09:48:34 +01:00
27ee72713a [Editor] Add icons to layer list 2021-02-15 08:34:04 +01:00
af54a7bd81 [Editor] Disable resizing modal windows 2021-02-12 10:18:37 +01:00
5936bd961f [Editor] Enable saving Game Maps 2021-02-12 09:44:49 +01:00
12d9d6d7df [Editor] Enable storing Tile Sets and loading Game Maps with them 2021-02-12 09:21:37 +01:00
02acad538b [Editor] Add Tile Sets list to project structure sidebar 2021-02-12 08:50:45 +01:00
c9a73cd98f [Editor] Improve ProjectSettingsFragment 2021-02-12 08:44:06 +01:00
9589618ca2 [Editor] Enable importing TileSets to project 2021-02-12 08:35:06 +01:00
1804f7c50e [Editor] Create TileSetAsset object 2021-02-11 22:20:14 +01:00
63458fdf1c [Editor] Remove unnecessary rows and columns fields from GameMapAsset object 2021-02-11 22:08:18 +01:00
989d7e94ed [Editor] Enable opening map on double-click on project structure panel 2021-02-11 22:05:51 +01:00
b496d047cd [Editor] Make the project back stores maps as lists 2021-02-11 19:46:47 +01:00
eebda465b9 [Editor] Create project structure panel scaffolding 2021-02-11 19:36:53 +01:00
d6f44ff63c [Editor] Remove name property from GameMap object 2021-02-11 16:48:02 +01:00
8783bcc1ce [Editor] Create Asset object base for attachable project items
Implement GameMapAsset which contains additional metainfo related to attached GameMap.
2021-02-11 11:45:08 +01:00
f914bfcb31 [Editor] Enable attaching maps to project 2021-02-11 08:47:18 +01:00
e60060a217 [Editor] Create Project Context object which holds current project model 2021-02-10 22:07:27 +01:00
be1de6c68f [Editor] Implement TileSet selection in map creation wizard 2021-02-10 21:17:53 +01:00
2abfa48d8b [Editor] Refactor map-related views 2021-02-10 19:32:27 +01:00
caf1c45dd0 [Editor] Create map creation wizard scaffolding 2021-02-10 19:22:47 +01:00
e60add30c5 Migrate CRLF file endings to LF 2021-02-10 17:50:40 +01:00
3160a65f95 [Editor] Enable basic project serialization/deserialization 2021-02-09 21:20:22 +01:00