Commit Graph

6099 Commits

Author SHA1 Message Date
alberth 848404eea5 (svn r16047) -Codechange: Extracting widget number enums from their window classes. 2009-04-12 19:25:59 +00:00
rubidium 118a9bdaf1 (svn r16046) -Change: when sorting on cargo ratings only take a look at the ratings of the cargoes that are 'selected'. 2009-04-12 19:23:26 +00:00
rubidium ae3ebe6834 (svn r16045) -Feature [FS#597]: allow sorting stations by the lowest cargo rating instead of only by the highest cargo rating (based on the idea of KeeperOfTheSoul) 2009-04-12 19:15:53 +00:00
frosch f46f8bd427 (svn r16044) -Fix (r16042): Win compilation. (Swallow) 2009-04-12 18:40:39 +00:00
alberth f17d6df0a6 (svn r16043) -Codechange: Prepare town-view widgets for nesting. 2009-04-12 17:47:33 +00:00
frosch 6ebe8d7fc6 (svn r16042) -Feature [FS#1941]: Allow filtering of vehicle purchase lists by cargo. Based on patch by sbr. 2009-04-12 17:38:01 +00:00
rubidium 13d6412c22 (svn r16041) -Fix [FS#774]: the currency abbreviation for the Romanian Leu is now RON. 2009-04-12 17:27:44 +00:00
alberth d0f91fbea2 (svn r16040) -Codechange: Use coordinates from the widget for the town-view viewport instead of magic constants. 2009-04-12 15:30:16 +00:00
alberth 0196f06744 (svn r16039) -Codechange: Completing widget number enums of town windows and adding them as comment to the widget arrays. 2009-04-12 15:17:27 +00:00
frosch 07a5f529bf (svn r16038) -Codechange: Remove BuildVehicleWindow::regenerate_list in favor of the GUIList flag. 2009-04-12 14:12:17 +00:00
rubidium 5790293af6 (svn r16037) -Feature: allow (per order) to let a train stop at the near end, middle or far end of a platform from the point of view of the driver of the train that enters the station. 2009-04-12 14:11:14 +00:00
alberth e85e8ca4db (svn r16036) -Codechange [FS#2825]: Renamed TVW_SHOWAUTORITY to TVW_SHOWAUTHORITY (bilbo) 2009-04-12 06:01:24 +00:00
rubidium 47e2901e18 (svn r16034) -Fix: compile warnings generated by 64 bits MSVC. 2009-04-11 20:26:25 +00:00
alberth e5ab73e762 (svn r16033) -Codechange: Added nested widgets to about window, land-info window, and both query windows. 2009-04-11 19:14:34 +00:00
alberth 23f0277526 (svn r16032) -Codechange: Completing widget numbers of query windows. 2009-04-11 18:38:10 +00:00
alberth 8a90633ba6 (svn r16031) -Codechange: Added nested widgets to highscore and endgame windows. 2009-04-11 18:10:32 +00:00
translators f190eb0d93 (svn r16030) -Update: WebTranslator2 update to 2009-04-11 17:38:26
serbian    - 50 fixed by etran (50)
traditional_chinese - 6 fixed, 2 changed by josesun (8)
2009-04-11 17:38:29 +00:00
rubidium f99b125c84 (svn r16029) -Fix [FS#2785]: do not give "... Mines" as name to the station of oil rigs, or more general: do not add "... Mines" when the all of the cargoes are part of the liquid, passenger or mail classes. 2009-04-11 17:09:38 +00:00
rubidium ec0635e59b (svn r16028) -Fix [FS#2826]: storing/loading some currencies failed due to inconsistent "tables".
-Codechange: unduplicate settings "tables" that might be made inconsistent in the future (to prevent other cases like FS#2826).
2009-04-11 15:23:54 +00:00
frosch 1b85c10a5b (svn r16027) -Fix (r9555): Usage of uninitialised memory when trying to build a random new industry, but there are no industrytypes to choose from (i.e. all appearance probabilities are zero). 2009-04-11 14:54:03 +00:00
peter1138 be7215497c (svn r16026) -Codechange: Use font height for chat line spacing instead of fixed value. 2009-04-11 10:38:00 +00:00
rubidium f16aa9f509 (svn r16025) -Fix [FS#2818]: "build separate station" in the station picker would reuse deleted stations. 2009-04-10 22:47:19 +00:00
rubidium bee930f9b3 (svn r16024) -Codechange: harden string copying on places where it's possible 2009-04-10 20:37:05 +00:00
rubidium 4bf3508680 (svn r16023) -Fix (r15615) [FS#2817]: 32 bpp sprites in tars would also be shown in the list of heightmaps. 2009-04-10 20:20:37 +00:00
rubidium 2663ad302f (svn r16022) -Fix (r15159): sometimes the unregister "query" thread could be delayed so much that the network stuff was already closed and the packet would never reach the master server causing the server to appear online longer than necessary. 2009-04-10 20:18:48 +00:00
peter1138 238742ee03 (svn r16021) -Codechange: Offset current console output by (width of "] ")+5 pixels instead of 5+5 pixels. 2009-04-10 18:55:38 +00:00
peter1138 3bb5b00e48 (svn r16020) -Codechange: Use actual font height for console output instead of fixed value. 2009-04-10 18:21:40 +00:00
translators 3d15404ce3 (svn r16019) -Update: WebTranslator2 update to 2009-04-10 17:49:32
estonian   - 11 changed by kristjans (11)
serbian    - 50 fixed by etran (50)
turkish    - 2 fixed by Emin (2)
2009-04-10 17:49:39 +00:00
rubidium 930bc73e7a (svn r16018) -Fix (r16014): properly escape IPv6 style ([::]) addresses so they aren't seen as new groups. 2009-04-10 17:16:46 +00:00
alberth c8b495fb38 (svn r16017) -Codechange: Added nested widgets to transparency settings window. 2009-04-10 16:31:29 +00:00
alberth f663b77dbb (svn r16016) -Codechange: Moving the TransparencyToolbarWidgets outside the window class. 2009-04-10 16:24:12 +00:00
alberth 5bac7a339f (svn r16015) -Codechange: Completing the TransparencyToolbarWidgets enum. 2009-04-10 16:20:54 +00:00
rubidium 7d3db3ee91 (svn r16014) -Feature(-ish): allow binding to several IPs; [network]:server_bind_ip doesn't exist anymore. Add the IPs/hostnames to [server_bind_addresses] 2009-04-10 12:56:55 +00:00
alberth ba200c6a92 (svn r16013) -Codechange: Add nested widgets to music windows. 2009-04-10 11:06:12 +00:00
peter1138 6bf1a49475 (svn r16012) -Codechange: Code style clean up. 2009-04-10 11:03:48 +00:00
alberth 9acb1dc3f2 (svn r16011) -Codechange: Extracting widget number enums from the window classes. 2009-04-10 11:02:09 +00:00
alberth 69ad98ecd5 (svn r16010) -Cleanup: Declare variables at first use. 2009-04-10 10:29:28 +00:00
alberth 0f360420fe (svn r16009) -Codechange: Simplifying some variable assignments. 2009-04-10 10:21:16 +00:00
alberth d28cd96817 (svn r16008) -Fix (r15808): Unswap swapped music selection panels. 2009-04-10 09:43:53 +00:00
rubidium 460fbc7c92 (svn r16007) -Fix (r16004): when we want to bind to both IPv4 and IPv6, make the master socket do that too; too bad getaddrinfo can't handle binding to any address on any port at the same time :( 2009-04-10 09:23:35 +00:00
frosch d3de4ba91b (svn r16006) -Fix (r0): Chance16() did not work for b = 1. Also transform the formula to not use divisions. 2009-04-09 22:37:59 +00:00
rubidium 28bce241fd (svn r16005) -Fix: assertion when there is no last joined server; when you've got an unresolved address, the hostname cannot be resolved either so return it as-is. 2009-04-09 21:36:09 +00:00
rubidium 8477e92386 (svn r16004) -Fix (r16000): explicitly binding to an IPv4 socket would try to register an IPv6 address (only if it could ofcourse) 2009-04-09 21:26:29 +00:00
alberth b5da02ac1c (svn r16003) -Codechange: Replaced magic widget number constant with enumerated value in graph legend window. 2009-04-09 11:42:24 +00:00
alberth 11f406c0a4 (svn r16002) -Codechange: Added nested widgets for company league window 2009-04-09 11:22:36 +00:00
alberth 4af791e888 (svn r16001) -Codechange: Added nested widgets to cargo payment rates window 2009-04-09 09:41:10 +00:00
rubidium c0f9af5607 (svn r16000) -Feature: IPv6 support 2009-04-09 01:22:45 +00:00
rubidium 7118c48b98 (svn r15999) -Codechange: VARDEF--; 2009-04-09 01:22:33 +00:00
rubidium ebe0f9e7f7 (svn r15998) -Codechange: some coding style updates 2009-04-09 01:16:15 +00:00
rubidium c08c4224be (svn r15997) -Fix [FS#2811]: multiline string truncation broke extending the industry window when there are more lines of information 2009-04-09 01:10:35 +00:00
rubidium 882e495f5c (svn r15993) -Codechange: clean up/generalise the handling of the server list 2009-04-08 23:41:48 +00:00
rubidium c2dbc8270b (svn r15991) -Fix: don't add 0.0.0.0/:: to the server list; you can't connect to them in any case 2009-04-08 21:16:24 +00:00
rubidium 0f0cc67d62 (svn r15990) -Codechange: provide a thread safe variant of GetAddressAsString. 2009-04-08 21:11:16 +00:00
rubidium e779c56e31 (svn r15989) -Fix (r15987: segfault due to uninitialised sockets. 2009-04-08 21:03:00 +00:00
rubidium 1d4318c0d1 (svn r15988) -Fix: inconsistency between using NETWORK_NAME_LENGTH and NETWORK_CLIENT_NAME_LENGTH for the length of client names. 2009-04-08 19:39:03 +00:00
rubidium 08e37a6f10 (svn r15987) -Fix: make the master socket only listen on the IP the server is bound to. 2009-04-08 19:36:51 +00:00
translators 9c814d64f4 (svn r15985) -Update: WebTranslator2 update to 2009-04-08 17:53:32
catalan    - 1 fixed by arnaullv (1)
english_US - 1 fixed by WhiteRabbit (1)
estonian   - 1 changed by kristjans (1)
galician   - 7 fixed by Condex (7)
malay      - 2 fixed by tombakemas (2)
romanian   - 2 fixed by kkmic (2)
serbian    - 2 fixed by etran (2)
spanish    - 2 fixed by eusebio (2)
2009-04-08 17:53:40 +00:00
rubidium 080095ade5 (svn r15984) -Codechange: prepare the UDP receiver to process multiple types of returned server lists. 2009-04-08 17:51:04 +00:00
rubidium cd8da0d69e (svn r15982) -Codechange: use GetAddressAsString to get the name instead of passing the hostname and the IP into a string. 2009-04-08 12:52:53 +00:00
rubidium 9d6edae94d (svn r15981) -Fix: don't print the address family when writing the IP+port to the config file. 2009-04-08 12:09:07 +00:00
rubidium 18146572b0 (svn r15980) -Codechange: don't try to bind to the same socket twice; it's quite pointless. 2009-04-08 11:57:00 +00:00
rubidium c2152fa31f (svn r15979) -Codechange: tweak the debug/warning levels of some of the messages when binding 2009-04-08 01:23:44 +00:00
rubidium a5a424ce28 (svn r15978) -Codechange: support parsing [] enclosed IPv6 addresses. 2009-04-08 01:22:57 +00:00
rubidium 20e82c46d3 (svn r15976) -Codechange: make it a bit more clear for what (type of) address binding fails 2009-04-08 00:41:35 +00:00
rubidium 1eb4aa971e (svn r15975) -Codechange: register each of the IPs we have bound to to the masterserver 2009-04-08 00:26:49 +00:00
glx d466fa9672 (svn r15974) -Fix (r15969): win32 compilation was broken (again) 2009-04-08 00:10:20 +00:00
rubidium 8cf88876ef (svn r15973) -Codechange: make it possible to listen on multiple TCP sockets 2009-04-08 00:05:16 +00:00
rubidium c0f8214218 (svn r15972) -Codechange: remove unneeded parameter 2009-04-08 00:03:05 +00:00
rubidium 2a6e9288fd (svn r15971) -Codechange: make it possible for UDP socket handlers to bind to multiple sockets. 2009-04-07 20:27:13 +00:00
rubidium 6db7f15b3a (svn r15970) -Codechange: make it possible to resolve a single address into multiple sockets. 2009-04-07 19:52:01 +00:00
rubidium 82f8badc07 (svn r15969) -Codechange: make the list of broadcast addresses virtually unlimited. 2009-04-07 19:06:36 +00:00
rubidium fdddfd6269 (svn r15968) -Codechange: do not allocate a buffer for NetworkAddresses so passing it around is easier. 2009-04-07 19:04:37 +00:00
rubidium 22d9306889 (svn r15967) -Codechange: do not access NetworkSocketHandler::has_quit directly 2009-04-07 18:23:14 +00:00
svnsync 3fdb8a62c4 (svn r15966) -Fix: over time, several incosistancies were not fixed by WT2. Take care of that now. Also introduce #textdir for all languages. 2009-04-07 14:28:32 +00:00
smatz 1eeb1d6cee (svn r15965) -Change: use recent Czech language for plural form (it has been official for years anyway) 2009-04-07 00:05:44 +00:00
translators c738978dae (svn r15964) -Update: WebTranslator2 update to 2009-04-06 17:40:13
afrikaans  - 36 fixed by burgerd (36)
czech      - 2 fixed, 6 changed by SmatZ (8)
dutch      - 1 fixed by habell (1)
estonian   - 111 fixed, 5 changed by kristjans (116)
finnish    - 2 fixed by jpx_ (2)
german     - 1 fixed by planetmaker (1)
luxembourgish - 30 fixed by Gubius (30)
serbian    - 100 fixed by etran (100)
slovenian  - 2 fixed by Necrolyte (2)
2009-04-06 17:40:24 +00:00
rubidium dc161c72e0 (svn r15963) -Fix [FS#2814]: (v)seprintf chopped of strings one character earlier than necessary. 2009-04-06 10:05:36 +00:00
rubidium 0678cb561d (svn r15961) -Codechange: prepare the 'client' side for receiving 'session keys' from the masterserver so servers can register with multiple IPs as the same server. 2009-04-05 19:43:41 +00:00
translators ebb1ed6601 (svn r15960) -Update: WebTranslator2 update to 2009-04-05 17:47:56
arabic_egypt - 2 fixed by khaloofah (2)
catalan    - 1 fixed, 4 changed by arnaullv (5)
dutch      - 1 fixed by Excel20 (1)
english_US - 1 fixed by WhiteRabbit (1)
estonian   - 46 fixed, 1 changed by kristjans (47)
french     - 2 fixed by glx (2)
german     - 1 fixed by planetmaker (1)
hungarian  - 2 fixed by IPG (2)
italian    - 2 fixed by lorenzodv (2)
serbian    - 62 fixed by etran (62)
2009-04-05 17:48:08 +00:00
frosch 3393da4810 (svn r15958) -Fix [FS#2787]: Abort production callback after 0x10000 iterations and show a messagebox blaming the newgrf. (mizipzor) 2009-04-05 12:17:36 +00:00
peter1138 5551e3d2c6 (svn r15957) -Fix (r4767): Set callback_param1 (var 10) to 1 only when requested. 2009-04-05 08:06:40 +00:00
peter1138 679248fb51 (svn r15956) -Codechange: Enumorize station spec flags. 2009-04-05 08:01:36 +00:00
rubidium edfc2e536e (svn r15954) -Fix: comparing addresses kinda fails (sometimes) causing duplicates in the game list 2009-04-04 13:09:36 +00:00
rubidium 171f98d523 (svn r15953) -Fix [FS#2783]: left - right != width causing strings to be truncated too early 2009-04-04 10:59:14 +00:00
alberth bdf05e797d (svn r15952) -Codechange: Added nested widgets to operating profit, income, delivered cargo, and company value windows. 2009-04-04 09:03:28 +00:00
rubidium 616cac0c54 (svn r15951) -Fix (r15946) [FS#2803]: ofcourse a couple of OSes/compilers do not provide a nice 'interface', so we have to do it the ugly way. 2009-04-04 08:48:12 +00:00
glx 5eed35ef54 (svn r15950) -Fix (r15946): mingw compilation 2009-04-04 03:45:02 +00:00
rubidium a779611665 (svn r15948) -Fix: resolve network addresses before comparing them 2009-04-04 01:51:32 +00:00
rubidium c9ebf14ba5 (svn r15947) -Codechange: replace uint32 client_ip with NetworkAddress client_address. 2009-04-04 00:48:48 +00:00
rubidium 2fd9f0fffa (svn r15946) -Codechange: move netmask matching to NetworkAddress and add some support for IPv6 netmask matching. 2009-04-04 00:47:08 +00:00
glx e460d3f4d0 (svn r15945) -Fix (r15944): win32 compilation 2009-04-03 23:44:31 +00:00
rubidium 7cf4639255 (svn r15944) -Codechange: disable IPv4 over IPv6 sockets as there is no default value and not all OSes actually support IPv4 over IPv6 so making it the same on all OSes eases debugging and such 2009-04-03 21:46:52 +00:00
alberth ccd2468eb2 (svn r15943) -Fix: Tooltip of detailed ratings window button showed wrong tip 2009-04-03 20:41:20 +00:00
translators 5b9a3e65fc (svn r15942) -Update: WebTranslator2 update to 2009-04-03 17:29:01
icelandic  - 3 changed by scrooge (3)
lithuanian - 3 fixed by geckonas (3)
serbian    - 29 fixed by Jenraux (29)
slovak     - 7 changed by ezimir (7)
2009-04-03 17:29:07 +00:00
rubidium ce06df313d (svn r15941) -Codechange: jonty-comp's wish partly implemented (content server) ;) 2009-04-03 17:20:57 +00:00
rubidium 1463b00b48 (svn r15940) -Codechange: move setting reuse address to the binding process. 2009-04-03 17:02:29 +00:00
glx 2dafb9dd57 (svn r15938) -Fix: broadcast addresses detection was broken for win32 2009-04-03 16:22:34 +00:00
rubidium e05e1822d6 (svn r15935) -Codechange: function to compare IP addresses (to sort them) 2009-04-03 15:42:41 +00:00
rubidium 2bfc9ca50c (svn r15934) -Fix: work around Solaris' inability to "parse" 0 as defined in the specifications. 2009-04-03 15:24:39 +00:00
glx 65d10e66f0 (svn r15933) -Fix (r15920): mingw doesn't know getaddrinfo() and freeaddrinfo() either 2009-04-03 14:01:45 +00:00
rubidium 5386fe1a1c (svn r15932) -Codechange: show ip:port as (fallback) servername instead of only the ip. This way you can clearly see there aren't any duplicates. 2009-04-03 12:54:38 +00:00
rubidium 89d0eca6b7 (svn r15931) -Codechange: let the host and ban lists use of SmallVector. 2009-04-03 12:49:58 +00:00
glx d84fb358f5 (svn r15930) -Fix (r15926): MSVC compilation 2009-04-03 12:48:11 +00:00
alberth ab06ed241f (svn r15929) -Codechange: Added nested widgets for statusbar. 2009-04-03 12:39:52 +00:00
alberth 27a13ec67d (svn r15928) -Codechange: Moving statusbar widget numbers outside StatusBarWindow 2009-04-03 12:38:18 +00:00
alberth 9af4047eee (svn r15927) -Codechange: Added nested widget for generate-world windows 2009-04-03 11:59:41 +00:00
rubidium 11723c40b2 (svn r15926) -Codechange: make the broadcast IP list less AF dependent. 2009-04-03 11:02:41 +00:00
rubidium 47602d7b60 (svn r15925) -Codechange: remove _network_server_bind_ip as it's pretty AF dependant. 2009-04-03 10:29:56 +00:00
rubidium dccfba6e20 (svn r15924) -Codechange: replace NetworkResolveHost with something less AF dependant. 2009-04-03 09:07:16 +00:00
rubidium 632d74c6b1 (svn r15922) -Codechange: unify the ways to listen on a socket 2009-04-03 01:24:52 +00:00
rubidium ba5aafb9bb (svn r15921) -Fix: some OSes don't like sizeof(sockaddr_storage) but want sizeof(sockaddr) or whatever is 'valid' for the given protocol 2009-04-03 00:33:00 +00:00
rubidium c7b6469dab (svn r15920) -Codechange: make the (TCP) connecting less AF dependent. 2009-04-02 23:59:43 +00:00
glx 521bf687ee (svn r15919) -Fix (r15916): mingw doesn't know getnameinfo() (unless you compile for XP SP2+). Also fix a MSVC warning. 2009-04-02 23:22:59 +00:00
rubidium beef5da970 (svn r15918) -Fix (r15917): comparing IPs sometimes failed due to 'random' data (as spotted by SpComb) 2009-04-02 23:03:18 +00:00
rubidium c5160c7c8e (svn r15917) -Codechange: remove the latest traces of NetworkAddress::GetIP. 2009-04-02 20:39:30 +00:00
rubidium 1e205e01b8 (svn r15916) -Codechange: let the network game list use NetworkAddress 2009-04-02 20:17:46 +00:00
rubidium c0c6e07081 (svn r15915) -Codechange: let the udp code use NetworkAddress. 2009-04-02 19:21:26 +00:00
rubidium 804370d964 (svn r15914) -Codechange: let the content handling make use of NetworkAddress. 2009-04-02 18:35:59 +00:00
translators b2e7941783 (svn r15911) -Update: WebTranslator2 update to 2009-04-01 13:51:05
icelandic  - 27 fixed, 11 changed by scrooge (38)
serbian    - 37 fixed by etran (37)
2009-04-01 13:51:09 +00:00
yexo 57dab45e75 (svn r15910) -Fix [FS#2777]: Clarify that TILE_INVALID is part of AIMap make doxygen output some documentation for it. 2009-04-01 08:38:57 +00:00
rubidium 8f831ceebc (svn r15909) -Fix (r15892): Apple, PLEASE do not fill your API with #if !__LP64__. Especially when another part of your API depends on whether __LP64__ is defined and thus making it non-trivial to silence the warnings from the undefinedness of __LP64__ in #if !__LP64__... 2009-04-01 02:58:38 +00:00
rubidium e2e95af945 (svn r15908) -Fix: off-by-one in viewport strings/flags; left + width != right 2009-04-01 02:51:37 +00:00
glx e4a90f9688 (svn r15907) -Fix (r15841): some strings in save/load dialog were drawn with a 2 pixel offset 2009-03-31 22:55:38 +00:00
alberth 64fe9fb7c2 (svn r15906) -Codechange: Completed widget number enum of world-generation windows. 2009-03-31 17:46:18 +00:00
rubidium d3fa15e620 (svn r15905) -Fix (r15424): chat completion got called twice causing tab completion to seemingly fail 2009-03-31 00:57:21 +00:00
frosch f55be81e3c (svn r15901) -Add: AIIndustryType::IsBuiltOnWater(), HasHeliport() and HasDock(). Just like AIIndustry. 2009-03-30 20:48:10 +00:00
frosch 3bbf0fc87b (svn r15900) -Fix (r5076): Adding settings is not enough, you also have to use them. 2009-03-30 20:19:25 +00:00
alberth 861c29364c (svn r15899) -Fix (r15898): Removed widget number comments used for debugging. 2009-03-30 20:04:29 +00:00
alberth 6c02f9208f (svn r15898) -Codechange: Added nested widgets for create-scenrario window 2009-03-30 20:02:16 +00:00
alberth 70246b3d91 (svn r15897) -Codechange: Completed widget numbers and comment of create-scenario window. 2009-03-30 19:52:59 +00:00
translators ecb6195f5e (svn r15896) -Update: WebTranslator2 update to 2009-03-30 17:35:58
danish     - 2 changed by beruic (2)
icelandic  - 27 fixed, 13 changed by scrooge (40)
indonesian - 6 changed by anansboga (6)
polish     - 1 fixed, 13 changed by meush (14)
serbian    - 97 fixed by etran (97)
traditional_chinese - 2 fixed by josesun (2)
2009-03-30 17:36:07 +00:00
rubidium 14f52cf29e (svn r15895) -Fix (r15685): fixing the slopes was done a bit more often than intended making map generation with the original generator horribly slow 2009-03-30 08:59:26 +00:00
glx 66cd5dbc7c (svn r15894) -Codechange: remove console widget array (it was empty anyway) and window desc 2009-03-30 01:15:51 +00:00
glx 75c99d8b9b (svn r15893) -Add: watermark crash.sav and don't generate crash information if a loaded crash.sav causes a crash 2009-03-30 00:21:43 +00:00
rubidium 8293be426c (svn r15892) -Codechange: [OSX] some type fixes so OpenTTD likes more of the 3.1.x Xcodes. 2009-03-29 19:55:08 +00:00
frosch c2ced41c04 (svn r15891) -Fix (r13464): YAPF used different penalties for aqueducts than for other water tiles. 2009-03-29 18:20:02 +00:00
smatz a052191aca (svn r15890) -Codechange: unify the way 'can a town be placed here?' checks are done
-Change: the requirements for location of 'random' town are now a bit less strict
2009-03-29 15:06:44 +00:00
alberth 64bb0e60e4 (svn r15889) -Codechange: Add pre/inter/post space to nested background widgets 2009-03-29 13:25:01 +00:00
frosch f436a58b5e (svn r15888) -Fix (r15103)[FS#2772]: Round the production rate up, so e.g. oilrigs always produce some passengers on lowest production level. 2009-03-29 11:41:42 +00:00
rubidium a4139d5693 (svn r15886) -Fix [FS#2770]: libtimidity cannot handle frees of NULL (in contrast of most other frees) 2009-03-29 10:52:54 +00:00
alberth 9d2738b9c4 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 2009-03-29 09:49:11 +00:00
glx 7a9a5cd139 (svn r15884) -Codechange: New widgets for the industry windows 2009-03-28 19:08:55 +00:00
peter1138 9f8f342a6a (svn r15883) -Codechange: Make a widget enum for the sign list and use widget offsets instead of direct locations. 2009-03-28 17:39:03 +00:00
alberth 7284ae3f77 (svn r15882) -Codechange: New widgets for generation progress window. 2009-03-28 16:35:33 +00:00
yexo 50a6e589ed (svn r15881) -Fix (r15875): add an explicit cast so some compilers stop complaining. 2009-03-28 16:19:04 +00:00
glx bf354564ce (svn r15880) -Codechange: add an invisible widget on company manager face windows to position company manager face image 2009-03-28 15:20:03 +00:00
glx 5f2c5b5855 (svn r15879) -Codechange: add an invisible widget on advanced company face window to determine where to draw the strings instead refering to other widgets. Required for rtl languages. 2009-03-28 14:55:11 +00:00
alberth 3bebfc6fd3 (svn r15878) -Codechange: New widgets for the engine preview window. 2009-03-28 13:35:07 +00:00
peter1138 f30f5607e3 (svn r15877) -Codechange: Let drop down lists know about font height. 2009-03-28 12:47:29 +00:00
alberth 1d9c362dda (svn r15876) -Codechange: Nested widgets for build-dock station and dock toolbar windows. 2009-03-28 12:40:57 +00:00
yexo 400208ee0a (svn r15875) -Add: AIBridge::GetBridgeID() so AIs can get the type of bridge that are already build. 2009-03-28 12:04:38 +00:00
yexo e02d31cd3a (svn r15874) -Codechange: New widgets for the game options window. 2009-03-28 11:17:38 +00:00
alberth c557172e2c (svn r15873) -Codechange: Changing two comments to Doxygen comment. 2009-03-28 11:17:01 +00:00
yexo e00dc41903 (svn r15872) -Codechange: add paddings for widgets, this makes writing new widget arrays less cumbersome. 2009-03-28 11:13:39 +00:00
alberth b64fc3ccfa (svn r15871) -Fix: Repositioning and resizing the coverage highlight buttons of the build-dock window 2009-03-28 10:07:35 +00:00
yexo 289837b95f (svn r15870) -Codechange: New widgets for the autoreplace window. 2009-03-28 04:26:43 +00:00
glx 83fb6b50bb (svn r15869) -Codechange: New widgets for select manager face and select livery windows 2009-03-28 04:14:02 +00:00
yexo e701019992 (svn r15868) -Codechange: remove the close box from the widget array instead of doing it in the constructor of the difficulty window. This makes it work again in rtl languages. 2009-03-28 02:54:40 +00:00
yexo ed330197c4 (svn r15867) -Codechange: remove the assumption that the first widgets are the close box/title bar.
Most work already done by r15756.
2009-03-28 02:46:10 +00:00
yexo 4a4ee9fb37 (svn r15866) -Codechange: New widgets for the difficulty window. 2009-03-28 02:11:41 +00:00
glx b4b700a789 (svn r15865) -Codechange: New widgets for company finances windows 2009-03-27 22:59:43 +00:00
glx 7229d7d114 (svn r15864) -Codechange: add some 'invisible' widgets on company finances window, and use them to determine where to draw strings instead using some magic values 2009-03-27 01:55:25 +00:00
smatz 47036cb49e (svn r15863) -Fix (r15791): company money and game date strings were swapped on the statusbar 2009-03-26 22:13:00 +00:00
yexo 84b632d60f (svn r15862) -Codechange: New widgets for the road, rail and ship depot guis. 2009-03-26 21:12:14 +00:00
yexo d17083e429 (svn r15861) -Codechange: Add NWID_HORIZONTAL_LTR that forces the ordering from left-to-right. 2009-03-26 20:39:04 +00:00
frosch 44351cdc57 (svn r15860) -Add: AIRoad::GetRoadVehicleTypeForCargo() to tell whether a certain cargo needs a bus- or a truckstop. 2009-03-26 19:45:45 +00:00
frosch 19b47c1e89 (svn r15859) -Documentation: Meaning of AICargo::CC_PASSENGERS wrt. bus- and truckstops, and meaning of AICargo::IsFreight() wrt. freight train weight multiplier. 2009-03-26 19:44:13 +00:00
yexo 9061cd8b18 (svn r15858) -Codechange: New widgets for the road toolbars. 2009-03-26 18:55:42 +00:00
translators 350e4683b3 (svn r15857) -Update: WebTranslator2 update to 2009-03-26 18:44:31
arabic_egypt - 8 fixed by khaloofah (8)
danish     - 4 changed by beruic (4)
dutch      - 1 changed by Excel20 (1)
icelandic  - 25 fixed by scrooge (25)
luxembourgish - 10 fixed by Gubius (10)
polish     - 1 fixed by xaxa (1)
romanian   - 1 fixed, 1 changed by kkmic (2)
welsh      - 4 fixed by PlayDead (4)
2009-03-26 18:44:41 +00:00
glx b2cce8009e (svn r15856) -Fix (r15819): NWidgetLeaf constructor don't use the provided window caption string 2009-03-26 16:23:25 +00:00
glx 9965f02827 (svn r15855) -Codechange: complete the company finances window widget enum and remove unneeded magic in large window definition 2009-03-26 02:02:11 +00:00
yexo 381a20d841 (svn r15854) -Codechange: New widgets for build tree window. 2009-03-25 22:07:25 +00:00
yexo 6b095a218b (svn r15853) -Codechange: New widgets for the waypoint gui. 2009-03-25 21:38:05 +00:00
yexo 809e4f398c (svn r15852) -Codechange: New widgets for the AI windows. 2009-03-25 21:35:53 +00:00
rubidium f3262c76f0 (svn r15851) -Fix (r15849): compile failure when there's no freetype... 2009-03-25 21:35:22 +00:00
rubidium 89ceed55bf (svn r15850) -Codechange: replace some magic constants with the less magic line height constant 2009-03-25 20:16:09 +00:00
rubidium e8d76e79ee (svn r15849) -Codechange: provide easy access to the real height of the used fonts 2009-03-25 20:01:34 +00:00
peter1138 28d3123dfd (svn r15848) -Feature: Add autoclean_novehicles setting which will, when autoclean_companies is true, remove any company with no vehicles and no active client after autoclean_novehciles-months. 2009-03-25 16:30:33 +00:00
rubidium 2052850425 (svn r15847) -Fix (r15837): the 'title' text of the music gui would be drawn big and in blue instead of small and in black 2009-03-25 14:21:50 +00:00
rubidium 3e979be390 (svn r15846) -Fix: shuffle button text alignment was based on the wrong widget 2009-03-25 14:15:34 +00:00
peter1138 27714cacc5 (svn r15845) -Fix: Ancient comments 2009-03-25 14:03:29 +00:00
rubidium 3e93f8adda (svn r15844) -Codechange: allow text alignment to be forced so the console and ai debug output don't get swapped (those are untranslateable anyways) 2009-03-25 01:10:24 +00:00
rubidium 4a500bbcdb (svn r15843) -Codechange: with RTL the caret would always be drawn at the end of the textbox. 2009-03-25 00:28:57 +00:00
rubidium 4ad9dda5a0 (svn r15842) -Codechange: make DrawSortButtonState RTL. 2009-03-25 00:21:22 +00:00
rubidium 86b97f3127 (svn r15841) -Fix: the saveload window could draw directory partly outside the window 2009-03-25 00:16:28 +00:00
rubidium 716fa8b501 (svn r15840) -Codechange: complete the game option window widget enum and unify the naming. 2009-03-25 00:08:47 +00:00
rubidium 283b5bd27c (svn r15839) -Fix: high score text was (partly) off-screen when using RTL and the window was wider than 640 pixels 2009-03-24 22:18:40 +00:00
rubidium 4546be7e90 (svn r15838) -Fix: MSVC 64 bits warnings 2009-03-24 22:00:11 +00:00
rubidium 5c44bb6b63 (svn r15837) -Codechange: support SETX(Y) with RTL text, swap alignment for RTL text. 2009-03-24 21:23:56 +00:00
rubidium 8cba245791 (svn r15836) -Fix [FS#2762]: acceptance not shown in the station window (swapping top and bottom isn't a great idea) 2009-03-24 20:23:47 +00:00
yexo 84fb615344 (svn r15835) -Codechange: Prevent using the return value of DrawString as much as possible. 2009-03-24 20:03:02 +00:00
translators 306239ee3e (svn r15834) -Update: WebTranslator2 update to 2009-03-24 18:51:22
bulgarian  - 13 fixed by Ar4i (13)
korean     - 2 changed by dlunch (2)
latvian    - 2 fixed by silentKnight (2)
luxembourgish - 14 fixed by Gubius (14)
polish     - 22 fixed by xaxa (22)
2009-03-24 18:51:30 +00:00
rubidium 2347c41840 (svn r15833) -Fix: alignment of up/down arrows and closebox when in RTL 'view' 2009-03-23 22:20:23 +00:00
rubidium c9e2e22bc0 (svn r15832) -Codechange: improve the aligning of right aligned/centered strings 2009-03-23 14:10:54 +00:00
smatz abff5eacbc (svn r15831) -Fix: make sure house class/ID counters don't overflow 2009-03-23 14:09:05 +00:00
smatz c299bac5be (svn r15830) -Codechange: don't use fixed size of array in news_gui.cpp and news_func.h 2009-03-23 11:48:05 +00:00
yexo c91f965f08 (svn r15827) -Fix (r15823): line still was a bit too long 2009-03-23 00:15:35 +00:00
yexo b61a681f02 (svn r15825) -Codechange: remove the WWT_DROPDOWNIN widget type and replace it with WWT_DROPDOWN. 2009-03-23 00:08:59 +00:00
rubidium 4012549c5e (svn r15824) -Fix: determine the actual length of the strings to draw in the viewport 2009-03-22 23:54:36 +00:00
yexo 3b231810ee (svn r15823) -Codechange: prepare the WWT_FRAME and WWT_DROPDOWN(IN) widget types for rtl languages. 2009-03-22 23:44:53 +00:00
rubidium e25b2f5d60 (svn r15822) -Codechange: replace some magic numbers and improve alignment of the start server window. 2009-03-22 23:38:29 +00:00
peter1138 216a8eaac6 (svn r15821) -Fix (r15813): Wrong widget selection prevented drop down label showing in vehicle list windows. Instead of drawing the label ourselves we can set the dropdown's data property to the string to draw. 2009-03-22 21:56:40 +00:00
alberth 6567a29e18 (svn r15820) -Codechange: Some windows using nested widgets 2009-03-22 21:16:57 +00:00
alberth 12a31f3d5c (svn r15819) -Add: Nested widgets framework 2009-03-22 21:15:45 +00:00
rubidium 56e7d2944b (svn r15818) -Fix [FS#2752]: some (newer) GCCs have trouble compiling the Win32 specific part of fontcache.cpp; jumps across variable declarations (Maeyanie) 2009-03-22 21:07:55 +00:00
alberth 2fe151bd92 (svn r15817) -Codechange: Make room for additional widget types (Rubidium) 2009-03-22 18:46:56 +00:00
translators dcf7d05a66 (svn r15816) -Update: WebTranslator2 update to 2009-03-22 18:37:40
english_US - 3 fixed by WhiteRabbit (3)
german     - 2 changed by planetmaker (2)
japanese   - 43 fixed, 2 changed by nex259 (45)
portuguese - 1 fixed by SnowFlake (1)
romanian   - 1 fixed by stykat (1)
2009-03-22 18:37:47 +00:00
rubidium 9e1cd7ab64 (svn r15815) -Fix (~r15800): bridge strings got truncated too early 2009-03-22 16:52:15 +00:00
alberth b563cc0755 (svn r15814) -Fix (r1): Remove double background widget from cheat gui 2009-03-22 16:06:12 +00:00
rubidium e75e1e62cb (svn r15813) -Codechange: remove the last remnants of the old text drawing API. 2009-03-22 14:55:49 +00:00
rubidium 9038733f1a (svn r15812) -Codechange: use the new DrawString API in another set of GUIs 2009-03-22 14:39:20 +00:00
rubidium 22d4270ea8 (svn r15811) -Fix: left != right and as a result of that the ai debug window was kinda empty. 2009-03-22 14:08:53 +00:00
alberth 663c73595f (svn r15810) -Fix: Airport-type labels overlapped with first button, background did not cover whole window 2009-03-22 13:17:37 +00:00
alberth 3b2f47c470 (svn r15809) -Codechange: Add name comments to build vehicle widgets 2009-03-22 12:14:44 +00:00
rubidium 57174a9301 (svn r15808) -Codechange: use the new DrawString API in a number of GUIs 2009-03-22 12:01:21 +00:00
rubidium dfe5dad5f6 (svn r15807) -Codechange: let the build vehicle gui helper function pass around left and right instead of only left and assuming infinite width. 2009-03-22 11:06:25 +00:00
rubidium ead0a6a6e5 (svn r15806) -Codechange: pass both left and right to the vehicle details drawing functions instead of only the left. 2009-03-22 10:37:51 +00:00
alberth 8324f65b4b (svn r15805) -Codechange: Completing/fixing airportpicker widget names and adding them as comment 2009-03-22 09:58:38 +00:00
rubidium 4eaf4e6182 (svn r15804) -Fix (r15796): viewport strings weren't properly 'rendered'.
-Codechange: use the new string drawing API for the viewport.
2009-03-22 09:43:00 +00:00
rubidium e74dc1e1d6 (svn r15803) -Codechange: use the new text drawing API for multicenter
-Fix (r15800): off-by-one w.r.t. offsets
2009-03-22 09:34:06 +00:00
alberth 70d0f8857e (svn r15802) -Codechange: Complete autoreplace GUI widget numbers and add them as comment 2009-03-22 09:04:15 +00:00
peter1138 4c02622cae (svn r15801) -Fix (r15797): The new DrawStringMultiLine() now returns the new y position instead of the height, so we don't need to add it on. 2009-03-22 08:10:20 +00:00
rubidium a07fae67c3 (svn r15800) -Codechange: make the engine gui use the new multiline API. 2009-03-22 00:15:00 +00:00
peter1138 3abddfe705 (svn r15799) -Codechange: Save rail type label list to savegame and perform mapping on load if necessary. 2009-03-21 23:58:20 +00:00
yexo d1fd756755 (svn r15798) -Fix (r15795): gcc doesn't like static functions that are not declared static. 2009-03-21 23:45:46 +00:00
rubidium d837fc4d03 (svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one. 2009-03-21 23:45:34 +00:00
rubidium 676bf31e82 (svn r15796) -Codechange: unify multiline drawstrings 2009-03-21 23:23:06 +00:00
yexo 0f7b9af9fa (svn r15795) -Codechange: Move the settings table from settings.cpp to table/settings.h. Patch breaking time :) 2009-03-21 23:16:09 +00:00
rubidium f11300d1f9 (svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API 2009-03-21 22:46:17 +00:00
frosch ce513b46b7 (svn r15793) -Feature: Allow train vehicles to be shorten to 1/8 length, even if not at the end of the train. 2009-03-21 22:32:51 +00:00
frosch 88a95661a3 (svn r15792) -Codechange: Use a different algorithm for train vehicles to follow the vehicle in front of them. 2009-03-21 22:25:38 +00:00
rubidium 69decac406 (svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API. 2009-03-21 22:22:00 +00:00
rubidium 9003641095 (svn r15790) -Codechange: remove the *Centered part of the old text drawing API. 2009-03-21 22:00:00 +00:00
frosch d452a0a0ec (svn r15789) -Codechange: Add DiagdirBetweenTiles() and use it. 2009-03-21 21:43:23 +00:00
rubidium fd0f0bda72 (svn r15788) -Codechange: enumify the network join status widgets and use them. 2009-03-21 21:26:10 +00:00
rubidium 2d66f8e467 (svn r15787) -Codechange: enumify the land info and about window widgets and use them. 2009-03-21 20:40:02 +00:00
rubidium 5c8906bff7 (svn r15786) -Codechange: enumify the engine preview widgets (and use them) 2009-03-21 20:39:37 +00:00
rubidium 45f189fdca (svn r15785) -Codechange: remove the *Truncated part of the old text drawing API. 2009-03-21 20:12:12 +00:00
glx 9fcff01850 (svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows 2009-03-21 20:06:00 +00:00
rubidium 93fe44a3c5 (svn r15783) -Codechange: make the dropdown draw code pass around the left/right instead of the x and width to make drawing text at offsets easier. 2009-03-21 19:31:47 +00:00
rubidium 8a758beec3 (svn r15782) -Codechange: replace some calls to the all text drawing API to the new one. 2009-03-21 19:10:26 +00:00
yexo 971ed8d2a3 (svn r15781) -Fix [NoAI]: Missing "AIs" in the information the debug AI prints. 2009-03-21 19:08:04 +00:00
translators 42dc3bf742 (svn r15780) -Update: WebTranslator2 update to 2009-03-21 18:49:32
german     - 2 changed by planetmaker (2)
hebrew     - 18 fixed by EScake (18)
lithuanian - 27 fixed, 1 changed by Devastator (28)
polish     - 29 fixed by coolik (29)
portuguese - 9 fixed by SnowFlake (9)
russian    - 1 changed by Smoky555 (1)
spanish    - 1 fixed by erregerre (1)
2009-03-21 18:49:45 +00:00
rubidium a22559ff95 (svn r15779) -Codechange: unify (most) of the text drawing "API". 2009-03-21 18:28:01 +00:00
rubidium 529dd0867f (svn r15778) -Fix [FS#2749] (r15666): when sorting on cost don't sort on the running cost (sbr) 2009-03-21 11:16:10 +00:00
rubidium 3ef8a09e20 (svn r15777) -Add: helper functions to get the least common multiple and the greatest common divisor (Alberth) 2009-03-21 01:34:31 +00:00
yexo d2dae07595 (svn r15774) -Fix (r15708): Don't show the message about reporting an AI crash for the dummy AI. 2009-03-19 23:38:51 +00:00
rubidium ee4a660b0c (svn r15773) -Fix [FS#2475]: number of active clients wasn't always properly 2009-03-19 23:32:39 +00:00
yexo 096debebe7 (svn r15772) -Fix (r15767): MSVC can't find the right function anymore because the return value in the header was not updated. 2009-03-19 23:03:53 +00:00
yexo 5933a07a86 (svn r15771) -Fix (r13256): Settings from the [gameopt] section (from 0.6 config files) were overwritten with default values. 2009-03-19 22:37:41 +00:00
translators d405795bf1 (svn r15770) -Update: WebTranslator2 update to 2009-03-19 18:49:29
danish     - 33 fixed by ThomasA (33)
2009-03-19 18:49:31 +00:00
translators 6e5f5c5811 (svn r15769) -Update: WebTranslator2 update to 2009-03-19 18:46:01
arabic_egypt - 4 fixed, 1 changed by khaloofah (5)
brazilian_portuguese - 5 fixed by tucalipe (5)
esperanto  - 9 fixed by maristo (9)
polish     - 7 fixed by Simek (7)
slovak     - 3 fixed by James (3)
swedish    - 6 fixed by Wiggelicous (6)
2009-03-19 18:46:09 +00:00
rubidium d20b8a95dd (svn r15768) -Change: remove an "experimental" marker for something that has been working fine for a long time and remove the ununderstandable part of the description. 2009-03-19 18:23:51 +00:00
rubidium 9fd7774235 (svn r15767) -Fix: infinite loop when skipping sprites when a GRF is invalid (or truncated). 2009-03-19 17:58:25 +00:00
rubidium f5cb1873d6 (svn r15766) -Fix [FS#2744]: Crash when opening the content list window twice; inconsistencies when clicking download twice. 2009-03-19 17:56:45 +00:00
frosch 6dd04a9a78 (svn r15763) -Codechange/Fix: Add Engine::GetDisplayDefaultCapacity() and use it everywhere, so CB 36 is also used everywhere. 2009-03-18 19:32:13 +00:00
glx ea2c50281e (svn r15762) -Codechange: inlined utf8 chars are not handled properly on eastern version of windows so escape them 2009-03-18 17:55:47 +00:00
translators 3a80b4213b (svn r15761) -Update: WebTranslator2 update to 2009-03-18 17:44:55
croatian   - 10 fixed by tifached (10)
indonesian - 4 fixed by adjayanto (4)
japanese   - 60 fixed by ickoonite (60)
latvian    - 5 fixed by silentKnight (5)
russian    - 4 fixed by Smoky555 (4)
2009-03-18 17:48:58 +00:00
rubidium 35e4dc0f4b (svn r15760) -Codechange [FS#2704]: support that the resize box is at the left side of the window too (based on work by Alberth) 2009-03-18 01:06:48 +00:00
glx c0a4498518 (svn r15758) -Fix (r15757): win9x compilation 2009-03-18 00:55:10 +00:00
glx 5654966e75 (svn r15757) -Fix/hackaround (r15314): of course on some system searching a font using its english name fails. So now we search the font using the localised name and use the english name for the final 'validation' only. 2009-03-18 00:51:44 +00:00
rubidium 022a929e2d (svn r15756) -Codechange: remove the assumption that the second windget is always the title bar. Also replace a few magic numbers with a const. 2009-03-17 23:26:28 +00:00
frosch c7345c6db0 (svn r15755) -Fix: Number of houses in house variables 0x44, 0x60 and 0x61 were incorrect after 0xFF had been reached and could desync clients joining afterwards. 2009-03-17 19:40:10 +00:00
translators ef28042bf1 (svn r15754) -Update: WebTranslator2 update to 2009-03-17 18:42:46
bulgarian  - 63 fixed by thetitan (63)
dutch      - 4 fixed by habell (4)
romanian   - 3 fixed by kkmic (3)
spanish    - 3 fixed by eusebio (3)
turkish    - 3 fixed by Emin (3)
ukrainian  - 4 fixed by mad (4)
2009-03-17 18:42:54 +00:00
yexo 5e1cad1b1b (svn r15753) -Fix (r15702)[FS#2742]: Crash when clicking the small area between the savegame list and the save button in the save game window. 2009-03-17 17:17:52 +00:00
glx e968f5c572 (svn r15752) -Fix: don't try to (un)draw the cursor when the screen is not ready 2009-03-17 16:28:21 +00:00
yexo 93be9a1c90 (svn r15750) -Fix: The big ufo sometimes landed just outside the map. Instead of landing, just disappear (fly away) in those cases. 2009-03-17 01:30:39 +00:00
yexo 72dc128915 (svn r15749) -Codechange: apply coding style to disaster_cmd.cpp 2009-03-17 00:47:01 +00:00
rubidium f044ef6564 (svn r15748) -Fix (r1722): the assumption that the number of tiles on the X side equals the number of tiles on the Y side does not hold anymore. As a result of this submarines could be created far outside of the map. Later in r15733 we would test whether that tile would be a water tile and we'd find out the tile isn't within the map. 2009-03-16 23:23:33 +00:00
rubidium 7bbdd4f119 (svn r15747) -Fix [FS#2736]: road ownership getting lost when removing a road stop. 2009-03-16 20:45:32 +00:00
orudge 677b157943 (svn r15746) -Fix: Update threading code for OS/2, add mutex support 2009-03-16 20:05:24 +00:00
orudge bcc870e3f8 (svn r15745) -Fix: Resolve compile error in fileio.cpp on OS/2 - base paths on OS/2 behave much like DOS 2009-03-16 20:03:37 +00:00
smatz f62e71ba8e (svn r15744) -Fix (r9667): when town generator failed to create requested number of towns, there were too many cities 2009-03-16 18:38:28 +00:00
yexo 384599ef2c (svn r15743) -Codechange: move the definitions of some fake squirrel types to their own file. 2009-03-16 17:30:49 +00:00
yexo b078f8095a (svn r15742) -Fix (r15736): AIs with an invalid info.nut weren't ignored anymore. 2009-03-16 14:40:32 +00:00
smatz cabf57b221 (svn r15741) -Fix (r15740): czech town name generator needs very long buffer, use different min size for each generator 2009-03-16 12:49:55 +00:00
smatz 38056dabdf (svn r15740) -Codechange: make code in namegen.cpp ~50% faster, apply coding style and add comments 2009-03-16 10:51:49 +00:00
peter1138 5df06384d3 (svn r15739) -Codechange: Expose GRF ID of engines in var action property 0x25. 2009-03-16 08:03:50 +00:00
yexo ce4744e1d6 (svn r15736) -Codechange: Split AIScanner/AIFileInfo to the more generic classes ScriptScanner/ScriptFileInfo. 2009-03-15 22:41:57 +00:00
rubidium dda2396096 (svn r15735) -Update: trunk ain't going to 0.7 anymore ;) 2009-03-15 22:16:02 +00:00
yexo 42e0a5d2ca (svn r15733) -Fix: Enabling freeform edges could cause submarines to get stuck on land tiles. 2009-03-15 21:49:37 +00:00
rubidium deab21114e (svn r15732) -Fix: enumified constant name style 2009-03-15 21:34:18 +00:00
rubidium 64dcd8acc5 (svn r15731) -Codechange: unify submarine creation 2009-03-15 21:29:07 +00:00
rubidium 5648ea3058 (svn r15729) -Fix: silence MSVC warning 2009-03-15 21:16:07 +00:00
translators 9dc98b4c27 (svn r15728) -Update: WebTranslator2 update to 2009-03-15 18:52:21
czech      - 7 fixed, 6 changed by SmatZ (13)
danish     - 4 fixed by MiR (4)
german     - 3 fixed by planetmaker (3)
hungarian  - 2 fixed by alyr (2)
indonesian - 2 fixed by fanioz (2)
korean     - 4 fixed by darkttd (4)
lithuanian - 43 fixed, 1 changed by Enternald (8), geckonas (36)
norwegian_nynorsk - 12 fixed by Thor (12)
2009-03-15 18:52:31 +00:00
smatz 36dfa1f21e (svn r15727) -Codechange: apply coding style to namegen arrays
-Fix (r1307): missing comma in _name_original_english_4
2009-03-15 16:31:16 +00:00
smatz 8585aa71ed (svn r15726) -Codechange: unify coding style for const pointers 2009-03-15 16:04:39 +00:00
smatz af293142fe (svn r15725) -Fix: centering on a vehicle didn't respect its z coordinate 2009-03-15 15:25:18 +00:00
rubidium 4f8eeca437 (svn r15724) -Codechange: some widget documentation/fixing of enumified constant names (Alberth) 2009-03-15 15:22:09 +00:00
rubidium f9def73be6 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 2009-03-15 15:12:06 +00:00
rubidium 8761a5a4c4 (svn r15721) -Change: give a more useful (for 'normal' users) error message when there's no AI and they want to play with an AI 2009-03-15 14:33:40 +00:00
rubidium 6e9dc85c76 (svn r15720) -Change: put a bit more information into the crash log 2009-03-15 14:28:46 +00:00
yexo e5204f96f9 (svn r15719) -Update: the credit section. 2009-03-15 00:32:36 +00:00
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 2009-03-15 00:32:18 +00:00
rubidium d72273d1f3 (svn r15717) -Cleanup: apply some documentation coding style upon the stuff in table/ 2009-03-15 00:03:27 +00:00
yexo 86a9df82b7 (svn r15716) -Change [NoAI]: AI libraries should now be stored in ai/library/<library_name>/ instead of ai/library/<category_name>/<library_name>/. Libraries inside tar files are not affected. 2009-03-14 23:57:37 +00:00
frosch 1f5ad840a4 (svn r15714) -Remove: 'Original vehicle names' - err - language... Use the (static) newgrf on BaNaNaS if you care. 2009-03-14 19:52:41 +00:00
frosch e0dd907cab (svn r15713) -Feature(ette): Allow static newgrfs to set 'GRF ID engine overrides', if the source GRF is static. 2009-03-14 19:38:19 +00:00
translators 40ddc49764 (svn r15712) -Update: WebTranslator2 update to 2009-03-14 18:38:56
catalan    - 4 fixed by arnaullv (4)
finnish    - 3 fixed by jpx_ (3)
french     - 3 fixed by glx (3)
german     - 3 fixed by planetmaker (3)
hungarian  - 1 fixed, 1 changed by alyr (2)
italian    - 3 fixed by lorenzodv (3)
lithuanian - 17 fixed by geckonas (17)
norwegian_nynorsk - 11 fixed by Thor (11)
slovenian  - 10 fixed by Necrolyte (10)
2009-03-14 18:39:10 +00:00
rubidium 9d018723b7 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 2009-03-14 18:16:29 +00:00
glx 1692ce8312 (svn r15710) -Fix (r15706): for non MSVC io.h needs to be included before defining unlink. Also remove redundant tchar.h includes as it is already in stdafx.h. 2009-03-14 15:42:53 +00:00
rubidium aea8e7291e (svn r15709) -Change [FS#2729]: be a tad more specific about the fact that you're building incompatible tracks when building incompatible track types on the same tile. 2009-03-14 15:34:30 +00:00
yexo 2e6e2457f1 (svn r15708) -Feature [FS#2728]: Pop up the AI Debug Window if one of the AIs crashed and show a message that the user should report the crash. 2009-03-14 01:32:04 +00:00
michi_cc 0ca92a47a2 (svn r15707) -Fix (r15686): The config file was not updated on Windows because rename() can't replace existing files. 2009-03-14 00:26:03 +00:00
michi_cc b1479bec02 (svn r15706) -Fix: Make sure the filename passed to unlink() is always in file system encoding. 2009-03-14 00:25:59 +00:00
frosch fa35dc10e5 (svn r15705) -Fix: Do not show passenger-/mail-capacity if the aircraft carries only cargo. 2009-03-13 23:49:12 +00:00
smatz 40745dc0d9 (svn r15704) -Cleanup: remove further includes from recently split files 2009-03-13 23:48:07 +00:00
belugas 42d9816ce3 (svn r15703) -Codechange: split Cmd* from waypoint.cpp to waypoint_cmd.cpp. 2009-03-13 21:49:24 +00:00
rubidium 27bcfd115b (svn r15702) -Feature(tte): direct content download 'links' in the play scenario/heightmap windows. 2009-03-13 21:32:38 +00:00
frosch 4129b418cc (svn r15701) -Fix [FS#2595]: Blame NewGRFs returning inconsistent information in purchase-list/after building before users have a chance to blame OpenTTD for incorrectly autorenewing/-replacing. 2009-03-13 21:28:40 +00:00
rubidium e6353a1a22 (svn r15700) -Codechange: split Cmd* from signs.cpp to signs_cmd.cpp. 2009-03-13 20:29:35 +00:00
rubidium 070320f25b (svn r15699) -Codechange: split Cmd* from vehicle.cpp to vehicle_cmd.cpp. 2009-03-13 20:09:35 +00:00
translators 38d66e82e2 (svn r15698) -Update: WebTranslator2 update to 2009-03-13 18:45:47
dutch      - 1 changed by Excel20 (1)
english_US - 1 fixed by WhiteRabbit (1)
finnish    - 1 fixed by jpx_ (1)
german     - 1 fixed, 3 changed by planetmaker (4)
italian    - 1 fixed by lorenzodv (1)
slovak     - 1 fixed by James (1)
turkish    - 3 fixed by jnmbk (3)
2009-03-13 18:45:56 +00:00
rubidium 2adbf67968 (svn r15697) -Fix (r15695): warning about comparing signed vs unsigned. 2009-03-13 00:48:03 +00:00
rubidium eb0d43aadd (svn r15696) -Codechange: move the NewGRF language ID into the language file instead of maintaining a table in the code. 2009-03-13 00:30:26 +00:00
belugas f6e4bc765a (svn r15695) -Feature [FS#2672]: Allow the number of towns that will be generated in the generate world window to be customized.
Some warnings: 
-the maximum number of towns to be accepted is set to 5000
-the minimum number of towns to be accepted is set to 1
-the number that is specified is NOT guaranteed to be the exact number of towns generated.  The normal mechanism of town creation has not been modified.  So town placement can still fail.
-setting a custom number of town will change your difficulty settings to custom as well
2009-03-12 23:54:20 +00:00
rubidium af18469455 (svn r15694) -Codechange/feature/fix: invert the order in which base graphics sets are queried making it fairly unlikely that downloaded graphics sets override the original graphics. 2009-03-12 20:43:03 +00:00
frosch afe547448e (svn r15692) -Fix [FS#2721]: Just sell the old engines after autorenew/replace. Don't bother about trains exceeding the trainlimit, which will be sold anyway. 2009-03-12 19:40:16 +00:00
translators 684d1c4d4c (svn r15691) -Update: WebTranslator2 update to 2009-03-12 18:42:18
french     - 1 fixed by glx (1)
hungarian  - 1 fixed by alyr (1)
luxembourgish - 258 fixed, 3 changed by Gubius (261)
persian    - 146 fixed by ali sattari (146)
russian    - 1 fixed by Smoky555 (1)
spanish    - 1 fixed by eusebio (1)
2009-03-12 18:42:25 +00:00
rubidium 0f361aab6e (svn r15690) -Feature(tte(tte)): CTRL-"New Game" skips the "World generation" window. 2009-03-12 16:48:28 +00:00
rubidium d5a2dc1d0b (svn r15689) -Fix [FS#2720]: do not crash when the generate map doesn't contain a suitable location for a town. 2009-03-12 15:14:22 +00:00
rubidium 9dbf8a163f (svn r15688) -Codechange: unifiy cleaning up the map generation (normal and abort) 2009-03-12 14:28:55 +00:00
rubidium 8ed58f2b94 (svn r15687) -Fix [FS#2723]: wrong/misleading error message when autorail builds nothing when trying to build over signals in the wrong way. 2009-03-12 14:23:23 +00:00
rubidium bd2e1ac903 (svn r15686) -Codechange: make it a bit harder for crashes to trash your config file. 2009-03-12 14:22:17 +00:00
rubidium 3d780608a2 (svn r15685) -Fix [FS#2720]: do not crash when someone substitutes the "map generation" sprites with garbage. 2009-03-12 14:21:18 +00:00
yexo cef662825b (svn r15684) -Add [NoAI]: AIOrder::SkipToOrder(). 2009-03-12 11:43:40 +00:00
yexo 9eef8f77e2 (svn r15683) -Fix (r15670): Removing town-owned bridges was no longer possible. 2009-03-12 11:36:18 +00:00
rubidium 84e5e44ca9 (svn r15682) -Codechange: some coding style 2009-03-12 11:28:03 +00:00
rubidium 55ce735c2c (svn r15681) -Cleanup: remove unneeded forward declaration. 2009-03-12 11:04:41 +00:00
smatz c2834412f7 (svn r15680) -Cleanup: remove redundant comment 2009-03-12 10:42:02 +00:00
belugas 7f650197d7 (svn r15679) -Cleanup: Little code-style application 2009-03-12 01:35:27 +00:00
rubidium f67e2a41ce (svn r15678) -Fix (r15676): crash when (re)applying newgrf settings 2009-03-11 23:35:32 +00:00
rubidium cf21547814 (svn r15677) -Fix [FS#2546]: vehicle images would be determined during the process of moving the vehicle which means that only the (orientation) data for the vehicles in front of it is valid. Now the data for the vehicles behind the vehicle are valid too. 2009-03-11 23:23:08 +00:00
rubidium 655b0ccc2e (svn r15676) -Codechange: remove the need for BeginVehicleMove and merge VehiclePositionChanged and EndVehicleMove. 2009-03-11 20:43:14 +00:00
rubidium 48c8cdfd84 (svn r15675) -Codechange: don't unnecessarily mark vehicles dirty before deleting them; it already happens in the destructor. 2009-03-11 19:50:19 +00:00
translators a471321b1b (svn r15674) -Update: WebTranslator2 update to 2009-03-11 18:52:10
german     - 9 changed by planetmaker (9)
indonesian - 1 fixed by fanioz (1)
luxembourgish - 121 fixed by Gubius (121)
portuguese - 4 fixed by SnowFlake (4)
russian    - 1 fixed by Smoky555 (1)
slovak     - 3 fixed by James (3)
2009-03-11 18:52:19 +00:00
glx 308dbcf822 (svn r15673) -Fix: it was not possible to compile a win32 dedicated server (even if 'configure --enable-dedicated' passed) 2009-03-11 17:40:49 +00:00
rubidium fb2ea6c9ed (svn r15672) -Codechange: (left,right,top,bottom)_coord -> coord.(left,right,top,bottom), i.e. use Rect. 2009-03-11 17:26:58 +00:00
rubidium 66e0fcdd01 (svn r15671) -Codechange: bit of coding style/clarification. 2009-03-11 15:00:40 +00:00
yexo bdab37b11a (svn r15670) -Fix (r15601): The owner of both the road and of the tram tracks was checked, but not the owner of the road itself. 2009-03-11 10:58:42 +00:00
yexo 2b0b9a6367 (svn r15669) -Change: Key presses that are not handles by an input box are no longer marked as handled but given to other OnKeyPress handlers. This makes the global shortcuts like F1 work again when an input box is open. 2009-03-11 09:21:11 +00:00
yexo 13fb01d07d (svn r15668) -Fix: a few typos. 2009-03-11 07:32:31 +00:00
yexo da0cbb2a2f (svn r15667) -Fix (r15601)[FS#2718]: It was possible to remove rail tunnels/bridges and aqueducts build by rival companies. 2009-03-10 23:16:45 +00:00
rubidium fa78027ffd (svn r15666) -Fix [FS#2689]: sorting of engines in the purchase list didn't use the same numbers as the GUI showed, e.g. articulated parts weren't taken into accound when ordering by capacity. 2009-03-10 21:17:00 +00:00
peter1138 733c0c5c5b (svn r15665) -Fix (r8973): Handling of aircraft crash counter did not take account of the reduced number of calls (from 6 down to 2) to the aircraft event handler, resulting in crashed aircraft taking three times longer than they should to clear. Compensate by increasing the counter by 3 on every call instead of 1. 2009-03-10 18:54:33 +00:00
glx f45e3b3068 (svn r15664) -Fix [FS#2716]: as always windows needs special handling when strings are involved 2009-03-10 14:54:46 +00:00
rubidium d6f2a65323 (svn r15663) -Fix: growing of vsize as (some) threads weren't properly released. 2009-03-10 11:12:03 +00:00
peter1138 0564d52d99 (svn r15662) -Fix (r11795): Don't mark a company as having ratings in a town when querying the cost of a command. 2009-03-10 06:53:00 +00:00
yexo 01167ea456 (svn r15659) -Fix [Squirrel]: The garbage collection would sometimes loop (2^32 - small_value) times instead of only small_value times. 2009-03-09 23:08:23 +00:00
yexo 1ff06b3f9c (svn r15658) -Fix [NoAI]: Rewrite AIAbstractList::Valuate to make it more readable and fix a crash if no parameters are given to that function. 2009-03-09 22:14:47 +00:00