Commit Graph

7277 Commits

Author SHA1 Message Date
rubidium 6e6af43d77 (svn r17676) -Codechange: make the NewGRF GUI nested 2009-09-30 21:49:24 +00:00
rubidium a96d161b00 (svn r17675) -Codechange: move the 'state' changes out of the OnPaint of the newgrf window 2009-09-30 21:11:29 +00:00
rubidium c847f5c04e (svn r17674) -Codechange: replace SetDirty + OnInvalidateData with InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant. 2009-09-30 21:07:54 +00:00
rubidium 0032405093 (svn r17673) -Codechange: make InvalidateThisWindowData a function of the window class 2009-09-30 21:00:35 +00:00
frosch 2fa312aab9 (svn r17672) -Revert (r8081): 'last_value' and 'reseed' are shared between procedure and main chain.
-Fix (r8075): 'scope' and 'count' are not.
2009-09-30 20:25:59 +00:00
frosch 3863742c72 (svn r17671) -Codechange: Move ResolverObject::info_view into u.vehicle as it is only needed for them. 2009-09-30 18:54:33 +00:00
frosch d8eec0ebf0 (svn r17670) -Cleanup (r12819): ResolverObject::procedure_call is not used anymore. 2009-09-30 18:36:18 +00:00
translators 6a03335a0e (svn r17669) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by Gavin
traditional_chinese - 7 changes by josesun
english_US - 4 changes by agenthh
hebrew - 9 changes by dnd_man
russian - 1 changes by Lone_Wolf
2009-09-30 17:45:20 +00:00
yexo 5fbb263bd2 (svn r17668) -Codechange: Query window uses nested widgets 2009-09-30 15:14:34 +00:00
rubidium 124e543b1d (svn r17667) -Fix [FS#3245]: autopause tried to (un)pause the server every tick when the pause command only gets processed once every frame_freq ticks. So it would spam the console with duplicate attempts. 2009-09-30 13:32:39 +00:00
rubidium 5028e3536b (svn r17665) -Codechange: make the extra viewport window nested 2009-09-29 20:16:03 +00:00
translators 2692a86312 (svn r17664) -Update from WebTranslator v3.0:
esperanto - 1 changes by raskolnik
finnish - 1 changes by jpx_
indonesian - 1 changes by prof
italian - 1 changes by lorenzodv
romanian - 1 changes by kkmic
russian - 1 changes by Lone_Wolf
slovak - 18 changes by JamesSVK
spanish - 1 changes by Terkhen
ukrainian - 1 changes by Madvin
2009-09-29 17:45:30 +00:00
frosch 3ddf4d2c2b (svn r17663) -Change: [NewGRF] Apply default refitmasks only when the NewGRF did not set any of the three refittability properties (xor mask, positive classes, negative classes). 2009-09-28 19:24:20 +00:00
rubidium 252096fe3c (svn r17662) -Codechange: make the sign edit window nested 2009-09-28 19:12:15 +00:00
translators 77e8fa46b6 (svn r17661) -Update from WebTranslator v3.0:
traditional_chinese - 1 changes by josesun
esperanto - 25 changes by raskolnik
french - 1 changes by glx
german - 1 changes by dihedral
serbian - 1 changes by etran
vietnamese - 3 changes by nglekhoi
2009-09-28 17:45:21 +00:00
glx 57252e5225 (svn r17660) -Fix: StringID typo 2009-09-28 14:15:23 +00:00
rubidium cc3ef246fd (svn r17659) -Codechange: remove the last custom drawing from the signal GUI 2009-09-28 13:42:47 +00:00
rubidium 4347758e48 (svn r17658) -Codechange: remove custom drawing of the signal density in the signal GUI
-Codechange: move the state updates from OnPaint
2009-09-28 12:38:35 +00:00
rubidium d74216b7fe (svn r17657) -Fix [FS#3242]: some semaphore signals fell outside of the signal GUI. Now the signals are properly centered which should make that problem go away 2009-09-28 12:19:15 +00:00
rubidium 1bc18905d7 (svn r17656) -Change: typo in function name. Also document the parameter (Terkhen) 2009-09-27 18:36:05 +00:00
translators 7b46347bb1 (svn r17655) -Update from WebTranslator v3.0:
english_US - 38 changes by agenthh
portuguese - 9 changes by SupSuper
2009-09-27 17:45:11 +00:00
rubidium 09124e2186 (svn r17654) -Fix [FS#3220] (r17612): the edit box of the town fund window wasn't updated properly (based on patch of Terkhen) 2009-09-27 10:44:25 +00:00
alberth 8a21979b42 (svn r17653) -Fix (r17649): Widgets at the bottom button bar of the depot window should adapt to differences in height. 2009-09-27 08:49:42 +00:00
alberth 4130ae0dfa (svn r17652) -Codechange: Merging/renaming the depot block-size functions. 2009-09-27 08:28:49 +00:00
rubidium 73ffd2b178 (svn r17651) -Fix [FS#3238] (r17644): crashes when commands related to company settings where done 2009-09-26 22:37:44 +00:00
alberth dd108f2399 (svn r17650) -Codechange: Checking a condition once is enough. 2009-09-26 19:26:08 +00:00
alberth f7120de1f7 (svn r17649) -Codechange: Depot gui uses pure nested widgets. 2009-09-26 19:21:20 +00:00
alberth 16dcc64540 (svn r17648) -Codechange: Move type initialization and widget disabling to the constructor. 2009-09-26 18:47:41 +00:00
alberth 9c3722f31c (svn r17647) -Codechange: Moving widget array access to outside the function. 2009-09-26 18:15:35 +00:00
rubidium 812ba03058 (svn r17646) -Fix (r17644): GCC 4.4/4.5 compile failure 2009-09-26 17:50:10 +00:00
translators 870af9695a (svn r17645) -Update from WebTranslator v3.0:
traditional_chinese - 10 changes by josesun
russian - 1 changes by Lone_Wolf
vietnamese - 26 changes by nglekhoi
2009-09-26 17:45:12 +00:00
rubidium ac99610a05 (svn r17644) -Fix [FS#3219]: some inconsistencies with the difficulty settings in the scenario editor. Also re-enable changing some difficulty settings (e.g. max loan) in the scenario editor. 2009-09-26 17:43:06 +00:00
alberth a47138ad34 (svn r17643) -Codechange: Code style for variables in depot gui. 2009-09-26 16:06:54 +00:00
rubidium 06040213b4 (svn r17642) -Change: make a comment more clear (Eddi) 2009-09-26 12:30:30 +00:00
rubidium 2b61d49f30 (svn r17641) -Codechange: remove the {N:...} that's not needed anymore since the currency window is nested. 2009-09-26 10:06:48 +00:00
rubidium 02bf984273 (svn r17640) -Codechange: make the custom currency window nested 2009-09-26 10:01:53 +00:00
rubidium 862754d36d (svn r17639) -Codechange: let the difficulty settings GUI make really use the nested widget features 2009-09-26 08:30:02 +00:00
rubidium 22c4ef6aee (svn r17638) -Fix [FS#3235]: Crash when trying to build an industry that has no industry layout defined; yes, it's very similar to r17633 because one case was forgotten. 2009-09-25 21:08:45 +00:00
rubidium 025876aa25 (svn r17637) -Codechange: move the game difficulty window's window/widget description below the window class 2009-09-25 19:42:57 +00:00
rubidium 2080c0990c (svn r17636) -Codechange: make the difficulty setting window nested 2009-09-25 19:36:09 +00:00
rubidium 3f600bba24 (svn r17635) -Codechange: make the chat gui nested 2009-09-25 18:15:41 +00:00
translators 99881a1c9b (svn r17634) -Update from WebTranslator v3.0:
simplified_chinese - 6 changes by Gavin
finnish - 8 changes by jpx_
german - 2 changes by Roujin
romanian - 49 changes by kkmic
ukrainian - 51 changes by Madvin
vietnamese - 92 changes by nglekhoi
2009-09-25 17:45:21 +00:00
rubidium 36e70b57ee (svn r17633) -Fix [FS#3233]: [NewGRF] Crash when trying to build an industry that has no industry layout defined. 2009-09-25 09:32:20 +00:00
translators d378dc0d3b (svn r17628) -Update from WebTranslator v3.0:
danish - 2 changes by beruic
german - 5 changes by dihedral
thai - 119 changes by ityellow
2009-09-24 17:45:12 +00:00
yexo 52f2359edd (svn r17627) -Document [FS#3216]: The remaining functions in info.nut 2009-09-23 22:15:57 +00:00
alberth 53188cd528 (svn r17626) -Codechange: Use Dimension structs instead of array of length 2 for storing horizontal/vertical information. 2009-09-23 20:48:30 +00:00
rubidium 4b7e2ff704 (svn r17625) -Codechange: make a nested window of the station joiner 2009-09-23 20:14:59 +00:00
alberth 39c14f9044 (svn r17624) -Codechange: Swap entries in _resize_cap[][] so the code does what the docs say. 2009-09-23 19:57:56 +00:00
rubidium 2d03e0af5d (svn r17623) -Codechange: don't update the station's joiner scrollbar count in the drawing code 2009-09-23 19:41:25 +00:00
translators 244923a18d (svn r17622) -Update from WebTranslator v3.0:
catalan - 8 changes by arnau
dutch - 5 changes by habell
english_US - 9 changes by agenthh
french - 5 changes by glx
indonesian - 5 changes by prof
italian - 5 changes by lorenzodv
russian - 1 changes by Lone_Wolf
serbian - 5 changes by etran
turkish - 6 changes by niw3
2009-09-23 17:45:31 +00:00
rubidium 6032f406ad (svn r17621) -Document [FS#3216]: most of the functions an AI can/must use in their instantiation of AIInfo. 2009-09-23 16:07:17 +00:00
rubidium a848fda880 (svn r17620) -Fix (r17502): edit box offsets were off. Now they're still off, but look (in my opinion) even better than before 2009-09-23 15:42:29 +00:00
glx 92c4831bf2 (svn r17619) -Fix: rename STR_TINT_GROUP to STR_TINY_GROUP 2009-09-23 13:25:00 +00:00
rubidium b3c5c8cadb (svn r17618) -Fix [FS#3226]: the 'lock' icon would erroneously be drawn for companies if the company had a password before the reset 2009-09-22 21:14:31 +00:00
rubidium 7d24e84a81 (svn r17617) -Codechange: make the server side packet handling be more like the client side's handling, i.e. return the connection status
-Fix: do not do invalid reads when a packet handling function closed a connection
2009-09-22 20:44:14 +00:00
frosch e261d8d9a0 (svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback 0x36. Based on Terkhen's work. 2009-09-22 19:28:57 +00:00
smatz 8f45efa8dd (svn r17615) -Fix (r17612): town sign could be glitchy when creating town with custom name (Terkhen) 2009-09-22 18:55:15 +00:00
smatz de96f4d309 (svn r17614) -Fix: crash when deleting town while TownDirectory is open 2009-09-22 18:50:58 +00:00
translators cc5acdf304 (svn r17613) -Update from WebTranslator v3.0:
traditional_chinese - 107 changes by josesun
dutch - 12 changes by habell
french - 3 changes by glx
german - 1 changes by dihedral
hungarian - 6 changes by alyr
indonesian - 1 changes by prof
italian - 6 changes by lorenzodv
russian - 7 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 8 changes by Terkhen
2009-09-22 17:45:35 +00:00
smatz 1da745c9ad (svn r17612) -Feature: possibility to choose (randomise or enter custom) town name before its creation (original patch by Terkhen) 2009-09-22 13:54:54 +00:00
smatz 665864e5b0 (svn r17611) -Fix: buffers used for verifying company and president name length were too short, possibly causing false positives 2009-09-22 12:42:56 +00:00
yexo 3a7da30922 (svn r17609) -Fix: the dummy AI had no API version set, causing the 'API compatibility script not found' error to be printed when loading it 2009-09-22 11:10:04 +00:00
smatz 93d275f1be (svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' too 2009-09-21 20:22:56 +00:00
smatz 0a6e336484 (svn r17607) -Fix: when command didn't fail in test run and failed in exec run, error message wasn't set. Affects only few commands 2009-09-21 19:40:05 +00:00
rubidium 01ab1c6001 (svn r17606) -Add: initial support for Haiku; a dedicated server with zlib and libpng compiles and links (for me). Something's fishy with the network so it doesn't actually work (yet) 2009-09-21 18:36:33 +00:00
rubidium 3dd202ba1c (svn r17605) -Fix [FS#3218]: [NewGRF] Crash when defining the same tile in a tile layout twice 2009-09-21 18:31:47 +00:00
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