Commit Graph

10037 Commits

Author SHA1 Message Date
rubidium
d452683aa6 (svn r14196) -Codechange: make the searching for files with a specific extension extendable. 2008-08-31 08:38:30 +00:00
glx
01ce633a93 (svn r14194) -Fix: don't use hardcoded character offsets to get hg revision. This make it similar to svn and git (ie without the ':'). 2008-08-30 13:15:36 +00:00
rubidium
17998f7f98 (svn r14193) -Fix (r14191): don't put an unsigned 0x80 in a signed int8 as that's not what you want. 2008-08-30 12:14:56 +00:00
rubidium
58cb5bbd2b (svn r14192) -Fix [FS#2236]: properly update the current timetable's travel/wait times instead of only doing it for one vehicle in the shared order chain and only when some bit has not been set (PhilSophus) 2008-08-30 10:26:16 +00:00
rubidium
951ea4ae6d (svn r14191) -Codechange: unify the code to skip sprite payload (i.e. not the header).
-Fix: sprite payload skipping wouldn't skip enough bytes in a very small subset of compressed sprites.
2008-08-30 09:46:52 +00:00
rubidium
943031bdaf (svn r14190) -Codechange: use alloc instead of malloc+free when the allocated memory shouldn't be used after the function ended. 2008-08-30 09:43:07 +00:00
peter1138
76895a93f4 (svn r14189) -Fix (r14188): Accidental line removal 2008-08-30 09:01:05 +00:00
peter1138
84d9510928 (svn r14188) -Codechange: [NewGRF] Cargo type of 0xFF is specified to be 'use first refittable cargo', so don't issue a warning for it. 2008-08-30 08:59:55 +00:00
rubidium
639620f5be (svn r14187) -Fix (r14104): silence warning when compiling without networking enabled. 2008-08-29 21:11:28 +00:00
rubidium
7accf0ac97 (svn r14186) -Fix [FS#2255]: small typo (Jafinto) 2008-08-29 21:07:26 +00:00
rubidium
509b77371f (svn r14185) -Fix (r14153): removing NewGRFs from the config file was impossible. 2008-08-29 21:06:49 +00:00
peter1138
50d230a52f (svn r14184) -Codechange: [NewGRF] Since our NewGRF handling is better than it used to be, disable a NewGRF if unexpected sprites are reached. 2008-08-29 20:03:51 +00:00
peter1138
ab46663eed (svn r14183) -Fix: "optimalization" is not a word 2008-08-29 09:46:29 +00:00
peter1138
2e0d735f1f (svn r14182) -Fix: After applying NewGRF settings, all rail and road types were available as the engine availability check was performed too early. 2008-08-28 19:53:25 +00:00
peter1138
4071e36f36 (svn r14181) -Fix (r14175): Rail types are not road types 2008-08-28 19:22:03 +00:00
glx
9788ce3757 (svn r14180) -Fix (r8293): close all related vehicle lists when closing a station window (and not only the train list). 2008-08-27 21:30:20 +00:00
frosch
8c0e108960 (svn r14179) -Fix (r1): RemoveOrderFromAllVehicles() did not mark enough windows dirty. 2008-08-27 19:54:41 +00:00
frosch
b4c0a3efe3 (svn r14178) -Fix [FS#2256]: Do not evaluate GetDestination() for go-to-nearest-depot-orders. 2008-08-27 19:21:01 +00:00
smatz
eeaeecd255 (svn r14177) -Fix: define INADDR_NONE only when it hasn't been defined yet 2008-08-25 22:10:47 +00:00
smatz
6074de33d0 (svn r14176) -Fix: better 'safe' than ... 'save' 2008-08-25 20:54:34 +00:00
peter1138
c805cd6328 (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. 2008-08-25 20:42:54 +00:00
smatz
1294253d68 (svn r14174) -Fix: since now, we are 'losing' things, not 'loosing' 2008-08-25 20:10:45 +00:00
peter1138
18032db8c1 (svn r14173) -Fix: Don't check for rail type and catenary on aqueducts. 2008-08-25 18:14:19 +00:00
belugas
40b27b50c1 (svn r14172) -Feature[newGRF]: Add support for property 0x13 for Bridges.
In other words, one can now specifies a 16 bits cost multiplier.
2008-08-25 17:16:27 +00:00
belugas
521e8e858b (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.
2008-08-25 16:41:00 +00:00
peter1138
7de2096d1f (svn r14170) -Codechange: Missing enum for road type iteration. 2008-08-25 16:20:26 +00:00
belugas
de43d17a82 (svn r14169) -Codechange: rename location_of_house for location_of_HQ, which is more exact and less subject to interpretation 2008-08-25 16:10:34 +00:00
peter1138
7b632aa8aa (svn r14168) -Codechange: Make dropdown 'auto_width' a separate parameter, so that a minimum width can be specified. 2008-08-25 16:07:10 +00:00
rubidium
4548c5a26b (svn r14167) -Fix: items in some ini-groups got duplicated on save. 2008-08-25 15:15:41 +00:00
matthijs
53735906f8 (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. 2008-08-25 12:47:17 +00:00
peter1138
243aba268c (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. 2008-08-25 10:58:24 +00:00
rubidium
d7bfd54a3d (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.
2008-08-25 06:35:28 +00:00
peter1138
e3fad31f31 (svn r14162) -Fix: Allow rail type conversion if the rail type cost multipliers are the same. 2008-08-24 23:29:58 +00:00
rubidium
bd14bd872e (svn r14161) -Codechange: allow inis to be loaded from tars. 2008-08-24 23:12:10 +00:00
peter1138
2ea575e36c (svn r14160) -Codechange: Move _railtype_cost_multipliers into the rail type information struct. 2008-08-24 23:10:23 +00:00
peter1138
e999f189e6 (svn r14158) -Codechange: Initialization of rail type data from static source, so data can be changed. 2008-08-24 23:00:11 +00:00
peter1138
6261063689 (svn r14157) -Codechange: Add and use string properties for rail types instead of relying on consecutive string IDs. 2008-08-24 21:31:24 +00:00
smatz
8abd4137d4 (svn r14156) -Fix (r14153): missing/wrong comments 2008-08-24 17:29:57 +00:00
glx
01e8ec447e (svn r14155) -Fix (r14154): wrong comments 2008-08-24 17:18:05 +00:00
glx
4bb40a7d44 (svn r14154) -Fix (r14153): strndup is a GNU extension, so it doesn't exist on all platforms 2008-08-24 17:02:21 +00:00
rubidium
7ceb1252a2 (svn r14153) -Codechange: split ini file reading/saving from settings.cpp. 2008-08-24 13:50:31 +00:00
rubidium
0742de717f (svn r14152) -Fix (r14146): Apple decided to use a name I wanted to use... thus making compilation fail on OSX (planetmaker) 2008-08-24 09:48:21 +00:00
rubidium
2ced86e7ae (svn r14151) -Codechange: make it possible to choose between the DOS and Windows graphics packs while retaining the possibility to override the palette. 2008-08-24 08:41:38 +00:00
belugas
7b01fb91c7 (svn r14150) -Add: Add the count of trains using the current waypoint in the vehicle list window's caption 2008-08-24 01:39:56 +00:00
frosch
f932e81127 (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. 2008-08-23 23:31:27 +00:00
frosch
b66b3937ed (svn r14148) -Fix (r14096) [FS#2239]: Orders were freed while they were still shared by other vehicles. 2008-08-23 23:15:04 +00:00
frosch
464899f9ad (svn r14147) -Codechange: Allow passing 'const Vehicle *' to GetNextUnit() and GetPrevUnit(). 2008-08-23 22:31:36 +00:00
rubidium
07c20252c3 (svn r14146) -Codechange: allow palette override in both ways and remove some unneeded '(x == 0) ? 0 : 1' constructs. 2008-08-23 20:16:54 +00:00
frosch
4335c27218 (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. 2008-08-23 19:14:27 +00:00
peter1138
1de6c87cdd (svn r14144) -Fix (r8826): Incorrect cargo weights 2008-08-23 18:05:52 +00:00