summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-10-28(svn r3096) - Feature: 'HOME' icon to saveload dialogs that jumps to the ↵Darkvater
default save/load directory based on the dialog (added icon to openttd.grf, introduced FIOS_TYPE_DIRECT that allows arbitrary directory jumping). - Fix: on Win32 capitalize the drive-letter in the saveload dialog windows when it is first opened.
2005-10-27(svn r3093) -Fix: [autoreplace] fixed issue where the money limit message ↵bjarni
showed up in some cases when no replace was needed
2005-10-26(svn r3090) Remove long dead pieces of codetron
2005-10-25(svn r3089) Fix possible issue with out-of-bounds array access in replace ↵peter1138
vehicle gui, and add brief commenting.
2005-10-25(svn r3088) -Fix: [OSX] fixed issue where OSX could not dynamic link to ↵bjarni
quicktime [ 1334917 ]
2005-10-25(svn r3087) Rewrite GetPlayerRailtypes() so it doesn't depend on magical ↵tron
numbers to sort out wagons
2005-10-24(svn r3082) made ChangeVehicleViewWindow() more readable (added in last commit)bjarni
2005-10-24(svn r3081) -Codechange: [autoreplace] complete rewrite of autoreplacebjarni
this is a complete rewrite, that makes use of existing commands like build and sell this means that multiheaded train engines are replaced correctly
2005-10-24(svn r3080) byte -> PlayerID, int -> EngineID, -1 -> INVALID_ENGINEtron
2005-10-23(svn r3079) Determine the type of the "first arrival" message for road ↵tron
vehicles using the cargo type and not a magic engine number
2005-10-23(svn r3078) Some more stuff, which piled up:tron
- const, whitespace, indentation, bracing, GB/SB, pointless casts - use the trinary operator where appropriate - data types (uint[] -> AcceptedCargo, ...) - if cascade -> switch - if (ptr) -> if (ptr != NULL) - DeMorgan's Law - Fix some comments - 0 -> '\0', change magic numbers to symbolic constants
2005-10-22(svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in ↵tron
comments, excess empty lines, minor other changes nothing spectacular, just some stuff, which piled up
2005-10-21(svn r3076) s/OSX/OS X/tron
and Unix is spelled "Unix", not "Linux"
2005-10-21(svn r3075) -PBS: Keep track reservation state while building and removing a ↵peter1138
waypoint.
2005-10-20(svn r3074) -NewGrf: Fix stupid typo in weight setting.peter1138
2005-10-20(svn r3073) int/byte -> EngineID/PlayerID/VehicleIDtron
0/-1 -> INVALID_ENGINE 0x10 -> OWNER_NONE
2005-10-20(svn r3072) CMD_RENAME_STATION isn't interested in the tile coordinates, so ↵tron
don't pass them
2005-10-20(svn r3071) -NewGRF: Add support for rail vehicle weight greater than 255 tons.peter1138
2005-10-19(svn r3070) - it doesn't matter where the '.' is found for the IP, if it is ↵Darkvater
found, it is not a normal index when unbanning clients ('\0' should of course be NULL); thx Tron
2005-10-19(svn r3069) - CodeChange: now that we have the '|' char, use that as a ↵Darkvater
seperator instead of '\' as was originally intention
2005-10-19(svn r3068) - Feature: make it possible to create a screenshot from the ↵Darkvater
console that is both big and has no console, or any combination of.
2005-10-19(svn r3067) - Feature: allow unbanning players based on banlist-id (as well ↵Darkvater
as IP). - Feature: 'status' and 'clients' now show the IP of the players
2005-10-19(svn r3066) Constify the parameter of GetSlopeZ_*()tron
2005-10-19(svn r3065) -Codechange/Add: Modified the bridge drawing code so that the ↵celestar
basic offset is read from the RailTypeInfo struct. This is (hopefully) the last DrawTile change on the way to electrified railways. While being at it, de-mystified the function a bit and added some asserts.
2005-10-19(svn r3064) Replace some numbers by sprite namestron
2005-10-19(svn r3063) -Codechange: Demystified and commented bridge_land.h. Also ↵celestar
removed two arrays that are not referred to
2005-10-18(svn r3062) - Add visual representation of possible text-colours instead of ↵Darkvater
dubious and confusing textfile
2005-10-18(svn r3061) - CodeChange: revert r3056, r3057 and add a simpler fix to ↵Darkvater
satisfy the needs of the absolute strict (eg. root directory is C:\ not C:)
2005-10-18(svn r3060) [Translations] Updating translations to 2005-10-18 {@805} (2 ↵miham
langs changed)
2005-10-18(svn r3059) Use bitfields to encode railtype and climates of engines instead ↵tron
of manual shifting/anding
2005-10-18(svn r3058) The default AI may not build dual headed trains under certain ↵tron
circumstances. Simplify this check by testing the rail vehicle info flags instead of passing a global variable around. Note: This is not exactly the original behaviour, because the Lev4 was always allowed to be built, but i guess that was a glitch.
2005-10-17(svn r3057) - (Post)Fix: fix backslash occurence in all cases, also when ↵Darkvater
going to root directory through 'parent directory', and of course don't show parent dir in root.
2005-10-17(svn r3056) - Fix: Problem on Win98 and lower when if you go to the root ↵Darkvater
directory of a drive (eg. C:\) you were stuck there indefinitely and couldn't change any directories or see any files
2005-10-17(svn r3055) Give the savegame/scenarion sort order flags symbolic namestron
2005-10-17(svn r3054) Remove the unsused function GetNumRailtypes()tron
2005-10-16(svn r3053) -Fix: [ 1326604 ] Fixed typo and hang for BeOS Networking (MYOB)truelight
2005-10-16(svn r3052) Fix last commit *grml*tron
2005-10-16(svn r3051) Remove the unused function RemoteSubsidyAdd()tron
2005-10-16(svn r3050) Augment the rail vehicle table with symbolic names for dual-head ↵tron
engines and wagons
2005-10-16(svn r3049) Replace byte/int/uint by RailType where appropriatetron
2005-10-16(svn r3048) Replace 0/1/2 by RAILTYPE_RAIL/MONO/MAGLEV where appropriatetron
2005-10-15(svn r3047) The parameters for the railtype check got flipped in the train ↵tron
build window (this caused no visible problem so far, therefore no Fix tag)
2005-10-15(svn r3046) Replace some numbers with sprite names and fix a typo in the ↵tron
sprite list
2005-10-15(svn r3045) -NewGRF, Codechange: Don't attempt to map and empty sprite group ↵peter1138
to a vehicle.
2005-10-14(svn r3044) -NewGRF, Codechange: Improve handling of non-existent sprite sets.peter1138
2005-10-14(svn r3040) Don't deduce the cursor sprites when building rails from magic ↵tron
numbers, but fetch them from the central rail info array.
2005-10-14(svn r3039) Revert accidently commited changes from last committron
2005-10-14(svn r3038) Reorder the loading of standard graphics files to reflect a bit ↵tron
where in the sprite array the sprites end up and assert, that the indices are equal to the corresponding sprite base enums, to guard against typos.
2005-10-13(svn r3037) Don't deduce the sprites for tunnels and level crossings from ↵tron
magic numbers, but fetch them from the central rail info array. This is a preparation step for electrified rails
2005-10-13(svn r3036) Use IsCompatibleRail() to check the rail type of level crossings ↵tron
(not a fix, because the old == method works so far)