-
-
Notifications
You must be signed in to change notification settings - Fork 105
Ground line for select box #1717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
d88f96a
18288a7
c729587
7e6a42a
6590a60
5d90993
d08acdb
0d08356
c8207f4
6e99d98
ba276cf
d8bf799
6801f05
af3d846
8773e89
322aff1
9164215
20f96b7
bc43519
ee5a069
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,23 +10,37 @@ class SelectBoxTypeClass final : public Enumerable<SelectBoxTypeClass> | |
Valueable<SHPStruct*> Shape; | ||
CustomPalette Palette; | ||
Nullable<Vector3D<int>> Frames; | ||
Valueable<bool> Grounded; | ||
Valueable<Point2D> Offset; | ||
TranslucencyLevel Translucency; | ||
Valueable<AffectedHouse> VisibleToHouses; | ||
Valueable<bool> VisibleToHouses_Observer; | ||
Valueable<bool> DrawAboveTechno; | ||
Valueable<SHPStruct*> GroundShape; | ||
CustomPalette GroundPalette; | ||
Nullable<Vector3D<int>> GroundFrames; | ||
Valueable<Point2D> GroundOffset; | ||
Valueable<bool> Ground_AlwaysDraw; | ||
Valueable<bool> GroundLine; | ||
Damageable<ColorStruct> GroundLineColor; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the fact that it's There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no, I did There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh I missed that, pardon There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no need that just control by frame index |
||
Valueable<bool> GroundLine_Dashed; | ||
|
||
SelectBoxTypeClass(const char* pTitle = NONE_STR) : Enumerable<SelectBoxTypeClass>(pTitle) | ||
, Shape { FileSystem::LoadSHPFile("select.shp") } | ||
, Palette {} | ||
, Frames {} | ||
, Grounded { false } | ||
, Offset { Point2D::Empty } | ||
, Translucency { 0 } | ||
, VisibleToHouses { AffectedHouse::All } | ||
, VisibleToHouses_Observer { true } | ||
, DrawAboveTechno { true } | ||
, GroundShape { nullptr } | ||
, GroundPalette {} | ||
, GroundFrames {} | ||
, GroundOffset { Point2D::Empty } | ||
, Ground_AlwaysDraw { true } | ||
, GroundLine { false } | ||
, GroundLineColor { { 0,255,0 } } | ||
, GroundLine_Dashed { false} | ||
{ } | ||
|
||
void LoadFromINI(CCINIClass* pINI); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggest to add
GroundLine.AlwaysDraw
too and maybe make the pattern customisable