File diff r18844:a10105b3df75 → r18845:66bf168f1100
src/engine_gui.h
Show inline comments
 
@@ -7,7 +7,7 @@
 
 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
 
 */
 

	
 
/** @file engine_gui.h Engine GUI functions, used by build_vehicle_gui and autoreplace_gui */
 
/** @file engine_gui.h %Engine GUI functions, used by build_vehicle_gui and autoreplace_gui */
 

	
 
#ifndef ENGINE_GUI_H
 
#define ENGINE_GUI_H
 
@@ -18,9 +18,9 @@
 

	
 
typedef GUIList<EngineID, CargoID> GUIEngineList;
 

	
 
typedef int CDECL EngList_SortTypeFunction(const EngineID*, const EngineID*); ///< argument type for EngList_Sort()
 
void EngList_Sort(GUIEngineList *el, EngList_SortTypeFunction compare);  ///< sort of the engine list
 
void EngList_SortPartial(GUIEngineList *el, EngList_SortTypeFunction compare, uint begin, uint num_items); ///< sort of specified portion of the engine list
 
typedef int CDECL EngList_SortTypeFunction(const EngineID*, const EngineID*); ///< argument type for #EngList_Sort.
 
void EngList_Sort(GUIEngineList *el, EngList_SortTypeFunction compare);
 
void EngList_SortPartial(GUIEngineList *el, EngList_SortTypeFunction compare, uint begin, uint num_items);
 

	
 
StringID GetEngineCategoryName(EngineID engine);
 
StringID GetEngineInfoString(EngineID engine);