Commit Graph

5035 Commits (4ce7be6490c571d41fc1e49ecc2c15edb302a736)

Author SHA1 Message Date
rubidium 202aeb8306 (svn r15158) -Cleanup: remove some unused/unneeded cruft from the thread generalisation. 16 years ago
rubidium 4aabc91c04 (svn r15157) -Codechange: wrap the hostname/ip and port into a single structure so we can pass either one of them and not convert an ip to a string and then back again. 16 years ago
rubidium 0893cb2adf (svn r15156) -Fix: add scrollwheel support to allegro 16 years ago
rubidium 7a81c0e5b4 (svn r15155) -Codechange: remove unused return value 16 years ago
rubidium 32e46fc067 (svn r15154) -Fix [FS#2555] (r15126): wrong tooltip for the matrix 16 years ago
rubidium 127d80d3f5 (svn r15153) -Fix (r15126): the scrollbar's "count" wasn't always correctly set 16 years ago
translators 6a4c8cf4e2 (svn r15152) -Update: WebTranslator2 update to 2009-01-19 18:47:48
arabic_egypt - 30 fixed by khaloofah (30)
czech      - 1 fixed by Hadez (1)
dutch      - 22 fixed by Excel20 (4), habell (18)
finnish    - 1 fixed by UltimateSephiroth (1)
french     - 1 fixed by glx (1)
hungarian  - 1 fixed, 3 changed by alyr (2), oklmernok (2)
korean     - 2 fixed by darkttd (2)
polish     - 1 fixed by xaxa (1)
romanian   - 1 fixed, 1 changed by kkmic (2)
simplified_chinese - 110 fixed by ww9980 (110)
spanish    - 21 fixed by eusebio (21)
traditional_chinese - 8 fixed by ww9980 (8)
turkish    - 1 fixed by Emin (1)
16 years ago
Yexo bc5c4a2ae2 (svn r15151) -Fix: tile 0 can now be highlighted as error tile 16 years ago
Yexo 27507f91be (svn r15150) -Fix: Don't highlight tiles outside the visible map. 16 years ago
peter1138 b85389dca5 (svn r15149) -Codechange: GetMaskOfTownActions() is used by a Cmd handler, therefore it does not belong in _gui. 16 years ago
Yexo e84ff99a8b (svn r15148) -Cleanup: Remove the options "competitor start time" and "competitor intelligence" from the difficulty options because they already were unused. 16 years ago
glx 80af9b446a (svn r15147) -Fix (r15146): compile before commit 16 years ago
smatz a7fc02a900 (svn r15146) -Fix: show savegame name even when opening it failed 16 years ago
smatz 14834e67cb (svn r15145) -Fix: crash when one tried to load a TTO savegame
-Fix (r15144): it wasn't safe at all, but the code broken code isn't needed anymore
16 years ago
smatz 575a3a4563 (svn r15144) -Codechange: make sure we don't run out of bounds while determining old savegame name
Note this can't happen in current code
16 years ago
rubidium a4865b0cab (svn r15142) -Fix (r15126): missing NewGRFs cause a crash when getting the content list. 16 years ago
translators cc97195a66 (svn r15141) -Update: WebTranslator2 update to 2009-01-18 18:46:25
czech      - 51 fixed by Hadez (51)
dutch      - 30 fixed by Excel20 (30)
finnish    - 51 fixed by jpx_ (51)
french     - 51 fixed by glx (51)
hebrew     - 50 fixed by tarkil (50)
hungarian  - 51 fixed by alyr (51)
indonesian - 51 fixed by adjayanto (45), fanioz (6)
italian    - 51 fixed by lorenzodv (51)
korean     - 54 fixed, 3 changed by darkttd (57)
polish     - 15 fixed by xaxa (15)
romanian   - 51 fixed by kkmic (51)
turkish    - 51 fixed by Emin (51)
16 years ago
rubidium a0e24cc6c9 (svn r15139) -Fix [NoAI]: a wrong tile got returned for hangar tiles when the station sign isn't over st->airport_tile. 16 years ago
rubidium 55e8be5045 (svn r15138) -Fix [FS#2542]: tile error location not reset when leveling land causing a tile to be highlighted when there was nothing to flatten. 16 years ago
smatz 9cc64bfa21 (svn r15137) -Fix (r11822)(r14340): signs with sign 'Sign' were lost when converting from TTD savegames 16 years ago
rubidium 730ceecb8b (svn r15136) -Fix (r15126): (file) name could occasionally be wider than the download window causing glitches. 16 years ago
rubidium 1bc8e3f536 (svn r15135) -Fix/Change: allow str_validate (part of receiving strings from the network) to pass newlines instead of replacing them with question marks, but only when asked to do so. 16 years ago
rubidium 2ce42873d1 (svn r15134) -Fix (r15126): not selecting dependencies when pressing "select update" 16 years ago
peter1138 6644fa86ee (svn r15133) -Fix: Crash if no NoAIs are present. 16 years ago
peter1138 9ef3ff992e (svn r15131) -Fix: Indentifluxation combobulated 16 years ago
translators 5332c8febd (svn r15130) -Update: WebTranslator2 update to 2009-01-17 18:48:58
dutch      - 3 changed by Excel20 (3)
hebrew     - 62 fixed, 103 changed by tarkil (165)
indonesian - 15 changed by fanioz (15)
korean     - 21 fixed, 23 changed by darkttd (44)
norwegian_bokmal - 16 fixed, 9 changed by khh (25)
slovenian  - 8 fixed by Necrolyte (8)
spanish    - 2 changed by Dominus (2)
thai       - 19 fixed by vetbook (19)
ukrainian  - 36 fixed by mad (36)
16 years ago
rubidium 72b0341ed0 (svn r15126) -Feature: downloading content from a central server (content.openttd.org) where authors can upload they NewGRFS/AI etc. This should make joining servers that use only NewGRFs that are distributed via this system easier as the players can download the NewGRFs from in the game. It should also make it easier to see whether there are updates for NewGRFs and make the necessary updates. 16 years ago
frosch 3940ed7e6f (svn r15125) -Fix [FS#2544]: Do not try to determine the next order destination, if there are no orders. 16 years ago
truebrain fac5cee3d3 (svn r15124) -Fix: last memory leak related to NoAI 16 years ago
truebrain eb0d82ada0 (svn r15123) -Fix [NoAI]: 'const char *' implies that the return value should not be free'd, which is should .. so make them 'char *' 16 years ago
truebrain ef75a7af90 (svn r15122) -Codechange: add a security assert, to make sure something never happens 16 years ago
truebrain 002427eab9 (svn r15121) -Fix: more mem-leak fixes (this should make SmatZ so happy ;) :p) 16 years ago
truebrain 8cbf156252 (svn r15120) -Fix: more mem-leak fixes 16 years ago
frosch 3980e2739a (svn r15119) -Fix: several issues with result 0x4 (standard production change of primary industries) of callbacks 0x29 and 0x35. 16 years ago
truebrain d790884ee6 (svn r15118) -Fix: fix a minor mem-leak 16 years ago
belugas 967356c7e5 (svn r15117) -Codechange: enlarge a few text boxes in the Create Scenario window, allowing them to be more visible. 16 years ago
smatz bd14084f40 (svn r15116) -Fix (r1): company money weren't correctly converted from TTD(P) savegames 16 years ago
belugas b7b116b1f4 (svn r15115) -Documentation: Add some widget enums to the widget array definition (Terkhen). 16 years ago
peter1138 8ab3e4b7b6 (svn r15114) -Codechange: Add support for 8 byte action7/9 data, used as a mask for GRFID checks. 16 years ago
rubidium 3fb43b6bcb (svn r15113) -Codechange: unify calling ScanForTarFiles when determining the paths. 16 years ago
rubidium 7c51d9f429 (svn r15112) -Fix (r15108): transform should include algorithm as that's where it's from. Furthermore not including it gives compile errors for some 16 years ago
rubidium 435a69da1e (svn r15111) -Fix: when scanning a path and saying it should ignore tars, it didn't do so 16 years ago
rubidium 75998ca081 (svn r15110) -Fix: reading the shortname of graphicssets always missed the first character. 16 years ago
truebrain dec721ca6f (svn r15109) -Add [NoAI]: add AITile::LevelTiles (Yexo) 16 years ago
truebrain 47406dbc69 (svn r15108) -Fix: TarAddLink didn't lowercase strings, breaking tar-loading when using uppercase files 16 years ago
truebrain f5e0590c09 (svn r15107) -Fix [NoAI]: don't use so much explicit string copies if it is not required 16 years ago
rubidium 65ae906940 (svn r15106) -Fix [NoAI]: printf-ing of garbage. 16 years ago
smatz e4127c7e5e (svn r15105) -Fix (r15104): signed/unsigned warning 16 years ago
rubidium eff693d2e9 (svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings. 16 years ago
frosch 5d585dcb4d (svn r15103) -Change: Keep industry variables 8E and 8F in sync with 93, when changing production using results 0D, 0E or 0F of callback 29 or 35. 16 years ago
truebrain cafff6eb60 (svn r15102) -Fix (r15101): somehow makedepend fucked up (patch by Yexo) 16 years ago
truebrain bd520ca562 (svn r15101) -Change [API CHANGE]: more consistant naming for consts:
INVALID_TOWN_RATING        -> TOWN_RATING_INVALID
   INVALID_TRANSPORT          -> TRANSPORT_INVALID
   INVALID_ORDER              -> ORDER_INVALID
   INVALID_GROUP              -> GROUP_INVALID
   GROUP_ALL/DEFAULT          -> ALL/DEFAULT_GROUP
   VEHICLE_RAIL/ROAD/..       -> VT_RAIL/ROAD/..
   MY_COMPANY                 -> COMPANY_SELF
   FIRST/LAST/INVALID_COMPANY -> COMPANY_FIRST/LAST/INVALID
16 years ago
truebrain b9ebab0e5d (svn r15100) -Add [NoAI]: introduce TILE_INVALID as const 16 years ago
truebrain 1cd56af6da (svn r15099) -Fix (r15078): GetTileIndex(0, -1) is perfectly fine 16 years ago
translators 2cc59ebf67 (svn r15097) -Update: WebTranslator2 update to 2009-01-15 18:47:56
brazilian_portuguese - 8 fixed by tucalipe (8)
danish     - 4 fixed, 1 changed by beruic (5)
dutch      - 6 fixed by habell (6)
english_US - 76 fixed by WhiteRabbit (76)
french     - 7 fixed, 1 changed by glx (8)
greek      - 9 fixed, 2 changed by doukas (11)
indonesian - 13 changed by fanioz (13)
norwegian_nynorsk - 24 fixed by runarlu (24)
polish     - 5 fixed by xaxa (5)
16 years ago
truebrain 91c7cba05b (svn r15096) -Fix [NoAI]: free memory when no longer needed
-Fix [NoAI]: when there are multiple versions of one AI, never randonly pick an older one, but always the latest
16 years ago
truebrain e436f0218f (svn r15095) -Add [NoAI]: allow AI Libraries to be in .tar files (subdir required, as with AIs
-Add [NoAI]: allow multiple versions of the same AI co-exist
-Change [NoAI]: updated the whole method of AI (Library) finding and loading; it is now much more clear and transparent
-Change [NoAI]: the name of the AI is now the name used by CreateInstance()
-Change [NoAI]: make the AI finder a bit more clever, mostly related to version finding
16 years ago
peter1138 31a586dc6f (svn r15094) -Feature: Add support for IP range bans using CIDR notation. 16 years ago
truebrain fe7997e95f (svn r15093) -Fix [NoAI]: check if a tile is valid before using IsTileType (bug found by Zuu, patch by Yexo) 16 years ago
truebrain ae5c8a8b35 (svn r15091) -Add [NoAI] [API CHANGE]: introduce GetCategory() as a requirement for every library.nut, to indicate in which category it belongs. Currently the directory indicates the category, but this doesn't allow planned future additions 16 years ago
truebrain e84138af22 (svn r15090) -Add [NoAI] [API CHANGE]: info.nut/library.nut now requires a function GetShortName(), which should return a 4 (four) character string, unique throughout the world. This id is simular to a GRFid. 16 years ago
peter1138 cb760eff4c (svn r15088) -Fix [FS#2536]: Resize company list in town authority window if required. 16 years ago
peter1138 9b9a0fed8d (svn r15087) -Codechange: Less hardcoding of y positions in town authority window. 16 years ago
truebrain 1e1cdd01b4 (svn r15086) -Fix: start AIs after 6 months on hard, 12 months on medium, and 24 months on easy. The current values were a bit .. too long waiting period ;) 16 years ago
peter1138 c4c32692df (svn r15085) -Fix (r14164): Clearing a settings group did not delete old items nor reset the last_item pointer, causing lists to not be saved unless they started blank. 16 years ago
truebrain 61093eb211 (svn r15084) -Fix [NoAI] (r15027): by removing the threads for NoAIs, it is no longer possible to use DoCommand (even indirect) in AIAbstractList::Valuator(). 16 years ago
truebrain a45b3c4304 (svn r15083) -Add [NoAI]: added a console command to reload an AI (requested by Zuu) 16 years ago
rubidium eb19b0abf9 (svn r15082) -Codechange: make the AI library path also a searchdir instead of manually manufacturing it into a searchdir. 16 years ago
smatz 514cf26325 (svn r15081) -Fix (r15080): of course it's about southern border, not northern... 16 years ago
smatz 9d6a7127f6 (svn r15080) -Fix: terraforming at the northern border failed without any visible reason 16 years ago
rubidium 850a2735cc (svn r15079) -Codechange: split tcp 'backend' and in-game handling like it is for UDP. 16 years ago
truebrain 9724a986c8 (svn r15078) -Fix [NoAI]: AIMap didn't filter its input (Yexo) 16 years ago
smatz ca45774160 (svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEAR
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
16 years ago
truebrain 5b4da28594 (svn r15076) -Fix: a start_date of 0 would never start an AI .. so don't allow it (Yexo) 16 years ago
truebrain e05d2ef453 (svn r15075) -Fix: store _next_competitor_start as uint32, else it might overflow for values > 2.4 years 16 years ago
truebrain d5a599f5e5 (svn r15074) -Fix: make Rubidium happy 16 years ago
peter1138 4585d9785d (svn r15073) -Fix (r15067) [FS#2532]: Default copy constructors don't necessarily do what you want. Instead of creating one, we now pass a pointer around as that avoids additional allocations. 16 years ago
frosch f70b4c5ae4 (svn r15072) -Fix (r14919): Distant-join search-area was determined inconsistently. 16 years ago
frosch bc06145d24 (svn r15071) -Fix (r14919): When drag&dropping rail-stations with X orientation, distant-join scanned a wrong area for stations. 16 years ago
translators fa31824a5f (svn r15070) -Update: WebTranslator2 update to 2009-01-13 18:42:22
brazilian_portuguese - 16 fixed by tucalipe (16)
catalan    - 8 fixed by arnaullv (8)
croatian   - 24 fixed by tifached (24)
czech      - 8 fixed by Hadez (8)
dutch      - 2 fixed by Excel20 (2)
finnish    - 7 fixed, 1 changed by UltimateSephiroth (8)
hungarian  - 7 fixed, 2 changed by IPG (2), alyr (7)
indonesian - 23 fixed, 2 changed by fanioz (25)
italian    - 7 fixed, 1 changed by lorenzodv (8)
japanese   - 59 fixed by ickoonite (59)
polish     - 3 fixed by xaxa (3)
romanian   - 23 fixed, 1 changed by kkmic (24)
slovak     - 59 fixed by James (59)
spanish    - 58 fixed by Dominus (30), eusebio (28)
turkish    - 7 fixed, 1 changed by Emin (8)
16 years ago
frosch da29e853b1 (svn r15069) -Change (r14919): Make distant-join less intelligent but more transparent to the user by always showing the selection window, even if there is only one option to choose from. (PhilSophus) 16 years ago
truebrain ec4bdfe611 (svn r15068) -Add [NoAI]: introducing 'step_size' for AIConfig, for future AIGUI (Yexo) 16 years ago
peter1138 afb94c252d (svn r15067) -Fix [FS#2531]: Possible compiler bug, alleviated by using SmallVector instead of using std::set. SmallVector does everything needed anyway. 16 years ago
truebrain f293bff01b (svn r15066) -Change: start_date is now in days, instead of in months (Yexo) 16 years ago
frosch 7014833641 (svn r15065) -Change (r14919): Allow to select a new station location by ctrl-clicking while distant-join window is open. (PhilSophus) 16 years ago
truebrain 39cec4c65f (svn r15063) -Fix [NoAI]: starting companies now listen correctly to 'start_date' set to the AI slot (Yexo)
-Add [NoAI]: add a 'deviation' value for all settings, giving a slight deviation of the value of a setting (Yexo)
16 years ago
smatz 638411c087 (svn r15062) -Fix: further forgotten svn properties and headers 16 years ago
smatz c30ce23866 (svn r15061) -Fix (r15027): three files were missing the Id header 16 years ago
truebrain ee17e1e7b8 (svn r15059) -Add [NoAI]: use 'start_date' from the AI configure to see when an AI should start next 16 years ago
truebrain 60d4900381 (svn r15058) -Fix [NoAI]: when using start_ai in console, start the next configured one, not a random (Yexo) 16 years ago
truebrain bf1acb6772 (svn r15057) -Fix [NoAI]: clamp the values of a setting between the ones allowed by info.nut 16 years ago
truebrain f29941a043 (svn r15056) -Add [NoAI]: when starting a game, give a random value to the setting marked with AICONFIG_RANDOM (Yexo) 16 years ago
truebrain 53d28d24b5 (svn r15055) -Add [NoAI]: add the AICONFIG_RANDOM and AICONFIG_BOOLEAN consts (Yexo) 16 years ago
rubidium 737c187f79 (svn r15053) -Cleanup: remove some unneeded includes 16 years ago
rubidium 01e92ac32a (svn r15052) -Codechange: move the implementation of Send_CompanyInformation to network_server.cpp as the server's the one that sends that information 16 years ago
peter1138 c26fd4eacc (svn r15051) -Fix: Only allow creation or deletion of an AI when in a game. 16 years ago
peter1138 f382c2381b (svn r15050) -Codechange: Use one absolute SpriteID with offsets to draw track fences. 16 years ago
glx 55db451a32 (svn r15049) -Fix (r15045): MSVC performance warning 16 years ago
truebrain 81157e3d91 (svn r15048) -Fix (r15047): the one time you don't compile a patch of someone, it contains a warning .. ;) 16 years ago
truebrain 08591d8643 (svn r15047) -Fix [NoAI]: AICONFIG_BOOLEAN (in AddSetting) doesn't require (or even allow) a min/max setting .. it is always 0/1 (Yexo) 16 years ago