Commit Graph

798 Commits

Author SHA1 Message Date
9dfa48b22e Fix incorrect exception text 2021-05-13 16:42:43 +09:00
19223ba013 Remove left-over debug logging 2021-05-13 16:42:13 +09:00
5818ed4c8c Remove unused DI resolution 2021-05-13 16:41:36 +09:00
db19617b8b Add JsonConstructor attribute to SkinnableTargetWrapper 2021-05-13 13:16:20 +09:00
3b862798e9 Standardise naming of methods related to SkinnableInfo 2021-05-13 13:14:49 +09:00
581e7940c7 Add xmldoc to SkinnableElementTargetContainer 2021-05-13 13:13:22 +09:00
c93ed541f3 Add xmldoc and tidy up logic in Skin 2021-05-13 13:09:33 +09:00
992a052426 Remove stray comment 2021-05-13 13:07:06 +09:00
469a7f5d2a Reorder fields in SkinEditor 2021-05-13 13:04:17 +09:00
2bf8635ffd Move field upwards in class 2021-05-13 13:03:23 +09:00
a38cb61b08 Remove duplicated call to base.GetDrawableComponent 2021-05-13 13:02:55 +09:00
8b9ac86d4b Merge branch 'master' into skin-serialisation 2021-05-13 12:35:06 +09:00
27ca7d0f4f Actually annotate the correct ctor 2021-05-12 23:53:39 +02:00
a6aec6e007 Fix missed InstantiationInfo setter usages 2021-05-12 23:34:25 +02:00
1b579dd838 Extract invariant instantiation info extension method 2021-05-12 23:23:51 +02:00
4464204e33 Mark all skin ctors used via reflection in SkinInfo.CreateInstance() 2021-05-12 23:23:42 +02:00
7bac81f394 Fix incorrect inline comments
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
2021-05-12 19:37:00 +09:00
55e1f97f59 Remove unused using statement 2021-05-12 19:06:40 +09:00
75227e5a70 Change default skin to use component lookup for conformity 2021-05-12 18:55:48 +09:00
0a895fff15 Remove remaining test usage of SkinnableXXX HUD components 2021-05-12 18:53:25 +09:00
088335a035 Revert "Also save on skin switch"
This reverts commit 2f55d1e5ab.
2021-05-12 17:45:51 +09:00
2f55d1e5ab Also save on skin switch 2021-05-12 17:42:12 +09:00
be187e8ebd Avoid hard crash if Save() is called before preparing for mutation 2021-05-12 17:42:04 +09:00
9df08560b6 Save skin editor changes on forced exit 2021-05-12 16:07:00 +09:00
494a1b01a5 Move SkinnableElementTargetContainer out of HUD namespace 2021-05-12 15:59:33 +09:00
29e6f6b6b6 Remove public prefixes from interface type and add Components list for future use 2021-05-12 15:58:21 +09:00
05e0c57a6a Keep component positions stable when changing anchor/origin 2021-05-12 15:30:52 +09:00
d55f42dc2e Show anchor and origin in skin blueprints when selected 2021-05-12 15:12:17 +09:00
42e6795251 Place new skin components at the centre of the screen by default 2021-05-12 14:11:40 +09:00
96d4011de2 Use pattern matching to tidy up instance construction 2021-05-12 14:02:24 +09:00
1d383024e2 Improve the visual appearance of skin editor blueprints 2021-05-12 13:54:30 +09:00
77e422409c Add SkinInfo.InstantiationInfo to allow creating different skin types 2021-05-11 23:37:06 +09:00
1231c08a07 Rename mismatching file 2021-05-11 18:58:26 +09:00
4bb933e4b1 Add missing base lookup call to DefaultSkin 2021-05-11 18:55:45 +09:00
f55407f871 Show a message when attempting to customisse a screen which doesn't support it 2021-05-11 18:39:15 +09:00
6d587dc392 Adjust target size slightly to better align with the screen 2021-05-11 18:39:15 +09:00
1831f581aa Add basic metadata display and remove outdated message about not saving 2021-05-11 18:39:15 +09:00
a4e0529617 Replace polling logic with direct bindable reactions 2021-05-11 18:39:15 +09:00
a88a8b7d8d Use ISkinnableComponent wherever possible (and expose as BindableList) 2021-05-11 18:39:15 +09:00
a7e83aacfb Ensure default skins are copied before modifying 2021-05-11 18:39:15 +09:00
a67cead0b3 Add SkinInfo.InstantiationInfo to allow creating different skin types 2021-05-11 18:39:15 +09:00
f6f4b90d2b Add customisation support for LegacyHealthDisplay 2021-05-11 18:39:14 +09:00
d5fe4f0f72 Remove unused skin resolution in LegacyScoreCounter 2021-05-11 18:39:14 +09:00
944f09ec98 Move default skin cross-component dependencies out to default specifications 2021-05-11 18:39:14 +09:00
12684de66e Add ability to adjust origin in skin editor 2021-05-11 18:39:14 +09:00
117d6d731d Move cross-component layout dependencies for legacy skin to LegacySkin 2021-05-11 18:39:14 +09:00
bf65547eec Allow some serialised components to not be mutable by the user 2021-05-11 18:39:14 +09:00
81902ad6a6 Add the ability to revert all skin changes 2021-05-11 18:39:14 +09:00
4769a95b49 Fix encapsulation and remove target lookup overhead 2021-05-11 18:39:14 +09:00
c957293ec3 Load json from disk store at skin construction for now
This allows for easier mutation without worrying about changes being
re-read from disk unexpectedly.
2021-05-11 18:39:14 +09:00