Differences From Artifact [3aab1dec04]:
- File src/MapModelInfo.h — part of check-in [7a98b92af9] at 2025-03-25 23:52:50 on branch trunk — Make use of OF_DIRECT (user: js, size: 646) [annotate] [blame] [check-ins using]
To Artifact [9966a1ab68]:
- File
src/MapModelInfo.h
— part of check-in
[75e920ae30]
at
2025-03-29 14:25:43
on branch trunk
— Switch from clang-format to manual formatting
clang-format does too many weird things. (user: js, size: 656) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 | #import <ObjFW/ObjFW.h> OF_ASSUME_NONNULL_BEGIN OF_DIRECT_MEMBERS @interface MapModelInfo: OFObject @property (nonatomic) int rad, h, zoff, snap; @property (copy, nonatomic) OFString *name; | | | | | | | | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #import <ObjFW/ObjFW.h> OF_ASSUME_NONNULL_BEGIN OF_DIRECT_MEMBERS @interface MapModelInfo: OFObject @property (nonatomic) int rad, h, zoff, snap; @property (copy, nonatomic) OFString *name; + (instancetype)infoWithRad: (int)rad h: (int)h zoff: (int)zoff snap: (int)snap name: (OFString *)name; - (instancetype)init OF_UNAVAILABLE; - (instancetype)initWithRad: (int)rad h: (int)h zoff: (int)zoff snap: (int)snap name: (OFString *)name; @end OF_ASSUME_NONNULL_END |