Commit Graph

5318 Commits

Author SHA1 Message Date
rubidium ea5457d831 (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 ff4fcdb03c (svn r15081) -Fix (r15080): of course it's about southern border, not northern... 2009-01-14 13:40:11 +00:00
smatz 66213d8e4b (svn r15080) -Fix: terraforming at the northern border failed without any visible reason 2009-01-14 13:11:39 +00:00
rubidium e18c24cdb5 (svn r15079) -Codechange: split tcp 'backend' and in-game handling like it is for UDP. 2009-01-14 12:50:13 +00:00
truebrain 6fe54a2d1a (svn r15078) -Fix [NoAI]: AIMap didn't filter its input (Yexo) 2009-01-13 23:50:12 +00:00
smatz e00cf92f47 (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 cb221d9996 (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 89da8820e5 (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 2d3fc8141d (svn r15074) -Fix: make Rubidium happy 2009-01-13 21:11:02 +00:00
peter1138 792d1bd883 (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 dab9de2e61 (svn r15072) -Fix (r14919): Distant-join search-area was determined inconsistently. 2009-01-13 19:55:27 +00:00
frosch b8963032e7 (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 10f7525277 (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 9ca1e15f51 (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
truebrain 2e30efb530 (svn r15068) -Add [NoAI]: introducing 'step_size' for AIConfig, for future AIGUI (Yexo) 2009-01-13 18:26:58 +00:00
peter1138 02bda12599 (svn r15067) -Fix [FS#2531]: Possible compiler bug, alleviated by using SmallVector instead of using std::set. SmallVector does everything needed anyway. 2009-01-13 18:18:53 +00:00
truebrain e1f64922c5 (svn r15066) -Change: start_date is now in days, instead of in months (Yexo) 2009-01-13 18:04:12 +00:00
frosch 4780c73224 (svn r15065) -Change (r14919): Allow to select a new station location by ctrl-clicking while distant-join window is open. (PhilSophus) 2009-01-13 17:28:11 +00:00
truebrain 890074a03e (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)
2009-01-13 16:53:03 +00:00
smatz 0a357c0ac1 (svn r15062) -Fix: further forgotten svn properties and headers 2009-01-13 16:30:24 +00:00
smatz 7cea618fcc (svn r15061) -Fix (r15027): three files were missing the Id header 2009-01-13 15:49:32 +00:00
truebrain c3249d599f (svn r15059) -Add [NoAI]: use 'start_date' from the AI configure to see when an AI should start next 2009-01-13 14:00:26 +00:00
truebrain 405239758e (svn r15058) -Fix [NoAI]: when using start_ai in console, start the next configured one, not a random (Yexo) 2009-01-13 13:26:20 +00:00
truebrain 07f2afa635 (svn r15057) -Fix [NoAI]: clamp the values of a setting between the ones allowed by info.nut 2009-01-13 13:09:49 +00:00
truebrain 1bd2867715 (svn r15056) -Add [NoAI]: when starting a game, give a random value to the setting marked with AICONFIG_RANDOM (Yexo) 2009-01-13 12:52:09 +00:00
truebrain e6543c2776 (svn r15055) -Add [NoAI]: add the AICONFIG_RANDOM and AICONFIG_BOOLEAN consts (Yexo) 2009-01-13 12:51:46 +00:00
rubidium 04ea0b9316 (svn r15053) -Cleanup: remove some unneeded includes 2009-01-13 11:53:33 +00:00
rubidium fc696a7e29 (svn r15052) -Codechange: move the implementation of Send_CompanyInformation to network_server.cpp as the server's the one that sends that information 2009-01-13 11:46:29 +00:00
peter1138 f0e6eeb57d (svn r15051) -Fix: Only allow creation or deletion of an AI when in a game. 2009-01-13 11:06:21 +00:00
peter1138 56b91b582e (svn r15050) -Codechange: Use one absolute SpriteID with offsets to draw track fences. 2009-01-13 08:39:25 +00:00
glx 37500a13f6 (svn r15049) -Fix (r15045): MSVC performance warning 2009-01-13 02:03:03 +00:00
truebrain 0adcb5bc2f (svn r15048) -Fix (r15047): the one time you don't compile a patch of someone, it contains a warning .. ;) 2009-01-13 01:52:32 +00:00
truebrain c9d20bfd47 (svn r15047) -Fix [NoAI]: AICONFIG_BOOLEAN (in AddSetting) doesn't require (or even allow) a min/max setting .. it is always 0/1 (Yexo) 2009-01-13 01:51:39 +00:00
truebrain e06e372529 (svn r15046) -Fix (r15045): in case CanLoadFromRevision does not exist, only allow savedata from the same version as we are now 2009-01-13 01:50:51 +00:00
truebrain bcbbf2c366 (svn r15045) -Add [NoAI API CHANGE]: in info.nut you can now have (optional) a CanLoadFromVersion(version), which should return true/false, to indicate if you can load a savegame made with your AI of version 'version'
-Add [NoAI API CHANGE]: in main.nut the Load() function now should be Load(version, data), where 'version' is the version of your AI which made the savegame
-Codechange [NoAI]: various of function renames to make things more sane
-Add [NoAI]: push the 'version' of the AI through various of layers
-Codechange [NoAI]: various of code cleanups
-Add [NoAI]: store the version of the AI in the savegame too
2009-01-13 01:46:46 +00:00
truebrain e6883c5cc7 (svn r15044) -Add [NoAI]: AIConfig::GetVersion(), to get the version of the current AI 2009-01-13 00:10:58 +00:00
truebrain 2462e8dc9d (svn r15043) -Fix: just try to change the AI, and see if that succeeded, instead of hoping you understand the internals of a change AI routine (to avoid possible mistakes in the future) 2009-01-13 00:08:38 +00:00
truebrain 695765fde7 (svn r15042) -Fix (r15027): don't leak memory in AIInfo (Yexo) 2009-01-12 21:40:00 +00:00
truebrain 1c3b7ba863 (svn r15041) -Fix (r15038): use the ctor auto thing how it is meant to be used (tnx to SmatZ for pointing that out) 2009-01-12 21:39:45 +00:00
smatz 26e5ccb60d (svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hack 2009-01-12 19:49:23 +00:00
truebrain 2c89bfbc81 (svn r15038) -Fix (r15027): loading older savegames failed 2009-01-12 19:31:00 +00:00
smatz 4a5044e61a (svn r15037) -Cleanup: remove unused file src/table/ai_rail.h 2009-01-12 19:26:21 +00:00
truebrain c666cf5a49 (svn r15036) -Fix: use the same value for 'random' through-out the code for PlantTree 2009-01-12 18:15:18 +00:00
truebrain b7b29d96de (svn r15033) -Fix (r15027): silent a warning when compiling without network 2009-01-12 17:40:13 +00:00
truebrain e2d2946007 (svn r15032) -Fix (r15030): Rubidium was too script-happy ;) 2009-01-12 17:33:10 +00:00
smatz 16dfe58e4d (svn r15031) -Fix (r15027): merge reverted r15026, so do it once again 2009-01-12 17:31:43 +00:00
rubidium eb22e265f2 (svn r15030) -Update (r15029): and from the other languages too (yay for WT2) 2009-01-12 17:25:38 +00:00
rubidium 221df9bb19 (svn r15029) -Cleanup (r15027): remove strings that aren't needed anymore 2009-01-12 17:20:16 +00:00
truebrain a3dd7506d3 (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
2009-01-12 17:11:45 +00:00
smatz 9294f96168 (svn r15026) -Codechange: use SpriteTypeByte instead of SpriteType in the SpriteCache struct in order to make it smaller 2009-01-12 16:53:11 +00:00
frosch eb6dc2b8ae (svn r15019) -Fix (r14919): Close station selection window, when disabling distant-join setting. (PhilSophus) 2009-01-12 15:44:37 +00:00
frosch 9a80c0b1de (svn r15015) -Fix (r14919): Distant-join always failed for docks. Based on patch by PhilSophus. 2009-01-12 15:29:40 +00:00
frosch 508fc29221 (svn r15014) -Codechange: Add a helper function to get the needed DC_xxx flags from the result of GetCommandFlags(). 2009-01-12 15:27:39 +00:00
truebrain 809bf8fb43 (svn r15011) -Documentation: Nuclear, not Nucleair 2009-01-12 15:21:59 +00:00
frosch 2d4c9cda72 (svn r15009) -Fix [FS#2528]: No need to extent the reserved path when the vehicle is still loading. 2009-01-12 14:56:31 +00:00
glx e99335c085 (svn r15008) -Revert (r12706): remove fibers 2009-01-12 14:45:20 +00:00
truebrain 53ca48efe2 (svn r15006) -Codechange: throw a real instance of a class, instead of '0' (which can also be a throw from within a thread for what ever reason) 2009-01-12 14:31:49 +00:00
rubidium 7947e78daa (svn r14999) -Change [FS#2523]: move service at helipad to the servicing options 2009-01-12 00:06:22 +00:00
smatz 1287fddd8f (svn r14998) -Codechange: warn once about misuse of each sprite, not once about misuse of any sprite 2009-01-11 23:49:51 +00:00
smatz 720eedf7c5 (svn r14997) -Fix [FS#2524](r14223): when handling invalid sprites, entry in spritecache data could lose its parent 2009-01-11 22:28:30 +00:00
translators a9e5f9fbe9 (svn r14996) -Update: WebTranslator2 update to 2009-01-11 18:44:49
afrikaans  - 22 fixed by burgerd (22)
arabic_egypt - 18 fixed by khaloofah (18)
catalan    - 16 fixed by arnaullv (16)
czech      - 12 fixed by Hadez (12)
dutch      - 13 fixed by Excel20 (13)
finnish    - 1 fixed by UltimateSephiroth (1)
french     - 1 fixed, 1 changed by glx (2)
greek      - 8 fixed by paolitotas (8)
hungarian  - 16 fixed by alyr (16)
italian    - 16 fixed, 8 changed by lorenzodv (24)
lithuanian - 21 fixed by Enternald (21)
polish     - 11 fixed by xaxa (11)
slovenian  - 41 fixed by Necrolyte (41)
turkish    - 22 fixed by Emin (22)
2009-01-11 18:45:12 +00:00
frosch 5c78d35078 (svn r14994) -Fix [FS#Aali]: Better handling of OT_LOADING and OT_LEAVESTATION in ChooseTrainTrack. 2009-01-11 16:33:03 +00:00
frosch a6fc079c52 (svn r14993) -Fix (r14957, r14975): Do not reverse the train with OT_LEAVESTATION as that breaks PBS prediction. 2009-01-11 15:39:49 +00:00
frosch f5cff71284 (svn r14992) -Codechange: Rename 'CheckIfAuthorityAllows' to 'CheckIfAuthorityAllowsNewStation' and unduplicate a tiny bit of code. 2009-01-11 14:26:11 +00:00
frosch e8796a148f (svn r14991) -Fix: Command-flags is an uint32. 2009-01-11 14:11:06 +00:00
rubidium 6c880d1c20 (svn r14990) -Codechange: handle articulated RVs and trams more strictly in GetStationTileForVehicle and CanVehicleUseStation (based on idea by Swallow) 2009-01-11 14:09:09 +00:00
rubidium 1ef953e4a5 (svn r14989) -Codechange: remove a lookup table by reordering some items in english.txt (Swallow) 2009-01-11 14:01:45 +00:00
rubidium 78d3fc59b9 (svn r14986) -Doc: small error in a comment (PhilSophus) 2009-01-10 23:21:46 +00:00
rubidium f6f6f15604 (svn r14980) -Change: shuffle around some more settings to make them more logically grouped/ordered 2009-01-10 19:48:11 +00:00
peter1138 510e0ce083 (svn r14979) -Fix: Disable a NewGRF from loading if it contains multiple Action 8s 2009-01-10 19:30:40 +00:00
rubidium 238c0a5d1f (svn r14978) -Codechange: simplify the control flow of the OnClick of the settings window 2009-01-10 19:22:05 +00:00
translators e1a351cb1a (svn r14977) -Update: WebTranslator2 update to 2009-01-10 18:44:17
arabic_egypt - 4 fixed by khaloofah (4)
brazilian_portuguese - 26 fixed by tucalipe (26)
bulgarian  - 3 fixed by Ar4i (3)
catalan    - 3 fixed by arnaullv (3)
croatian   - 35 fixed by tifached (35)
czech      - 52 fixed, 10 changed by Hadez (62)
danish     - 4 fixed by ThomasA (4)
dutch      - 6 fixed by Excel20 (4), habell (2)
finnish    - 15 fixed by UltimateSephiroth (15)
french     - 15 fixed by glx (15)
hungarian  - 6 fixed by alyr (6)
indonesian - 6 fixed, 64 changed by fanioz (70)
italian    - 3 fixed, 1 changed by lorenzodv (4)
portuguese - 6 fixed by rmrebelo (6)
romanian   - 6 fixed by kkmic (6)
2009-01-10 18:44:39 +00:00
frosch bc786f9e59 (svn r14975) -Fix (r14957): Do not immediatelly move the train when leaving the station and the destination is not yet known. 2009-01-10 17:39:43 +00:00
rubidium 496f6aed3c (svn r14974) -Change: reorder/reorganise the entries of the settings window (Alberth) 2009-01-10 17:35:19 +00:00
rubidium 8e42e20ebe (svn r14973) -Codechange: recursively fold subpages (Alberth) 2009-01-10 17:27:11 +00:00
rubidium 698fbe891c (svn r14972) -Update: do r14971 also for the non-English strings (Alberth) 2009-01-10 17:24:26 +00:00
rubidium 7a0d957b05 (svn r14971) -Change: the colour of the patch page text so it becomes more visible as it changed background (Alberth) 2009-01-10 17:23:31 +00:00
rubidium 7039c84c6a (svn r14970) -Change: move all (patch) settings to a single "page" (Alberth) 2009-01-10 17:14:59 +00:00
rubidium 8ad56c4229 (svn r14969) -Codechange: make drawing trees possible (Alberth) 2009-01-10 17:13:41 +00:00
rubidium 52108959c9 (svn r14967) -Codechange: split the drawing of the window into several smaller functions (Alberth) 2009-01-10 16:51:27 +00:00
rubidium d6d8411a5f (svn r14966) -Codechange: simplify and generalise finding patch entries (Alberth) 2009-01-10 16:49:30 +00:00
rubidium eec72275f1 (svn r14965) -Codechange: remember the patch entry instead of the page and index of the entry for handling the "input box" (Alberth) 2009-01-10 16:46:10 +00:00
rubidium 1fbc41f1fd (svn r14964) -Codechange: hide the length of a patch page behind a function (Alberth) 2009-01-10 16:44:51 +00:00
rubidium 6a359a586b (svn r14963) -Codechange: remember what entry was clicked instead of the index (Alberth) 2009-01-10 16:42:28 +00:00
rubidium 32d5369675 (svn r14962) -Codechange: add the concept of patch entries and patch (sub) pages 2009-01-10 16:39:18 +00:00
rubidium 850e45b1f1 (svn r14961) -Update: remove the string from r14960 from the other languages too. 2009-01-10 16:29:31 +00:00
rubidium 3f1da12faf (svn r14960) -Codechange: add some this where appropriate (Alberth) 2009-01-10 16:26:17 +00:00
rubidium 99337bf4a1 (svn r14959) -Fix [FS#2508]: wrong defaults for service interval when switching between service interval in days and service interval in percentages. 2009-01-10 16:24:42 +00:00
smatz 0cd41d1dc6 (svn r14958) -Codechange [FS#1923]: when checking for unique names, compare only with manually set names
There are situations that aren't solvable (because of different language files), so if the user really wants to have duplicated name, allow him to do so. It solves desyncs between server and clients using different languages. It behaves the same in SP and MP, so users won't see the different behaviour as a bug (and even checking in SP could be worked around by the user).
2009-01-10 15:54:07 +00:00
frosch 07d1c28025 (svn r14957) -Fix [FS#2516]: Do not abort train movement, when we are just about to reach the end of the platform. 2009-01-10 15:27:57 +00:00
rubidium db546e607f (svn r14956) -Fix [FS#1832]: building new station parts didn't allocate a new station spec effectively breaking variable 41. This was due to the limited number of station specs that we can have per station. This fix makes newly build station parts create a new spec until one cannot allocate new station specs anymore and it'll revert to the old behaviour (sharing station specs). 2009-01-10 14:30:01 +00:00
rubidium 1b546505d2 (svn r14955) -Fix: newgrf station specs didn't get deallocated when building a new station part over them. 2009-01-10 14:01:17 +00:00
rubidium 7878405a12 (svn r14954) -Fix [FS#1890]: sharing/cloning/inserting of orders that the/a vehicle (in the shared list) can't go to (wrong station type etc) 2009-01-10 13:00:38 +00:00
rubidium c8f3630e64 (svn r14953) -Fix (r14952): the "available aircraft" list caused a crash 2009-01-10 10:41:22 +00:00
rubidium 3d6c09b38d (svn r14952) -Codechange: unify the "can vehicle go to station" tests 2009-01-10 09:51:14 +00:00
rubidium 11da45ee55 (svn r14949) -Cleanup: pointer coding style 2009-01-10 00:31:47 +00:00
smatz c3839648f7 (svn r14948) -Codechange: enumification and more comments in the statusbar code 2009-01-09 23:49:46 +00:00
rubidium dc1f1664fd (svn r14947) -Fix [FS#2519]: vehicle following did not update the location from where to smooth scroll, thus any new viewport center would smooth scroll from the location where you were just before you started following the vehicle 2009-01-09 23:30:02 +00:00
rubidium 61f19b6e3e (svn r14946) -Fix: copying a location from the extra viewport to the main viewport did not cancel vehicle following 2009-01-09 23:28:28 +00:00
frosch 3ca73b0c4c (svn r14945) -Feature(ette): Support var 0x45 (curvature info) also for road vehicles. 2009-01-09 23:04:51 +00:00
rubidium cda853872a (svn r14944) -Cleanup: add spaces around some operators 2009-01-09 22:56:28 +00:00
rubidium c08f520acf (svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces 2009-01-09 22:48:57 +00:00
smatz 5fc7fe9648 (svn r14940) -Fix: let the statusbar know the current news are invalid or bad things will happen 2009-01-09 20:42:17 +00:00
peter1138 5c666fac14 (svn r14939) -Codechange: Follow standard *ChangeInfo() pattern for global variables during reservation. Whilst not strictly necessary for global variables, following the same pattern makes it easier to follow. This also solves the long standing ChangeInfoResult/bool warning for MSVC. 2009-01-09 20:14:07 +00:00
rubidium b26cee21f6 (svn r14938) -Fix: some small inconsistencies w.r.t. "0 is disabled" setting handling 2009-01-09 19:34:05 +00:00
frosch 4fafb723aa (svn r14936) -Fix: INDUSTRYBEH_ONLY_NEARTOWN bypassed the clear-test and could e.g. result in incomplete clearing of protected houses. 2009-01-09 15:11:35 +00:00
rubidium 0464e9f864 (svn r14935) -Fix [FS#2498]: the new operator may not return NULL, so don't. 2009-01-09 15:01:15 +00:00
rubidium 07c5fb2a02 (svn r14934) -Fix: in (extreme) cases CanAllocateItem could return true when there's not enough space. 2009-01-09 15:00:22 +00:00
rubidium f0b0691bfe (svn r14933) -Codechange: check the whether a pool item can be constructed instead of trying to make it and check for NULL. 2009-01-09 14:59:02 +00:00
rubidium 331b8dd7d4 (svn r14931) -Fix [FS#2512]: the "animation state" of the bubbles was stored in a variable that was not stored in the savegame. Using a variable that gets saved in the savegame solves the desync and makes it a bit clearer. 2009-01-09 09:50:33 +00:00
belugas 729cebda47 (svn r14927) -Codechange: constify widget numbers in network chat gui. 2009-01-08 22:33:54 +00:00
peter1138 0052c85002 (svn r14926) -Feature: Automatically set last engine ageing year to the last 'introduction year plus half model life', to allow engines later than 2050 to appear. 2009-01-08 21:48:59 +00:00
frosch b522f73ba8 (svn r14925) -Fix [FS#2500]: Abort dragging of vehicles in the group window when they are deleted. 2009-01-08 21:16:19 +00:00
frosch 17a9bab142 (svn r14924) -Fix (r7403): Do not unnecessarily reset the cursor, when a different vehicle is dragged. 2009-01-08 21:13:20 +00:00
translators 067b9a15d1 (svn r14922) -Update: WebTranslator2 update to 2009-01-08 18:49:15
afrikaans  - 20 fixed, 52 changed by wpduplessis (72)
bulgarian  - 46 fixed, 1 changed by Ar4i (47)
catalan    - 6 fixed by arnaullv (6)
dutch      - 3 fixed, 1 changed by habell (4)
finnish    - 10 fixed by jpx_ (10)
french     - 3 fixed by glx (3)
indonesian - 1 changed by fanioz (1)
italian    - 3 fixed by lorenzodv (3)
korean     - 23 fixed by leejaeuk5 (23)
norwegian_bokmal - 3 fixed by khh (3)
polish     - 3 fixed by xaxa (3)
ukrainian  - 21 fixed by znikoz (21)
2009-01-08 18:49:34 +00:00
frosch 26e9c4c489 (svn r14921) -Fix [FS#2507]: Do not try to calculate a center of a train-station, when there is none. 2009-01-08 18:08:14 +00:00
rubidium c8c61e36bd (svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus) 2009-01-08 16:35:45 +00:00
rubidium b34b386588 (svn r14918) -Cleanup: remove unused constant. 2009-01-08 16:33:41 +00:00
rubidium e39484e9a8 (svn r14916) -Codechange: make it possible to send CommandContainers directly to DoCommand(P). 2009-01-08 14:55:28 +00:00
rubidium 427e2d30c5 (svn r14915) -Codechange: unify the receiving and sending of commands, and thus unifying most of the validity checking too. 2009-01-08 14:40:18 +00:00
belugas 38bd396f90 (svn r14914) -Documentation: Correct doxygen comment for file name. <nitpicked> by Swallow 2009-01-08 14:38:21 +00:00
peter1138 85c0d42616 (svn r14912) -Codechange: Autoprobe 'null' blitter when built as dedicated-only. 2009-01-08 14:30:29 +00:00
peter1138 57cff4bca8 (svn r14911) -Fix (r14909): -D did not work 2009-01-08 14:10:39 +00:00
rubidium d4b6cc997d (svn r14910) -Codechange: merge the command queue handling into a single location 2009-01-08 13:57:50 +00:00
peter1138 020dbb180a (svn r14909) -Codechange: Remove global option for the extmidi driver and make it a driver parameter with the name cmd instead. This means if you have an "extmidi = ..." line in your config you must change it to "musicdriver = extmidi:cmd=...", in the [misc] section. 2009-01-08 12:05:14 +00:00
peter1138 45f1d83bc7 (svn r14908) -Codechange: Add support for text parameters. 2009-01-08 11:40:42 +00:00
peter1138 6b6fd36050 (svn r14907) -Codechange: Remove 32 character limit from driver/blitter selection and parameters. 2009-01-08 11:06:07 +00:00
rubidium c71862174a (svn r14905) -Fix (r14899): in some corner cases already freed memory could be read. 2009-01-07 18:59:46 +00:00
translators 6bd14cf1a1 (svn r14904) -Update: WebTranslator2 update to 2009-01-07 18:44:43
catalan    - 19 fixed, 6 changed by arnaullv (25)
danish     - 3 fixed by beruic (3)
finnish    - 15 fixed by UltimateSephiroth (15)
french     - 4 fixed by glx (4)
indonesian - 15 fixed by fanioz (12), rindu (3)
norwegian_bokmal - 37 fixed, 12 changed by khh (49)
norwegian_nynorsk - 8 fixed by Grilldyret (8)
polish     - 14 fixed by xaxa (14)
romanian   - 29 fixed by kkmic (29)
thai       - 10 fixed by angelix (10)
turkish    - 29 fixed by Emin (29)
2009-01-07 18:44:56 +00:00
frosch aedc0c1302 (svn r14903) -Fix: First create all articulated parts of roadvehicles, then call callback 36 capacity, also call it for all articulated parts. 2009-01-07 17:50:20 +00:00
frosch cf1e926e37 (svn r14902) -Feature: Advanced setting to keep various building tools active, which are usually closed after placing an object. (planetmaker) 2009-01-07 17:40:17 +00:00
rubidium 84dee1e738 (svn r14899) -Feature: remove the window limit, but leave a configurable limit on the number of non-sticky non-vital windows.
-Fix [FS#2499]: crashes/misbehaviours when (almost) all windows are stickied.
2009-01-07 16:11:27 +00:00
rubidium fa22bcd456 (svn r14898) -Fix (r14897): ccache's caching seems to be a bit too agressive or so. 2009-01-07 15:36:37 +00:00
rubidium 8d017f0ea1 (svn r14897) -Codechange: don't allow a few command flags to be sent over the network as it's bogus information anyway; e.g. the "do not send over network" flag as it will be set whenever the command is received from the server/client.
-Codechange: test earlier whether the command (send from the server) is actually valid.
2009-01-07 15:27:19 +00:00
rubidium f5b23103d7 (svn r14896) -Codechange: remove an unused constant and the related dead code. 2009-01-07 14:58:43 +00:00
rubidium 5fcf07f388 (svn r14895) -Change: move CMD_NO_WATER from all DoCommandPs to the command table 2009-01-07 14:45:07 +00:00
rubidium d66d36126c (svn r14890) -Codechange: move the notest information into the command table. 2009-01-07 13:31:09 +00:00
rubidium cb81e637b0 (svn r14889) -Codechange: replace some magic numbers with constants. 2009-01-07 13:26:48 +00:00
rubidium ebf0fbc969 (svn r14886) -Fix: remove (3) strings with non-UTF8 characters in Afrikaans.
-Fix: using non-ASCII characters in Afrikaans and Icelandic when there's an equivalent ASCII character, thus not needing a font to display all characters.
2009-01-07 12:54:26 +00:00
rubidium 9888afd6d0 (svn r14885) -Fix: if settings minimum != 1 and 0-is-disabled is enabled, one could set the setting in-game to an out-of-valid-range value. 2009-01-07 08:26:09 +00:00
smatz 1ada1a4ff2 (svn r14884) -Codechange: simplify code responsible for opening vehicle view windows 2009-01-07 02:03:07 +00:00
rubidium 2490f8f471 (svn r14881) -Fix (r14880): somehow make didn't think that widgets/dropdown.cpp did depend on window_gui.h... 2009-01-06 23:19:59 +00:00
rubidium 19edb3ccc3 (svn r14880) -Codechange: make it clear which way the FOR_ALL_WINDOWS goes (from back to front or vice versa) and make it iterate over the Window* instead of Window**. 2009-01-06 22:37:42 +00:00
michi_cc 6138f6a2bb (svn r14876) -Fix [FS#2509] (r14849): Reserved path loop detection was broken for stations.
Don't set the test tile to the tile the very first iteration handles. Update the test tile instead in the loop.
2009-01-06 17:11:37 +00:00
peter1138 c0efc759ef (svn r14869) -Feature: Allow road vehicles to move multiple steps in a tick (code based on train movement code) and add support for RV prop 15. This gives RVs a maximum speed of 318mph instead 79mph. This only implements higher speeds, not 'realistic acceleration'. 2009-01-06 14:45:38 +00:00
peter1138 680175fea0 (svn r14862) -Fix (r14421): min_players became min_active_clients, not min_clients 2009-01-06 10:22:48 +00:00
belugas 63e47ed480 (svn r14855) -Documentation: Apply some widget naming to the widget arrays. Based on Yorick's work 2009-01-06 00:27:53 +00:00
rubidium 9877b71ee0 (svn r14853) -Codechange: rename GetClosestStationFromTile to GetClosestDeletedStation as that's what it does instead of finding non-deleted stations. 2009-01-05 21:06:38 +00:00
michi_cc 13f06c812d (svn r14852) -Feature: Automatic reversing in front of block signals can now be disabled by setting pf.wait_oneway_signal respectively pf.wait_twoway_signal to 255. 2009-01-05 20:29:05 +00:00
michi_cc c9d25e20f0 (svn r14851) -Fix: A train reversing in a non-PBS block can't be stuck. 2009-01-05 20:29:00 +00:00
michi_cc f9f9bb9c3c (svn r14850) -Fix [FS#2503]: Reversing a stuck train that is then not stuck anymore did not always reset the waiting timer. 2009-01-05 20:28:56 +00:00
michi_cc 809d9bc498 (svn r14849) -Fix [FS#2478]: A train meeting its end could lead to an endless loop. 2009-01-05 20:28:51 +00:00
translators 9ad0c80e67 (svn r14848) -Update: WebTranslator2 update to 2009-01-05 18:44:14
afrikaans  - 11 fixed by Alrich (11)
arabic_egypt - 19 fixed, 21 changed by khaloofah (40)
danish     - 40 fixed, 1 changed by ThomasA (41)
dutch      - 2 fixed, 25 changed by Excel20 (27)
hebrew     - 8 fixed by EScake (8)
hungarian  - 18 fixed by alyr (18)
italian    - 18 fixed by lorenzodv (18)
norwegian_bokmal - 3 fixed, 11 changed by khh (14)
norwegian_nynorsk - 8 fixed by Grilldyret (8)
polish     - 3 fixed by xaxa (3)
portuguese - 7 fixed by SnowFlake (7)
urdu       - 9 fixed by yasirniazkhan (9)
2009-01-05 18:44:40 +00:00
rubidium d642a55b91 (svn r14847) -Codechange: generalise the circular search to search around a rectangle (PhilSophus) 2009-01-05 17:48:54 +00:00
glx c7959ce2a9 (svn r14840) -Cleanup: remove duplicate includes 2009-01-04 21:02:59 +00:00
smatz ec7244d971 (svn r14839) -Fix [FS#2496](r14835): one occurence of train_income_warn wasn't updated 2009-01-04 20:41:32 +00:00
smatz e997463c88 (svn r14838) -Fix: race condition between me and WT2's translators 2009-01-04 19:17:41 +00:00
translators 1103353b57 (svn r14837) -Update: WebTranslator2 update to 2009-01-04 18:46:20
afrikaans  - 39 changed by TrueTenacity (39)
arabic_egypt - 1 fixed, 13 changed by khaloofah (14)
catalan    - 10 fixed by arnaullv (10)
dutch      - 19 fixed, 2 changed by Excel20 (21)
finnish    - 10 fixed by jpx_ (10)
french     - 19 fixed by glx (19)
hebrew     - 31 fixed, 7 changed by EScake (38)
hungarian  - 2 fixed, 2 changed by IPG (3), alyr (1)
indonesian - 14 fixed by fanioz (14)
italian    - 2 fixed by lorenzodv (2)
polish     - 5 fixed by xaxa (5)
serbian    - 31 fixed, 1 changed by nummer (32)
thai       - 22 fixed by vetbook (22)
2009-01-04 18:46:35 +00:00
smatz d7d95e0f43 (svn r14836) -Update (r14835): remove changed string from other languages 2009-01-04 18:37:28 +00:00
smatz 67bf6a0998 (svn r14835) -Change: apply the 'warn if train's income is negative' setting to other vehicle types, too 2009-01-04 18:34:23 +00:00
rubidium f1cc20edc0 (svn r14834) -Fix: some strings (in unfinished/) were forgotten when removed/updated 2009-01-04 18:05:06 +00:00
smatz c1585376f0 (svn r14833) -Update (r14831): remove changed strings from other languages 2009-01-04 17:44:46 +00:00
smatz 9a09e5c4a0 (svn r14831) -Codechange: use {VEHICLE} instead of Train/Ship/Road veh/Aircraft/{STRING} {COMMA} in lang files (part by Swallow) 2009-01-04 17:42:46 +00:00
rubidium e557c88667 (svn r14830) -Fix [FS#2495]: overflow of number of orders per vehicle (based on patch by Swallow) 2009-01-04 15:53:43 +00:00
smatz 9658c83a33 (svn r14829) -Fix (r14828): forgot CH_LAST 2009-01-04 15:46:50 +00:00
smatz 7368c740a6 (svn r14828) -Codechange: move most of save/load-specific code to separate files 2009-01-04 15:32:25 +00:00
rubidium c9e8fd307e (svn r14827) -Feature [FS#1984]: few (optional) optimisations to making (initial) orders (sulai) 2009-01-04 14:51:49 +00:00
rubidium ce5304f9a2 (svn r14826) -Fix [FS#2494]: infinite loop in order lookahead when reserving a path (Swallow) 2009-01-04 14:36:19 +00:00
rubidium 2283b8038f (svn r14825) -Fix: pay the correct amount of interest instead of a few percent too little a year 2009-01-04 14:32:30 +00:00
rubidium 8c33893ffd (svn r14824) -Fix [FS#1725]: mouse events could be treated twice (illogict) 2009-01-04 12:09:48 +00:00
rubidium 702c372744 (svn r14823) -Document: some variables/structs (Alberth) 2009-01-04 11:32:26 +00:00
rubidium 2a47aaf4a8 (svn r14822) -Change: save 'build station' settings in the config file, like drag'n'drop and and show coverage area (Rexxars) 2009-01-04 11:11:11 +00:00
rubidium e15231c4a4 (svn r14821) -Change [FS#2390]: make the road grids of town match, when all are using the same road layout ofcourse (cirdan) 2009-01-04 10:50:24 +00:00
rubidium fad3519d4f (svn r14820) -Codechange: use (the correct) enum-type instead of just int (Zuu) 2009-01-03 23:40:29 +00:00
rubidium 3024850bb1 (svn r14819) -Change: make details and order menu stickyable, like the timetable window. Also let the detail/order/timetable window close eachther, like the detail and order windows already did, when not stickied. 2009-01-03 23:32:59 +00:00
smatz 799f30c663 (svn r14817) -Cleanup: unify the place where the @file header is placed 2009-01-03 22:20:18 +00:00
glx 502607410e (svn r14816) -Fix: signed/unsigned warnings (MSVC) 2009-01-03 19:39:22 +00:00
smatz 09cd9a8017 (svn r14815) -Codechange: separate 'highscore' code from 'company' code 2009-01-03 18:44:20 +00:00
translators db56caff3d (svn r14814) -Update: WebTranslator2 update to 2009-01-03 18:29:54
arabic_egypt - 9 fixed by khaloofah (9)
brazilian_portuguese - 9 fixed by tucalipe (9)
dutch      - 9 fixed by Excel20 (9)
french     - 10 fixed, 1 changed by glx (11)
hebrew     - 31 fixed by EScake (31)
hungarian  - 9 fixed by alyr (9)
indonesian - 32 changed by fanioz (32)
italian    - 9 fixed by lorenzodv (9)
korean     - 9 fixed by dlunch (9)
polish     - 10 fixed by xaxa (10)
slovenian  - 24 fixed by Necrolyte (24)
spanish    - 14 fixed by eusebio (14)
thai       - 95 fixed, 1 changed by vetbook (96)
ukrainian  - 1 fixed, 6 changed by mad (7)
2009-01-03 18:30:10 +00:00
rubidium 11c25a72fa (svn r14813) -Codechange: use uint instead of 'just' unsigned. 2009-01-03 17:28:22 +00:00
smatz afef22e3e7 (svn r14812) -Codechange: use INVALID_TILE instead of 0 to mark company without HQ 2009-01-03 17:11:52 +00:00
rubidium 6512d717e1 (svn r14811) -Fix: off-by-one causing possible out-of-bounds reads. 2009-01-03 17:10:20 +00:00
rubidium 099022224f (svn r14810) -Codechange: use the proper style for global variables. 2009-01-03 17:09:31 +00:00
rubidium 455a6e4554 (svn r14809) -Fix (r14802): forgotten ! 2009-01-03 16:35:25 +00:00
smatz 16fb54da5e (svn r14808) -Fix (r1): coal mine subsidence could wrap around map edges 2009-01-03 16:27:52 +00:00
smatz 254e19da91 (svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints 2009-01-03 16:06:58 +00:00
smatz 21308de6cb (svn r14806) -Fix: MarkAllViewportsDirty() didn't mark dirty whole area when zoomed out, visible by aircraft leaving trails sometimes 2009-01-03 15:03:28 +00:00
rubidium 51b9091689 (svn r14805) -Feature [FS#2238]: pressing CTRL while dragging to build a bridge build the last built bridge type if possible (planetmaker) 2009-01-03 14:16:18 +00:00
rubidium e5c1a7b5c3 (svn r14804) -Codechange: unify opening the OSK (Zuu) 2009-01-03 13:59:05 +00:00
rubidium 0d54db5f9f (svn r14803) -Codechange: move order list management into it's own class and remove the order count from the savegame as we can easily count that (PhilSophus) 2009-01-03 13:52:06 +00:00
rubidium fa2bf69a53 (svn r14802) -Fix [FS#2490]: "(undefined string)" in default savegame/screenshot names when there's no company in the game. 2009-01-03 13:27:08 +00:00
rubidium d428da5a35 (svn r14801) -Codechange: don't reference Vehicle::num_orders directly but through a method GetNumOrders() (PhilSophus) 2009-01-03 13:20:32 +00:00
rubidium 18b27692aa (svn r14800) -Codechange: make the advanced settings window resizeable and scrollable (most by Alberth) 2009-01-03 11:24:27 +00:00
rubidium fcee426b80 (svn r14799) -Codechange: move drawing a single settings entry to it's own function (Alberth) 2009-01-03 11:07:43 +00:00
rubidium d9bc99658b (svn r14798) -Codechange: move variable declaration to first use of variable (Alberth) 2009-01-03 11:03:53 +00:00
rubidium 489584b85e (svn r14797) -Codechange: replace even more magic numbers with constants (Alberth) 2009-01-03 11:00:40 +00:00
rubidium c3954f2e38 (svn r14796) -Fix: if using variable, use it everywhere instead of hardcoding it's value sometimes (Alberth) 2009-01-03 10:56:38 +00:00
rubidium 6913ae5a5f (svn r14795) -Codechange: replace a magic number with a constant (Alberth) 2009-01-03 10:53:49 +00:00
rubidium 8ff93c2c14 (svn r14794) -Document: a few functions/variables (Alberth) 2009-01-03 10:52:22 +00:00
rubidium f77503e5a3 (svn r14793) -Update (r14792): replace a string parameter in the other languages too 2009-01-03 01:01:12 +00:00
rubidium 35f5783c62 (svn r14792) -Feature: make the date format for default savegame/screenshot names configurable 2009-01-03 00:58:59 +00:00
rubidium aff7feb767 (svn r14791) -Add: the ability to make ISO dates with the string system (PhilSophus) 2009-01-03 00:56:16 +00:00
rubidium 3a0d966ae4 (svn r14790) -Codechange: unify generation of default savegame/screenshot names (PhilSophus) 2009-01-02 22:49:43 +00:00
rubidium 1357b0a4c2 (svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo) 2009-01-02 22:42:05 +00:00
rubidium 2086fbcf17 (svn r14788) -Fix [FS#2489]: some TTDPatch flags were wrong (Swallow) 2009-01-02 22:18:05 +00:00
rubidium 35f76ce26b (svn r14787) -Fix: landscape toolbar getting closed when rail/road/water/airport toolbar gets closed with linked toolbars turned on. 2009-01-02 21:01:27 +00:00
rubidium 5b3a2ed2ab (svn r14786) -Fix: road/rail/water/airport toolbar opened over terraform toolbar when toolbar linking is turned on. 2009-01-02 21:01:13 +00:00
rubidium b3f2f40db7 (svn r14785) -Fix [FS#2132]: vehicle list for station gets closed when station view is closed even when the vehicle list is stickied. Other vehicle lists are not deleted when their 'opening' window gets closed so do the same with the station view. 2009-01-02 20:59:04 +00:00
rubidium bde4b6020a (svn r14784) -Change: don't close and reopen the vehicle order/detail windows, just refocus them instead. 2009-01-02 20:01:28 +00:00
rubidium 0c352ede7a (svn r14783) -Fix (r12661): don't add vehicles with "go to nearest depot" to the vehicle list of the depot with index 0. 2009-01-02 19:45:46 +00:00
translators 3000a62f53 (svn r14782) -Update: WebTranslator2 update to 2009-01-02 18:38:20
arabic_egypt - 7 fixed by khaloofah (7)
brazilian_portuguese - 14 fixed, 5 changed by tucalipe (19)
catalan    - 14 fixed by arnaullv (14)
finnish    - 14 fixed by jpx_ (14)
hungarian  - 14 fixed by alyr (14)
indonesian - 6 changed by fanioz (6)
korean     - 13 fixed by dlunch (13)
malay      - 8 fixed by tombakemas (8)
serbian    - 29 fixed, 2 changed by nummer (31)
thai       - 2 fixed by chat9780 (2)
ukrainian  - 13 fixed by mad (1), znikoz (12)
urdu       - 20 fixed by yasirniazkhan (20)
2009-01-02 18:38:33 +00:00
rubidium 6513bf3a3a (svn r14781) -Change: someone changed _cur_year; so update it in a few hardcoded places... happy new year!
-Fix (r11790): a few instances were forgotten.
2009-01-01 22:21:25 +00:00
rubidium 5a6d3a601d (svn r14779) -Fix (r14747) [FS#2485]: selling an articulated vehicle removed only the first part and not the rest. 2008-12-31 17:52:42 +00:00
glx 9a5f4f28f4 (svn r14778) -Change: completely hide 'Submit report' button on crash dialog (MSVC) 2008-12-31 17:01:33 +00:00
peter1138 5f4aef3c11 (svn r14776) -Fix (r14742): ListPositionMap relied on std::map having sorted the map, which is now done by a manual key sorter on SmallMap. This fixes engine ID list sorting. 2008-12-30 21:04:09 +00:00
translators 3bf9e9e9c2 (svn r14775) -Update: WebTranslator2 update to 2008-12-30 18:44:32
arabic_egypt - 10 fixed, 2 changed by khaloofah (12)
croatian   - 14 fixed, 63 changed by tperic (77)
indonesian - 13 fixed by rindu (13)
norwegian_nynorsk - 2 fixed by zibiam (2)
romanian   - 13 fixed by kkmic (13)
serbian    - 20 fixed by nummer (20)
turkish    - 14 fixed by Emin (14)
2008-12-30 18:44:40 +00:00
rubidium 5c83e8a853 (svn r14774) -Change: show which tile caused the "error" when leveling land like raising and lowering does and use the same sound. 2008-12-30 15:32:46 +00:00
rubidium 32583bd405 (svn r14773) -Fix-ish[FS#2469]: attach a signal handler during loading savegames to catch any crashes due to broken savegames/missing NewGRFs and tell the user about that instead of "just" crashing without explanation. 2008-12-30 15:14:23 +00:00
rubidium 3c6add5293 (svn r14772) -Codechange: make the "dump log of game to reproduce" desync debug stuff a runtime configurable debug option instead of a compile time option. 2008-12-29 21:50:25 +00:00
rubidium ad1c52abf8 (svn r14771) -Fix (r14764): resolving of error types to error messages kinda failed :( 2008-12-29 21:41:20 +00:00
rubidium 1ce965ed5f (svn r14770) -Fix: gracefully handle an invalid packet instead of asserting. 2008-12-29 21:33:27 +00:00
rubidium 9f4132c739 (svn r14769) -Change: when loading games in "network" mode use the start date of the save game for the server and all clients when loading the NewGRFs instead of the current date. Prevents desyncs caused by action 7/9s skipping parts of the GRF based on the date or some other variables that can differ at NewGRF load time. 2008-12-29 20:36:12 +00:00
translators d38d7f1297 (svn r14768) -Update: WebTranslator2 update to 2008-12-29 18:40:47
dutch      - 13 fixed, 5 changed by Excel20 (18)
french     - 13 fixed by glx (13)
hebrew     - 22 fixed, 1 changed by yitzc (16), davidx123 (7)
italian    - 13 fixed by lorenzodv (13)
norwegian_nynorsk - 94 fixed, 20 changed by Grilldyret (114)
portuguese - 14 fixed by rmrebelo (8), SnowFlake (6)
serbian    - 32 fixed by nummer (32)
ukrainian  - 1 fixed by mad (1)
2008-12-29 18:40:59 +00:00
rubidium 31d496342f (svn r14767) -Codechange: remove some unneeded artificial limits from currencies and use the bounds of the data type. 2008-12-29 15:46:14 +00:00
rubidium e198bf02ab (svn r14766) -Fix (r14730ish): remove unused typedef. 2008-12-29 11:17:12 +00:00
rubidium deffb584b0 (svn r14765) -Update (r14764): remove changed strings from translations. 2008-12-29 10:40:43 +00:00
rubidium a25e3f8d70 (svn r14764) -Codechange: make the '***' chat messages like "Game paused (not enough players)" fully translateable. 2008-12-29 10:37:53 +00:00
rubidium 703831ec6d (svn r14761) -Fix (r14730): missed the one DEREF_CLIENT in the random debug code :( 2008-12-28 22:23:43 +00:00
rubidium 105b84e343 (svn r14760) -Fix (rlongago): network connection of clients being closed twice (found due to added assertion in r14730) 2008-12-28 21:45:41 +00:00
rubidium e626e07bd3 (svn r14759) -Fix (r14730): tab completion causing out-of-bounds read. 2008-12-28 21:07:45 +00:00
rubidium ee952b10d9 (svn r14758) -Fix: determine the real size of a depot before trying to place it. 2008-12-28 20:53:19 +00:00
translators c7d3ab3382 (svn r14757) -Update: WebTranslator2 update to 2008-12-28 18:41:48
arabic_egypt - 140 fixed, 26 changed by khaloofah (166)
czech      - 1 fixed, 2 changed by Hadez (3)
dutch      - 1 fixed by Excel20 (1)
french     - 1 fixed by glx (1)
indonesian - 1 fixed, 69 changed by fanioz (70)
italian    - 1 fixed by lorenzodv (1)
korean     - 1 fixed, 3 changed by leejaeuk5 (4)
latvian    - 58 changed by peerer (58)
lithuanian - 12 fixed by Enternald (12)
romanian   - 1 fixed by kneekoo (1)
thai       - 30 fixed by chat9780 (30)
2008-12-28 18:42:00 +00:00
rubidium aa73cc9202 (svn r14756) -Update (r14755): remove removed string from other languages too. 2008-12-28 16:13:10 +00:00
rubidium 683b65ee18 (svn r14755) -Codechange: remove ending year as it can't be changed anyways. 2008-12-28 16:09:58 +00:00
rubidium 87e5a8b52b (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 2008-12-28 14:37:19 +00:00
smatz 53679122af (svn r14753) -Fix (r1): after buying a company, one could have more vehicles with the same UnitID 2008-12-26 23:53:07 +00:00
rubidium b8d82cc28c (svn r14752) -Fix [FS#2438]: revenue when clearing land would show up in red in the land info window as negative cost. 2008-12-26 23:37:53 +00:00
smatz f4d10ec033 (svn r14751) -Codechange: put VehicleEnterTile declaration where it should be and use correct return type 2008-12-26 22:44:13 +00:00
rubidium 21fa036c21 (svn r14750) -Fix [FS#1993]: in an MP game in SP mode no company would go bankrupt. Furthermore companies that passed the "bankrupt" period (4 quarters) wouldn't go bankrupt when loading the game back in MP. Now any company that is in MP or not "currently controlled by the player" in SP will bankrupt. 2008-12-26 21:49:00 +00:00
rubidium c2466d9571 (svn r14749) -Codechange: replace a few wrapper functions that only called delete by a direct delete instead. 2008-12-26 21:16:15 +00:00
rubidium 3ebe66a5e4 (svn r14748) -Codechange: unduplicate window updating when deleting vehicles. 2008-12-26 21:08:51 +00:00
rubidium f18043ee21 (svn r14747) -Codechange: remove DeleteVehicleChain in favour of the vehicle destructor as that was already doing the same for a few vehicle types. 2008-12-26 20:45:02 +00:00
smatz 73ca72922c (svn r14746) -Fix: don't let any disaster vehicle (Helicopter or Airplane) target invalid industry 2008-12-26 19:37:50 +00:00
rubidium 1721222080 (svn r14745) -Codechange: move "depot_list" and "leave_depot_immediately" out of the vehicle struct (saving up to 16 bytes per vehicle) as it is only used to tell a calling function entered a depot (for autoreplace). 2008-12-26 18:26:11 +00:00
rubidium a8cb9fa2f5 (svn r14744) -Fix [FS#2474]: don't tell loading a savegame failed in two distinct ways. 2008-12-26 18:24:05 +00:00
smatz 419f6e099f (svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have queried facility (or station/roadstop is invalid) instead of 0 (Yexo) 2008-12-26 18:01:15 +00:00
smatz 2e2086f3f8 (svn r14742) -Codechange: use SmallMap in two cases to reduce compilation time and binary size 2008-12-26 13:50:46 +00:00
translators 435d920448 (svn r14741) -Update: WebTranslator2 update to 2008-12-25 18:48:16
arabic_egypt - 144 fixed, 3 changed by khaloofah (147)
indonesian - 74 changed by fanioz (74)
thai       - 104 fixed, 38 changed by chat9780 (142)
2008-12-25 18:48:21 +00:00
smatz 5e79462685 (svn r14740) -Fix (r13675)(r14739): we shouldn't skip all remaining sprites neither 2008-12-24 23:20:30 +00:00
smatz aeeb60868c (svn r14739) -Fix (r13675): when a static GRF was forcibly disabled, wrong data was released, causing memory leaks and wrong behaviour or crashes 2008-12-24 23:01:16 +00:00
smatz 48af805ada (svn r14738) -Fix (r13576): GCF_STATIC belongs to GRFConfig::flags, not GRFConfig::status 2008-12-24 22:33:06 +00:00
smatz 921863da15 (svn r14737) -Fix (r10211): memory leak in Action 0x0F (new town names) 2008-12-24 21:25:09 +00:00
translators 4ec06cc478 (svn r14736) -Update: WebTranslator2 update to 2008-12-24 15:29:53
arabic_egypt - 8 fixed, 37 changed by khaloofah (45)
hebrew     - 36 fixed by dodibitran (36)
indonesian - 39 changed by fanioz (39)
latvian    - 7 fixed, 27 changed by peerer (34)
serbian    - 31 fixed by Jenraux (31)
urdu       - 79 fixed by yasirniazkhan (79)
2008-12-24 15:30:01 +00:00
rubidium d1bb5e5f36 (svn r14735) -Codechange: remove a bit of bit-waste in the map array (without changing the map array) and make the CompanyIDs contiguous.
-Note: 15 should be enough for now... making it any more means adding more bytes to the map array and thus wasting more bits instead of reducing the bit waste.
2008-12-24 09:53:15 +00:00
smatz 5b26afbd6b (svn r14734) -Codechange: type of bankrupt_asked is CompanyMask, not byte 2008-12-24 00:25:17 +00:00
rubidium 4a1f4144eb (svn r14733) -Fix (r14730): creating new companies didn't always work as expected. 2008-12-24 00:03:47 +00:00
rubidium c3746a55bb (svn r14732) -Codechange: replace some magic number with less magic constants and use the proper type for a few variables. 2008-12-23 21:03:43 +00:00
rubidium ece37ca2c0 (svn r14731) -Fix: don't initialise UDP multiple times without closing it. 2008-12-23 20:58:03 +00:00
rubidium afddfcb2b1 (svn r14730) -Codechange: remove the need for networkclientsockets and networkclientinfo structs to be in a contiguous piece of memory and put them in a pool.
-Note: 255 should really be enough for now... making it any more means network protocol bumps.
2008-12-23 20:52:27 +00:00
rubidium 94dd23aaf8 (svn r14729) -Fix: writing a single char to the config file caused reading outside a buffer. 2008-12-23 20:50:09 +00:00
rubidium f7a52c4444 (svn r14728) -Fix [FS#2470]: don't select anything when opening the client list.
-Fix: don't show clients that are "only" in the lobby.
2008-12-23 17:12:20 +00:00
rubidium bc8984a9bb (svn r14727) -Codechange: replace some magic numbers with a constant. 2008-12-23 15:23:31 +00:00
rubidium fb7ccc6820 (svn r14726) -Fix (r14720): making new companies in network kinda failed... 2008-12-23 12:26:19 +00:00
rubidium f8f7febe41 (svn r14725) -Change: make it clearer why (and that) MAX_CLIENTS isn't the amount of slots in the array, but one less as a dedicated server takes a slot too. 2008-12-23 11:55:46 +00:00
rubidium 52fb6b7d7c (svn r14724) -Codechange: move some NetworkClientSocket related function/definitions closer together. 2008-12-23 11:43:32 +00:00
rubidium 9476a49763 (svn r14723) -Codechange: shuffling some stuff around to reduce indirect #include dependencies. 2008-12-23 11:06:52 +00:00
rubidium d501a20065 (svn r14722) -Codechange: s/DEREF_CLIENT/GetNetworkClientSocket/ 2008-12-23 10:42:06 +00:00
rubidium ae96ca635c (svn r14721) -Codechange: s/NetworkTCPSocketHandler/NetworkClientSocket/ as it's (way) more descriptive what it's used for. 2008-12-23 09:47:42 +00:00
rubidium d95a485108 (svn r14720) -Codechange: s/FOR_ALL_CLIENTS/FOR_ALL_CLIENT_SOCKETS/ as the latter describes the name more precisely. 2008-12-23 09:02:41 +00:00
rubidium b4734ee9a4 (svn r14719) -Codechange: replace DEREF_CLIENT with an instance function and replace looping socket structs with info structs when the loop is only interested in the info structs (i.e. not derefing the info from sockets when one can loop info directly and the socket isn't used) 2008-12-23 08:39:30 +00:00
rubidium 94e7f41a9d (svn r14718) -Change: remove some direct network core variable accesses from non-network locations. 2008-12-22 21:38:03 +00:00
rubidium f49cc67f83 (svn r14717) -Change: more 'Index' -> ClientID to not confuse ClientID and ClientIndex 2008-12-22 21:30:21 +00:00
rubidium 573d1b324a (svn r14716) -Codechange: move more network core querying to the network files. 2008-12-22 21:26:26 +00:00
rubidium 5b7cd460e9 (svn r14715) -Codechange: move some network code from the main gui file into one of the the network files. 2008-12-22 21:15:02 +00:00
rubidium a687667448 (svn r14714) -Codechange: only allocate the company network "state" variables (password/months not used) when needed, i.e. only for servers. 2008-12-22 20:42:02 +00:00
translators 4511739377 (svn r14713) -Update: WebTranslator2 update to 2008-12-22 18:43:52
arabic_egypt - 14 fixed, 144 changed by khaloofah (158)
hebrew     - 9 fixed, 1 changed by davidx123 (10)
hungarian  - 17 changed by IPG (17)
indonesian - 136 changed by fanioz (119), sireno (17)
latvian    - 116 fixed, 235 changed by peerer (351)
norwegian_nynorsk - 8 fixed by Thor (3), runarlu (2), DavidS (3)
urdu       - 79 fixed by yasirniazkhan (79)
2008-12-22 18:44:01 +00:00
rubidium abc903d625 (svn r14712) -Codechange: split server and client side w.r.t. the storage of network related company information. 2008-12-22 18:40:57 +00:00
rubidium e6e32bad4d (svn r14711) -Codechange: don't misuse the _network_company_info password field for changing the password on clients. 2008-12-22 18:20:28 +00:00
rubidium 887869c771 (svn r14710) -Change: simplify sending company information from the server to the client. 2008-12-22 15:17:14 +00:00
rubidium 782b80eff7 (svn r14709) -Codechange: make a clearer distinction between 'unique' client identification ids and the indices into the clients/client info arrays. 2008-12-22 12:59:31 +00:00
frosch ebf51ffb6b (svn r14707) -Cleanup: Replace an 'int' by 'Trackdir'. 2008-12-20 20:26:40 +00:00
translators 400626d882 (svn r14706) -Update: WebTranslator2 update to 2008-12-20 18:37:49
finnish    - 17 changed by UltimateSephiroth (17)
indonesian - 81 changed by fanioz (81)
latvian    - 137 fixed, 123 changed by peerer (260)
2008-12-20 18:38:00 +00:00
frosch f1900768c0 (svn r14705) -Fix [FS#2460]: First transfer the whole load of a vehicle chain to industries before triggering any processing.
This reduces callback usage and resolves critical rounding errors when using input-cargo-multipliers instead of production callbacks.
2008-12-20 17:21:22 +00:00
frosch 5ea2dc97fd (svn r14704) -Codechange: Add set capabilities to SmallVector. 2008-12-20 17:09:44 +00:00
frosch 8db5bda4f7 (svn r14703) -Fix (r8735): [YAPF] YapfRoadVehDistanceToTile() shall not abort searching at v->dest_tile, when it in fact tries to reach another tile. 2008-12-20 15:30:18 +00:00
frosch 74ed0b5efc (svn r14702) -Documentation: Add a note about the meaning and validity of Vehicle::dest_tile. 2008-12-20 11:51:52 +00:00
smatz d1ea050232 (svn r14700) -Fix (r1): loading of very old savegames was broken (STNS chunk is stored before MAP in old savegame) 2008-12-20 01:35:12 +00:00
frosch 383d8713cb (svn r14699) -Fix (r14483): Do not use v->dest_tile for trains heading to a station. Reaching that tile does not mean reaching the station. 2008-12-20 00:16:23 +00:00
rubidium 395cb45039 (svn r14697) -Fix: some int vs unsigned int comparisons in strgen. 2008-12-19 23:24:42 +00:00
frosch 59fca8523f (svn r14696) -Fix (r10495): Words now consist of 16 bits. 2008-12-19 23:13:51 +00:00
frosch c20e6d3a13 (svn r14695) -Cleanup: When NTP is not active there is no need to set up TrainTrackFollowerData. 2008-12-19 22:26:43 +00:00
smatz f52d1bd0ba (svn r14694) -Fix (r1): zeppeliner (disaster) should target st->airport_tile, not st->xy 2008-12-19 21:12:16 +00:00
smatz a7f82bd11a (svn r14693) -Codechange: replace one check in old AI (probably typo, but the effect was the same) (Yexo) 2008-12-19 20:53:38 +00:00
translators e1565c5707 (svn r14692) -Update: WebTranslator2 update to 2008-12-19 18:43:35
arabic_egypt - 85 fixed by khaloofah (85)
estonian   - 3 fixed by Kender (3)
galician   - 2 fixed by Condex (2)
latvian    - 170 fixed, 114 changed by peerer (284)
portuguese - 10 fixed by SnowFlake (10)
2008-12-19 18:43:42 +00:00
translators 6af6f576eb (svn r14691) -Update: WebTranslator2 update to 2008-12-18 18:47:25
arabic_egypt - 132 fixed, 1 changed by khaloofah (133)
czech      - 10 fixed, 25 changed by Hadez (35)
esperanto  - 15 fixed by Athaba (15)
greek      - 7 fixed by ouranogrammi (7)
indonesian - 88 changed by fanioz (88)
latvian    - 117 fixed, 16 changed by peerer (83), marismols (50)
lithuanian - 15 fixed by Zogg (15)
malay      - 38 fixed by tombakemas (5), Syed (33)
serbian    - 39 fixed, 1 changed by Jenraux (40)
thai       - 105 fixed by vetbook (105)
2008-12-18 18:47:39 +00:00
translators b2c7e521d0 (svn r14686) -Update: WebTranslator2 update to 2008-12-17 18:01:03
arabic_egypt - 200 fixed, 28 changed by Azoo4oozi (228)
czech      - 3 changed by Hadez (3)
indonesian - 1 fixed, 4 changed by fanioz (5)
korean     - 1 changed by leejaeuk5 (1)
latvian    - 299 fixed, 3 changed by marismols (302)
lithuanian - 79 fixed by Zogg (79)
serbian    - 25 fixed by Jenraux (25)
2008-12-17 18:01:19 +00:00
rubidium c7c65cf5bc (svn r14683) -Change: only say a engine/vehicle is refittable when it can be refitted to at least two cargo type or when it has subcargos.
NOTE: it is still possible that a vehicle is marked refittable when there is nothing to refit to, e.g. when only one subcargo is available but that cannot be determined without a vehicle chain.
2008-12-16 22:02:12 +00:00
frosch b177c5fd9e (svn r14682) -Fix (r14672): Check the correct savegame version. (Thanks SmatZ) 2008-12-16 20:15:36 +00:00
translators 014eb8fcf9 (svn r14681) -Update: WebTranslator2 update to 2008-12-16 18:42:42
arabic_egypt - 208 fixed, 18 changed by khaloofah (188), Azoo4oozi (38)
indonesian - 9 fixed by Gonrong (9)
norwegian_bokmal - 2 fixed by Thor (2)
portuguese - 2 fixed by rmrebelo (2)
serbian    - 19 fixed by Jenraux (19)
thai       - 20 fixed by vetbook (20)
2008-12-16 18:43:02 +00:00
frosch a87af0d7e5 (svn r14680) -Feature(ette) [FS#2434]: Use property 4 (model life) also for wagons.
Setting property 4 to 0xFF will protect the vehicle (engine or wagon) from expireing. (Necessary since early introduction dates)
Savegames will only be affected after 'resetengines'.
2008-12-16 18:09:40 +00:00
rubidium 1599ade7ca (svn r14679) -Fix [FS#2431]: opening the OSK on the chatbox did disable map scrolling (with keyboard) until another window with editbox was opened and closed. Just "refcount" the open edit boxes instead of setting/clearing a bit when opening/closing a window. 2008-12-16 17:58:27 +00:00
rubidium bfe9743f20 (svn r14678) -Fix [FS#2435]: gradual filling graphics were not chosen according to the NewGRF spec (Maedhros) 2008-12-15 22:22:23 +00:00
translators 9edc4e8030 (svn r14677) -Update: WebTranslator2 update to 2008-12-15 11:38:07
arabic_egypt - 343 fixed, 3 changed by Azoo4oozi (153), khaloofah (193)
indonesian - 123 changed by adjayanto (95), fanioz (28)
macedonian - 74 fixed, 4 changed by sashozs (78)
simplified_chinese - 8 fixed by ww9980 (8)
traditional_chinese - 6 fixed by ww9980 (6)
2008-12-15 11:39:23 +00:00
frosch e259fa8ede (svn r14676) -Fix: Do not copy the signal type of parallel vertical/horizontal track, when dragging signals. 2008-12-14 19:52:55 +00:00
rubidium 79e20448f8 (svn r14675) -Fix: setting the Estonian or custom currency as used currency didn't survive a restart cycle. 2008-12-14 16:56:28 +00:00
frosch a5c02ba0a5 (svn r14674) -Fix (r4965): Check sprite size when executing action 6. 2008-12-13 19:43:57 +00:00
translators 4b12d83fdd (svn r14673) -Update: WebTranslator2 update to 2008-12-13 18:45:31
arabic_egypt - 230 fixed by khaloofah (230)
indonesian - 2 fixed by Gonrong (2)
italian    - 1 changed by lorenzodv (1)
portuguese - 12 fixed by SnowFlake (7), rmrebelo (5)
thai       - 32 fixed by vetbook (32)
2008-12-13 18:45:37 +00:00
frosch fab1a52963 (svn r14672) -Fix [FS#2444]: Property 7 and callback 12 were broken for aircraft.
Now callback 12 is properly called also for 'mail'.
If the callback is not used, 'mail' uses 1/4 of property 7 (rounded up).
2008-12-13 18:25:42 +00:00
smatz d2a050bb29 (svn r14671) -Fix: compilation was broken for some systems 2008-12-13 18:19:44 +00:00
smatz 28028cf755 (svn r14670) -Codechange: use better readable (I hope) and branchless (for some archs/compilers) code for cargo value computation 2008-12-13 16:16:44 +00:00
smatz 3cd2957544 (svn r14669) -Codechange: use SmallVector instead of std::list at one place 2008-12-13 15:59:25 +00:00
rubidium 0bf775a20a (svn r14668) -Change: use include <> instead of include "" when including ICU's headers. 2008-12-12 19:54:54 +00:00
translators 065e10fd1b (svn r14667) -Update: WebTranslator2 update to 2008-12-11 18:45:04
arabic_egypt - 1207 fixed by khaloofah (1207)
indonesian - 30 fixed by fanioz (30)
malay      - 21 fixed by Syed (21)
portuguese - 52 fixed, 3 changed by rmrebelo (55)
2008-12-11 18:45:10 +00:00
translators f71429dc0f (svn r14666) -Update: WebTranslator2 update to 2008-12-10 18:44:59
arabic_egypt - 306 fixed by khaloofah (306)
hebrew     - 419 fixed, 45 changed by moshe (458), ybungalobill (6)
hungarian  - 1 changed by alyr (1)
ido        - 12 fixed by Cecile (12)
indonesian - 10 fixed by fanioz (10)
latvian    - 1 fixed by pakalns (1)
portuguese - 17 fixed by rmrebelo (12), SnowFlake (5)
turkish    - 161 changed by doesntmatter (161)
2008-12-10 18:45:17 +00:00
translators be874f0cd0 (svn r14665) -Update: WebTranslator2 update to 2008-12-09 18:44:40
arabic_egypt - 301 fixed by khaloofah (301)
esperanto  - 64 fixed, 2 changed by alekcxjo (66)
hebrew     - 430 fixed by moshe (430)
hungarian  - 10 changed by alyr (9), oklmernok (1)
indonesian - 49 fixed, 4 changed by fanioz (40), anansboga (13)
lithuanian - 5 fixed by Enternald (5)
portuguese - 6 fixed by SnowFlake (6)
thai       - 333 fixed by vetbook (333)
2008-12-09 18:44:51 +00:00
translators 175228d036 (svn r14662) -Update: WebTranslator2 update to 2008-12-08 16:28:15
frisian    - 216 fixed, 14 changed by Fryslân Boppe (230)
hebrew     - 109 fixed, 2 changed by ybungalobill (111)
hungarian  - 1 changed by oklmernok (1)
indonesian - 115 fixed by adjayanto (59), fanioz (56)
lithuanian - 24 fixed by Enternald (24)
malay      - 41 fixed by Syed (41)
norwegian_nynorsk - 72 fixed by Thor (72)
turkish    - 3 changed by Emin (3)
2008-12-08 16:29:36 +00:00
translators d952324cfa (svn r14660) -Update: WebTranslator2 update to 2008-12-06 18:44:39
croatian   - 55 changed by knovak (55)
hebrew     - 237 fixed, 2 changed by ybungalobill (239)
indonesian - 124 fixed, 11 changed by sireno (19), adjayanto (50), fanioz (66)
persian    - 19 fixed by ali sattari (19)
russian    - 1 fixed by ybungalobill (1)
traditional_chinese - 1 fixed by josesun (1)
turkish    - 28 fixed by Emin (28)
2008-12-06 18:44:49 +00:00
rubidium 64c973ccc5 (svn r14658) -Change: allow changing town names when there are no towns in the scenario yet. 2008-12-05 22:46:39 +00:00
translators c8cade5519 (svn r14657) -Update: WebTranslator2 update to 2008-12-05 18:44:56
afrikaans  - 5 fixed by burgerd (5)
icelandic  - 13 fixed by scrooge (13)
latvian    - 101 fixed by Wersoo (101)
lithuanian - 4 fixed, 293 changed by linasmi (297)
malay      - 40 fixed by Syed (40)
slovenian  - 11 fixed by Necrolyte (11)
turkish    - 78 fixed by Emin (78)
2008-12-05 18:45:05 +00:00
rubidium bcb9a11754 (svn r14656) -Change: replace instances of x & S_IFREG with S_ISREG(x) as S_IFREG can be 0 on some platforms. 2008-12-05 18:02:04 +00:00
translators 1b91ec49c8 (svn r14655) -Update: WebTranslator2 update to 2008-12-04 18:47:16
croatian   - 61 fixed by knovak (61)
hebrew     - 192 fixed by davidx123 (192)
hungarian  - 1 changed by IPG (1)
indonesian - 165 fixed, 6 changed by fanioz (121), dnaftali (50)
malay      - 182 fixed, 1 changed by tombakemas (104), Syed (79)
2008-12-04 18:47:20 +00:00
translators 1b0bf2d264 (svn r14654) -Add: stub for Hebrew. 2008-12-04 00:34:52 +00:00
translators 7ce3c1e798 (svn r14653) -Update: WebTranslator2 update to 2008-12-03 19:27:43
danish     - 10 fixed by ThomasA (10)
indonesian - 48 fixed by fanioz (48)
-Fix: WebTranslator2 went haywire on Croatian/Danish.
2008-12-03 19:31:15 +00:00
translators cf6a167a1c (svn r14652) -Update: WebTranslator2 update to 2008-12-03 18:43:05
croatian   - 28 changed by knovak (28)
indonesian - 64 fixed, 1 changed by fanioz (50), dnaftali (15)
macedonian - 10 fixed by zharko (10)
malay      - 267 fixed, 3 changed by tombakemas (270)
serbian    - 29 fixed by dejac (29)
2008-12-03 18:43:10 +00:00
rubidium 217a72122a (svn r14649) -Change: consistently use can't instead of primarily can't and a bit of cannot in english.txt. 2008-12-03 00:09:26 +00:00
translators 0b248ef69a (svn r14648) -Update: WebTranslator2 update to 2008-12-02 18:46:52
croatian   - 3 fixed, 5 changed by knovak (8)
hungarian  - 37 changed by IPG (37)
indonesian - 62 fixed by fanioz (62)
lithuanian - 17 fixed by Enternald (17)
malay      - 66 fixed, 2 changed by tombakemas (68)
swedish    - 6 fixed by daishan (6)
turkish    - 42 fixed by Emin (42)
2008-12-02 18:47:03 +00:00
translators 9905fa3116 (svn r14647) -Update: WebTranslator2 update to 2008-12-01 18:28:38
croatian   - 160 changed by knovak (160)
hungarian  - 2 changed by oklmernok (2)
malay      - 20 fixed by SeaGates (20)
spanish    - 1 fixed by eusebio (1)
2008-12-01 18:28:44 +00:00
translators 58b2cdbcff (svn r14646) -Update: WebTranslator2 update to 2008-11-30 18:46:24
esperanto  - 4 fixed by Athaba (4)
finnish    - 1 changed by SuomiPoika (1)
indonesian - 16 fixed, 4 changed by fanioz (20)
korean     - 1 fixed by dlunch (1)
lithuanian - 57 fixed, 20 changed by Enternald (77)
macedonian - 140 fixed, 1 changed by simonkoco (34), zharko (107)
persian    - 21 fixed by ali sattari (21)
serbian    - 5 fixed by dejac (5)
2008-11-30 18:46:32 +00:00
frosch a0327b375f (svn r14643) -Fix: Invalidate autoreplace window when toggling 'replace protection'. 2008-11-29 21:27:15 +00:00
translators 0191220b64 (svn r14642) -Update: WebTranslator2 update to 2008-11-29 18:44:42
croatian   - 163 fixed, 30 changed by knovak (193)
czech      - 1 fixed, 1 changed by miris2009 (2)
esperanto  - 41 fixed by Athaba (41)
german     - 4 fixed, 2 changed by Athaba (6)
greek      - 20 fixed by vesnikos (20)
hungarian  - 6 changed by IPG (6)
indonesian - 46 fixed by fanioz (46)
malay      - 259 fixed by SeaGates (259)
polish     - 1 fixed, 10 changed by meush (11)
2008-11-29 18:44:52 +00:00
rubidium cdec8f6b27 (svn r14641) -Change [Allegro]: when making a debug build revert Allegro's hooks on SIGSEGV/SIGABRT so one can actually use gdb.
-Change: make it more clear that Allegro's failing to find a driver.
2008-11-29 01:28:13 +00:00
translators 9140315c7b (svn r14640) -Update: WebTranslator2 update to 2008-11-28 18:47:35
bulgarian  - 1 fixed by Ar4i (1)
catalan    - 1 fixed by arnaullv (1)
croatian   - 43 fixed by knovak (43)
esperanto  - 3 fixed by Athaba (3)
estonian   - 8 fixed by t2t2 (8)
german     - 1 fixed by Athaba (1)
latvian    - 315 fixed, 112 changed by Reinis (414), yopzer (7), niko (6)
polish     - 1 fixed by xaxa (1)
romanian   - 6 fixed, 1 changed by kkmic (7)
ukrainian  - 2 fixed by mad (2)
2008-11-28 18:47:49 +00:00
translators 7f24ffea6a (svn r14639) -Update: WebTranslator2 update to 2008-11-27 18:48:40
brazilian_portuguese - 4 fixed by tucalipe (4)
catalan    - 1 fixed by arnaullv (1)
dutch      - 1 fixed, 7 changed by Excel20 (8)
finnish    - 4 fixed by UltimateSephiroth (1), jpx_ (3)
french     - 1 fixed by glx (1)
greek      - 10 fixed by Dimi (10)
hungarian  - 8 fixed, 49 changed by IPG (57)
italian    - 1 fixed by lorenzodv (1)
japanese   - 1 fixed, 41 changed by bve255 (42)
korean     - 3 fixed by dlunch (3)
lithuanian - 99 fixed, 16 changed by Domas (115)
norwegian_nynorsk - 35 fixed, 1 changed by mkrwii (36)
persian    - 38 fixed by ali sattari (38)
polish     - 20 fixed by coolik (14), xaxa (6)
romanian   - 8 fixed by stykat (8)
slovak     - 1 fixed by James (1)
welsh      - 2 fixed by welshdragon (2)
2008-11-27 18:49:00 +00:00
glx 93ee81fa45 (svn r14638) -Fix [FS#2430]: don't restore fast-forward when SaveFileDone() callback happens after we returned to the menu 2008-11-27 18:39:55 +00:00
translators 7b7e3e0fce (svn r14637) -Add: stub for Arabic (Egypt). 2008-11-26 20:14:46 +00:00
rubidium a614dd7174 (svn r14636) -Add: DOS port of OpenTTD, without network support though. 2008-11-26 13:12:45 +00:00
rubidium bb25748a9d (svn r14635) -Change: use S_ISDIR/S_ISREG as x & S_IFREG always results false on platforms when S_IFREG is 0x0000. 2008-11-26 01:07:49 +00:00
rubidium 69eb6978e7 (svn r14634) -Change: _rdtsc is defined by some platforms so we can't use that name. 2008-11-26 01:03:34 +00:00
rubidium 131f9e39d3 (svn r14633) -Fix: compile failure when building a debug build without network support. 2008-11-25 23:24:38 +00:00
rubidium 34ddda1009 (svn r14632) -Add: support Allegro as midi backend. 2008-11-25 23:21:58 +00:00
rubidium 72124862f0 (svn r14631) -Add: support for Allegro as sound backend. 2008-11-25 21:09:00 +00:00
rubidium 3aacd0a3d5 (svn r14630) -Add: support Allegro as video backend. 2008-11-25 19:32:12 +00:00
translators f31999c030 (svn r14626) -Update: WebTranslator2 update to 2008-11-25 18:44:46
bulgarian  - 1 fixed by Ar4i (1)
croatian   - 21 fixed, 11 changed by knovak (32)
finnish    - 12 fixed by UltimateSephiroth (12)
french     - 1 fixed by glx (1)
greek      - 31 fixed by vesnikos (31)
hungarian  - 13 fixed, 98 changed by IPG (111)
icelandic  - 71 fixed, 2 changed by pall (73)
italian    - 1 fixed by lorenzodv (1)
japanese   - 114 fixed, 243 changed by bve255 (313), ickoonite (44)
polish     - 36 fixed by coolik (3), xaxa (33)
2008-11-25 18:44:59 +00:00
rubidium 1983754132 (svn r14625) -Codechange: a bit of coding style. 2008-11-25 18:42:06 +00:00
translators 8e48319c44 (svn r14624) -Add: stub for Malay. 2008-11-25 09:05:56 +00:00
rubidium 5466d8e959 (svn r14623) -Codechange: a sprinkle of coding style. 2008-11-24 20:51:55 +00:00
glx b7c6872903 (svn r14622) -Fix (r14618): win9x compilation 2008-11-24 20:10:39 +00:00
rubidium f7f89d63b2 (svn r14621) -Fix (r14618): link error when you aren't compiling for Windows or you don't have fontconfig. 2008-11-24 19:31:01 +00:00
glx 68d399d0ae (svn r14620) -Fix (r14618): missing lines broke compilation on windows 2008-11-24 18:59:53 +00:00
translators 730a3d4772 (svn r14619) -Update: WebTranslator2 update to 2008-11-24 18:56:10
czech      - 1 fixed by Hadez (1)
dutch      - 1 fixed by habell (1)
latvian    - 19 fixed, 1 changed by v3rb0 (20)
persian    - 22 fixed by ali sattari (22)
piglatin   - 21 fixed by adammw (21)
polish     - 2 fixed, 3 changed by Simek (5)
russian    - 13 fixed by Smoky555 (13)
slovak     - 1 fixed by James (1)
spanish    - 1 fixed by eusebio (1)
2008-11-24 18:56:24 +00:00
rubidium fea78fbfbb (svn r14618) -Feature: when the chosen language isn't supported by the current font, try to find a font that does and use that instead. Thanks to glx/michi_cc for the Windows implementation. 2008-11-24 18:53:17 +00:00
rubidium 6878b181c7 (svn r14617) -Change: unduplicate the languagepack(header). 2008-11-24 11:20:07 +00:00
rubidium f28992719d (svn r14616) -Fix [FS#2424]: a nearest depot order should be "equal" to the resolved nearest depot order; otherwise we keep resolving the nearest depot order every tick. 2008-11-23 21:46:27 +00:00
translators 54128db1cf (svn r14615) -Update: WebTranslator2 update to 2008-11-23 18:07:42
dutch      - 29 changed by MsG (29)
finnish    - 60 fixed, 2 changed by jpx_ (3), UltimateSephiroth (59)
hungarian  - 37 changed by oklmernok (37)
romanian   - 13 fixed, 39 changed by stykat (52)
ukrainian  - 4 fixed by mad (4)
2008-11-23 18:07:49 +00:00
smatz d0e4cc5ee0 (svn r14614) -Codechange [FS#2423]: GetTreeCount() should behave as its name and documentation imply. Remove unused SetTreeCount() (PhilSophus) 2008-11-23 16:45:53 +00:00
frosch e35be92a3a (svn r14613) -Fix [FS#2420]: When building industries, clear the tiles as OWNER_TOWN instead of the founder to take care of protected buildings and to not get stressed by town ratings. 2008-11-23 16:34:27 +00:00
smatz c4179d4ea9 (svn r14612) -Change: force the argument given to '-i' parameter to be valid. Accept '2', too 2008-11-23 16:01:24 +00:00
frosch 3d467cabe5 (svn r14611) -Fix (r13437)[FS#2421]: Store the age of a house in the map array instead of the construction year.
Note: Savegames from r13437 to now are broken and have a age of 255 years for a lot houses.
2008-11-23 14:17:41 +00:00
rubidium 2277a1ff9c (svn r14610) -Fix [FS#2415]: possible stack corruption when reading corrupted sprites.
-Change: harden the sprite reading routine against corrupt sprites.
2008-11-23 13:42:05 +00:00
peter1138 ca5ed4b2cc (svn r14609) -Codechange: Use supplied button colour instead of hardcoded yellow, for 'greyed out' arrow buttons. (Yorick) 2008-11-23 12:35:02 +00:00
frosch 5aad874639 (svn r14608) -Fix (r9315): Return the current year as construction year for unfinished houses. 2008-11-22 19:49:17 +00:00
translators 6df10074d4 (svn r14607) -Update: WebTranslator2 update to 2008-11-22 18:44:20
afrikaans  - 28 changed by burgerd (28)
finnish    - 65 fixed, 17 changed by UltimateSephiroth (82)
hungarian  - 86 changed by oklmernok (86)
norwegian_bokmal - 4 fixed by brygge_2 (4)
2008-11-22 18:44:26 +00:00
frosch 259a073f0c (svn r14606) -Codechange: Unify usage of PALETTE_MODIFIER_TRANSPARENT and PALETTE_MODIFIER_COLOR in spritelayout drawing.
-Fix [FS#2419]: The modifiers were not applied in all cases.
2008-11-22 16:04:11 +00:00
frosch f0286cb1e5 (svn r14605) -Fix (r9315): When callback 1E fails, use the standard random colour. 2008-11-22 15:57:31 +00:00
frosch b759ccd032 (svn r14604) -Codechange: Simplify a function and rename it, and fix some comments. 2008-11-22 15:48:43 +00:00
rubidium 6e93e611c8 (svn r14603) -Fix [FS#2422]: the company ID is off-by-one w.r.t. to the rest of the GUI in the cheat window. 2008-11-22 13:09:31 +00:00
translators 176e7469b6 (svn r14602) -Update: WebTranslator2 update to 2008-11-21 18:45:14
bulgarian  - 2 fixed by Ar4i (2)
catalan    - 2 fixed by arnaullv (2)
czech      - 2 fixed by Hadez (2)
finnish    - 90 fixed by UltimateSephiroth (90)
hungarian  - 6 fixed, 42 changed by oklmernok (48)
indonesian - 88 fixed by adjayanto (88)
polish     - 61 fixed by coolik (61)
romanian   - 20 fixed by kkmic (20)
russian    - 2 fixed by MajestiC (2)
spanish    - 1 fixed by eusebio (1)
2008-11-21 18:45:27 +00:00
rubidium 2209c6a344 (svn r14601) -Fix: the nearest depot and stop in depot orders didn't work together (the vehicle didn't stop). 2008-11-21 18:16:19 +00:00
translators bc88d7d9b0 (svn r14600) -Update: WebTranslator2 update to 2008-11-20 18:44:05
afrikaans  - 34 fixed by nubllett (34)
galician   - 4 fixed by Condex (4)
hungarian  - 7 fixed, 49 changed by oklmernok (17), IPG (39)
italian    - 2 fixed by lorenzodv (2)
polish     - 45 fixed by kruczek1 (45)
slovak     - 1 fixed by James (1)
2008-11-20 18:44:13 +00:00
frosch ee8fb221d3 (svn r14599) -Fix (r14598)[FS#2417]: Show again group-membership in the vehicle-lists. (Based on patch by PhilSophus) 2008-11-20 16:48:22 +00:00
rubidium a1853ea27c (svn r14598) -Feature: Action0Industries property 24 (industry suuplies default name for nearby station). 2008-11-19 23:55:34 +00:00
translators e80a222d31 (svn r14597) -Update: WebTranslator2 update to 2008-11-19 18:43:03
afrikaans  - 165 fixed, 227 changed by nubllett (156), burgerd (236)
dutch      - 2 fixed, 5 changed by Excel20 (7)
french     - 2 fixed by glx (2)
german     - 6 fixed, 2 changed by jonathan159 (2), MaSch (6)
hungarian  - 1 fixed, 20 changed by oklmernok (21)
macedonian - 90 fixed by sashozs (90)
serbian    - 560 fixed by AtzaMan (560)
slovak     - 1 fixed by James (1)
spanish    - 1 fixed by eusebio (1)
2008-11-19 18:43:16 +00:00
frosch 1e991548ac (svn r14596) -Fix (r14591): Missing 'return'. 2008-11-19 16:53:24 +00:00
rubidium aa126066b7 (svn r14595) -Add: Estonian currency.
-Change: Slovenia switched to the Euro in 2007.
2008-11-19 16:17:42 +00:00
rubidium b00bfa0adf (svn r14594) -Fix [FS#2412]: trains could get their their last visited station reset when still (un)loading causing an invalid state. 2008-11-19 14:48:12 +00:00
rubidium aaeb01b428 (svn r14593) -Update: remove outdated (in r14592) string. 2008-11-18 23:58:24 +00:00
rubidium 2ed3c27822 (svn r14592) -Feature [FS#1124]: non-destructive autofill with option to keep waiting times (PhilSophus) 2008-11-18 23:53:37 +00:00
smatz 07e3c096b3 (svn r14591) -Fix [FS#2388](r14528): cached nearest town could be invalid after importing older savegame and during town generation
-Codechange: rewrite parts of code responsible for caching index of nearest town
2008-11-18 22:43:59 +00:00
translators e1a36e90a4 (svn r14590) -Update: WebTranslator2 update to 2008-11-18 18:44:24
catalan    - 2 fixed by arnaullv (2)
czech      - 3 fixed by miris2009 (3)
danish     - 7 fixed by Hatsen (7)
finnish    - 6 fixed by SuomiPoika (6)
hungarian  - 41 fixed, 121 changed by oklmernok (162)
korean     - 2 fixed, 9 changed by dlunch (11)
lithuanian - 30 fixed by BlinK_ (30)
polish     - 30 fixed by coolik (30)
slovak     - 2 fixed by James (2)
2008-11-18 18:45:42 +00:00
translators ebad6b6730 (svn r14589) -Update: WebTranslator2 update to 2008-11-17 18:47:02
brazilian_portuguese - 2 fixed by tucalipe (2)
bulgarian  - 67 fixed by Ar4i (67)
czech      - 4 fixed, 4 changed by Hadez (8)
dutch      - 2 fixed by habell (2)
finnish    - 4 fixed by SuomiPoika (4)
hungarian  - 5 fixed by oklmernok (5)
indonesian - 20 fixed by dnaftali (20)
italian    - 2 fixed, 2 changed by lorenzodv (4)
russian    - 9 fixed by veZuk (1), MajestiC (8)
slovak     - 45 fixed by James (45)
2008-11-17 18:47:18 +00:00
rubidium 798fa3ec81 (svn r14588) -Fix [FS#2414]: the range for kicking/banning clients is based on the maximum number of clients, not the maximum number of companies. 2008-11-17 16:15:55 +00:00
michi_cc 2ed0c72ec5 (svn r14587) -Cleanup: Fix some old comments. Bits are not bytes. 2008-11-17 00:41:58 +00:00
translators 64ee487ed5 (svn r14583) -Update: WebTranslator2 update to 2008-11-16 18:59:11
dutch      - 4 changed by Excel20 (4)
english_US - 7 fixed by WhiteRabbit (7)
french     - 2 fixed, 2 changed by glx (4)
persian    - 21 fixed by ali sattari (21)
portuguese - 49 fixed by joznaz (49)
spanish    - 2 fixed by eusebio (2)
2008-11-16 18:59:22 +00:00
rubidium cdfa2d68b1 (svn r14582) -Fix [FS#2392]: blank box on cost estimation of levelling a flat area.
-Fix: make levelling, raising and lowering of an area behave the same.
2008-11-16 14:17:49 +00:00
rubidium ffa3ec54f9 (svn r14581) -Fix: make rail, road and canal building behave the same when overbuilding already built stretches. 2008-11-16 13:49:57 +00:00
frosch 1a866c7552 (svn r14578) -Fix (r2389, r10811)[FS#Vikthor]: Allow capacity callbacks (15, 36) to return zero capacity. 2008-11-13 20:26:06 +00:00
smatz f28172c5f4 (svn r14577) -Fix [FS#2403]: vehicle didn't respect its 'refit in nearest depot' order (Swallow) 2008-11-11 22:51:27 +00:00
translators a13108d5b6 (svn r14575) -Update: WebTranslator2 update to 2008-11-11 18:47:38
dutch      - 2 changed by Excel20 (2)
latvian    - 14 fixed by v3rb0 (14)
macedonian - 161 fixed, 15 changed by sashozs (176)
portuguese - 1 fixed by joznaz (1)
2008-11-11 18:47:46 +00:00
rubidium a9f82cddea (svn r14572) -Add: stub for Macedonian. 2008-11-10 10:06:24 +00:00
translators cb89c5fe6d (svn r14569) -Update: move Welsh from unfinished to finished. 2008-11-07 18:15:46 +00:00
translators 16d03f660b (svn r14568) -Update: WebTranslator2 update to 2008-11-07 18:07:33
latvian    - 69 fixed, 1 changed by v3rb0 (70)
norwegian_bokmal - 5 fixed by christian (5)
persian    - 42 fixed by ali sattari (42)
welsh      - 227 fixed, 2 changed by PlayDead (229)
2008-11-07 18:08:53 +00:00
rubidium 13ee151a69 (svn r14567) -Revert (part of 14566): don't commit testing stuff... 2008-11-07 18:02:46 +00:00
rubidium c7f3935506 (svn r14566) -Fix [FS#2397]: RV's go via order would reserve a slot at the 'via' station which it never uses, which makes it unlikely that it reserves a slot for the next station and that makes queueing fail (Aali) 2008-11-07 17:59:51 +00:00
translators e91ae97e19 (svn r14565) -Update: WebTranslator2 update to 2008-11-04 18:44:06
brazilian_portuguese - 5 fixed by tucalipe (5)
catalan    - 5 fixed, 2 changed by arnaullv (7)
italian    - 2 changed by lorenzodv (2)
latvian    - 65 fixed, 1 changed by v3rb0 (66)
persian    - 111 fixed by ali sattari (111)
polish     - 6 fixed by meush (6)
welsh      - 200 fixed, 12 changed by PlayDead (203), welshdragon (9)
2008-11-04 18:44:15 +00:00
smatz f23dabb149 (svn r14564) -Fix (r14555): one more incorrect use of lastof() 2008-11-04 18:20:41 +00:00
rubidium 39450b6e4e (svn r14563) -Fix [FS#2395]: in the case that an industry NewGRF, a shared TTDPatch and
OpenTTD feature with it's origin in TTDPatch to replace/add/change vehicles
(including e.g. maximum speed, graphics and introduction year), stations,
bridges, industries, town houses or any other graphics used by either
TTDPatch or OpenTTD, would tell that building an industry is okay, which
is queried using a so-called callback that allows the NewGRF author to
test all kinds of information about the neighbourhood where the industry
might get build, it would corrupt, i.e. overwrite with invalid data, the
structure that is used to build up an error message. This then might result
in trying to resolve an invalid StringID, an internal numeric representation
of all translateable strings, which would in it's turn trigger a safety
check that is added to ensure invalid StringIDs are never resolved.
2008-11-03 23:42:07 +00:00
frosch e1bf231727 (svn r14562) -Fix (r14561): 8 bits are enough. The rest stays reserved. 2008-11-03 20:23:51 +00:00
frosch ec4b30f9d9 (svn r14561) -Feature(ette)[FS#2334]: Add result 0x0F to callbacks 0x29/0x35. (Yexo) 2008-11-03 19:25:52 +00:00
smatz 7dd0b0dc07 (svn r14560) -Fix [FS#2396](r14555): lengthof() can't be simply replaced by lastof() in some cases (part by Aali) 2008-11-03 12:03:00 +00:00
michi_cc 808d9255a8 (svn r14559) -Fix [FS#2387]: A train could be blocked inside a depot if it was reversed just after leaving the depot. 2008-11-02 19:32:24 +00:00
michi_cc f649496caa (svn r14558) -Fix (r13957): Converting the track type of a tunnel/bridge could cause trains to get stuck. 2008-11-02 17:42:28 +00:00
skidd13 6d94be75e9 (svn r14557) -Codechange: Remove a redundant line of code 2008-11-02 11:41:13 +00:00
frosch f8ed412b40 (svn r14556) -Fix (r14533): Bounding box with height > TILE_HEIGHT could cause circular dependencies with surrounding bridges. 2008-11-02 11:23:44 +00:00
skidd13 706dd0f86c (svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible 2008-11-02 11:20:15 +00:00
rubidium c03e55b32a (svn r14554) -Fix: languages using longer gender names than strgen supports. 2008-11-02 11:15:26 +00:00
skidd13 6043b4574e (svn r14553) -Doc: Add some doxygen comments 2008-11-02 11:05:26 +00:00
michi_cc a4548a4b9b (svn r14550) -Fix [FS#2391]: Don't assert on path look-ahead when processing a not-part-of-orders depot-order. 2008-10-31 16:46:34 +00:00
translators 4661917f64 (svn r14549) -Update: WebTranslator2 update to 2008-10-30 18:25:24
croatian   - 9 fixed by tperic (9)
ido        - 13 fixed by Cecile (13)
indonesian - 219 fixed by dnaftali (219)
italian    - 1 changed by lorenzodv (1)
korean     - 2 changed by dlunch (2)
latvian    - 168 fixed, 22 changed by Wersoo (119), v3rb0 (71)
persian    - 99 fixed by ali sattari (99)
swedish    - 3 changed by Andreas (3)
2008-10-30 18:27:17 +00:00
rubidium 6629698dfe (svn r14548) -Add: partial welsh translation, to be finished later. 2008-10-30 18:12:51 +00:00
rubidium ffe155bb2a (svn r14547) -Fix: order pool seemed to look full when it was not as it only checked whether it was possible to allocate a new block of pool items instead of checking for free pool items. 2008-10-30 12:32:32 +00:00
skidd13 38efdc8222 (svn r14546) -Codechange: Unify string(cpy|cat) functions
-Doc: string(cpy|cat) functions
2008-10-29 16:30:41 +00:00
rubidium a6df995fbb (svn r14545) -Fix [FS#2386]: road vehicles sometimes never got their "slots" deallocated causing RVs not going to depot for service. 2008-10-28 23:34:42 +00:00
rubidium 633b15caf3 (svn r14542) -Codechange: replace some sprintf with s[en]printf to make sure they will not overflow their buffers. 2008-10-28 16:04:41 +00:00
rubidium da0a0ef8ca (svn r14541) -Fix (r14540): mingw didn't like it :( 2008-10-28 15:47:42 +00:00
rubidium 0d254e8914 (svn r14540) -Codechange: introduce [v]seprintf which are like [v]snprintf but do return the number of characters written instead of the number of characters that would be written; as size_t is unsigned substraction can cause integer underflows quite quickly. 2008-10-28 14:42:31 +00:00
translators cf4cffd91a (svn r14539) -Update: WebTranslator2 update to 2008-10-27 18:43:26
dutch      - 5 fixed by habell (5)
french     - 5 fixed by glx (5)
galician   - 5 fixed by Condex (5)
ido        - 31 fixed by Cecile (31)
indonesian - 50 fixed by dnaftali (50)
italian    - 5 fixed by lorenzodv (5)
korean     - 5 fixed, 4 changed by leejaeuk5 (9)
spanish    - 5 fixed by eusebio (5)
swedish    - 5 fixed by ChrillDeVille (5)
ukrainian  - 5 fixed by mad (5)
2008-10-27 18:43:40 +00:00
frosch 896841403f (svn r14536) -Fix (r14530): Do not expect uints to become negative. 2008-10-25 22:00:51 +00:00
frosch 77a5a4953b (svn r14535) -Fix: Description of '-i' commandline option. 2008-10-25 20:16:07 +00:00
glx a6bfd7f15b (svn r14534) -Codechange [FS#2382]: Enumify magic return values of HandleEditBox function (Zuu) 2008-10-25 19:59:11 +00:00
frosch 7df85e8a45 (svn r14533) -Fix: ...hopefully most glitches wrt. inclined foundations. 2008-10-25 18:58:24 +00:00
frosch fd049f0a64 (svn r14531) -Fix (r12425): OSK accessed wrong widgets of password query window. 2008-10-25 15:25:52 +00:00
frosch ac281ed35c (svn r14530) -Fix [FS#2138]: Do not deliver cargo to industries not inside station catchment area. 2008-10-25 14:24:50 +00:00
frosch 11ef57d81e (svn r14529) -Codechange: Turn FindCatchmentRadius() into Station::GetCatchmentRadius(). 2008-10-25 14:19:09 +00:00
rubidium a14ad77a36 (svn r14528) -Codechange: cache the closest town for all road tiles instead of only roads owned by tiles. This replaces a O(n) search over all towns from the road's tileloop with a O(1) lookup (PhilSophus) 2008-10-25 13:51:47 +00:00
rubidium 9075a2bbfc (svn r14527) -Fix: allocate stub (empty) sound entries when loading an empty/corrupt/incorrectly sized sample.cat instead of making valid NewGRFs fail to load. 2008-10-25 10:26:23 +00:00
rubidium 7588513003 (svn r14526) -Fix [FS#2379]: make sure trains stop at the end of a station; a 3/8th length train did stop 2/8th of it's length too early causing a 63/8th long train not to fit in a 4 tile station. 2008-10-24 20:53:57 +00:00
translators e3e65e8f2b (svn r14525) -Update: WebTranslator2 update to 2008-10-24 17:44:48
indonesian - 412 fixed by dnaftali (412)
2008-10-24 17:44:49 +00:00
rubidium 42df5cbc03 (svn r14524) -Add: stop-in-depot as part of orders (PhilSophus) 2008-10-24 14:49:45 +00:00
translators e094088852 (svn r14523) -Update: WebTranslator2 update to 2008-10-23 17:42:35
indonesian - 668 fixed by dnaftali (668)
italian    - 6 changed by lorenzodv (6)
persian    - 88 fixed by ali sattari (88)
2008-10-23 17:42:40 +00:00
glx eb0464071d (svn r14521) -Fix [FS#2378]: fast trains could continue to move after a crash 2008-10-22 23:06:36 +00:00
smatz 1e7e5fb175 (svn r14518) -Fix (r14514): forgot win32 and OS/2 files (glx) 2008-10-22 20:23:50 +00:00
rubidium f43dc3e758 (svn r14517) -Feature: arrow key scrolling in the server list (Roujin) 2008-10-22 20:22:18 +00:00
rubidium 219abb5235 (svn r14516) -Fix: determine the default text direction based on the language file instead of hardcoding one. 2008-10-22 20:21:11 +00:00
smatz c10f7db576 (svn r14514) -Codechange: use 'size' instead of 'length' for querystring and textbuf, explicitly say it includes the terminating zero
-Fix: one couldn't rename things with too long default/automatic name
-Fix: buffer overflow in console when too long (1024 bytes) command was entered
2008-10-22 19:12:10 +00:00
translators 6bc0f0ef92 (svn r14513) -Update: WebTranslator2 update to 2008-10-22 17:26:32
czech      - 6 fixed by Hadez (6)
indonesian - 121 fixed by dnaftali (120), Admin (1)
italian    - 1 changed by lorenzodv (1)
korean     - 15 changed by dlunch (15)
latvian    - 20 fixed by v3rb0 (20)
persian    - 127 fixed by ali sattari (127)
2008-10-22 17:26:40 +00:00
smatz bb4a4a255d (svn r14508) -Fix (r14501): arrays were not properly zeroed 2008-10-21 14:56:23 +00:00
rubidium 639f9d8305 (svn r14506) -Add: stub for indonesian language. 2008-10-21 11:19:17 +00:00
michi_cc ac722661a5 (svn r14505) -Fix (r14504): Missing include. 2008-10-20 19:46:49 +00:00
michi_cc 02c99bdf66 (svn r14504) -Cleanup: Use the right variable type for tile offsets. 2008-10-20 19:35:48 +00:00
rubidium 6c35825453 (svn r14502) -Codechange: add some inline comments and declare variable on use (Alberth) 2008-10-20 15:44:14 +00:00
rubidium 9df75b3f9e (svn r14501) -Codechange: use sizeof(variable) instead of sizeof(type) or hardcoded amounts (magic constant) for memset (Alberth) 2008-10-20 15:42:56 +00:00
rubidium 8cce756f8f (svn r14494) -Fix: few MSVC x64 warnings. 2008-10-19 18:47:15 +00:00
frosch 4dcf12a3ad (svn r14493) -Fix[FS#planetmaker]: Do not assign a station spread to buoys on loading games. 2008-10-19 17:30:41 +00:00
michi_cc 6815cc52fe (svn r14492) -Fix [FS#2366] (r14482): Conditional orders could lead to an infinite loop on path look-ahead.
Don't refactor things that don't want to be refactored, folks. And some comments can't hurt either.
2008-10-19 17:16:26 +00:00
rubidium d832626bb9 (svn r14491) -Documentation: updates/additions of doxygen docs (Alberth) 2008-10-19 15:39:12 +00:00
rubidium 15eb140d28 (svn r14490) -Codechange: fix comment style on a few locations (Alberth) 2008-10-19 09:51:19 +00:00
frosch 5a1df325e2 (svn r14488) -Fix: Synchronize drawing of spritelayouts in DrawTileLayout (Houses), IndustryDrawTileLayout, DrawStationTile, DrawTile_Station and DrawTile_Track (Waypoint).
Now transparency options, PALETTE_MODIFIER_TRANSPARENT and SPRITE_MODIFIER_OPAQUE should work for all of them.
2008-10-18 17:21:56 +00:00
frosch 2e6894b7bb (svn r14487) -Fix: The station picker preview did not draw child sprites. 2008-10-18 17:20:31 +00:00
smatz 7a031b60cd (svn r14486) -Fix (r13343)(r14484): compilation with desync debug was broken 2008-10-18 14:16:29 +00:00
frosch f2eba8b0bf (svn r14485) -Fix (r5464): Do not check the end of destination buffer using the source pointer.
Did not cause trouble though as destination buffer has always been bigger than source buffer.
2008-10-18 14:11:09 +00:00