mirror of https://github.com/OpenTTD/OpenTTD
(svn r11857) -Fix: some compile time warnings.
parent
af59eb2543
commit
c1108bd293
|
@ -28,6 +28,7 @@ public:
|
||||||
StringID string; ///< String ID of item
|
StringID string; ///< String ID of item
|
||||||
|
|
||||||
DropDownListStringItem(StringID string, int result, bool masked) : DropDownListItem(result, masked), string(string) {}
|
DropDownListStringItem(StringID string, int result, bool masked) : DropDownListItem(result, masked), string(string) {}
|
||||||
|
virtual ~DropDownListStringItem() {}
|
||||||
|
|
||||||
StringID String() const;
|
StringID String() const;
|
||||||
};
|
};
|
||||||
|
@ -40,6 +41,7 @@ public:
|
||||||
uint64 decode_params[10]; ///< Parameters of the string
|
uint64 decode_params[10]; ///< Parameters of the string
|
||||||
|
|
||||||
DropDownListParamStringItem(StringID string, int result, bool masked) : DropDownListStringItem(string, result, masked) {}
|
DropDownListParamStringItem(StringID string, int result, bool masked) : DropDownListStringItem(string, result, masked) {}
|
||||||
|
virtual ~DropDownListParamStringItem() {}
|
||||||
|
|
||||||
StringID String() const;
|
StringID String() const;
|
||||||
void SetParam(uint index, uint64 value) { decode_params[index] = value; }
|
void SetParam(uint index, uint64 value) { decode_params[index] = value; }
|
||||||
|
|
Loading…
Reference in New Issue