Commit Graph

10786 Commits

Author SHA1 Message Date
truebrain
d790884ee6 (svn r15118) -Fix: fix a minor mem-leak 2009-01-17 14:45:44 +00:00
belugas
967356c7e5 (svn r15117) -Codechange: enlarge a few text boxes in the Create Scenario window, allowing them to be more visible. 2009-01-17 03:05:35 +00:00
smatz
bd14084f40 (svn r15116) -Fix (r1): company money weren't correctly converted from TTD(P) savegames 2009-01-16 21:50:55 +00:00
belugas
b7b116b1f4 (svn r15115) -Documentation: Add some widget enums to the widget array definition (Terkhen). 2009-01-16 21:25:59 +00:00
peter1138
8ab3e4b7b6 (svn r15114) -Codechange: Add support for 8 byte action7/9 data, used as a mask for GRFID checks. 2009-01-16 19:53:52 +00:00
rubidium
3fb43b6bcb (svn r15113) -Codechange: unify calling ScanForTarFiles when determining the paths. 2009-01-16 16:32:48 +00:00
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 2009-01-16 16:29:07 +00:00
rubidium
435a69da1e (svn r15111) -Fix: when scanning a path and saying it should ignore tars, it didn't do so 2009-01-16 16:14:01 +00:00
rubidium
75998ca081 (svn r15110) -Fix: reading the shortname of graphicssets always missed the first character. 2009-01-16 16:12:12 +00:00
truebrain
dec721ca6f (svn r15109) -Add [NoAI]: add AITile::LevelTiles (Yexo) 2009-01-16 15:01:54 +00:00
truebrain
47406dbc69 (svn r15108) -Fix: TarAddLink didn't lowercase strings, breaking tar-loading when using uppercase files 2009-01-16 14:56:33 +00:00
truebrain
f5e0590c09 (svn r15107) -Fix [NoAI]: don't use so much explicit string copies if it is not required 2009-01-16 14:56:13 +00:00
rubidium
65ae906940 (svn r15106) -Fix [NoAI]: printf-ing of garbage. 2009-01-16 14:37:53 +00:00
smatz
e4127c7e5e (svn r15105) -Fix (r15104): signed/unsigned warning 2009-01-16 14:02:40 +00:00
rubidium
eff693d2e9 (svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings. 2009-01-16 12:59:47 +00:00
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. 2009-01-16 11:32:35 +00:00
truebrain
cafff6eb60 (svn r15102) -Fix (r15101): somehow makedepend fucked up (patch by Yexo) 2009-01-16 00:27:22 +00:00
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
2009-01-16 00:05:26 +00:00
truebrain
b9ebab0e5d (svn r15100) -Add [NoAI]: introduce TILE_INVALID as const 2009-01-15 21:20:12 +00:00
truebrain
1cd56af6da (svn r15099) -Fix (r15078): GetTileIndex(0, -1) is perfectly fine 2009-01-15 20:59:22 +00:00
rubidium
ab572f23d0 (svn r15098) -Fix [FS#2535]: MinGW's find didn't remove the .svn directories during bundling as we told it to, so we're using a slightly different approach that seems to work 2009-01-15 18:49:06 +00:00
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)
2009-01-15 18:48:09 +00:00
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
2009-01-15 18:24:49 +00:00
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
2009-01-15 18:15:12 +00:00
peter1138
31a586dc6f (svn r15094) -Feature: Add support for IP range bans using CIDR notation. 2009-01-15 18:11:26 +00:00
truebrain
fe7997e95f (svn r15093) -Fix [NoAI]: check if a tile is valid before using IsTileType (bug found by Zuu, patch by Yexo) 2009-01-15 17:00:47 +00:00
truebrain
e67040a1a0 (svn r15092) -Fix [NoAI]: make the library internal class name consistant with their directory name 2009-01-15 16:53:18 +00:00
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 2009-01-15 15:56:10 +00:00
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. 2009-01-15 14:37:44 +00:00
rubidium
97a835f95f (svn r15089) -Fix: make install not installing the AI directory and thus the AI libraries were missing in the debian builds. 2009-01-15 13:03:19 +00:00
peter1138
cb760eff4c (svn r15088) -Fix [FS#2536]: Resize company list in town authority window if required. 2009-01-15 12:50:59 +00:00
peter1138
9b9a0fed8d (svn r15087) -Codechange: Less hardcoding of y positions in town authority window. 2009-01-15 12:36:24 +00:00
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 ;) 2009-01-14 21:32:06 +00:00
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. 2009-01-14 20:23:45 +00:00
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(). 2009-01-14 18:25:48 +00:00
truebrain
a45b3c4304 (svn r15083) -Add [NoAI]: added a console command to reload an AI (requested by Zuu) 2009-01-14 15:39:05 +00:00
rubidium
eb19b0abf9 (svn r15082) -Codechange: make the AI library path also a searchdir instead of manually manufacturing it into a searchdir. 2009-01-14 15:20:06 +00:00
smatz
514cf26325 (svn r15081) -Fix (r15080): of course it's about southern border, not northern... 2009-01-14 13:40:11 +00:00
smatz
9d6a7127f6 (svn r15080) -Fix: terraforming at the northern border failed without any visible reason 2009-01-14 13:11:39 +00:00
rubidium
850a2735cc (svn r15079) -Codechange: split tcp 'backend' and in-game handling like it is for UDP. 2009-01-14 12:50:13 +00:00
truebrain
9724a986c8 (svn r15078) -Fix [NoAI]: AIMap didn't filter its input (Yexo) 2009-01-13 23:50:12 +00:00
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
2009-01-13 22:58:03 +00:00
truebrain
5b4da28594 (svn r15076) -Fix: a start_date of 0 would never start an AI .. so don't allow it (Yexo) 2009-01-13 22:36:44 +00:00
truebrain
e05d2ef453 (svn r15075) -Fix: store _next_competitor_start as uint32, else it might overflow for values > 2.4 years 2009-01-13 21:32:47 +00:00
truebrain
d5a599f5e5 (svn r15074) -Fix: make Rubidium happy 2009-01-13 21:11:02 +00:00
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. 2009-01-13 20:43:53 +00:00
frosch
f70b4c5ae4 (svn r15072) -Fix (r14919): Distant-join search-area was determined inconsistently. 2009-01-13 19:55:27 +00:00
frosch
bc06145d24 (svn r15071) -Fix (r14919): When drag&dropping rail-stations with X orientation, distant-join scanned a wrong area for stations. 2009-01-13 19:48:33 +00:00
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)
2009-01-13 18:42:41 +00:00
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) 2009-01-13 18:41:56 +00:00