OpenTTD Source  1.11.0-beta2
FiosItem Struct Reference

Deals with finding savegames. More...

#include <fios.h>

Public Member Functions

bool operator< (const FiosItem &other) const
 Compare two FiosItem's. More...
 

Data Fields

FiosType type
 
uint64 mtime
 
char title [64]
 
char name [MAX_PATH]
 

Detailed Description

Deals with finding savegames.

Definition at line 103 of file fios.h.

Member Function Documentation

◆ operator<()

bool FiosItem::operator< ( const FiosItem other) const

Compare two FiosItem's.

Used with sort when sorting the file list.

Parameters
otherThe FiosItem to compare to.
Returns
for ascending order: returns true if da < db. Vice versa for descending order.

Definition at line 53 of file fios.cpp.


The documentation for this struct was generated from the following files: