Commit Graph

7331 Commits

Author SHA1 Message Date
alberth
116c77c342 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 2009-09-19 11:31:12 +00:00
rubidium
9d7fe9bd86 (svn r17571) -Fix [FS#3213] (r17569): town view didn't show the right town in most of the cases 2009-09-19 10:19:15 +00:00
rubidium
e8ddf001c8 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 2009-09-19 09:51:14 +00:00
alberth
fa33b92b0f (svn r17569) -Codechange: Town view window runs with nested widgets. 2009-09-18 19:59:05 +00:00
translators
340c138e83 (svn r17568) -Update from WebTranslator v3.0:
romanian - 28 changes by kkmic
russian - 7 changes by Lone_Wolf
vietnamese - 53 changes by nglekhoi
2009-09-18 17:45:12 +00:00
rubidium
04d5b67eb6 (svn r17567) -Fix: some doxygen warnings 2009-09-18 14:23:58 +00:00
rubidium
e5755bd950 (svn r17566) -Fix: ai_basestation.hpp.sq linked to the wrong header; it did work though 2009-09-18 14:23:39 +00:00
rubidium
5557d2a224 (svn r17563) -Fix: memory leak when viewing the NewGRF settings of a server 2009-09-17 21:45:47 +00:00
rubidium
55c0109ee0 (svn r17562) -Fix [FS#2972]: the NewGRF settings of (remote) network games did not get properly updated when the NewGRFs were rescanned causing reading of freed data 2009-09-17 21:14:16 +00:00
smatz
1858fef92f (svn r17561) -Fix: diacritics was missing at few places 2009-09-17 18:56:31 +00:00
translators
e6f3dc777f (svn r17560) -Update from WebTranslator v3.0:
finnish - 94 changes by Tve4
german - 1 changes by dihedral
latvian - 3 changes by LDZ
turkish - 3 changes by niw3
vietnamese - 48 changes by nglekhoi
2009-09-17 17:45:18 +00:00
rubidium
1f1161f10d (svn r17559) -Fix [FS#3206]: close the "Add NewGRF" window when you close the "NewGRF Settings" window. The add window has a pointer to the settings which means that not deleting it would cause dereferencing an already freed pointer 2009-09-17 12:34:00 +00:00
rubidium
430ce19418 (svn r17558) -Feature [NewGRF]: callbacks for houses to disable drawing foundations and to disable slope changes, like industry tile callbacks 30 and 3C. 2009-09-16 19:10:50 +00:00
alberth
24e9ee8ab4 (svn r17557) -Codechange: Pass left and right edge to DrawOrderString(). 2009-09-16 19:00:53 +00:00
translators
5fe3097a6b (svn r17555) -Update from WebTranslator v3.0:
czech - 4 changes by SmatZ
hebrew - 47 changes by dnd_man
italian - 1 changes by lorenzodv
russian - 3 changes by Lone_Wolf
vietnamese - 71 changes by nglekhoi
2009-09-16 17:45:17 +00:00
rubidium
962598451b (svn r17553) -Update: some documentation about the callbacks 2009-09-16 10:10:12 +00:00
rubidium
af457fc9fe (svn r17552) -Codechange: rename load_unload_time_rem to something more generic as it's used for more than just load/unload. Also add some documentation about where it is used. 2009-09-15 20:58:44 +00:00
rubidium
e9ae22d2c5 (svn r17551) -Fix [FS#3201] (r17222): vehicles waiting for their time table didn't load anymore after their initial load was completed 2009-09-15 20:13:47 +00:00
frosch
28f759f905 (svn r17550) -Fix (r8973): Aircraft are good enough, don't make them even better. 2009-09-15 19:56:41 +00:00
frosch
c254021af4 (svn r17549) -Fix (r17128): Distance limit for town to town subsidies got lost. 2009-09-15 18:47:42 +00:00
translators
142089b3f5 (svn r17548) -Update from WebTranslator v3.0:
catalan - 2 changes by arnau
simplified_chinese - 1 changes by Gavin
english_US - 1 changes by agenthh
french - 1 changes by glx
greek - 17 changes by fumantsu
hebrew - 55 changes by dnd_man
indonesian - 1 changes by prof
russian - 26 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 2 changes by Terkhen
vietnamese - 138 changes by nglekhoi
2009-09-15 17:45:35 +00:00
rubidium
23252c99bb (svn r17547) -Feature: [NewGRF] Implement callback 145 (custom station rating) 2009-09-15 17:24:18 +00:00
rubidium
ac36433b52 (svn r17546) -Fix (r9617): sign extending of profit calculation didn't work 2009-09-15 17:23:24 +00:00
rubidium
f2487381ce (svn r17545) -Fix [FS#3202]: [NoAI] AIs had 'infinite' time when running code from the global scope 2009-09-15 16:18:10 +00:00
rubidium
227824f753 (svn r17544) -Fix [FS#3202]: [NoAI] Crash when doing commands in the 'global' scope 2009-09-15 16:16:28 +00:00
rubidium
4dfef325ce (svn r17543) -Fix [FS#3200]: allegro's sound output was worse than excepted 2009-09-14 22:48:34 +00:00
yexo
5ef54ed4f9 (svn r17542) -Fix: don't access variables in the company struct after it has been deleted
-Cleanup: remove some never-used code
2009-09-14 22:09:50 +00:00
frosch
2d9c54c9a8 (svn r17541) -Feature: Filtering in Add-NewGRF dialog. 2009-09-14 20:59:46 +00:00
smatz
95dd198053 (svn r17540) -Codechange: move functionality of PlaceProc_Town() to FoundTownWindow::OnPlaceObject() 2009-09-14 20:40:07 +00:00
frosch
bc8557d5c0 (svn r17539) -Codechange: Replace a magic number. 2009-09-14 20:24:17 +00:00
frosch
2773865cd6 (svn r17538) -Codechange: Rename STR_CONTENT_FILTER_(OSKTITLE|TOOLTIP) for more general usage. 2009-09-14 20:15:29 +00:00
smatz
d6f4cda74e (svn r17537) -Fix: don't crash while printing gamelog in crash handler if we crashed before while gamelog action was active 2009-09-14 19:30:13 +00:00
translators
8deb7efcc7 (svn r17536) -Update from WebTranslator v3.0:
english_US - 4 changes by agenthh
hungarian - 3 changes by alyr
russian - 64 changes by Lone_Wolf
vietnamese - 23 changes by nglekhoi
2009-09-14 17:45:14 +00:00
rubidium
14ea4e7672 (svn r17535) -Fix: compiling without networking failed; also unhackify the crash logger a bit. 2009-09-14 15:53:19 +00:00
rubidium
64bafcbe18 (svn r17534) -Codechange: unify the naming of callback masks/flags 2009-09-14 12:22:57 +00:00
smatz
d96333b7c3 (svn r17533) -Fix: missing 'const' 2009-09-13 23:30:29 +00:00
frosch
ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00
rubidium
5de9cc46b5 (svn r17531) -Fix: wrong @file for ai_basestation.hpp 2009-09-13 17:58:00 +00:00
rubidium
17313b6e3f (svn r17530) -Codechange: use QSortT instead of qsort for sorting EngineIDs 2009-09-13 17:47:07 +00:00
translators
e4809052c3 (svn r17529) -Update from WebTranslator v3.0:
finnish - 81 changes by jpx_
greek - 207 changes by fumantsu
portuguese - 5 changes by SupSuper
vietnamese - 55 changes by nglekhoi
2009-09-13 17:45:15 +00:00
rubidium
ca7f6f5d7a (svn r17528) -Codechange: use QSortT instead of qsort for sorting FiosItems 2009-09-13 17:39:33 +00:00
rubidium
67448246d3 (svn r17527) -Codechange: use QSortT instead of qsort for sorting smallmaps 2009-09-13 17:38:49 +00:00
rubidium
45e3141444 (svn r17526) -Codechange: use QSortT instead of qsort for sorting the language list in the network GUI 2009-09-13 17:38:07 +00:00
frosch
734edc178d (svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already. 2009-09-13 17:37:47 +00:00
rubidium
53cc397607 (svn r17524) -Codechange: use QSortT instead of qsort for sorting NewGRFs 2009-09-13 17:36:50 +00:00
frosch
ba97964af8 (svn r17523) -Fix (r17514): InvalidateWindowClasses() only does SetDirty(), which is no longer enough. 2009-09-13 16:43:16 +00:00
frosch
0c8c208569 (svn r17522) -Fix: Scroll to selected content after sorting the list and after updating the scrollbar maximum. 2009-09-13 14:50:52 +00:00
rubidium
d0836f9ec8 (svn r17521) -Change: don't assume that there is always 'another' industry tile after two '0x18' industry tiles 2009-09-13 10:58:41 +00:00
rubidium
50e424ba24 (svn r17518) -Document: some of the callback 'masks' 2009-09-13 07:48:47 +00:00
rubidium
afc7f576f7 (svn r17515) -Fix [FS#3189]: [Squirrel] In some cases the call stack would not be cleaned up properly during crash handling. Occasionally this causes asserts to be triggered or crashes. 2009-09-12 20:31:41 +00:00
frosch
e720d23d86 (svn r17514) -Codechange: Nestify Add-NewGRF dialog. 2009-09-12 18:40:02 +00:00
translators
30e0c4f0e8 (svn r17513) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
simplified_chinese - 39 changes by EraserKing
dutch - 18 changes by habell
greek - 55 changes by fumantsu
indonesian - 60 changes by prof
vietnamese - 7 changes by nglekhoi
2009-09-12 17:45:19 +00:00
rubidium
9894e025a4 (svn r17512) -Add: some basic information about the loaded AIs in the crash log 2009-09-12 17:32:24 +00:00
frosch
d0de94be99 (svn r17511) -Codechange: Simplify ShowNewGRFInfo() by passing 'right' instead of 'width'. 2009-09-12 17:17:07 +00:00
frosch
5c59ed2011 (svn r17510) -Fix [FS#3197]: When loading GRFConfigs from ini file, validate them wrt. duplicate GRF IDs. 2009-09-12 14:40:26 +00:00
rubidium
4c65a04a50 (svn r17509) -Fix [FS#3196]: if building a part fails during cloning, sell what was already cloned instead of leaving it 'for free'
-Fix: make cloning multiheaded trains possible with with 'max - 1' vehicles existing
2009-09-12 14:37:29 +00:00
rubidium
c60cebd4bb (svn r17508) -Fix [FS#3195] (r16859): join station window didn't get updated when stations were removed from the pool 2009-09-12 12:56:49 +00:00
alberth
461556e2c0 (svn r17507) -Codechange: Make some methods of the OrdersWindow non-static. 2009-09-12 10:25:23 +00:00
rubidium
1dc2284e0c (svn r17506) -Fix [FS#3191]: signs partly drawn out of the rectangle in 4/8x zoom out. 2009-09-11 22:21:54 +00:00
alberth
a10d841970 (svn r17505) -Codechange: WWT_EMPTY is not a special case any more for invalidating widgets. 2009-09-11 19:26:44 +00:00
alberth
afe190a216 (svn r17504) -Codechange: un-inlining SetFocusedWidget() as it is not often used. 2009-09-11 19:12:05 +00:00
alberth
e1ae20a307 (svn r17503) -Fix (r17502): Save all files before commit. 2009-09-11 18:54:33 +00:00
alberth
669b7d01ac (svn r17502) -Codechange [FS#3184]: Extend QueryStringBaseWindow to support windows with nested widgets (by Terkhen with a few tweaks). 2009-09-11 18:52:56 +00:00
translators
4cb6451507 (svn r17501) -Update from WebTranslator v3.0:
catalan - 20 changes by arnau
traditional_chinese - 19 changes by josesun
2009-09-11 17:45:10 +00:00
yexo
8ef7b80719 (svn r17500) -Fix (r16502): The wrong value was restored to SetAllowDoCommand possible resulting in an AI that wasn't allowed to do any actions 2009-09-11 17:18:06 +00:00
yexo
c9a25c88fa (svn r17499) -Fix (r17498): remove 2 unused functions so some compilers stop warning about them 2009-09-10 23:14:21 +00:00
yexo
ca6c4ee98a (svn r17498) -Add [NoAI]: Enable the squirrel std math library 2009-09-10 20:19:12 +00:00
frosch
6175ee0fa4 (svn r17497) -Codechange: Macrofy AirportMovingData. 2009-09-10 20:16:29 +00:00
translators
ba2eeaae33 (svn r17496) -Update from WebTranslator v3.0:
catalan - 39 changes by arnau
english_US - 2 changes by agenthh
italian - 4 changes by lorenzodv
romanian - 5 changes by kkmic
russian - 3 changes by Lone_Wolf
ukrainian - 42 changes by Madvin
2009-09-10 17:45:22 +00:00
rubidium
860a538adc (svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' with GetDepotIndex(tile) 2009-09-10 14:37:55 +00:00
rubidium
751ea62f44 (svn r17494) -Codechange: improve algorithmic complexitiy of Depot::GetByTile from O(n) to O(1) 2009-09-10 14:36:38 +00:00
rubidium
55ddce8da2 (svn r17493) -Codechange: store the depot index on the map 2009-09-10 14:33:07 +00:00
rubidium
bb94724a09 (svn r17492) -Codechange: don't store the town index for road depots. 2009-09-10 14:27:43 +00:00
rubidium
96e2435aa8 (svn r17491) -Fix [FS#3188]: road vehicles could get lost when the prelimiary destination (for the pathfinder heuristics) is unreachable. 2009-09-09 21:01:45 +00:00
translators
48893c3a97 (svn r17490) -Update from WebTranslator v3.0:
dutch - 47 changes by habell
english_US - 1 changes by agenthh
french - 4 changes by glx
german - 4 changes by Roujin, planetmaker
indonesian - 6 changes by prof
italian - 2 changes by lorenzodv
russian - 1 changes by Lone_Wolf
spanish - 13 changes by Terkhen
turkish - 3 changes by niw3
2009-09-09 17:45:30 +00:00
rubidium
e179a72d67 (svn r17489) -Fix [FS#3187] (r17471): the tooltip said the inverse of what actually happened 2009-09-09 16:28:29 +00:00
rubidium
324389cf0b (svn r17488) -Feature [FS#2339]: add the date to all logging in the (real, not in-game) console if show_date_in_console is set. For dedicated server binaries the default is 'on', for the rest it is 'off'. 2009-09-09 15:11:46 +00:00
rubidium
a807026336 (svn r17487) -Fix: silence some MSVC warnings 2009-09-09 12:41:51 +00:00
rubidium
f3f6eaa6dc (svn r17486) -Add [NoAI]: a vehicle list for all vehicle that are ordered to a specific depot 2009-09-09 09:46:08 +00:00
rubidium
f1cc044a40 (svn r17485) -Change [FS2459]: make the performance ratings harder to exploit; only count profitable vehicles and recently serviced stations. 2009-09-09 08:22:21 +00:00
rubidium
008ffc58dd (svn r17484) -Fix: squirrel export didn't like one of the casts 2009-09-09 08:04:27 +00:00
yexo
e2122dc7f0 (svn r17483) -Fix (r17405): when an aircraft starts flying in circles make it turn in the correct direction first before continuing 2009-09-09 00:03:35 +00:00
yexo
4924e4ffba (svn r17482) -Fix (r17405): helicopters were not able to land anymore on the intercontinental airport 2009-09-08 23:05:28 +00:00
rubidium
b615ae7015 (svn r17481) -Fix (r16998): in cases where the northern most tile of an airport-to-build didn't touch the station you wanted it to join, but another part did, it wouldn't join the airport to the existing station 2009-09-08 22:48:37 +00:00
yexo
37d702b2ce (svn r17480) -Fix (r17405): fast aircraft could get stuck flyin gin circles trying to reach a certain point 2009-09-08 22:39:19 +00:00
rubidium
99af06dd30 (svn r17479) -Fix: silence compile warning that's only triggered when you're using a broken iconv. 2009-09-08 21:43:47 +00:00
smatz
b52f692c29 (svn r17478) -Document [NoAI]: descibe changes in subsidy logic in AI changelog 2009-09-08 20:34:23 +00:00
translators
58a3023f3e (svn r17477) -Update from WebTranslator v3.0:
afrikaans - 36 changes by Maccie123
catalan - 2 changes by arnau
simplified_chinese - 1 changes by Gavin
english_US - 115 changes by agenthh
french - 2 changes by glx
german - 2 changes by planetmaker
hebrew - 77 changes by dnd_man
indonesian - 2 changes by prof
italian - 33 changes by lorenzodv
portuguese - 32 changes by SupSuper
russian - 6 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 11 changes by Terkhen
2009-09-08 17:45:43 +00:00
glx
458e7876d3 (svn r17475) -Codechange: show path to crash.log and crash.dmp in crash window. Also tells the user where crash.sav is when saving succeeded. 2009-09-08 14:58:15 +00:00
rubidium
472ed0dc76 (svn r17473) -Codechange: use the post destructor for destroying companies too instead of complicating the graph GUI invalidate code. 2009-09-08 12:27:27 +00:00
rubidium
535f71fc13 (svn r17472) -Fix [FS#3182]: industry list was rebuilt too early during industry removal causing the removed industry to be still in the list after removal 2009-09-08 12:22:28 +00:00
rubidium
dcd6b2096d (svn r17471) -Change: when removing a station or waypoint keep the rail unless Ctrl is pressed. This makes the behaviour consistent between the two. 2009-09-08 10:12:13 +00:00
smatz
8cbcf17421 (svn r17470) -Fix (r17460): possible crash when overbuiling rail by station 2009-09-08 07:16:26 +00:00
rubidium
f40885ec50 (svn r17469) -Change: make the AI compatability wrapper not whine about deprecation (yet), but make it clear that the wrapper is running and what (slight) changes there are w.r.t. to 0.7. 2009-09-07 23:30:31 +00:00
rubidium
bd9670ea47 (svn r17467) -Change: show the client id in join messages at the server (patch by dihedral) 2009-09-07 21:28:16 +00:00
rubidium
673df8c5c7 (svn r17466) -Feature: reconnect console command (based on patch of bilbo) 2009-09-07 21:03:41 +00:00
smatz
2e2d00bee7 (svn r17465) -Codechange: use builtin static_assert() for assert_compile() if available 2009-09-07 21:02:10 +00:00
smatz
434693b838 (svn r17464) -Codechange: use C++0x mode when compiling with gcc >= 4.3 or icc >= 11.0 2009-09-07 21:01:24 +00:00
frosch
fe7032a7a6 (svn r17463) -Change (r17453): Retrigger the abort signal after writing the crashlog, so the next one can catch it again (e.g. to write a core dump). 2009-09-07 20:30:45 +00:00
rubidium
ba5e66a763 (svn r17461) -Document: that a certain compiler warning when compiled without asserts in gcc 4.4+ isn't our fault but GCC's. Includes a reference to the appropriate GCC bug report 2009-09-07 20:07:47 +00:00
rubidium
5396d6167b (svn r17460) -Feature: allow building rail stations over existing rail without signals but will upgrade normal rail to electrified rail if necessary (based on patch by laurijh) 2009-09-07 18:35:38 +00:00
translators
314e4939e4 (svn r17458) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by Gavin
french - 28 changes by glx
german - 16 changes by Roujin, dihedral
hebrew - 77 changes by dnd_man
italian - 3 changes by lorenzodv
russian - 29 changes by Lone_Wolf
serbian - 5 changes by etran
spanish - 39 changes by Terkhen
2009-09-07 17:45:28 +00:00
yexo
ec63a0fc14 (svn r17455) -Codechange: use sprite names instead of magic numbers in table/clear_land.h and change some names 2009-09-07 13:38:57 +00:00
rubidium
d916400521 (svn r17453) -Add: crash logger for all Unixy OSes; should work for all, but I don't have all exotic machines so it might break compilation on the more exotic configurations 2009-09-07 12:14:45 +00:00
rubidium
46e5625278 (svn r17452) -Fix (r17450): emergency savegames weren't rejected by the crash logger anymore 2009-09-07 12:13:33 +00:00
smatz
4f7caea7fb (svn r17451) -Fix (r17442): loading of TTO/TTD savegames failed 2009-09-07 12:08:43 +00:00
rubidium
2b144e2ea6 (svn r17450) -Codechange: refactor the windows crash logger so parts of it can be reused by other crash logger implementations 2009-09-07 11:10:49 +00:00
rubidium
8186dd616b (svn r17449) -Fix (r17436): MSVC compile warning about comparing signed and unsigned values 2009-09-07 10:00:14 +00:00
rubidium
b4e5383078 (svn r17448) -Change [FS#2997]: buy vehicles instead of building them; makes it consistent with selling. Based on a patch by planetmaker 2009-09-07 09:09:10 +00:00
rubidium
167d632e16 (svn r17447) -Codechange: rename a local variable so it doesn't collide with the name of a global function 2009-09-07 09:07:56 +00:00
rubidium
1f21a5cb41 (svn r17446) -Codechange: rename BUILD with BUY for strings that are about building (in the future buying) vehicles. 2009-09-07 08:59:43 +00:00
smatz
98e2742863 (svn r17445) -Fix (r17318): force resort after changing sort type in the industry list window 2009-09-07 08:52:01 +00:00
rubidium
1474be7ea7 (svn r17444) -Fix [FS#3173]: when building roads isn't allowed for town, then don't build the initial piece either 2009-09-07 08:36:52 +00:00
rubidium
130781102e (svn r17443) -Fix (r17442): clear the depot tile after removing the depot in all cases instead of only for ships; makes removing road/rail depots not crash :) 2009-09-07 08:35:45 +00:00
rubidium
6593e4490a (svn r17442) -Fix [FS#3180]: destruction of depots didn't remove any vehicle lists related to the depot, causing windows pointing to deleted depots and (thus) crashes 2009-09-07 08:05:35 +00:00
rubidium
ad70d24634 (svn r17441) -Fix (r16900): close the vehicle list of the vehicle type that visits the waypoint instead of for all vehicle types 2009-09-07 08:04:40 +00:00
rubidium
a34d19e9df (svn r17440) -Fix [FS#3179] (r17375): long scrollbars would scroll when that was not intended. They would also not properly mark the window dirty. 2009-09-07 07:59:26 +00:00
smatz
22e9d59559 (svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses and headquarters anymore 2009-09-07 07:39:08 +00:00
rubidium
9168ddd550 (svn r17438) -Fix (r17428): ofcourse some part of the OSX port would be forgotten due to it being so much different than the rest :( 2009-09-06 23:12:25 +00:00
smatz
e292112319 (svn r17437) -Change: don't accept cargo produced in the same industry (generalise and improve the check used only for valuables) 2009-09-06 22:05:53 +00:00
smatz
25817f1fe7 (svn r17436) -Change: pay only for cargo actually delivered, not for all cargo unloaded at station (can differ with 'stockpiling' industries) 2009-09-06 21:59:20 +00:00
frosch
eb1306110a (svn r17435) -Codechange: Move _cargo_payment_rates[] to CargoSpec::current_payment. 2009-09-06 20:36:17 +00:00
frosch
438a429549 (svn r17433) -Codechange: Store cumulated inflation in savegame and compute all prices from that instead of storing all prices separately.
Note: Savegame conversion computes the inflation from max loan. Prices from modified savegames will get lost. TTO savegames will also behave slightly different.
-Change: NewGRF price modifiers now take effect everytime when loading NewGRFs instead of once on gamestart.
2009-09-06 18:53:57 +00:00
translators
2ce1a608a8 (svn r17432) -Update from WebTranslator v3.0:
catalan - 21 changes by arnau
simplified_chinese - 4 changes by Gavin
danish - 7 changes by silentStatic
dutch - 6 changes by Bart
hebrew - 47 changes by dnd_man
korean - 18 changes by darkhasa
2009-09-06 17:45:22 +00:00
smatz
b903e41c65 (svn r17431) -Fix (r16735): oldloader wasn't updated 2009-09-06 16:36:22 +00:00
smatz
f9257fabea (svn r17429) -Fix (r16378): conversion of TTO/TTD savegames failed when vehicle 0 was a wagon 2009-09-06 09:56:12 +00:00
rubidium
bc5241600a (svn r17428) -Codechange: add a function to get the name of a driver 2009-09-05 21:26:51 +00:00
alberth
0be5e59355 (svn r17427) -Codechange: Removing some unneeded widget parts (for reduced compilation time). 2009-09-05 19:44:53 +00:00
smatz
1776a4ecc1 (svn r17426) -Fix (r1): economy recession would never end when economy is set to Steady while in recession 2009-09-05 19:02:34 +00:00
translators
19ebfc84f7 (svn r17425) -Update from WebTranslator v3.0:
arabic_egypt - 7 changes by kasakg
catalan - 3 changes by arnau
traditional_chinese - 2 changes by josesun
french - 4 changes by glx
indonesian - 5 changes by prof
italian - 4 changes by lorenzodv
spanish - 4 changes by Terkhen
turkish - 2 changes by niw3
urdu - 4 changes by yasirniazkhan
2009-09-05 17:45:29 +00:00
alberth
6d89615f05 (svn r17424) -Change: Unify 'list is empty' strings of the windows to '- None -'. 2009-09-05 11:33:27 +00:00
alberth
9fd22f727f (svn r17423) -Fix [FS#3174]: Show '- None -' with empty town or industry list, and use that text in the size computation as well. 2009-09-05 11:27:28 +00:00
alberth
8bac3af049 (svn r17422) -Codechange: Remove magic constants and compute vertical minimal size of the sign list window. 2009-09-05 10:53:26 +00:00
alberth
f381e9d022 (svn r17421) -Fix (r17418): Don't output debug information in signs list. 2009-09-05 08:01:08 +00:00
smatz
0bfea0646c (svn r17420) -Codechange: replace assert() by assert_compile() where possible 2009-09-04 23:02:52 +00:00
yexo
ae9441aa46 (svn r17419) -Fix (r-old, r16378): the index of orders loaded from old savegames was owerwritten with an unitialized value, causing asserts. The issue has present for a long time but only since the new pool system did it trigger a (correct) assert 2009-09-04 22:25:12 +00:00
alberth
677946a368 (svn r17418) -Codechange [FS#3144]: Signs list window uses nested widget tree (mostly by Nickman). 2009-09-04 22:03:21 +00:00
rubidium
a1f49db54d (svn r17416) -Codechange: move the build date/time 'determination' to rev.cpp as that's the file most likely to be regularly recompiled 2009-09-04 20:31:49 +00:00
yexo
e540385038 (svn r17415) -Change: make sure aircraft don't move while turning as long as they are on the ground. This prevents a lot of unnecesary turns when leaving terminals 2009-09-04 20:31:47 +00:00
rubidium
27738c6638 (svn r17414) -Codechange: only send/read the number of bits that can be actually useful when building industries 2009-09-04 20:04:54 +00:00
rubidium
925bada35a (svn r17413) -Fix: assert when trying to build an invalid industry type it did 2009-09-04 20:02:35 +00:00
translators
fcbdd9c730 (svn r17412) -Update from WebTranslator v3.0:
catalan - 50 changes by arnau
estonian - 23 changes by KSiimson
lithuanian - 7 changes by mtxd
portuguese - 46 changes by SupSuper
russian - 2 changes by Lone_Wolf
2009-09-04 17:45:20 +00:00
rubidium
2fc5458dba (svn r17411) -Codechange: silence an ICC compile warning 2009-09-03 22:56:30 +00:00
rubidium
c9a1f33418 (svn r17410) -Codechange: use the same define for determining whether windows does crash reports instead of using several that aren't necessarily equal 2009-09-03 22:32:08 +00:00
rubidium
b92143b53e (svn r17409) -Codechange: split the crash log and other windows 'glue' code 2009-09-03 21:56:29 +00:00
glx
88bb0e1b7b (svn r17408) -Codechange: remove unused win32 stuff 2009-09-03 20:04:15 +00:00
translators
7f51a20bcd (svn r17406) -Update from WebTranslator v3.0:
hungarian - 2 changes by alyr
2009-09-03 17:45:07 +00:00
yexo
16e3083ff7 (svn r17405) -Fix (r100): aircraft shouldn't be allowed to make turns bigger then 45 degrees while in flight 2009-09-03 12:11:31 +00:00
rubidium
dcf3719ca1 (svn r17404) -Change (r17379): silence gcc warning caused by inlining of a virtual function 2009-09-03 11:56:29 +00:00
rubidium
5607a610d7 (svn r17403) -Fix [Squirrel]: guard against squirrel stack overflows; if assert is enabled assert (catch possible overflow bugs in nightlies/RCs), otherwise just increase the stack's size (don't get into invalid reads/writes in releases) 2009-09-03 11:48:08 +00:00
Yexo
48e1a5a350 (svn r17402) -Fix (r16425): During every save a few slots on the squirrel stack were leaked 2009-09-03 11:32:16 +00:00
rubidium
75aad2a186 (svn r17401) -Fix [FS#3171] (r17384): order deletion didn't (correctly) update the order window 2009-09-03 10:58:26 +00:00
rubidium
b294497f2a (svn r17400) -Fix [FS#3172] (r17380): total line of performance rating was calculated wrong 2009-09-03 10:50:14 +00:00
rubidium
d81a3ba2da (svn r17399) -Fix (r17365): if scrollbar has more capacity than elements clicking on the "scroll down" button asserted (esminis) 2009-09-03 09:07:14 +00:00
alberth
5fd5ae125a (svn r17398) -Codechange: Fill normal news item window with widgets. 2009-09-02 20:59:30 +00:00
alberth
0f9da2d636 (svn r17397) -Codechange: Add new vehicle news window. 2009-09-02 20:55:55 +00:00
alberth
c0b9a6a9bc (svn r17396) -Codechange: Add company news window. 2009-09-02 20:54:27 +00:00
alberth
c518d8c0d9 (svn r17395) -Codechange: Fill thin window with widgets. 2009-09-02 20:52:58 +00:00
alberth
96617e804c (svn r17394) -Codechange: Add news flags for viewport settings. 2009-09-02 20:49:25 +00:00
alberth
92321eb204 (svn r17393) -Codechange: Fill small window with widgets. 2009-09-02 20:46:42 +00:00
alberth
a536a15459 (svn r17392) -Codechange: Use 'default' for reacting on click. 2009-09-02 20:44:36 +00:00
alberth
a3ddb8a235 (svn r17391) -Codechange: Add string box calculation routine for multi-line strings. 2009-09-02 20:40:56 +00:00
alberth
3375627552 (svn r17390) -Codechange: Switch news item windows to nested widgets. 2009-09-02 20:39:40 +00:00
alberth
0847b338c6 (svn r17389) -Codechange: Add support for shaded viewports. 2009-09-02 20:28:41 +00:00
alberth
4bbb023463 (svn r17388) -Codechange: Paint the background of background widgets before painting its children. 2009-09-02 20:25:56 +00:00
alberth
417ad163c0 (svn r17387) -Codechange: Add news-item window description to NewsSubtypeData. 2009-09-02 20:21:30 +00:00
yexo
668da9e900 (svn r17386) -Fix (r17011): AIBaseStation::IsValidBaseStation() returned false for stations with OWNER_NONE 2009-09-02 20:03:56 +00:00
alberth
284b92f3e9 (svn r17385) -Codechange: Removed some unneeded parentheses. 2009-09-02 19:57:22 +00:00
rubidium
a8d768cf6e (svn r17384) -Fix [FS#2859]: remove all order window state changes out of the drawing routine and call them immediately when changes happen instead of on the next OnPaint. This prevents pressing buttons when they should've been already disabled. 2009-09-02 17:54:40 +00:00
translators
1f5268a1d2 (svn r17383) -Update from WebTranslator v3.0:
german - 2 changes by Roujin
indonesian - 2 changes by prof
italian - 2 changes by lorenzodv
latvian - 46 changes by dzhins
serbian - 10 changes by etran
2009-09-02 17:45:20 +00:00
yexo
7d25a4014f (svn r17382) -Cleanup: don't set load_unload_time_rem when an aircraft turns in the air as it's not used 2009-09-02 15:13:33 +00:00
yexo
070118c5c3 (svn r17381) -Codechange: music track selection window uses nested widgets 2009-09-02 14:09:51 +00:00
rubidium
d8b782365b (svn r17380) -Codechange: move drawing the performance detail data to DrawWidget 2009-09-02 13:39:46 +00:00
rubidium
efff517449 (svn r17379) -Codechange: make the performance rating window nested, although it still needs some improvements 2009-09-02 13:24:36 +00:00
yexo
05433adb6d (svn r17378) -Fix [NoAI]: Several AITile::* functions didn't check whether their parameters were valid 2009-09-02 12:48:23 +00:00
yexo
b7f7dd77bf (svn r17377) -Fix (r17365): MSVC complains about struct<>class difference 2009-09-02 12:02:55 +00:00
rubidium
9ceee42430 (svn r17376) -Fix: also draw the white "I've just opened" line for nested windows 2009-09-02 11:31:11 +00:00
rubidium
5cb22df0f5 (svn r17375) -Codechange: remove last direct usage of scrollbar variables 2009-09-02 08:58:20 +00:00
rubidium
900aedf270 (svn r17374) -Codechange: make the town and vehicle GUIs use the scrollbar wrappers 2009-09-02 08:48:29 +00:00
rubidium
7aa9f8e3fb (svn r17373) -Codechange: make the timetable, station and subsidy GUIs use scrollbar wrappers 2009-09-02 08:40:31 +00:00
rubidium
1dfa38bb1f (svn r17372) -Codechange: make the settings, rail and sign GUIs use the scrollbar wrappers 2009-09-02 08:28:50 +00:00
rubidium
7aeaa4f132 (svn r17371) -Codechange: make the newgrf, news and order GUIs use the scrollbar wrappers 2009-09-02 08:18:54 +00:00
rubidium
59ac4f6b21 (svn r17370) -Codechange: make the saveload and network GUIs use the scrollbar wrappers 2009-09-02 08:08:30 +00:00
rubidium
78c9827000 (svn r17369) -Codechange: make the depot, group and industry GUIs use the scrollbar wrappers 2009-09-02 07:36:39 +00:00
rubidium
1c94d98bb9 (svn r17368) -Codechange: remove pointless passing of 'this' as parameter 2009-09-02 07:22:09 +00:00
rubidium
e69e3378b0 (svn r17367) -Codechange: make the autoreplace, bridge and build vehicle GUIs use the scrollbar wrappers 2009-09-02 07:17:15 +00:00
rubidium
4b9b858127 (svn r17366) -Codechange: make the AI GUIs use the scrollbar wrappers 2009-09-02 07:01:25 +00:00
rubidium
b06e026f97 (svn r17365) -Codechange: introduce wrapper functions to update the position, capacity and count of scroll bars. This to (eventually) prevent the scrollbar overflowing outside of the window 2009-09-02 06:34:40 +00:00
rubidium
b13eccb105 (svn r17364) -Fix (r17356): off by one when selecting a subsidy 2009-09-01 22:38:18 +00:00
rubidium
6b2ff71e2c (svn r17363) -Fix [FS#3163] (r16717): feed autoreplace the front of vehicles, otherwise it gets distracted and bails out 2009-09-01 21:54:59 +00:00
yexo
ef5a0a3ae4 (svn r17362) -Fix (r17360): alignment in afrikaans.txt was wrong 2009-09-01 21:43:38 +00:00
yexo
e78da26f3c (svn r17361) -Fix (r17360): committed a bit too much 2009-09-01 21:35:28 +00:00
yexo
f3d2be7581 (svn r17360) -Fix (r17329): the 'track' and 'title' texts were lost in the conversion to nested widgets 2009-09-01 21:30:14 +00:00
smatz
2db855e00c (svn r17359) -Fix: put static before cv qualifier, some compilers complain about that 2009-09-01 21:27:33 +00:00
smatz
94988a79f3 (svn r17358) -Fix: compilation was broken for gcc older than 3.4 2009-09-01 20:59:44 +00:00
smatz
bc3bdb03fd (svn r17357) -Codechange: some compilers complain about implicit conversion from NULL to bool 2009-09-01 20:51:45 +00:00
rubidium
a4af668986 (svn r17356) -Fix: actually implement scrolling for the subsidy list instead of 'just' showing a scroll bar. 2009-09-01 20:42:12 +00:00
rubidium
c96733d191 (svn r17355) -Codechange: determine the minimum size of the subsidy gui based on (some) of the content 2009-09-01 20:06:10 +00:00
rubidium
af818b6c09 (svn r17354) -Codechange: make the subsidy gui nested 2009-09-01 19:29:16 +00:00
yexo
b2fef7c64e (svn r17353) -Codechange: make sure the shuffle and programme buttons in the music window are always the same size 2009-09-01 19:18:42 +00:00
rubidium
2a9574ead2 (svn r17352) -Fix [FS#3162]: trains wouldn't show smoke if the load/unload counter wasn't 0, though there doesn't seem to be a reason to check that variable anyhow anymore 2009-09-01 18:35:24 +00:00
translators
ad7d18e98e (svn r17351) -Update from WebTranslator v3.0:
simplified_chinese - 24 changes by yuanmin
czech - 118 changes by SmatZ
dutch - 2 changes by Yexo
french - 2 changes by glx
russian - 1 changes by Lone_Wolf
spanish - 2 changes by Terkhen
2009-09-01 17:45:23 +00:00
glx
8a367f1ff4 (svn r17350) -Fix (r17336): broken compilation with mingw 2009-09-01 14:20:35 +00:00
smatz
b831e37b90 (svn r17349) -Update (r17348): apply changes to other lang files 2009-09-01 14:06:23 +00:00
smatz
352d07b1b5 (svn r17348) -Fix: don't mix 'sort by' strings used for buttons and dropdowns 2009-09-01 14:05:27 +00:00
rubidium
4c84db1636 (svn r17345) -Fix [FS#2769]: one wasn't offered to take over bankrupt companies anymore; caused by the introduction NoAI, although NewAI had the same problem too. 2009-09-01 12:57:04 +00:00
rubidium
4abf4602e7 (svn r17344) -Codechange: splash of coding style over ai_event_types.* 2009-09-01 12:33:17 +00:00
rubidium
b1d4594fa7 (svn r17343) -Codechange: it's bankruptcy, not bankrupcy, according to my Oxford Dictionary of English and Merriam-Webster. 2009-09-01 12:28:46 +00:00
rubidium
dd3fa7f1d1 (svn r17342) -Fix: reset bankruptcy checks when bankruptcy has been averted and don't set an unused timeout with a magic number 2009-09-01 12:17:02 +00:00
rubidium
50e794849a (svn r17341) -Fix: memory leak when trying to bankrupt the local company 2009-09-01 12:16:01 +00:00
rubidium
317f34b3d2 (svn r17340) -Fix: old loader tried to load a uint8 into a uint16 2009-09-01 12:14:57 +00:00
rubidium
07d2af338e (svn r17339) -Codechange: move thread related files to their own directory (like done for video, music, sound, etc) 2009-09-01 10:07:22 +00:00
yexo
5a3b2f0d02 (svn r17338) -Feature(tte): Add extra entry points for all airports so planes don't make strange turns when entering the holding stack 2009-09-01 10:06:18 +00:00
yexo
80ad8ff3cc (svn r17337) -Fix: some more strange airport holding bay positions 2009-08-31 23:42:17 +00:00
rubidium
bc8e66c202 (svn r17336) -Codechange: move some os specific files into src/os/ 2009-08-31 22:38:37 +00:00
rubidium
5cc6d1f894 (svn r17335) -Fix (r17333): don't return a pointer as boolean 2009-08-31 22:18:17 +00:00
yexo
13d41d43b1 (svn r17334) -Fix: don't turn north just before approaching the landing strip of the small airport 2009-08-31 22:15:29 +00:00
rubidium
d938896691 (svn r17333) -Codechange: make the road pathfinder 'interface' like the one for the rail pathfinder
-Fix [FS#3057]: road vehicles forgetting their servicing order when the path takes them away (in bird distance) from their destination first
2009-08-31 19:16:18 +00:00
translators
a1c7271eb0 (svn r17332) -Update from WebTranslator v3.0:
english_US - 1 changes by agenthh
german - 2 changes by Roujin
italian - 5 changes by lorenzodv
korean - 20 changes by darkhasa
2009-08-31 17:45:18 +00:00
yexo
51806af03d (svn r17331) -Codechange: don't depend on static widget position/size for drawing of volumer sliders in music window 2009-08-30 21:31:54 +00:00
yexo
1f7fc96a78 (svn r17330) -Codechange: Lower some buttons in the music window when clicked instead of changing the text colour to white 2009-08-30 20:38:57 +00:00
yexo
6992d740f6 (svn r17329) -Codechange: music window uses nested widgets 2009-08-30 19:23:36 +00:00
alberth
5767972531 (svn r17328) -Codechange: Get the vehicle technical data as string rather than having it printed. 2009-08-30 18:41:03 +00:00
alberth
1ba000be12 (svn r17327) -Codechange: Allow external use of GetEngineCategoryName(). 2009-08-30 17:54:11 +00:00
translators
db120540a0 (svn r17326) -Update from WebTranslator v3.0:
italian - 1 changes by lorenzodv
welsh - 16 changes by welshdragon
2009-08-30 17:45:11 +00:00
alberth
1a15f7e6a7 (svn r17325) -Codechange: Un-duplicate engine drawing routines. 2009-08-30 17:38:28 +00:00
Yexo
fe7ca1b3e3 (svn r17324) -Codechange: Land info window uses nested widget tree 2009-08-30 17:07:53 +00:00
rubidium
0d3ab7c72d (svn r17323) -Codechange: replace some magic numbers with constants in the town directory. 2009-08-30 15:25:20 +00:00
rubidium
3b03999073 (svn r17322) -Codechange: make the industry directory window nested. 2009-08-30 15:25:20 +00:00
rubidium
0007a599c3 (svn r17321) -Codechange: minor coding style fixes for the town directory 2009-08-30 14:39:59 +00:00
rubidium
e8433f6d48 (svn r17320) -Codechange: move the code to determine the string and set dparams of industries in the industry directory out of OnPaint 2009-08-30 14:06:55 +00:00
rubidium
0aab13bf44 (svn r17319) -Codechange: replace some magic numbers related to locations/sizes with the appropriate variables in the industry directory 2009-08-30 13:54:53 +00:00
rubidium
5fe9c44862 (svn r17318) -Codechange: remove state changes from the OnPaint of the industry directory 2009-08-30 13:44:25 +00:00
smatz
ee685c8287 (svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile() 2009-08-30 11:47:41 +00:00
smatz
c94b9973e6 (svn r17315) -Codechange: move code related to industry types to separate file 2009-08-30 11:40:01 +00:00
alberth
86ebf88176 (svn r17314) -Fix (r17313): Allow the picker window to change size. 2009-08-30 08:10:00 +00:00
rubidium
753e063cad (svn r17313) -Codechange: make the road station picker nested 2009-08-29 22:24:29 +00:00
rubidium
ff2034b073 (svn r17312) -Codechange: make the road toolbars and depot picker nested 2009-08-29 21:33:50 +00:00
yexo
dc24601b6d (svn r17311) -Change: rename STR_WHITE_STRINGN to STR_WHITE_STRING 2009-08-29 21:28:36 +00:00
yexo
350a773925 (svn r17310) -Codechange: about window uses nested widget tree 2009-08-29 20:54:32 +00:00
smatz
f1e6772381 (svn r17309) -Fix: not all non-ASCII characters were entered with escapes in the About window 2009-08-29 20:01:16 +00:00
translators
564e65fe43 (svn r17308) -Update from WebTranslator v3.0:
french - 22 changes by glx
german - 28 changes by Roujin
indonesian - 7 changes by fanioz
italian - 44 changes by lorenzodv
russian - 7 changes by MajestiC
2009-08-29 17:45:20 +00:00
yexo
163e741774 (svn r17307) -Fix [NoAI]: AIRail::RemoveRailTrack returned ERR_PRECONDITION_ERROR for road/rail-crossings 2009-08-29 17:01:39 +00:00
alberth
79a8da1c04 (svn r17306) -Fix: DrawStringMultiLine() computed available width and height wrongly. 2009-08-29 17:00:32 +00:00
rubidium
9eb06f125f (svn r17304) -Codechange: move (more) drawing code out of the rail depot picker's OnPaint. 2009-08-29 09:30:40 +00:00
translators
76a667bb35 (svn r17303) -Update from WebTranslator v3.0:
french - 30 changes by glx
german - 38 changes by Roujin
spanish - 103 changes by Terkhen
2009-08-28 17:45:13 +00:00
rubidium
f582ccf395 (svn r17301) -Fix (r17297): typo 2009-08-28 16:49:00 +00:00
rubidium
3a661e7e64 (svn r17300) -Fix [FS#3120]: mention of Ctrl modifier was missing from some tooltips 2009-08-28 15:25:12 +00:00
rubidium
10b3bcb90c (svn r17299) -Fix: the tooltip could get truncated under some circumstances due to its custom string height determination 2009-08-28 15:23:51 +00:00
yexo
f548a1b3b3 (svn r17298) -Fix [FS#3153]: reloading an AI started a new AI in the first available company slot causing other AIs to be started 2009-08-28 15:23:11 +00:00