mirror of https://github.com/OpenTTD/OpenTTD
(svn r25274) -Cleanup: remove unused class instance variables
parent
992989dccb
commit
2f7d9a2851
|
@ -83,7 +83,7 @@ public:
|
||||||
* @param filename the file to open
|
* @param filename the file to open
|
||||||
* @post the file is open; otherwise the application is killed.
|
* @post the file is open; otherwise the application is killed.
|
||||||
*/
|
*/
|
||||||
File(const char *filename) : filename(filename)
|
File(const char *filename)
|
||||||
{
|
{
|
||||||
this->fp = fopen(filename, "r");
|
this->fp = fopen(filename, "r");
|
||||||
if (this->fp == NULL) {
|
if (this->fp == NULL) {
|
||||||
|
@ -129,7 +129,6 @@ public:
|
||||||
private:
|
private:
|
||||||
FILE *fp; ///< The currently opened file.
|
FILE *fp; ///< The currently opened file.
|
||||||
char *dirname; ///< The directory of the file.
|
char *dirname; ///< The directory of the file.
|
||||||
const char *filename; ///< The name of the file.
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/** A token returned by the tokenizer. */
|
/** A token returned by the tokenizer. */
|
||||||
|
|
|
@ -30,7 +30,6 @@ static uint8 _selected_object_view; ///< the view of the selected objec
|
||||||
class BuildObjectWindow : public PickerWindowBase {
|
class BuildObjectWindow : public PickerWindowBase {
|
||||||
static const int OBJECT_MARGIN = 4; ///< The margin (in pixels) around an object.
|
static const int OBJECT_MARGIN = 4; ///< The margin (in pixels) around an object.
|
||||||
int line_height; ///< The height of a single line.
|
int line_height; ///< The height of a single line.
|
||||||
int object_height; ///< The height of the object box.
|
|
||||||
int info_height; ///< The height of the info box.
|
int info_height; ///< The height of the info box.
|
||||||
Scrollbar *vscroll; ///< The scrollbar.
|
Scrollbar *vscroll; ///< The scrollbar.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue