Commit Graph

4322 Commits (6cf61714ca18fbee15fcb127246420922b13f078)

Author SHA1 Message Date
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
smatz 0816d2cf20 (svn r14138) -Fix (r12863): dark blue wasn't considered as similiar to blue 16 years ago
celestar 7e8c7dfcbf (svn r14137) -Codechange: Remove a now unused member of CargoPacket 16 years ago
belugas 7dc212edeb (svn r14135) -Codechange: Add owner to waypoints. Previously, it was guessed from rail underneath it. 16 years ago
frosch f625ecbeba (svn r14134) -Fix (r12667, r13579) [FS#2245]: Update 'current_order' when changing 'cur_order_index'. 16 years ago
rubidium ca27155a52 (svn r14133) -Fix [FS#2249]: close the 'manage vehicles' dropdown once the number of vehicles in the list reaches 0. 16 years ago
frosch 12f38e56df (svn r14132) -Fix (r14039): Only reserve a path on leaving a station if the current block really is a PBS block. (michi_cc) 16 years ago
frosch 9fe035f8e8 (svn r14131) -Fix (r13952) [FS#2250]: The reservation of adjacent stations was sometimes not freed correctly. (michi_cc) 16 years ago
frosch f2623e7c09 (svn r14130) -Fix (r13961) [FS#2248]: Clear the stuck state of a train that is reversing with the first vehicle inside a depot. (michi_cc) 16 years ago
frosch b03fcdf323 (svn r14129) -Fix (r13935) [FS#2247]: Signal state for PBS signals was not updated when cycling the signal side. Patch by michi_cc with a small addition from me. 16 years ago
belugas bb3c205e05 (svn r14127) -Feature(ette): Give the the player's colour to the waypoint window been shown 16 years ago
frosch 0e2736399e (svn r14126) -Codechange (r14125): Add some tabs. 16 years ago
frosch 447d0930f7 (svn r14125) -Fix [FS#2237]: Segfault when autoreplace failed very early.
Note: Proper indenting in next commit.
16 years ago
belugas f520a702e0 (svn r14123) -Codechange: a few magical number to sprite name conversions 16 years ago
translators 90176a547a (svn r14120) -Update: WebTranslator2 update to 2008-08-21 10:46:06
brazilian_portuguese - 33 fixed by tucalipe (33)
czech      - 1 fixed, 11 changed by Hadez (12)
dutch      - 4 fixed by habell (4)
estonian   - 25 fixed, 111 changed by kristjans (135), vermon (1)
french     - 3 fixed, 8 changed by glx (9), belugas (2)
galician   - 78 fixed by Condex (78)
german     - 13 fixed by dih (13)
korean     - 20 fixed, 1 changed by leejaeuk5 (21)
simplified_chinese - 51 fixed, 1 changed by ww9980 (52)
slovenian  - 54 fixed by Necrolyte (54)
ukrainian  - 3 fixed by mad (3)
16 years ago
belugas 8385653118 (svn r14119) -Fix(r14104): Forgot to make the gui disappear when the waypoint is deleted. Smatz pointing 16 years ago
belugas d3dd9c6566 (svn r14118) -Fix(r14104): typos creeping like bugs 16 years ago
frosch ff749ab09d (svn r14114) -Fix [FS#2242]: Sign list was not properly updated on removal of signs. 16 years ago
frosch f42fab0dec (svn r14113) -Codechange: Language updates for r14112. 16 years ago
frosch 7c5d237447 (svn r14112) -Fix (r13715)[FS#2232]: Action B custom messages with parameteers were broken. 16 years ago
frosch d43a475650 (svn r14111) -Fix (r2572): [strgen] Changing order of parameters {X:...} did not work for strings including some {StringY}. 16 years ago
glx ef0458c739 (svn r14110) -Fix: desyncs due to bubbles in toyland 16 years ago
smatz 5d5cb04297 (svn r14109) -Fix (r14107): marking reserved tile dirty is needed for waypoints and stations even when patch option is disabled 16 years ago
belugas 80ca96d469 (svn r14108) -Fix(r14104): Give a more consistent naming of the new gui file 16 years ago
smatz 999994bcf3 (svn r14107) -Codechange: marking reserved tile dirty twice (and even when patch option is off) is not needed 16 years ago
belugas 578833ef01 (svn r14106) -Fix(r14104): A string too much been commited 16 years ago
belugas f2f2bcf23c (svn r14105) -Fix: Some typos that are more grammatical errors, as it seems.
Provided by ln
I've added a little fix on currency.cpp too, why not :)
16 years ago
belugas 77ee099212 (svn r14104) -Feature: Add a window for waypoints, allowing to view all the trains having the selected waypoint in their orders.
Changing its name is also supported from the same new window.
Gui based on work done by Satyap, on FS#2025.
16 years ago
smatz bd6ef958e7 (svn r14103) -Fix [YAPP]: flooded trains didn't free their reservation 16 years ago
rubidium aa80c3a96c (svn r14102) -Fix [FS#1986]: make NewGRF action 0x06's changes persistent over the several loading stages. 16 years ago
rubidium c98c3122b5 (svn r14101) -Cleanup (r14083): leftover friend. 16 years ago
belugas 1500ed3665 (svn r14099) -Codechange: Welcome back, Celestar.
While at it, an alphabetic error been fixed
16 years ago
celestar 23a48b2815 (svn r14098) -Fix: Make the 'Transfer Credit' display aware of the entire consist, not only the first vehicle 16 years ago
rubidium 99efe9aaae (svn r14097) -Fix [FS#2085]: one couldn't get a list of vehicles sharing an order when the number of orders was 0; you could see that the vehicles had a shared order though. 16 years ago
rubidium abd9f74871 (svn r14096) -Codechange: merge the shared order's vehicle list management to a single location. 16 years ago
frosch ca3f1f6406 (svn r14095) -Fix (r14076): Trains shall not stop instantly. 16 years ago
glx fbd2db34e6 (svn r14094) -Revert (r14071): caused more problems than it solved 16 years ago
rubidium 2f5caa63f8 (svn r14093) -Fix [FS#2230]: don't flood a NewGRF industry when it implicitly tells that it wants to be build on water (land shape flags bit 5). 16 years ago
rubidium 2f7c20eccd (svn r14092) -Cleanup (r14083): dead code, i.e. unused function. 16 years ago
frosch 11a20379f3 (svn r14091) -Cleanup (r14083): Remove superfluous '#include's. 16 years ago
rubidium 3663965f3e (svn r14090) -Fix: the vehicle window of articulated road vehicles would show the clone/refit button when the vehicle was not completely stopped in the depot. 16 years ago
rubidium b6b9cd9d51 (svn r14089) -Fix [FS#2219]: trains not being able to find a route to a depot when the front is already in the depot. 16 years ago
rubidium 9648bf3019 (svn r14087) -Fix [FS#2228]: flawed parsing of words (as in 2 bytes) in GRF strings due to sign extension (minime) 16 years ago
smatz 25a1c59abb (svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work when a depot window was opened 16 years ago
frosch 9751fbe4dc (svn r14085) -Cleanup (r14083): Remove no longer used functions. 16 years ago
frosch f3e7b77dcb (svn r14084) -Codechange: Language updates for r14083. 16 years ago
frosch f7826f8a37 (svn r14083) -Fix [FS#1264, FS#2037, FS#2038, FS#2110]: Rewrite the autoreplace kernel. 16 years ago
frosch 56459cab81 (svn r14082) -Codechange: Make 'GetNextUnit()' more fool-proof wrt. real dualheads. 16 years ago
glx c10691faff (svn r14080) -Fix (r14052): assert triggered when drawing chat window with 32bpp-anim blitter (backup buffer was too small) 16 years ago
peter1138 9d0e1b635a (svn r14078) -Codechange: Rename *VehicleInfo::base_cost to cost_factor, indicating what it actually is. 16 years ago
frosch 844a83ed58 (svn r14076) -Codechange: Merge the four start/stop commands into a single CMD_START_STOP_VEHICLE. 16 years ago
rubidium 20ee6f1158 (svn r14071) -Fix [FS#2057]: the screen wouldn't be centered on Windows multimonitor systems if the first monitor is right of the second one. 16 years ago
rubidium d986380169 (svn r14069) -Fix: silence MSVC 64-bits compile warnings. 16 years ago
rubidium e5bdcfaf9e (svn r14068) -Fix (r14056): MSVC doesn't support typeof. 16 years ago
rubidium 2d94337e1a (svn r14064) -Fix [FS#1752]: check for the length of strings (in bytes) in the command. Checking for the length in pixels is impossible because that differs per client. 16 years ago
rubidium 97c184f8f8 (svn r14063) -Codechange: replace some "magic" constants with enumified constants. 16 years ago
rubidium 08e7da71f5 (svn r14062) -Fix [FS#2226]: division by 0 in newai. 16 years ago
belugas c773d33cc3 (svn r14061) -Codechange: constification and move a declaration more logically 16 years ago
belugas 931f16cfa8 (svn r14060) -Codechange: Replace numbers with Colours enum on Gen world gui.
Note that some WWT_TEXT widgets have received a COLOUR_x value.
It is not a valid colour a per say.  THe strings been displayed there do have their own colours encoded.
IT is currently just for the sake of ease of writing, as TextColour and Colours are not really related.
16 years ago
belugas 7564dbd32f (svn r14059) -Fix(r13872): Wrong comments in enum. Dear old copy/paste... 16 years ago
rubidium 0b9be84d46 (svn r14058) -Fix [FS#2224]: NewGRF callback 23 didn't use the NewGRF compatible text stack (minime) 16 years ago
rubidium d1073ba574 (svn r14057) -Fix: NewGRF text stack's "push word" didn't move the data around properly (minime) 16 years ago
rubidium fe87fa8205 (svn r14056) -Fix [FS#2192]: the console backlog is too small for list_patches. Now it'll only remove backlog items when there are more than a threshold and when they are there longer than (another) threshold. 16 years ago
rubidium 203b5eed27 (svn r14055) -Codechange: increase buffers for (dedicated) consoles as they couldn't use the full "extent" of the new chat message limit. 16 years ago