Joonas Rikkonen
bec7aadfa9
(af16ecdfa) Merge branch 'dev' into human-ai
2019-05-16 05:14:00 +03:00
Joonas Rikkonen
60f52375e6
(7788ec72a) Test issuing orders automatically.
2019-05-16 05:03:49 +03:00
Joonas Rikkonen
fbb7daed00
(0c3442136) Merge branch 'dev' into docking-interface
2019-05-03 13:41:23 +03:00
Joonas Rikkonen
b551ae7999
(c1468d39d) Overhauled docking interface (WIP)
2019-05-03 13:39:54 +03:00
Joonas Rikkonen
e83dba2959
(42d13c09f) Merge remote-tracking branch 'origin/tutorial-rework' into dev
2019-04-25 18:07:37 +03:00
Joonas Rikkonen
ed38e60d13
(32ba1d322) When editing an item label or a room name, the text is colored gray/green according to whether the text can be translated (= if a matching text tag is found in the language files). There's also now a "text picker menu" that can be used to pick the text from a list of translatable texts. TODO: use this in ItemComponent.Msg and CustomInterface button/tickbox labels.
2019-04-15 12:07:27 +03:00
Joonas Rikkonen
a8240379ac
(a6437298b) Added LightComponent.IsOn to the SerializableProperties that can be accessed without reflection.
2019-04-08 23:12:22 +03:00
Joonas Rikkonen
97f31d0c94
5202af9...3ea33fb
2019-03-18 22:24:07 +02:00
Joonas Rikkonen
044fd3344b
2f107db...5202af9
2019-03-18 21:42:26 +02:00
Joonas Rikkonen
6c0679c297
38f1ddb...178a853: v0.8.9.1, removed content folder
2019-03-18 20:39:27 +02:00
Joonas Rikkonen
0abdcb969d
Fixed "failed to write event" errors when a client or server tries to change an enum value of an item (e.g. the output type of an oscillator component)
2018-07-20 15:18:46 +03:00
Joonas Rikkonen
633dc1ff1e
Option to define multiple compatible content packages in submarine files, added extension methods for parsing string, float and int arrays from XML elements
2018-02-06 10:18:39 +02:00
Joonas Rikkonen
063881701c
Fixed exceptions when attempting to set the value of a serializable rect property by parsing a string
2017-12-02 16:25:21 +02:00
Joonas Rikkonen
c66191ca94
Added exception handling to SerializeProperty.TrySetValue methods
2017-12-02 15:50:40 +02:00
Joonas Rikkonen
903686aed7
Modified particle properties can be saved directly to the config file
2017-11-18 14:18:46 +02:00
Joonas Rikkonen
d13d3101ea
Made enum deserialization case insensitive
2017-11-16 21:00:42 +02:00
Joonas Rikkonen
08cf902cb8
MapEntityPrefabs are deserialized using SerializableProperty
2017-11-15 19:01:55 +02:00
Joonas Rikkonen
04e3710a65
Renaming fields for consistency
2017-11-14 22:45:22 +02:00
Joonas Rikkonen
d072713936
Replaced manual rect parsing in a bunch of places with an extension method
2017-11-14 21:09:07 +02:00
Joonas Rikkonen
b3769b383a
- Input field for rects.
...
- Input fields for ItemComponent requiredItems.
- Added tooltips to a bunch of editable ItemComponent properties.
- Misc fixes.
2017-11-13 22:06:13 +02:00
Joonas Rikkonen
f7298c241e
Progress:
...
- Input fields for vectors & colors in SerializableEntityEditor.
- SerializableProperty tooltips.
- GUINumberInput supports floats.
- EditingHUD for structures (atm the only editable property is the color of the sprite)
2017-11-12 20:24:11 +02:00
Joonas Rikkonen
8e556f1c76
- Renamed a bunch of ObjectProperty-related stuff (ObjectProperty -> SerializableProperty, IPropertyObject -> ISerializableEntity, the "SerializableProperty" attribute -> Serialize).
...
- Rectangle serialization.
- Option to restrict numeric properties to a range of values.
- WIP generic ISerializableEntity editor.
2017-11-08 21:15:03 +02:00
Joonas Rikkonen
a0d606ef5f
Working on improving the serialization system and ObjectProperty/IPropertyObject (TODO: come up with better names). The plan is to:
...
- Add support for some of the most common types (vectors, colors, rects) so there's no need to parse the values in the setters of the serializable properties (see Holdable.HoldPos for example).
- Make a generic version of the item editing HUD that can be used on any IPropertyObject. Should make it easier to implement things like the character editor, editing structure properties, particle editor, etc.
- Improve the interface of the editing HUD. Instead of having to type in a string value into a textbox, there should be number input fields for numeric properties, sliders for properties that only accept a range of values, a color picker, etc. And tooltips.
2017-11-03 19:41:21 +02:00