1
0
Fork 0
Commit Graph

14961 Commits (7ac18c0f22bcd62feede693be2617264eb5decf6)

Author SHA1 Message Date
rubidium 54a8e00a7e (svn r26126) -Cleanup: remove unneeded check for NULL 2013-11-26 14:52:28 +00:00
rubidium 982fcb7aab (svn r26125) -Fix: make sure the tile area's variables are always properly initialised 2013-11-26 14:47:45 +00:00
rubidium 5e3aa72855 (svn r26124) -Fix: make sure all members of the default string iterator are initialised 2013-11-26 13:42:09 +00:00
rubidium 02059ab4a7 (svn r26123) -Fix: make sure the maximum row length when making company buttons is at least 1 2013-11-26 13:27:34 +00:00
rubidium 79ccf48636 (svn r26122) -Fix-ish: remove essentially dead code; if nested_array were NULL there, it would segfault in RaiseWidget 2013-11-26 13:23:31 +00:00
rubidium 50fdf5e30c (svn r26121) -Codechange: add some asserts after dynamic casts to show they shouldn't return NULL ever 2013-11-26 13:21:25 +00:00
rubidium 945fccc706 (svn r26120) -Fix: [Script] Replace simple check with precondition check, after that simple check was documented as a precondition 2013-11-26 12:48:56 +00:00
rubidium 3b83a195ca (svn r26119) -Fix: ResolveCompanyID on an already resolved CompanyID 2013-11-26 12:46:21 +00:00
rubidium b12205697b (svn r26118) -Fix-ish?: comparing the old Direction to the possibly new state containing a TrackDir... well comparing apples and pears. Occasionally they would be the same and occasionally not; at least without any logic behind it.
Since the occasions that the false branch was taken never resulted in a bug report, I highly doubt that removing it completely affects anything... except the visual speed of cornering in a numer of corners (<50%) and visual speed in an old style road stop.
2013-11-26 12:04:16 +00:00
rubidium f669101560 (svn r26117) -Cleanup: unneeded NULL check 2013-11-26 10:00:15 +00:00
rubidium 04e97a0bec (svn r26116) -Codechange: validate that the number of lines in a graph is more than 0 2013-11-25 22:32:32 +00:00
rubidium 77e5b1e3b2 (svn r26115) -Fix: AfterLoadGame can throw an exception; from the old savegame load section this wouldn't be caught 2013-11-25 22:22:32 +00:00
rubidium d2ffba07bb (svn r26114) -Fix-ish: do our best to not get bit by getenv being unsafe as hell 2013-11-25 21:50:54 +00:00
rubidium 43f76dcabb (svn r26113) -Fix: unhandled seek error, and leaking file descriptor 2013-11-25 16:42:35 +00:00
rubidium ffb9279479 (svn r26112) -Fix: make sure a vehicle list is always initialised 2013-11-25 16:36:11 +00:00
rubidium b53da6a6f5 (svn r26111) -Fix: theoretical case where sprite table could be overread for aqueducts that start at flat land 2013-11-25 16:26:50 +00:00
rubidium c2ee87c1a9 (svn r26110) -Codechange: add guard for enterdir being valid in signal code 2013-11-25 16:22:29 +00:00
rubidium 00264cc708 (svn r26109) -Fix: missing initialisation 2013-11-25 14:34:09 +00:00
rubidium defda16eb6 (svn r26108) -Codechange: some coding style (whitespace) 2013-11-25 14:30:22 +00:00
rubidium 6996b441d9 (svn r26107) -Codechange/cleanup: remove some coding bloat and simplify the driver factory instatiations 2013-11-25 14:26:46 +00:00
rubidium a399fc667c (svn r26106) -Codechange: document fall through explicitly 2013-11-25 13:28:08 +00:00
rubidium 4b8d9aad5b (svn r26105) -Codechange: add a lot of assertions to track/road functions that might eventually lead to become indices into tables 2013-11-25 13:16:06 +00:00
rubidium c143ca729a (svn r26104) -Fix: do not attempt to do stuff with an invalid direction, especially using it as index into a table 2013-11-25 13:13:35 +00:00
rubidium f817b06c18 (svn r26103) -Fix: prevent odd overflows due to integer promotion 2013-11-25 13:06:33 +00:00
rubidium e106e54f9f (svn r26102) -Fix: m_veh is not NULL by definition when IsRoadTT is true 2013-11-25 11:11:56 +00:00
rubidium 18beaac571 (svn r26101) -Fix: NULL pointer dereference when one can't allocate an order list but wants to make implicit orders 2013-11-25 11:08:21 +00:00
rubidium 573f6dcd34 (svn r26100) -Fix: possible buffer overflow in console handling of aliases 2013-11-25 10:13:59 +00:00
rubidium 2009da4f7d (svn r26099) -Codechange: make NewGRF scanner management slightly easier 2013-11-25 09:22:56 +00:00
rubidium 43edd2409e (svn r26098) -Fix: close the log file when OpenTTD was forked and finally closed 2013-11-25 09:20:35 +00:00
rubidium ee0aa389a8 (svn r26097) -Fix: another minor memory leak (when pressing cancel in the bootstrap window) 2013-11-25 09:12:49 +00:00
rubidium 0460b78515 (svn r26093) -Fix (r26092): compilation error 2013-11-24 19:53:35 +00:00
rubidium 168fa4129d (svn r26092) -Fix [FS#5818]: prevent scripts from crashing OpenTTD when they send text with command codes to user editable texts such as sign and station names 2013-11-24 19:46:16 +00:00
rubidium 4de2871fc0 (svn r26091) -Fix (r26089): double frees... woospie 2013-11-24 16:21:19 +00:00
rubidium c54a70cce8 (svn r26090) -Fix: leaking of file descriptor when reading strings for game texts 2013-11-24 15:25:41 +00:00
rubidium 0ac9ed0b6b (svn r26089) -Fix: a number of minor memory leaks 2013-11-24 15:21:38 +00:00
rubidium 2fc10b7e04 (svn r26088) -Fix (r26086): Windows compilation 2013-11-24 15:17:53 +00:00
rubidium 3eecd246eb (svn r26087) -Fix: file descriptor leak when finding a corrupt tar 2013-11-24 15:02:05 +00:00
rubidium 83eeba28b7 (svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for dropdowns 2013-11-24 14:46:26 +00:00
frosch db894b0b3f (svn r26085) -Codechange: Pass ResolverObjects as reference instead of pointer since they are never NULL. 2013-11-24 14:41:19 +00:00
rubidium 45a5aba8d5 (svn r26084) -Fix: don't allow executing the palette toggling code when it's not editable 2013-11-24 14:34:33 +00:00
rubidium 58c356e935 (svn r26083) -Codechange: pass the CommandContainer for the station joiner around using a reference instead of by-value 2013-11-24 14:29:32 +00:00
rubidium b75e60124d (svn r26082) -Fix [FS#5816] (r26077): tar files with more than one file in the root directory would not be read properly (zydeco) 2013-11-24 13:00:06 +00:00
rubidium 6fb28d8719 (svn r26081) -Fix [FS#5815]: memset with virtual functions doesn't quite work. Upon further review CompanyProperties doesn't need to be virtual in the current code base 2013-11-24 09:52:35 +00:00
rubidium a8e8f606d8 (svn r26080) -Fix: possible out of bounds array access 2013-11-24 09:30:30 +00:00
rubidium 5e2d22da79 (svn r26077) -Codechange: handle strings like strings when scanning a tar instead of merely blobs of memory 2013-11-23 21:42:45 +00:00
rubidium 5049e938f5 (svn r26076) -Codechange: upgrade some C-style named structs to C++-style named structs 2013-11-23 21:31:00 +00:00
translators 2f51639af8 (svn r26074) -Update from WebTranslator v3.0:
afrikaans - 3 changes by mulderpf
2013-11-23 18:45:10 +00:00
rubidium d336bf65df (svn r26073) -Cleanup: unneeded check against NULL 2013-11-23 18:13:46 +00:00
rubidium be6b64f4e6 (svn r26072) -Cleanup: mark some unreachable default cases by NOT_REACHED() 2013-11-23 18:13:30 +00:00
rubidium 729d64d8d9 (svn r26071) -Fix: always initialise GRFFileProps 2013-11-23 18:11:22 +00:00
rubidium 1b9e32664f (svn r26070) -Fix: prevent extremely huge size for data (1+GiB) 2013-11-23 18:11:01 +00:00
rubidium cf130ce9d8 (svn r26069) -Fix: missing break in NewGRF object handling 2013-11-23 18:10:06 +00:00
rubidium 9e216a688f (svn r26068) -Fix: unneeded NULL check 2013-11-23 18:08:48 +00:00
rubidium c035a9531b (svn r26067) -Fix: possible NULL dereference when getting NewGRF version 2013-11-23 18:08:15 +00:00
rubidium d18852170b (svn r26066) -Fix: possible NULL dereference when resolving industry scope 2013-11-23 18:07:11 +00:00
rubidium c29f18f357 (svn r26065) -Fix: possible dereference of NULL for texts from game scripts 2013-11-23 18:06:27 +00:00
rubidium d9ee35006d (svn r26064) -Fix: possible uninitialised array when loading a broken TT-ish savegame 2013-11-23 18:06:00 +00:00
rubidium 3bae1522c9 (svn r26063) -Fix (r26062): a few tabs too much 2013-11-23 13:24:31 +00:00
rubidium 3b2a92ea97 (svn r26062) -Fix: beef up checks against invalid data in highscore and language files 2013-11-23 13:18:29 +00:00
rubidium 78a316d349 (svn r26061) -Fix: negative result of ftell wasn't handled correctly in some cases 2013-11-23 13:17:45 +00:00
rubidium 29ef70c246 (svn r26060) -Fix: do not let depend overrun its buffers when paths are extremely (and unlikely) long 2013-11-23 13:16:45 +00:00
rubidium ba1b35a0ac (svn r26059) -Fix (r20435): missed one instance causing to compare an array to NULL instead of an array's element 2013-11-23 13:16:05 +00:00
rubidium 0e9c992104 (svn r26058) -Fix: handle the return value of a number of functions better 2013-11-23 13:15:07 +00:00
rubidium b3e93d6520 (svn r26057) -Fix: a number of possibly uninitialised variables 2013-11-23 13:12:19 +00:00
rubidium 2e54c8fdfa (svn r26056) -Fix: a number of possibly uninitialised variables 2013-11-22 21:50:43 +00:00
rubidium bdd62a4b3e (svn r26055) -Codechange: mark switch default as really not triggerable, as technically it's dead code 2013-11-22 21:47:03 +00:00
rubidium 0eaa8fbfcd (svn r26054) -Fix: minor memory leak in strgen 2013-11-22 21:45:57 +00:00
rubidium 3362606401 (svn r26053) -Fix: possible use-after-free 2013-11-22 21:45:28 +00:00
rubidium 83a76c73c7 (svn r26052) -Fix: missing virtual destructor could cause some memory to be not freed 2013-11-22 21:44:51 +00:00
rubidium 8e27031492 (svn r26051) -Fix: out of bounds access in CmdTownCargoGoal 2013-11-22 21:44:23 +00:00
rubidium 6f21593bf6 (svn r26050) -Fix: possible, but currently untriggered, out of bounds access in strgen 2013-11-22 21:43:47 +00:00
rubidium 1b924f194f (svn r26049) -Codechange: remove some dead code as order can't be NULL there 2013-11-22 21:42:47 +00:00
rubidium 830a49692d (svn r26048) -Fix: use delete instead of free when allocated by new 2013-11-22 21:42:20 +00:00
rubidium ed4e14dc20 (svn r26047) -Fix: possible, but very unlikely, null pointer dereference when gunziping just downloaded files 2013-11-22 21:41:49 +00:00
rubidium fad4fa09ba (svn r26046) -Fix: handle a number of failure conditions from methods called in the network code 2013-11-22 21:41:19 +00:00
translators b37d402b2d (svn r26045) -Update from WebTranslator v3.0:
norwegian_bokmal - 2 changes by Trond
swedish - 3 changes by abbedabb
2013-11-22 18:45:13 +00:00
translators b568de6c49 (svn r26044) -Update from WebTranslator v3.0:
norwegian_bokmal - 4 changes by Trond
2013-11-21 18:45:08 +00:00
rubidium 1a043202d1 (svn r26043) -Fix [FS#5811]: occasional hanging when client joins 2013-11-21 18:35:31 +00:00
translators ae7b830964 (svn r26042) -Update from WebTranslator v3.0:
japanese - 3 changes by nex259
luxembourgish - 1 changes by Phreeze
2013-11-20 18:45:12 +00:00
fonsinchen 8852d63711 (svn r26041) -Fix: make variable initialization more obvious for humans and compilers. 2013-11-19 19:43:56 +00:00
fonsinchen 29d0c68bb0 (svn r26040) -Fix: return 0 from unreached part of function to silence some compilers 2013-11-19 19:42:40 +00:00
translators 65752ec55b (svn r26039) -Update from WebTranslator v3.0:
belarusian - 139 changes by KorneySan
croatian - 1 changes by VoyagerOne
korean - 2 changes by telk5093
turkish - 15 changes by wakeup
2013-11-19 18:45:22 +00:00
frosch 78d0c37298 (svn r26038) -Fix: Doxygen syntax. 2013-11-18 20:09:09 +00:00
rubidium 5b3d3b7240 (svn r26037) -Fix (r26036): there was a reason they weren't references... 2013-11-18 19:47:43 +00:00
rubidium a36fb735c0 (svn r26036) -Fix [FS#5809]: multi line text was handled incorrectly causing glitches 2013-11-18 19:35:06 +00:00
translators 88216aa520 (svn r26035) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
catalan - 1 changes by juanjo
dutch - 1 changes by habell
french - 28 changes by glx
german - 1 changes by planetmaker
norwegian_bokmal - 7 changes by Trond
spanish - 2 changes by Terkhen
2013-11-18 18:45:49 +00:00
translators baf0a2b3d6 (svn r26030) -Update from WebTranslator v3.0:
italian - 1 changes by lorenzodv
japanese - 3 changes by nex259
lithuanian - 1 changes by Stabilitronas
norwegian_bokmal - 14 changes by Trond, cuthbert
2013-11-17 17:27:49 +00:00
michi_cc b0b20192a9 (svn r26029) -Fix (r26017): The internal index of a character in the layout line depends on the used layouter. 2013-11-17 17:08:20 +00:00
frosch ec4806a82d (svn r26027) -Change [FS#5669-ish]: [NewGRF] Invalidate vehicle colour palette when leaving a station. 2013-11-17 16:02:39 +00:00
frosch 8fbd2f5cb5 (svn r26026) -Fix (r25648) [FS#5775-ish]: Invalidate vehicle colour palette again when rearranging consist, reversing, ... 2013-11-17 16:01:50 +00:00
michi_cc 2708aff853 (svn r26023) -Fix [FS#5805] (r25686): [OSX] Checking for a valid NSTextInputContext is supposed to fail on 10.4 according to docs, but somehow didn't, leading to a crash when an edit box lost focus. 2013-11-17 12:05:40 +00:00
rubidium 4c5ccc8b94 (svn r26018) -Codechange: since there's a wrapper for ICU functions now, we can use proper coding style for names again 2013-11-16 21:05:26 +00:00
rubidium ddc0026712 (svn r26017) -Change: allow the fallback and ICU layouter to exist in unison
-Fix [FS#5711]: crash when the ICU layouter thinks a font is corrupted
2013-11-16 20:57:54 +00:00
rubidium 6449e96f1a (svn r26016) -Codechange: prepare for some class renames 2013-11-16 20:32:55 +00:00
rubidium b9e4697d8a (svn r26015) -Codechange: some constificaton 2013-11-16 19:59:06 +00:00
translators 16ecd533f3 (svn r26014) -Update from WebTranslator v3.0:
english_US - 1 changes by Rubidium
finnish - 1 changes by jpx_
polish - 1 changes by wojteks86
romanian - 15 changes by tonny
russian - 2 changes by Lone_Wolf
slovak - 4 changes by Milsa
swedish - 1 changes by Joel_A
2013-11-16 18:45:43 +00:00
fonsinchen e6668f24b5 (svn r26013) -Revert (r25495) [FS#5684]: Having trains miss a platform that is just being modified is less of a problem than having trains stop twice without moving. 2013-11-16 17:52:00 +00:00
zuu 6fc653d2d7 (svn r26012) -Add: new goal type that show a story page when clicked 2013-11-16 17:41:57 +00:00
zuu 41b07b571d (svn r26010) -Document [FS#5662]: The AI/GS library name to use in Import, is not the name given by GetName but GetInstanceName 2013-11-16 12:33:45 +00:00
rubidium 3b9f92e14c (svn r26009) -Fix: warning about conditional expression with enumeral with non-enumeral type 2013-11-16 10:05:57 +00:00
rubidium b934e528d9 (svn r26008) -Fix (r25975): uninitialised warning 2013-11-16 10:04:10 +00:00
rubidium a25ecfd982 (svn r26007) -Change: make handling strings coming from game scripts slightly more lenient, i.e. less 'fatal error... must quit' 2013-11-16 09:54:22 +00:00
rubidium d7af679fd6 (svn r26006) -Fix [FS#5804]: Game script showing vehicle on a story book, then the vehicle being removed and eventually being replaced by a non-user vehicle (most likely smoke) causing an assertion to trigger 2013-11-16 09:49:13 +00:00
rubidium 18a3a569fb (svn r26005) -Fix [FS#5478]: crash when transferring savegame from server to client 2013-11-15 22:22:01 +00:00
translators c98c41e007 (svn r26004) -Update from WebTranslator v3.0:
romanian - 30 changes by tonny
swedish - 1 changes by Joel_A
2013-11-15 18:45:13 +00:00
michi_cc a985f19d5a (svn r26003) -Fix [FS#5795b] (r25743): [OSX] Some hotkeys were still triggered during text input. 2013-11-14 23:04:04 +00:00
michi_cc 8f8173c3fe (svn r26002) -Fix: [OSX] If the console hotkey is a dead key, require two presses to toggle the console, allowing input of accented characters. 2013-11-14 23:03:59 +00:00
michi_cc 8ceef6ec61 (svn r26001) -Fix [FS#5795a] (r25686): [OSX] Clear any pending marked characters from an edit box losing focus. 2013-11-14 23:03:54 +00:00
zuu a31b46ba84 (svn r26000) -Add: Optional filter parameter to the 'content state' console command, to limit the content list to only content where the name match the filter 2013-11-14 22:50:16 +00:00
zuu 9088972738 (svn r25999) -Add: When calling the 'content select' console command without args, display all selected content 2013-11-14 22:48:03 +00:00
rubidium c40f281545 (svn r25997) -Codechange: make it slightly more clear what ports are coming from where in the debug output when listening 2013-11-14 19:31:10 +00:00
translators 079b2643de (svn r25996) -Update from WebTranslator v3.0:
norwegian_bokmal - 3 changes by Trond
romanian - 86 changes by tonny
2013-11-14 18:45:15 +00:00
frosch e044bd8a73 (svn r25995) -Fix (r25785) [FS#5801]: [NoGo] GS failed to rename towns. (Zydeco) 2013-11-14 18:04:31 +00:00
rubidium ee137a5ced (svn r25975) -Feature [FS#5385]: XDG base directory support 2013-11-13 19:32:37 +00:00
rubidium def597fe31 (svn r25974) -Codechange: make the _personal_dir global const, since once it's set it shouldn't be changed anyhow 2013-11-13 18:57:25 +00:00
rubidium 63e0ff048e (svn r25973) -Fix [FS#5679]: comma key collided with F12 key for hotkeys; also remove '+' as that is generally not a key (the '+' on the numpad is a separate one) 2013-11-13 15:54:44 +00:00
rubidium 116adbc0e1 (svn r25972) -Fix [FS#5665]: rail laying sounds of others could be heard in multiplayer (adf88) 2013-11-12 21:48:55 +00:00
translators 5edda0149a (svn r25971) -Update from WebTranslator v3.0:
dutch - 4 changes by habell
vietnamese - 1 changes by nglekhoi
2013-11-12 18:45:15 +00:00
rubidium 52883db91b (svn r25970) -Fix [FS#5787]: [SDL] Recursive mutex locking when changing blitter 2013-11-12 18:31:12 +00:00
frosch 17eb3ee9df (svn r25969) -Add: [Script] ScriptTown::GetFundBuildingsDuration. 2013-11-12 17:57:32 +00:00
frosch 9a41aefcc4 (svn r25968) -Add: [Script] ScriptTown::TOWN_GROWTH_NONE to indicate no town growth via ScriptTown::SetGrowthRate and GetGrowthRate. 2013-11-12 17:57:12 +00:00
frosch b1f41a0afb (svn r25967) -Add: [NoGo] GSTown::TOWN_GROWTH_NORMAL to reset a town growth rate set previously via GSTown::SetGrowthRate. 2013-11-12 17:56:35 +00:00
frosch 41184fb871 (svn r25966) -Fix: [NoGo] Properly validate the range of the growth rate passed to GSTown::SetGrowthRate, instead of masking it to 16 bit. 2013-11-12 15:15:02 +00:00
rubidium be4355edd3 (svn r25965) -Fix [FS#5800]: the wrong vehicle would be taken in a shared order vehicle list window when the ID >= 65536, causing assertions triggering later on 2013-11-11 18:58:15 +00:00
translators f7276876de (svn r25964) -Update from WebTranslator v3.0:
catalan - 2 changes by juanjo
2013-11-10 18:45:10 +00:00
fonsinchen 962d6d7e48 (svn r25963) -Fix [FS#5758]: Mixtures of old and new flows could create cycles. 2013-11-10 15:18:49 +00:00
michi_cc 9b68e4f864 (svn r25962) -Fix (r25951): [OSX] Do the SDK version test the proper way 'round. 2013-11-09 14:47:03 +00:00
rubidium ca7dce1fc2 (svn r25961) -Fix [FS#5779]: [NewGRF] A powered rail type implies it is compatible as well, but some NewGRF didn't state that causing the path reservation code to bail out in some cases because there wasn't a compatible path 2013-11-09 10:45:05 +00:00
rubidium 85d4f8d65c (svn r25959) -Fix: clang warnings; either because type safety was assumed, or because technically the wrong value was tested 2013-11-09 06:52:08 +00:00
rubidium 14b8f6e594 (svn r25958) -Fix: overriding method of DrawLine was not updated when parameters were added making it non-functional 2013-11-09 06:48:15 +00:00
rubidium c04d635ddb (svn r25956) -Fix [FS#5772]: temporary persistent storage modifications, e.g. command tests or those from GUI, were not properly reset, creating the possibility of desyncs 2013-11-08 22:28:57 +00:00
rubidium 169bf3a403 (svn r25955) -Fix [FS#5723]: Train's "force proceed" status gets reset when the track on the other side of the tile has a signal (adf88) 2013-11-08 22:24:21 +00:00
rubidium 1ffcdbd515 (svn r25954) -Fix [FS#5731]: All semaphores got converted to electric signals when loading savegames from v15 to v20 (adf88) 2013-11-08 21:27:56 +00:00
rubidium a7fd0f8f5d (svn r25953) -Fix [FS#5732]: Wrong bits used when converting signal types/variants while loading savegames older than v64 (adf88) 2013-11-08 21:25:35 +00:00
rubidium cdd6752ead (svn r25952) -Fix [FS#5719]: do not skip numbers when skipping spaces and other sorting 'improving' characters 2013-11-08 21:15:20 +00:00
michi_cc a41b8c851d (svn r25951) -Fix [FS#5797]: [OSX] Disable the old fullscreen sub-driver when compiling with SDK versions 10.9+. 2013-11-08 20:18:31 +00:00
michi_cc a298a62098 (svn r25950) -Codechange: [OSX] Move some functions used by all video sub-drivers into the common source file. 2013-11-08 20:18:27 +00:00
rubidium 2df78944b9 (svn r25949) -Fix [FS#5683]: text direction forcing characters were not filtered out, but shown as ? when ICU was not used for layouting. These are included in chat and console messages to force them to be displayed right 2013-11-08 19:13:32 +00:00
fonsinchen f6fd21e8e6 (svn r25948) -Fix [FS#5796]: Make sure LinkRefresher doesn't delete the LinkGraph DeleteStaleLinks() is examining. 2013-11-07 20:50:03 +00:00
translators fbceb10ff5 (svn r25947) -Update from WebTranslator v3.0:
japanese - 2 changes by nex259
latvian - 26 changes by Parastais
swedish - 2 changes by Joel_A
2013-11-07 18:45:17 +00:00
frosch 0aae2fd606 (svn r25946) -Add: [NewGRF Debuggnig] Inspecting other vehicles in a chain. 2013-11-07 18:17:21 +00:00
frosch b0c2ab4501 (svn r25945) -Codechange: Use member function of NewGRFInspectWindow to resolve FeatureIndex. 2013-11-07 18:15:32 +00:00
translators f95fa79041 (svn r25944) -Update from WebTranslator v3.0:
latvian - 5 changes by Parastais
swedish - 2 changes by Joel_A
2013-11-06 18:45:14 +00:00
frosch df10f7b9f9 (svn r25943) -Fix: NewGRF inspect window in RTL mode. 2013-11-06 15:10:17 +00:00
translators cbcbcef1a0 (svn r25942) -Update from WebTranslator v3.0:
latvian - 23 changes by Parastais
2013-11-05 18:45:08 +00:00
translators 6a637f7bbb (svn r25939) -Update from WebTranslator v3.0:
japanese - 1 changes by guppy
latvian - 15 changes by Parastais
2013-11-04 18:45:15 +00:00
planetmaker 86a658ca21 (svn r25938) -Fix [FS#5798] (r25876): Don't mistake a lighthouse for a transmitter and vice versa 2013-11-04 17:59:58 +00:00
translators 673599941f (svn r25937) -Update from WebTranslator v3.0:
simplified_chinese - 3 changes by siu238X
traditional_chinese - 8 changes by siu238X
greek - 9 changes by Evropi
2013-11-03 18:45:19 +00:00
translators 103ed39d1b (svn r25936) -Update from WebTranslator v3.0:
korean - 1 changes by telk5093
2013-11-02 18:45:08 +00:00
translators 134107b19f (svn r25935) -Update from WebTranslator v3.0:
polish - 1 changes by wojteks86
2013-11-01 18:45:09 +00:00
frosch 2a16d139a2 (svn r25934) -Fix [FS#5793]: Do not access items from other pools in pool item destructors during pool cleaning. 2013-10-31 20:31:10 +00:00
translators 3a1fbc091e (svn r25933) -Update from WebTranslator v3.0:
swedish - 13 changes by Joel_A
2013-10-31 18:45:10 +00:00
translators aa4a4911d3 (svn r25932) -Update from WebTranslator v3.0:
swedish - 33 changes by Joel_A
2013-10-30 18:45:11 +00:00
frosch cef342d57c (svn r25931) -Fix [FS#5786-ish]: [NoGo] Preserve the relative town growth progress when changing the town growth rate. 2013-10-30 10:01:49 +00:00
translators 403168287e (svn r25930) -Update from WebTranslator v3.0:
english_US - 1 changes by Rubidium
italian - 1 changes by lorenzodv
2013-10-29 18:45:14 +00:00
frosch 56e5a80f5a (svn r25929) -Fix [FS#5733]: Position signal sprites size-aware in the signal GUI, that is: Center sprites horizontally, and align the vertical reference point at some baseline which centers the tallest sprite. 2013-10-28 13:39:18 +00:00
frosch 7351158b3c (svn r25928) -Fix [FS#5733]: Reserve enough space for two digits of signal density. (adf88) 2013-10-28 13:04:34 +00:00
frosch eaafbb00ed (svn r25927) -Fix [FS#5733]: Consider size of signal sprites for sizing the signal GUI. (based on patch by adf88) 2013-10-28 12:59:44 +00:00
frosch f0fbe7767d (svn r25926) -Change: capacious -> high-capacity. 2013-10-28 12:19:55 +00:00
frosch 0bc436fec9 (svn r25925) -Fix: Textfile content was clipped incorrectly and was drawn past the bottom end. (LordAro) 2013-10-28 12:15:44 +00:00
frosch a249db1374 (svn r25924) -Fix: [Script] Documentation for ScriptTown::GetGrowthRate. 2013-10-28 11:09:02 +00:00
frosch 28f6009509 (svn r25923) -Fix: [NoGo] Documentation for GSTown::SetGrowthRate 2013-10-28 11:03:13 +00:00
frosch 12b30103b1 (svn r25922) -Codechange: Rename TOWN_IS_FUNDED to TOWN_IS_GROWING. It is not tied to funding a town. 2013-10-28 10:55:34 +00:00
frosch 7480a00ce0 (svn r25921) -Fix [FS#5763]: Goal and progress columns were out of sync for company specific goals, if there were no global goals. 2013-10-28 10:41:57 +00:00
frosch 7fbe7895ef (svn r25920) -Fix: Story page content was clipped incorrectly and was drawn past the bottom end. 2013-10-28 10:40:52 +00:00
frosch 6872e8c63c (svn r25919) -Change [FS#5734]: Preselect the current replacement in the right-side list of the autoreplace GUI, instead of selecting the first resp. previous item. 2013-10-28 10:28:24 +00:00
frosch 2b8e66e3e3 (svn r25918) -Fix: Center the edit sign window like all query windows. (Juanjo) 2013-10-28 10:05:00 +00:00
translators e4a599424f (svn r25917) -Update from WebTranslator v3.0:
spanish - 1 changes by Terkhen
2013-10-27 17:45:08 +00:00
frosch 103b6fffbb (svn r25916) -Add: GUI sprite for the smallmap cargoflow button. (frosch, planetmaker, V453000) 2013-10-27 15:09:41 +00:00
fonsinchen 8926398f89 (svn r25915) -Fix: Unrestricted flow was counted incorrectly when invalidating flow. 2013-10-27 11:51:14 +00:00
translators 3ce2c4a5a3 (svn r25914) -Update from WebTranslator v3.0:
luxembourgish - 6 changes by Phreeze
2013-10-26 17:45:10 +00:00
michi_cc dce0951fdc (svn r25913) -Fix: [OSX] Compilation under OSX 10.9. (zydeco) 2013-10-26 17:20:48 +00:00
fonsinchen 1237e3c48c (svn r25912) -Fix [FS#5676]: Draw 'shared' links (involving neutral stations) as dashed lines and show them in every company's link graph overlay. 2013-10-23 19:42:17 +00:00
fonsinchen 89b7afbac8 (svn r25911) -Add: Support for drawing dashed lines. 2013-10-23 19:41:20 +00:00
fonsinchen f528d2c592 (svn r25910) -Fix: Guard against empty FlowStats in a few more places. 2013-10-23 19:04:06 +00:00
fonsinchen b5dd83e84f (svn r25909) -Fix (r25906): That simplification was a bit too much. 2013-10-23 17:11:34 +00:00
fonsinchen 6c4e7ab51d (svn r25908) -Fix: Some documentation for constructors of LinkRefresher::Hop. 2013-10-22 19:25:29 +00:00
fonsinchen fb7ad743d2 (svn r25906) -Fix: Simplify condition logic in link refresher. 2013-10-22 18:46:58 +00:00
fonsinchen a9f6a1eeb7 (svn r25905) -Codechange: A more robust way of detecting loops during order prediction. 2013-10-22 18:46:20 +00:00
fonsinchen d3fa322087 (svn r25904) -Fix: add forgotten files 2013-10-22 18:45:55 +00:00
fonsinchen 6e1cc80926 (svn r25903) -Codechange: Refactor RefreshNextHopsStats into an own class LinkRefresher. 2013-10-22 18:34:10 +00:00
translators e0f547e694 (svn r25902) -Update from WebTranslator v3.0:
croatian - 3 changes by VoyagerOne
polish - 10 changes by wojteks86
2013-10-22 17:45:18 +00:00
fonsinchen 2f9c48b859 (svn r25901) -Fix [FS#5675]: Check if any vehicles are still serving a link before deleting it. 2013-10-22 16:19:31 +00:00
fonsinchen bd230f34f4 (svn r25900) -Change [FS#5677]: Allow restricted flows to be picked for kept cargo. 2013-10-22 16:15:59 +00:00
fonsinchen 6524849386 (svn r25899) -Change: Restrict flows if links are restricted and don't normally pick them anymore. 2013-10-22 16:13:54 +00:00
fonsinchen 29e987f3fc (svn r25898) -Codechange: Add second timestamp for 'restricted links' to all edges. 2013-10-22 16:13:28 +00:00
fonsinchen ec2d36a4a4 (svn r25897) -Fix: Dates are int32, not uint32, and should be saved as such. 2013-10-22 16:12:08 +00:00
fonsinchen e99965aa15 (svn r25896) -Fix: Remove unused and unimplemented declaration of RunAverages. 2013-10-22 16:11:45 +00:00
translators 02e212a7fa (svn r25895) -Update from WebTranslator v3.0:
ukrainian - 3 changes by Strategy
2013-10-21 17:45:10 +00:00
planetmaker dc10b6c167 (svn r25894) -Change: Unify behaviour when clicking on different items in the goto dropdown list when giving orders (adf88) 2013-10-20 19:45:27 +00:00
fonsinchen fe550c2db3 (svn r25893) -Fix: Document RandomRange and change misleading parameter name 'max' in random functions. 2013-10-20 14:48:08 +00:00
fonsinchen 9337c561b0 (svn r25892) -Fix: off-by-one error in GetVia prevented certain flows from getting picked 2013-10-20 14:27:36 +00:00
fonsinchen 54db96be43 (svn r25891) -Feature: Use smallstack to allow for multiple next hops when loading and unloading. 2013-10-20 13:47:58 +00:00
fonsinchen dffc4d411e (svn r25890) -Codechange: define a smallstack for station IDs 2013-10-20 13:47:11 +00:00
fonsinchen 1ed478d433 (svn r25889) -Codechange: Add forgotten file. 2013-10-20 13:46:14 +00:00
fonsinchen e21ae34878 (svn r25887) -Fix: Ignore NULL pointers in delete operator of PoolItem. 2013-10-20 13:35:35 +00:00
translators a840efe7a0 (svn r25886) -Update from WebTranslator v3.0:
ukrainian - 17 changes by Strategy
2013-10-19 17:45:08 +00:00
fonsinchen b3b460cae2 (svn r25885) -Codechange: Keep paths sorted so that the ones with flow == 0 are in the back and don't have to be iterated over so often. 2013-10-19 17:15:19 +00:00
frosch c08259fe92 (svn r25884) -Fix: Resizing the window did not properly resize the viewport window, resulting in the link graph glitching. 2013-10-19 15:28:54 +00:00
fonsinchen 338d9861bc (svn r25883) -Fix: Limit recursion and branching in RefreshNextHopsStats more aggressively. 2013-10-19 13:17:06 +00:00
fonsinchen 8fff781ca0 (svn r25882) -Change [FS#5766]: Don't offer subsidies for auto-distributed cargo. 2013-10-19 11:17:29 +00:00
translators 79f4cd2b7a (svn r25881) -Update from WebTranslator v3.0:
turkish - 4 changes by wakeup
2013-10-18 17:45:07 +00:00
planetmaker 95b973ec6c (svn r25880) -Fix (r25875): Special rules for world generation needs be considered in one more place 2013-10-18 15:23:41 +00:00
planetmaker 70e4074a4c (svn r25879) -Change: Allow to remove unowned objects unless they have the 'unremovable' flag 2013-10-17 21:47:16 +00:00
planetmaker ed54d39201 (svn r25878) -Feature: [NewGRF] Object property 0x18 to allow specifying the number of objects of that type being placed upon map creation 2013-10-17 21:45:40 +00:00
planetmaker c29ec8edee (svn r25877) -Doc: A bit too much c&p in comment 2013-10-17 21:41:59 +00:00
planetmaker 8033162bb8 (svn r25876) -Codechange: Unify object placement during map creation 2013-10-17 21:41:17 +00:00
planetmaker 2ee9a2b5e7 (svn r25875) -Change: In scenario editor allow to build all objects which were available at any point in the past to support building scenarios with historic items 2013-10-17 21:37:25 +00:00
planetmaker 547b1fba45 (svn r25874) -Add: [NewGRF] NewObject property 0x10, bit 13 indicating that object amount scales with water content of map border (e.g. used for lighthouses) 2013-10-17 21:31:53 +00:00
planetmaker 88286d33ab (svn r25873) -Codechange: Add property for the amount of generated objects upon map creation to default objects 2013-10-17 21:27:08 +00:00
planetmaker 6f62458e3b (svn r25872) -Codechange: Add climate property to default objects 2013-10-17 21:26:04 +00:00
planetmaker 0bc86ff9ee (svn r25871) -Codechange: Move placement rules for lighthouses to its own function 2013-10-17 21:25:15 +00:00
planetmaker 0a481d5ea6 (svn r25870) -Codechange: Move placement rules for transmitter to its own function 2013-10-17 21:22:39 +00:00
translators 8ede002a96 (svn r25869) -Update from WebTranslator v3.0:
ukrainian - 1 changes by Strategy
2013-10-17 17:45:10 +00:00
planetmaker f5e408fa1c (svn r25868) -Fix (r25650): Initialization of default objects swapped costs and dates 2013-10-16 19:11:34 +00:00
fonsinchen 5ab204c8a1 (svn r25867) -Fix [FS#5764]: Shift dates on link graphs when using scenario editor date tool. 2013-10-15 17:32:31 +00:00
frosch a6fe1f2f63 (svn r25866) -Fix: Arabic 2013-10-13 20:12:11 +00:00
zuu cef1c47f18 (svn r25865) -Codechange: Refactor detecting of depot vehicle type of a tile to a new function, GetDepotVehicleType (cirdan, LordAro) 2013-10-13 20:11:05 +00:00
frosch 12ddbb7cb1 (svn r25864) -Fix: Use the actual sprite dimensions for sizing the dropdown arrow of dropdown widgets. 2013-10-13 19:18:30 +00:00
translators d9717c0b01 (svn r25863) -Update from WebTranslator v3.0:
arabic_egypt - 147 changes by abdXelrhman
german - 2 changes by planetmaker
japanese - 3 changes by guppy
polish - 2 changes by wojteks86
2013-10-13 17:45:46 +00:00
frosch ca18a4abef (svn r25862) -Fix [FS#5715] (r25729): Usage of implicit unsigned wrap around. (sbr) 2013-10-13 13:49:45 +00:00
frosch 27a77d2c09 (svn r25861) -Fix [FS#5760]: Scale linkgraph legend according to text dimensions. 2013-10-13 13:44:58 +00:00
frosch dcec8b9abd (svn r25860) -Fix [FS#5737] (r25570): When clearing font cache, also clear layout cache. (adf88) 2013-10-13 13:28:06 +00:00
planetmaker 122158b4d8 (svn r25859) -Add [FS#5784]: Hightlight active goto item in order list dropdown (adf88) 2013-10-13 11:06:58 +00:00
planetmaker 2609693fe8 (svn r25858) -Fix [FS#5783]: Goto button in order window was not always lowered when it should (adf88) 2013-10-13 11:06:05 +00:00
planetmaker 7ed5f6edf9 (svn r25857) -Codechange [FS#5783]: Add void goto type to indicate inactivity in order window (adf88) 2013-10-13 11:05:20 +00:00
planetmaker 5bf105d4f2 (svn r25856) -Codechange: Use Industry::TileBelongsToIndustry in one more place (cirdan, LordAro) 2013-10-13 11:04:20 +00:00
frosch 871519f75a (svn r25855) -Fix [FS#5788] (r25833): Obiwan messed up savegame conversion. 2013-10-13 10:51:58 +00:00
zuu 15ebb29447 (svn r25854) -Change: Display the cost to upgrade a bridge at the end of bridge that was clicked and not the other end, which could be outside of the screen in some cases (cirdan, LordAro) 2013-10-12 22:45:19 +00:00
zuu e50478c053 (svn r25853) -Codechange: Simplify SetupFarmFieldFence by replacing the Axis and north parameter with a direction parameter and taking adventage of the new unified SetFence function (cirdan, LordAro) 2013-10-12 22:28:38 +00:00
zuu fb5dc7762b (svn r25852) -Codechange: Merge GetFenceXX/SetFenceXX into one common GetFonce/SetFence for all directions that take an extra direction parameter (cirdan, LordAro) 2013-10-12 22:23:43 +00:00
zuu a42f223b2b (svn r25851) -Codechange: Avoid recalculations in DrawClearLandFence (cirdan, LordAro) 2013-10-12 22:21:21 +00:00
zuu e7c6786016 (svn r25850) -Codechange: Merge IsBadFarmFieldTile and IsValidFarmFieldTile into IsSuitableForFarmField (cirdan, LordAro) 2013-10-12 22:17:11 +00:00
zuu dfb5663313 (svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope information for situations when we only want to know if a tile is flat or not (cirdan, LordAro) 2013-10-12 22:07:58 +00:00
zuu b35b8aa5bb (svn r25848) -Codechange: Refactor check for if a tile is not an edge tile to new IsInnerTile method (cirdan, LordAro) 2013-10-12 22:03:13 +00:00
zuu d908897918 (svn r25847) -Fix: Comment for GetFoundationSlope was wrong (cirdan, LordAro) 2013-10-12 22:01:21 +00:00
translators 7d10302f35 (svn r25846) -Update from WebTranslator v3.0:
english_US - 4 changes by Supercheese
greek - 31 changes by Evropi
spanish - 3 changes by Terkhen
2013-10-12 17:45:37 +00:00
planetmaker 189dd2dcce (svn r25845) -Add [FS#5756]: [Admin] Send info on bankruptcy quarters also in ADMIN_PACKET_SERVER_COMPANY_INFO (zydeco) 2013-10-12 17:03:15 +00:00
frosch 69a0c91d63 (svn r25844) -Change: Increase maximum number of object instances on the map from 64k to about 16M. 2013-10-12 16:35:50 +00:00
frosch 29f5eab56c (svn r25843) -Codechange: Rename MAX_SPECLIST to NUM_STATIONSSPECS_PER_STATION. 2013-10-12 16:35:32 +00:00
frosch 1b6ceef086 (svn r25842) -Codechange: Rename MAX_STATIONS to NUM_STATIONS_PER_GRF. 2013-10-12 16:35:18 +00:00
frosch 48d22700ad (svn r25841) -Codechange: Use NUM_AIRPORTTILES_PER_GRF instead of NUM_AIRPORTTILES to properly distinguish limits per NewGRF and limits of the pool.
-Change: [NewGRF] Lower the limit of airport tile types per NewGRF from 256 to 255 to prevent usage of ID 0xFF in Action3, and thus allowing it to become an extended byte somewhen.
2013-10-12 16:34:59 +00:00
frosch a92b698525 (svn r25840) -Codechange: Use NUM_AIRPORTS_PER_GRF instead of NUM_AIRPORTS to properly distinguish limits per NewGRF and limits of the pool. 2013-10-12 16:34:23 +00:00
frosch cfaa9457a6 (svn r25839) -Codechange: Use NUM_HOUSES_PER_GRF instead of NUM_HOUSES to properly distinguish limits per NewGRF and limits of the pool.
-Change: [NewGRF] Lower the limit of house types per NewGRF from 256 to 255 to prevent usage of ID 0xFF in Action3, and thus allowing it to become an extended byte somewhen.
2013-10-12 16:34:04 +00:00
frosch 6a0439a789 (svn r25838) -Codechange: Rename HOUSE_MAX to NUM_HOUSES. 2013-10-12 16:33:19 +00:00
frosch ad8b387f9e (svn r25837) -Codechange: Use NUM_INDUSTRYTILES_PER_GRF instead of NUM_INDUSTRYTILES to properly distinguish limits per NewGRF and limits of the pool.
-Change: [NewGRF] Lower the limit of industry tile types per NewGRF from 256 to 255 to prevent usage of ID 0xFF in Action3, and thus allowing it to become an extended byte somewhen.
2013-10-12 16:32:59 +00:00
frosch a521af8cf8 (svn r25836) -Codechange: Use NUM_INDUSTRYTYPES_PER_GRF instead of NUM_INDUSTRYTYPES to properly distinguish limits per NewGRF and limits of the pool. 2013-10-12 16:32:16 +00:00
frosch ac599625da (svn r25835) -Change: Increase the total number of object types from 256 to 64000. 2013-10-12 16:31:55 +00:00
frosch 60f483822f (svn r25834) -Codechange: Use NUM_OBJECTS_PER_GRF instead of NUM_OBJECTS to properly distinguish limits per NewGRF and limits of the pool.
-Change: [NewGRF] Lower the limit of object types per NewGRF from 256 to 255 to prevent usage of ID 0xFF in Action3, and thus allowing it to become an extended byte somewhen.
2013-10-12 16:31:31 +00:00
frosch 35d7e8bca4 (svn r25833) -Codechange: Move ObjectType from map array into pool item. 2013-10-12 16:30:42 +00:00