Commit Graph

10032 Commits (e06c21426eaec662e64b02e3c0097dfaaa658d97)
 

Author SHA1 Message Date
rubidium e06c21426e (svn r14190) -Codechange: use alloc instead of malloc+free when the allocated memory shouldn't be used after the function ended. 16 years ago
peter1138 bfcd6e9772 (svn r14189) -Fix (r14188): Accidental line removal 16 years ago
peter1138 2b67c01a24 (svn r14188) -Codechange: [NewGRF] Cargo type of 0xFF is specified to be 'use first refittable cargo', so don't issue a warning for it. 16 years ago
rubidium 468655c916 (svn r14187) -Fix (r14104): silence warning when compiling without networking enabled. 16 years ago
rubidium ead8de78ea (svn r14186) -Fix [FS#2255]: small typo (Jafinto) 16 years ago
rubidium 7c002c14cc (svn r14185) -Fix (r14153): removing NewGRFs from the config file was impossible. 16 years ago
peter1138 4c56b827e5 (svn r14184) -Codechange: [NewGRF] Since our NewGRF handling is better than it used to be, disable a NewGRF if unexpected sprites are reached. 16 years ago
peter1138 06777f7efc (svn r14183) -Fix: "optimalization" is not a word 16 years ago
peter1138 80c9ecedcd (svn r14182) -Fix: After applying NewGRF settings, all rail and road types were available as the engine availability check was performed too early. 16 years ago
peter1138 38ee1c8d49 (svn r14181) -Fix (r14175): Rail types are not road types 16 years ago
glx e598fa4701 (svn r14180) -Fix (r8293): close all related vehicle lists when closing a station window (and not only the train list). 16 years ago
frosch ef60a4cf35 (svn r14179) -Fix (r1): RemoveOrderFromAllVehicles() did not mark enough windows dirty. 16 years ago
frosch 7ce75961b4 (svn r14178) -Fix [FS#2256]: Do not evaluate GetDestination() for go-to-nearest-depot-orders. 16 years ago
smatz 361292bd23 (svn r14177) -Fix: define INADDR_NONE only when it hasn't been defined yet 16 years ago
smatz e840aabf8d (svn r14176) -Fix: better 'safe' than ... 'save' 16 years ago
peter1138 759fb5937d (svn r14175) -Codechange: Rewrite the main toolbars to use the standard dropdown menu system, allowing flexible menus instead of fixed string lists, and removing code duplication. 16 years ago
smatz c9bef19043 (svn r14174) -Fix: since now, we are 'losing' things, not 'loosing' 16 years ago
peter1138 b60ff46806 (svn r14173) -Fix: Don't check for rail type and catenary on aqueducts. 16 years ago
belugas 23a9938317 (svn r14172) -Feature[newGRF]: Add support for property 0x13 for Bridges.
In other words, one can now specifies a 16 bits cost multiplier.
16 years ago
belugas bc7a87613f (svn r14171) -Codechange: Make the test for HQ a bit lighter.
The presence of a HQ is only dictated by the 7th bit been set.
The rest of the data is related to the size and the type.
16 years ago
peter1138 6a742cef5f (svn r14170) -Codechange: Missing enum for road type iteration. 16 years ago
belugas 08898f69be (svn r14169) -Codechange: rename location_of_house for location_of_HQ, which is more exact and less subject to interpretation 16 years ago
peter1138 cf52b683c0 (svn r14168) -Codechange: Make dropdown 'auto_width' a separate parameter, so that a minimum width can be specified. 16 years ago
rubidium 621a9b647a (svn r14167) -Fix: items in some ini-groups got duplicated on save. 16 years ago
matthijs 262ddecfc5 (svn r14166) -Doc: Change "forbid 90 degree turn" patch option description to say "not with NTP" instead of "requires NPF" (which has been untrue since the introduction of YAPF). Thanks to FauxFaux for pointing this out. 16 years ago
peter1138 c76455be02 (svn r14165) -Codechange: When over-building rail with a different type, don't convert the rail if the engines of the new type are powered on the existing type. 16 years ago
rubidium 411c65e755 (svn r14164) -Codechange: simplify and unify the addition of ini items with value when not loading an ini file.
-Fix: wrong insertion management causing leaks.
16 years ago
peter1138 6e4d8a273e (svn r14162) -Fix: Allow rail type conversion if the rail type cost multipliers are the same. 16 years ago
rubidium b2d6254b44 (svn r14161) -Codechange: allow inis to be loaded from tars. 16 years ago
peter1138 b45ced35ee (svn r14160) -Codechange: Move _railtype_cost_multipliers into the rail type information struct. 16 years ago
peter1138 2f80a277eb (svn r14158) -Codechange: Initialization of rail type data from static source, so data can be changed. 16 years ago
peter1138 ff07598ce2 (svn r14157) -Codechange: Add and use string properties for rail types instead of relying on consecutive string IDs. 16 years ago
smatz 0d4e7f9537 (svn r14156) -Fix (r14153): missing/wrong comments 16 years ago
glx 4a4549405c (svn r14155) -Fix (r14154): wrong comments 16 years ago
glx 2ddb86eea5 (svn r14154) -Fix (r14153): strndup is a GNU extension, so it doesn't exist on all platforms 16 years ago
rubidium ae32d158cb (svn r14153) -Codechange: split ini file reading/saving from settings.cpp. 16 years ago
rubidium a4854aaddc (svn r14152) -Fix (r14146): Apple decided to use a name I wanted to use... thus making compilation fail on OSX (planetmaker) 16 years ago
rubidium 8c73b5c42d (svn r14151) -Codechange: make it possible to choose between the DOS and Windows graphics packs while retaining the possibility to override the palette. 16 years ago
belugas 14bc2b5d4f (svn r14150) -Add: Add the count of trains using the current waypoint in the vehicle list window's caption 16 years ago
frosch 6aeeeb9012 (svn r14149) -Fix: When selling the front engine of a train consist with another engine at the second position, not all 'important' data was copied to the new head. 16 years ago
frosch 13d938ae3d (svn r14148) -Fix (r14096) [FS#2239]: Orders were freed while they were still shared by other vehicles. 16 years ago
frosch 32e1fd55c5 (svn r14147) -Codechange: Allow passing 'const Vehicle *' to GetNextUnit() and GetPrevUnit(). 16 years ago
rubidium 200f405706 (svn r14146) -Codechange: allow palette override in both ways and remove some unneeded '(x == 0) ? 0 : 1' constructs. 16 years ago
frosch 5de17da66e (svn r14145) -Fix (r14135, r14141): When savegame conversion cannot determine a owner of a greyed waypoint, ensure that the owner is assigned when the waypoint is rebuild. 16 years ago
peter1138 2e28978264 (svn r14144) -Fix (r8826): Incorrect cargo weights 16 years ago
frosch a813b6a854 (svn r14143) -Codechange: Recenter viewport of waypoint window when relocating the waypoint. 16 years ago
frosch 857df41a6d (svn r14142) -Codechange: Disallow taking over greyed waypoints of other companies. 16 years ago
frosch 4e0faffc72 (svn r14141) -Fix (r14135): Savegame conversion could assign a recently removed waypoint (grey sign) to a wrong owner. 16 years ago
frosch 63f4726e06 (svn r14140) -Fix (r14135): Enum in saveload-table. 16 years ago
frosch 5216223f45 (svn r14139) -Fix (r12044): GetSlopeZ() gets a virtual coordinate, not a tile. 16 years ago