smatz
9da24054b2
(svn r17604) -Update (r17603): rename strings in other lang files too
2009-09-21 18:18:01 +00:00
smatz
15511678e3
(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'
2009-09-21 18:16:00 +00:00
translators
60a13f49bd
(svn r17602) -Update from WebTranslator v3.0:
...
english_US - 2 changes by agenthh
russian - 1 changes by Lone_Wolf
vietnamese - 6 changes by nglekhoi
2009-09-21 17:45:12 +00:00
smatz
494ef040e5
(svn r17601) -Fix (r17592): don't mark cargo as 'accepted' when accepted amount is 0
2009-09-21 17:24:21 +00:00
smatz
8a003eb197
(svn r17600) -Cleanup: remove unused variable
2009-09-21 17:06:19 +00:00
smatz
662ef3173b
(svn r17597) -Codechange: rename namegen* to townname*
2009-09-21 11:01:16 +00:00
smatz
114d48e492
(svn r17596) -Codechange: constify some tables
2009-09-20 23:11:01 +00:00
alberth
e07efc2370
(svn r17595) -Codechange: Tree build window uses pure nested widgets.
2009-09-20 21:09:27 +00:00
frosch
7fa4d576ca
(svn r17594) -Fix: Vehicle image was not always updated when needed.
2009-09-20 19:36:27 +00:00
yexo
bbce4fba25
(svn r17593) -Fix (r17591): as always after a noai commit ...
2009-09-20 19:01:38 +00:00
smatz
9cf2e92159
(svn r17592) -Fix [FS#3212](r17436): force all cargo being accepted when industry tiles accept it but industry itself doesn't
2009-09-20 18:52:12 +00:00
yexo
12ef0046dd
(svn r17591) -Add [NoAI] [FS#3212]: AIAirport::IsAirportInformationAvailable. Also update several preconditions so it's now possible to get information on airports types that can no longer be build (small airport after 1960)
2009-09-20 18:38:43 +00:00
translators
64ed7cc8de
(svn r17590) -Update from WebTranslator v3.0:
...
turkish - 4 changes by niw3
vietnamese - 78 changes by nglekhoi
2009-09-20 17:45:09 +00:00
smatz
9225b3ba03
(svn r17589) -Codechange: rename town_acc to always_accepted
2009-09-20 17:44:33 +00:00
rubidium
2049d60e34
(svn r17588) -Fix [FS#3220]: erroneous message about changing the difficulty level
2009-09-20 17:19:45 +00:00
alberth
bae15616f7
(svn r17587) -Codechange: Town authority window uses pure nested widgets.
2009-09-20 14:46:15 +00:00
alberth
46cd3ee944
(svn r17586) -Codechange: Adding documentation, and replacing some numbers with constants in the town authority window.
2009-09-20 10:25:03 +00:00
rubidium
a8c80a5afc
(svn r17585) -Fix [FS#3214]: also do the StringID conversion for StringIDs that are pushed on the (NewGRF string) stack
2009-09-20 10:22:27 +00:00
rubidium
47bd3ee4ba
(svn r17584) -Codechange: split the NewGRF StringID mapping in a 'global' part and a part that's for NewGRF strings
2009-09-20 10:21:00 +00:00
rubidium
9d0b10ccda
(svn r17583) -Change: make SDL's video driver more likely to be loaded than Allegro's video driver; SDL seems to perform better.
2009-09-20 10:19:13 +00:00
alberth
17a52eb852
(svn r17582) -Codechange: Move TownActions and _town_action_costs[] to a header file to allow sharing.
2009-09-20 10:08:10 +00:00
translators
9ba9e31495
(svn r17581) -Update from WebTranslator v3.0:
...
finnish - 1 changes by jpx_
russian - 1 changes by Lone_Wolf
vietnamese - 104 changes by nglekhoi
2009-09-19 17:45:13 +00:00
alberth
f7f2d1caa5
(svn r17580) -Fix (r17541): Fix signed/unsigned mismatch with MSVC 2008.
2009-09-19 16:22:49 +00:00
rubidium
ca91a97826
(svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary
2009-09-19 15:17:47 +00:00
alberth
89df436f84
(svn r17578) -Fix (r17572): Some compilers don't like default function template arguments.
2009-09-19 14:41:43 +00:00
alberth
1497cf7e01
(svn r17577) -Codechange: Order window uses pure nested widgets.
2009-09-19 13:57:02 +00:00
rubidium
4ee9de96fd
(svn r17576) -Fix [FS#3208]: assertion triggered when the second vehicle in a 101+ (or 11+ if mammoth trains is disabled) vehicle free wagon chain is an engine and the first vehicle is moved to another chain
2009-09-19 13:55:37 +00:00
alberth
8d7498b82c
(svn r17575) -Codechange: Adding a new combined button+dropdown widget.
2009-09-19 13:08:37 +00:00
alberth
86395277d3
(svn r17574) -Fix (r17573): Insert NWID_SELECTION in nested_array when appropriate.
2009-09-19 12:52:49 +00:00
alberth
ceab116065
(svn r17573) -Codechange: NWID_SELECTION containers have a selected widget-plane, and optionally an index in the nested_array.
2009-09-19 11:55:44 +00:00
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