OpenTTD
Todo List
Global AircraftController (Aircraft *v)
De-mystify the cur_speed values for helicopter rotors.
Global CanEnterTileOwnerCheck (Owner owner, TileIndex tile, DiagDirection enterdir)
This function should be used in other places than just NPF, maybe moved to another file too.
Global CmdBuildRoadDepot (TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2, const char *text)
When checking for the tile slope, distinguish between "Flat land required" and "land sloped in wrong direction"
Global CmdBuildSingleSignal (TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2, const char *text)
p2 should be replaced by two bits for "along" and "against" the track.
Global CmdBuildTrainDepot (TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2, const char *text)
When checking for the tile slope, distinguish between "Flat land required" and "land sloped in wrong direction"
Global CmdBuyCompany (TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2, const char *text)
currently this only works for AI companies
Global CommonRaiseLowerBigLand (TileIndex tile, int mode)
: Incorporate into game itself to allow for ingame raising/lowering of larger chunks at the same time OR remove altogether, as we have 'level land' ?
Class CompanyFinancesWindow
#money_width should be calculated dynamically.
Global CYapfCostRailT< Types >::m_max_cost
fix maximum cost failing with caching (e.g. FS#2900)
Global CYapfFollowRoadT< Types >::FindNearestDepot (const RoadVehicle *v, TileIndex tile, Trackdir td, int max_distance)
max_distance not used by YAPF for road vehicles. It can be removed or copy the SetMaxCost() strategy applied in YAPF for rail. The best depot can be at a distance greater than max_distance.
Global MusicDriver_QtMidi::Start (const char *const *param)
Give better error messages by inspecting error codes returned by Gestalt() and EnterMovies(). Needs changes in InitQuickTimeIfNeeded.
Global NPFHash (uint key1, uint key2)
Think of a better hash.
Class NWidgetViewport

Class derives from NWidgetCore, but does not use #colour, #widget_data, or #tool_tip.

Global PropertyID
Currently the list only contains properties which are used more than once in the code. I.e. they are available for callback 0x36.
Global SetDirtyBlocks (int left, int top, int right, int bottom)
The name of the function should be called like AddDirtyBlock as it neither set a dirty rect nor add several dirty rects although the function name is in plural. (Progman)
File sprites.h
Split the "Sprites" enum into smaller chunks and document them
File tunnelbridge_cmd.cpp
separate this file into two