Commit Graph

1892 Commits (d5e3e4c66e449b84982baf97a52d6ae70eb11b41)

Author SHA1 Message Date
KUDr 746a33747b (svn r10491) -Fix [FS#988, YAPF]: When rail segment was cached using electric engine and it ended with non-electric rail it was incorrectly cached with the end reason ESRB_DEAD_END instead of ESRB_RAIL_TYPE. (Eddi)
- It caused YAPF to end prematurely there when it was searching for another path (for non-electric engine).
 - It can lead to sub-optimal path taken or 'train is lost' message.
 - In MP game it can also cause desync.
 - Uses changes made in r10489.
17 years ago
rubidium f183f46561 (svn r10490) -Codechange: add support for industries on non-flat surfaces. 17 years ago
KUDr b1b26ddb79 (svn r10489) -Codechange [YAPF]: FollowTrack_t now has new data member - m_err. It indicates the reason why the given track/trackdir can't be followed when method CFollowTrackT<>::Follow() returned false. 17 years ago
miham f0137dea78 (svn r10488) -Update: WebTranslator2 update to 2007-07-09 18:32:28
estonian   - 2 fixed by kristjans (2)
italian    - 1 changed by lorenzodv (1)
korean     - 6 fixed by leejaeuk5 (6)
latvian    - 53 fixed by amjaliks (53)
portuguese - 5 fixed, 9 changed by izhirahider (14)
russian    - 2 fixed by Smoky555 (2)
slovak     - 2 fixed by lengyel (2)
spanish    - 2 fixed by eusebio (2)
swedish    - 8 fixed by giddorah (8)
ukrainian  - 2 fixed by fevral13 (2)
17 years ago
rubidium b1944c8f4b (svn r10487) -Fix: forgot some breaks in a switch statement. 17 years ago
rubidium 2801ccc5f2 (svn r10486) -Fix: do not draw foundations when the "should I draw foundations" callbacks says to do so. 17 years ago
rubidium e207ba425f (svn r10485) -Codechange: add a callback mechanism to determine whether building an industry is allowed at a given location. 17 years ago
rubidium b3ed27adab (svn r10484) -Codechange: reduce code duplication. 17 years ago
rubidium 37748a3152 (svn r10483) -Codechange: add support for callbacks to manipulate the building chance of farm fields and chopping chance for lumber mills. 17 years ago
maedhros 44db937929 (svn r10481) -Codechange: Show a news message with the new industry when primary industry prospecting succeeds. 17 years ago
maedhros e17cbca358 (svn r10480) -Fix: Don't allow building lighthouses and transmitters under bridges in the scenario editor, or during world generation. 17 years ago
miham 73d2e5840a (svn r10479) -Update: WebTranslator2 update to 2007-07-08 19:44:48
american   - 4 fixed by WhiteRabbit (4)
catalan    - 2 fixed by arnaullv (2)
czech      - 67 fixed by joeprusa (67)
danish     - 6 fixed by ThomasA (6)
dutch      - 2 fixed by webfreakz (2)
french     - 2 fixed by glx (2)
german     - 23 fixed by chu (23)
hungarian  - 2 fixed by miham (2)
italian    - 2 fixed, 4 changed by lorenzodv (6)
latvian    - 49 fixed by amjaliks (49)
portuguese - 66 fixed by izhirahider (66)
romanian   - 2 fixed by kneekoo (2)
slovenian  - 2 fixed by Necrolyte (2)
traditional_chinese - 2 fixed, 75 changed by xbddc (77)
turkish    - 7 fixed by jnmbk (7)
17 years ago
rubidium 6dfbc5a113 (svn r10478) -Fix [FS#999]: remove the loading indicator when a vehicle is removed. 17 years ago
rubidium 95ea8fd2f1 (svn r10477) -Codechange: add some callbacks to customise the acceptance of industries. 17 years ago
rubidium 064c1ea89e (svn r10476) -Fix: some newgrf callbacks were already implemented even though the comment said they were not. 17 years ago
rubidium b76be6418e (svn r10475) -Fix [FS#996]: some wrong comments for a few of the (vehicle) group related actions. 17 years ago
rubidium 4b70a97fde (svn r10474) -Fix [FS#995]: wrong group count after train crash. 17 years ago
rubidium db16c33194 (svn r10473) -Codechange: make the industry "window", the one that shows when you click on an industry, more flexible to allow easier integration with newindustries. 17 years ago
peter1138 00c6a8f076 (svn r10472) -Fix (r10741): typos prevented compilation 17 years ago
peter1138 2723db2884 (svn r10471) -Codechange: implement driver probing priority so that 'preferred' drivers are loaded first 17 years ago
peter1138 855e9d0751 (svn r10470) -Fix: clamp station build date to 16 bit value for newgrf, preventing overflow and incorrect graphics shown past a certain date. 17 years ago
rubidium f60d055d8d (svn r10466) -Fix: the minimum amount of waiting cargo shouldn't be 65535; that should be the maximum amount of waiting cargo. 17 years ago
rubidium 6a5d9e28c1 (svn r10465) -Fix: first run the WE_CREATE callback and then perform the dirtying of the window, so you won't get glitches if you resize a window in the WE_CREATE callback. 17 years ago
miham e8bbfb4a70 (svn r10464) -Update: WebTranslator2 update to 2007-07-07 18:44:01
latvian    - 293 fixed, 21 changed by amjaliks (254), pakalns (60)
17 years ago
miham 7afa613fd5 (svn r10463) -Update: WebTranslator2 update to 2007-07-07 18:42:35
catalan    - 4 fixed by arnaullv (4)
estonian   - 15 fixed by kristjans (15)
japanese   - 4 fixed by ickoonite (4)
piglatin   - 28 fixed by adammw (23), miham (5)
romanian   - 7 fixed by kneekoo (7)
slovenian  - 4 fixed by Necrolyte (4)
traditional_chinese - 1 changed by xbddc (1)
17 years ago
rubidium db5c9fc9a0 (svn r10462) -Add: a command dumper/loader that could be enabled compile-time and server side only to aid debugging some desyncs, i.e. dump the stream of commands so it could be replayed in exactly the same way later. This should primarily be used to make desyncs more easily reproducable, so it can be properly debugged. 17 years ago
rubidium cd702d049e (svn r10460) -Codechange: add some more variables needed for newindustries regarding to the creation of the industries. 17 years ago
rubidium b0a8409200 (svn r10459) -Codechange: add helper functions to determine whether an industry is a primary industry and how much it costs to build such an industry. 17 years ago
peter1138 d2f4310bfe (svn r10458) -Fix (r10444): restore original descriptions for win32 drivers 17 years ago
belugas 5f49ffa3ff (svn r10457) -Codechange: Load the newly read definitions of Industries and Industry tiles.
No, this is not the final commit for newindustries (far from it), just another step.
17 years ago
belugas 8df65af2d3 (svn r10456) -Codechange: Enable loading newgrf strings for Industries 17 years ago
miham ef5c7a74e5 (svn r10455) -Update: WebTranslator2 update to 2007-07-06 20:02:29
brazilian_portuguese - 4 fixed by tucalipe (4)
dutch      - 4 fixed by habell (4)
estonian   - 3 fixed by t2t2 (3)
french     - 4 fixed by glx (4)
galician   - 32 fixed by Condex (32)
hungarian  - 4 fixed by miham (4)
italian    - 4 fixed by lorenzodv (4)
korean     - 2 changed by darkttd (2)
russian    - 4 fixed, 1 changed by Smoky555 (5)
slovak     - 4 fixed by lengyel (4)
spanish    - 4 fixed by eusebio (4)
traditional_chinese - 4 fixed by xbddc (4)
turkish    - 10 fixed by jnmbk (10)
ukrainian  - 4 fixed by mad (4)
17 years ago
glx 7ce2f6ef73 (svn r10454) -Fix r10452: forgot unfinished langs 17 years ago
peter1138 484eb61de1 (svn r10453) -Codechange: Allow save/load of empty (unallocated) strings 17 years ago
rubidium 4854763272 (svn r10452) -Update: remove the string that has been removed in r10451 from all other translations. 17 years ago
rubidium b8f658db94 (svn r10451) -Add: support for "prospecting" raw industries, i.e. you pay an amount of money and then it might (with a given chance) build a raw industry somewhere on the map. 17 years ago
peter1138 191a479e8d (svn r10450) -Fix (r10444): Fix search & replace errors 17 years ago
miham ca88ccb623 (svn r10449) -Update: WebTranslator2 update to 2007-07-05 18:40:00
catalan    - 1 changed by arnaullv (1)
french     - 4 changed by glx (4)
russian    - 2 fixed by Smoky555 (2)
17 years ago
belugas e7678f47be (svn r10448) -Codechange: Industry Tiles and Houses share almost the same spritegroup format. 17 years ago
belugas 5e7d4ffe9f (svn r10447) -Codechange: Don't need to specify values on an enum when those values are contiguous 17 years ago
peter1138 666241e925 (svn r10446) -Codechange: Move extmidi's global data into its class. 17 years ago
KUDr 767412f410 (svn r10445) -Fix (Win32, r10444): remove #include "hal.h" 17 years ago
peter1138 5e85e8c5e0 (svn r10444) -Codechange: switch to c++ classes and inheritance for sound/music/video drivers, using self-registration based on the blitter-model. 17 years ago
peter1138 7884a07b43 (svn r10443) -Fix: randomizing triggers should be called with callback type set to 1 17 years ago
rubidium 4c356457e6 (svn r10442) -Codechange: implement the industry production callback. 17 years ago
rubidium aa04ad59f1 (svn r10441) -Fix (r10440): something went wrong "porting" fixes from one place to another; like compiling the wrong checkout. 17 years ago
rubidium 3a73d47351 (svn r10440) -Fix: CBM_IND defines bits to be set, not bitsets. 17 years ago
rubidium c0ba3dba9d (svn r10439) -Codechange: initial steps for customized industry productions. 17 years ago
miham cb5cdfbf9d (svn r10438) -Update: WebTranslator2 update to 2007-07-04 19:52:16
american   - 20 fixed by WhiteRabbit (20)
danish     - 21 fixed, 1 changed by ThomasA (22)
portuguese - 10 fixed by izhirahider (10)
traditional_chinese - 2 changed by xbddc (2)
17 years ago
peter1138 30de2a0984 (svn r10437) -Feature: Automatic signal completion, enabled by pressing ctrl when dragging signals. Signals will continue following track until an existing signal, junction or station are reached. This currently replaces the existing use of ctrl-drag for changing existing signal type. 17 years ago
maedhros 6fbfa4498c (svn r10436) -Cleanup: Doxygenise some comments, update others, and make a few statements more consistent with everything else. 17 years ago
maedhros 78d74efd3a (svn r10435) -Fix (r9315): numinfo starts from 1, not 0, so make it possible to define a house with a local id of 255. 17 years ago
maedhros fd475d47d8 (svn r10434) -Fix (r9315): When setting multiple house overrides in one Action 0, don't override them all with the first ID. 17 years ago
maedhros d938a4ffe6 (svn r10433) -Codechange: Remove FOR_EACH_OBJECT by moving the for loops in the Action 0
handlers outside the switch statements. This allows ignoring only the invalid
IDs when changing the properties for many objects, rather than ignoring the
whole block if one ID is invalid.
17 years ago
peter1138 b36d31bb22 (svn r10432) -Codechange: use existing function instead of data duplication 17 years ago
peter1138 2fa2da4070 (svn r10431) -Codechange: constness on static array 17 years ago
peter1138 f4abcb2349 (svn r10430) -Fix: Too many town rating entry lookups (KUDr) 17 years ago
KUDr 21417ebac7 (svn r10429) -Fix: VC8 Code Analyzer warning: buffer overrun 17 years ago
KUDr c5a122d642 (svn r10428) -Fix: some more VC code analyzer warnings disabled 17 years ago
KUDr 35dad3581b (svn r10427) -Fix: snprintf behaves differently in gcc than in VC causing unreadable artifacts in output. Now CStrT::AddFormatL() should behave correctly also when compiled by gcc (Rubidium) 17 years ago
belugas cd62d5130a (svn r10426) -Codechange: Activate the reset of industry/tiles mapping upon initialization or new game. 17 years ago
belugas 2bedfcd3bf (svn r10425) -Fix (r10418): do not compare bitmasks with HASBIT. Strike two. Forgotten code :) 17 years ago
belugas 0805d0b03e (svn r10424) -Fix : Toy shop seems to be working exactly like power stations, water tower and banks, i.e: they require cargo but do nothing with it.
So, make it an INDUSTRYLIFE_BLACK_HOLE, exactly like the above mentioned industries.
Thanks to glx who spotted, and Csaboka who confirmed it could very well be a CS bug.
17 years ago
KUDr 2d31aef236 (svn r10423) -Fix [YAPF, r10301]: INVALID_TRACKDIR causing buffer overrun leading to desync in MP game (many thanks Rubidium) 17 years ago
KUDr effb173457 (svn r10422) -Fix: VC8 Code Analyzer warning C6297: Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value 17 years ago
KUDr 94a5310888 (svn r10421) -Fix [MSVC]: suppress some code analyzer warnings for VC8 17 years ago
rubidium 2f14d622ae (svn r10419) -Fix (r10418): do not compare bitmasks with HASBIT. Thanks to Maedhros for spotting this. 17 years ago
rubidium 9534c9795b (svn r10418) -Codechange: implement/resurrect the industry production flags. 17 years ago
glx 265b933b5b (svn r10417) -Fix: r10416 partly reverted r10415 17 years ago
miham be5b8e7db3 (svn r10416) -Update: WebTranslator2 update to 2007-07-03 19:20:58
norwegian_nynorsk - 3 fixed by pollux (3)
slovak     - 3 fixed by lengyel (3)
traditional_chinese - 6 fixed by xbddc (6)
17 years ago
glx ca87b15098 (svn r10415) -Revert (r10403), Fix (r10323): 'message from company' test must use {STRING1}, so pass it the correct params 17 years ago
rubidium f7151d44b7 (svn r10414) -Fix: the network protocol check for required newgrfs sent static newgrfs too. 17 years ago
glx bb3eb6eed4 (svn r10413) -Fix r10211: t->townnamegrfid was not cleared when renaming a town 17 years ago
peter1138 12302ae8c7 (svn r10412) -Codechange: Remove unnecessary inclusion of hal.h in various files (and add one) 17 years ago
miham a9e554c5ae (svn r10411) -Update: WebTranslator2 update to 2007-07-02 19:21:47
dutch      - 2 fixed by webfreakz (2)
polish     - 4 fixed, 7 changed by meush (11)
portuguese - 9 fixed, 2 changed by devilRed (11)
simplified_chinese - 30 fixed by Fishingsnow (30)
slovenian  - 2 fixed by Necrolyte (2)
ukrainian  - 2 fixed by mad (2)
17 years ago
bjarni 6574e622f7 (svn r10410) -Fix [FS458]: [OSX] if the resolution is changed to something that's too high for the monitor, then it's reduced to fit the monitor size (PinguTux)
This solves a possible crash
  This also solves a graphical glitch where the titlebar can be drawn on top of the game area
  Those issues only aplied to window mode
17 years ago
rubidium ec137f60ed (svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class. 17 years ago
rubidium c0e341ee05 (svn r10408) -Codechange: make GetImage a class method of Vehicle instead of Get(Aircraft|RoadVeh|Ship|Train)Image. 17 years ago
miham 162617eeb3 (svn r10407) -Update: WebTranslator2 update to 2007-07-01 20:12:34
brazilian_portuguese - 2 fixed by tucalipe (2)
catalan    - 2 fixed by arnaullv (2)
hungarian  - 2 fixed by miham (2)
italian    - 1 changed by lorenzodv (1)
japanese   - 4 fixed by ickoonite (4)
korean     - 2 fixed by darkttd (2)
spanish    - 2 fixed by eusebio (2)
17 years ago
rubidium 0debbfd73d (svn r10406) -Fix [FS#968]: only industries in the temperate climate should be affected by the "do not increase production" flag. 17 years ago
rubidium b6b78a3f21 (svn r10405) -Fix [FS#972]: do not try to determine the default railtype in the scenario editor. 17 years ago
peter1138 7ce52ca8b7 (svn r10404) -Fix (r10266): Adding a cargo packet to cargo list could overflow. Now we detect this and just leave the cargo in its own packet. 17 years ago
peter1138 e5e4a5348f (svn r10403) -Fix (r10323): 'message from company' text used {STRING1} instead of {COMPANY} 17 years ago
miham 9504a86ca1 (svn r10402) -Update: WebTranslator2 update to 2007-06-30 21:32:39
bulgarian  - 10 fixed by kokobongo (10)
french     - 2 fixed by glx (2)
italian    - 2 fixed, 2 changed by lorenzodv (4)
korean     - 2 fixed, 2 changed by darkttd (4)
polish     - 43 fixed, 1 changed by meush (44)
slovenian  - 1 fixed by Necrolyte (1)
spanish    - 5 changed by eusebio (5)
swedish    - 2 fixed by giddorah (2)
17 years ago
peter1138 59032746f6 (svn r10401) -Feature: new sign editor features including switching to previous/next sign (XeryusTC) 17 years ago
glx 170292e75f (svn r10399) -Fix (FS#962): [Windows] _wnd.has_focus was not properly set after using ALT-TAB 17 years ago
peter1138 91dc99c00f (svn r10398) -Fix (r10271): transparency menu option wasn't moved properly in the scenario editor 17 years ago
peter1138 b8927cb1d9 (svn r10397) -Fix [FS#969]: subsidy awarded messages broken due to {COMPANY} now taking 1 (not 2) parameters. also remove an unnecessary dereference. 17 years ago
peter1138 f202933e4f (svn r10396) -Fix: When landscape generating, allow for 200ms between screen updates instead of updating every 200ms. Previously slow screen updates would result in very slow map generation (GeekToo) 17 years ago
KUDr f766c48bc4 (svn r10395) -Fix [YAPF]: missing include + some signed/unsigned comparison warnings 17 years ago
KUDr 1e54937ee1 (svn r10394) -Fix [YAPF]: MP desync caused by incorrect last-red-signal penalties applied when cached segment was reused. Players that connected more recently (didn't have these segments cached yet) calculated those penalties correctly. This caused different YAPF results. 17 years ago
KUDr 41b75d545e (svn r10393) -Fix [YAPF]: Trackdir needs 4 bits to store (not 3). The cached segment key didn't use the highest trackdir bit. It could confuse YAPF on bi-directional track segments. 17 years ago
KUDr 90fe88a7af (svn r10392) -Add [YAPF]: added structured dump support into some essential YAPF classes (node-list, nodes, keys, etc.) and CArrayT 17 years ago
KUDr ec1e0b8152 (svn r10391) -Add: debug support - structured dump of variables/classes/structures (with anti-recursion repository) into string 17 years ago
KUDr 297248c83f (svn r10390) -Fix: constness 17 years ago
KUDr 65ba91d1c9 (svn r10389) -Add: CStrA, CStrCiA, CStrW, CStrCiW - case sensitive/insensitive ANSI/UNICODE string classes that support formatted (sprintf like) output. 17 years ago
KUDr f9e47692cb (svn r10388) -Cleanup: coding style (CBlobT & CBlobBaseSimple), removed CStrA 17 years ago
glx 0e2982ddba (svn r10387) -Fix (r10326, r10330): update unfinished langs 17 years ago
miham d901bacb61 (svn r10386) -Fix: [translations] croatian translators made a few type which prevented croatian langfile to be compiled. reported by boekabart 17 years ago
miham 75debb19bf (svn r10385) -Change: [Translations] Croatian is an accepted language 17 years ago
miham e2a96be7e1 (svn r10384) -Update: WebTranslator2 update to 2007-06-29 14:03:32
croatian   - 261 fixed, 9 changed by tperic (270)
finnish    - 2 changed by habazi (2)
hungarian  - 1 fixed by miham (1)
romanian   - 1 fixed, 38 changed by CrystyB (39)
ukrainian  - 1 fixed by mad (1)
17 years ago
rubidium c26b0e623d (svn r10382) -Fix (strgen): it was not possible to use --warning and --todo at the same time. 17 years ago
rubidium 5c1aff5ce6 (svn r10381) -Fix [FS#951]: skipping an order made train reverse immediatelly. Patch by boekabart. 17 years ago
peter1138 fd6f474c88 (svn r10380) -Fix (r10364): when checking for unique names, only check vehicles that can have names, and skip inactive players. 17 years ago
belugas f9935f1fa7 (svn r10379) -Codechange: silence a compiler warning (which was right) about a variable too little for what's been asked to do 17 years ago
miham 95c9fe1015 (svn r10377) -Update: WebTranslator2 update to 2007-06-28 20:46:13
brazilian_portuguese - 1 fixed by fukumori (1)
catalan    - 1 fixed, 2 changed by arnaullv (3)
dutch      - 10 fixed by webfreakz (10)
french     - 1 fixed by glx (1)
hungarian  - 1 fixed by miham (1)
italian    - 1 fixed by lorenzodv (1)
portuguese - 20 fixed by supra90 (20)
russian    - 4 fixed by Smoky555 (4)
spanish    - 2 fixed by eusebio (2)
17 years ago
peter1138 5a6f7a79a3 (svn r10371) -Fix (r9874): Remove never-used GetGroupName() function 17 years ago
peter1138 819321676a (svn r10370) -Fix: Heightmap GUI abused custom name system and used unnecessary globals. All details are now kept within the window's custom data. 17 years ago
belugas 890dfe749e (svn r10369) -Codechange: Add the IndustryType parameter to the GetIndustryCallback function.
Sometimes, the industry might not be able to provide its type, since it does not exists at all
17 years ago
peter1138 86f2f51c73 (svn r10368) -Fix: when renaming waypoints, ownership was only checked client-side, not in the command. 17 years ago
rubidium 4720ff0de3 (svn r10367) -Fix: do not crash horribly when the file you are trying to load is too short or decompressing it fails. 17 years ago
KUDr 7eb0b004f3 (svn r10366) -Codechange [YAPF]: added DEBUG_YAPF_CACHE macro that (when set to 1) allows to track YAPF "cache errors". They are probably responsible for current MP desyncs. (thanks Rubidium for this great idea!).
I will deal with those errors/desyncs tomorrow.
17 years ago
rubidium daafda6f62 (svn r10365) -Fix: compiling without png and networking support under MSVC. 17 years ago
peter1138 cd0e022172 (svn r10364) -Fix [FS#706]: checking for duplicate custom names was inconsistent, and tested all 'namespaces'. now only check names of the same type. 17 years ago
peter1138 85fb4eb94b (svn r10363) -Fix [FS#911]: invalidating autoreplace windows didn't take account of vehicle group (Matthias Wolf) 17 years ago
rubidium b9db0b8cf1 (svn r10362) -Codechange: make tunnel costs less exponential for (very) long tunnels. 17 years ago
miham c4596ada2d (svn r10361) -Update: WebTranslator2 update to 2007-06-27 20:59:10
brazilian_portuguese - 3 fixed by tucalipe (3)
bulgarian  - 5 fixed by thetitan (5)
catalan    - 3 fixed by arnaullv (3)
estonian   - 6 fixed, 4 changed by vermon (10)
french     - 1 fixed by glx (1)
italian    - 1 fixed, 17 changed by lorenzodv (18)
norwegian_nynorsk - 20 fixed by pollux (20)
piglatin   - 25 fixed by adammw (25)
polish     - 5 fixed by meush (5)
slovak     - 1 fixed by lengyel (1)
slovenian  - 20 fixed by Necrolyte (20)
spanish    - 4 fixed, 4 changed by eusebio (8)
ukrainian  - 3 fixed, 2 changed by mad (5)
17 years ago
rubidium 926d103482 (svn r10358) -Codechange: remove the cargopacket leakchecker as it never asserted in almost a week of stresstesting, so I'm pretty sure all cornercases are tested by now. 17 years ago
rubidium 0ab80d824b (svn r10357) -Fix: and when we're at it... yet another memory leak, but only when you start a new game; can't find any other memory leaks we can fix. 17 years ago
rubidium 43a85ee94f (svn r10356) -Fix (r10143): another memory leak eliminated. 17 years ago
rubidium 4f73e2a030 (svn r10355) -Fix (r10092): memory leak when encoding (reading) sprites. 17 years ago
rubidium 36e05116ae (svn r10354) -Fix [FS#950]: loading indicator showed "^" when the train would load at the given station. 17 years ago
rubidium 1cff472501 (svn r10353) -Fix/Feature [FS#669]: disallow (in the GUI) the building of infrastructure you do not have available vehicles for. This means that the airport building button is disabled till you can actually build aircraft. The game itself will not disallow you to build the infrastructure and this "new" behaviour can be overriden with a patch setting. 17 years ago
rubidium f603383eb9 (svn r10352) -Fix: the network did not request the newgrf names of newgrfs that it couldn't find; it only wanted to request the newgrf names of newgrfs that where available locally and than were called "<Unknown>". 17 years ago
KUDr 3332b21b19 (svn r10349) -Fix [FS#941, YAPF, r10301]: tile/trackdir must be used as node key and also as segment key in the cache (SmatZ).
In the past it was possible to use tile/exitdir as the key because segments beginning on the same tile/exitdir were incorrectly considered the same. What I still don't understand is why this bug happened only on 64 bit systems (linux, Win64).
17 years ago
rubidium ab52e3da52 (svn r10348) -Fix (r10347): compile errors; do not think it compiles fine when you run make on the wrong working copy. 17 years ago
rubidium 89a4ee256e (svn r10347) -Fix [FS#948]: industries with a very low production could never recover when using smooth economy.
-Fix: in smooth economy producing industries could not close, whereas they could close in non-smooth economy.
-Fix: in smooth economy the "do not increase production" flag of industries was ignored.
17 years ago
matthijs 875a376039 (svn r10346) -Fix: Forgotten "else" in r10345 (thanks peter1138). 17 years ago
matthijs 25f7e8c8a0 (svn r10345) -Fix [FS#290]: Make OPF handle coming out of a tunnel as well as going into a tunnel, to support road vehicles looking back when finding a depot while in a tunnel.
-Fix [FS#290]: Make NPF look back when finding a depot for road vehicles.
17 years ago
peter1138 f8a5b61f4e (svn r10344) -Fix (r10317): confusion between TRACK_n and TRACK_BIT_n stopped NW/SE slopes being picked up, and compare middle of tile against current z, not previous. 17 years ago
belugas 3a46ed0dd4 (svn r10343) -Cleanup: Add documentation of functions and code-style fix.
Thanks of 45 degree patch for bringing it up
17 years ago
miham 8cccd49bda (svn r10342) -Update: WebTranslator2 update to 2007-06-26 18:48:16
american   - 3 fixed by WhiteRabbit (3)
brazilian_portuguese - 17 fixed by tucalipe (17)
catalan    - 15 fixed, 10 changed by arnaullv (25)
dutch      - 9 fixed by Zr40 (9)
estonian   - 1 fixed by kristjans (1)
french     - 17 fixed by glx (17)
german     - 29 fixed by moewe2 (29)
hungarian  - 17 fixed by miham (17)
italian    - 17 fixed, 1 changed by lorenzodv (17), bluesboy84 (1)
japanese   - 19 fixed by ickoonite (19)
korean     - 19 fixed by darkttd (19)
norwegian_bokmal - 58 fixed by oletk (58)
polish     - 113 fixed, 32 changed by meush (145)
romanian   - 18 fixed by kneekoo (18)
russian    - 15 fixed by Smoky555 (15)
slovak     - 86 fixed by lengyel (86)
spanish    - 113 fixed by eusebio (113)
swedish    - 30 fixed by giddorah (30)
traditional_chinese - 16 fixed by xbddc (16)
turkish    - 21 fixed by jnmbk (21)
ukrainian  - 15 fixed by znikoz (10), fevral13 (4), mad (1)
17 years ago
maedhros cc63a1659f (svn r10341) -Fix (r10236): Only update the timetable when leaving stations if this is a scheduled stop. 17 years ago
truelight 65455f5e07 (svn r10340) -Fix: make sure no industry production can ever hit < 32 with smooth_economy 17 years ago
truelight a1d3c96040 (svn r10339) -Fix r10311: if you fix your own name, at least also update your description ;) 17 years ago
maedhros 7748309778 (svn r10338) -Codechange: Show the total time that the timetable will take. 17 years ago
peter1138 b60434eb0d (svn r10337) -Fix [FS#880]: Autoreplace is only valid for the standard vehicle list, not station or shared order lists. 17 years ago
peter1138 d5d902490a (svn r10336) -Fix [FS#910]: reaching the end of a line in certain cases incorrectly stopped signal updates 17 years ago
maedhros 9fce70ac21 (svn r10335) -Fix (r10331): Increment the current order index *after* using it in UpdateVehicleTimetable. 17 years ago
peter1138 2d6f6c9dfa (svn r10334) -Fix [FS#937]: with smooth scrolling enabled, the viewport destination was not clamped to the map 17 years ago
rubidium 338b848a29 (svn r10333) -Fix [FS#943]: News messages were shown on top of the endgame screen and high score chart. 17 years ago
rubidium 0dd445a827 (svn r10332) -Fix [FS#940]: ratings where also shown on drop-off stations. 17 years ago
maedhros c65c8f1cc9 (svn r10331) -Feature: Add the possibility of automatically filling in timetables based on
the times from the first (or subsequent) run-throughs.
17 years ago
peter1138 d25dfaddeb (svn r10330) -Fix [FS#939]: budget window used wrong param for loan repay/borrow amounts 17 years ago
rubidium f40646bf82 (svn r10329) -Feature [FS#812]: (patch) option to select the "default" rail type when you start a new game or load a game. This is done either static, i.e. rail, electrified rail, monorail and maglev, or dynamic which takes either the first or last available railtype or the railtype that is used most on the map. 17 years ago
maedhros 6b642ced33 (svn r10328) -Codechange: Close the timetable window when closing the vehicle window. 17 years ago
maedhros e7cd217f1d (svn r10327) -Fix (r10236) [FS#934]: Vehicles wait at stations when they arrive early even
if they haven't been timetabled to wait, so make sure the lateness counter gets
updated as well.
17 years ago
peter1138 1f4c0380cd (svn r10326) -Update: change to new string codes used in english.txt 17 years ago
peter1138 3154374e19 (svn r10325) -Fix (r10323): Missed 3 company name references 17 years ago
peter1138 76874f34bf (svn r10324) -Codechange: reference engine names by index 17 years ago
peter1138 8ee9e8bf1e (svn r10323) -Codechange: reference company name, number and player (president) name
by index
17 years ago
maedhros 4e1e697bc6 (svn r10322) -Codechange: Make the timetable window smaller by default so it doesn't take up so much space on small resolutions. 17 years ago
peter1138 97a2f5bf2a (svn r10321) -Codechange: refer to sign text by index 17 years ago
rubidium abfbba139e (svn r10320) -Fix [FS#278]: one could only build a limited number of stations before one had to rename them. 17 years ago
rubidium 7c3ce5fc15 (svn r10319) -Fix (r10266): the limit of 65535 references was not enough for cargo packets. Increase this limit to approximately 2^32, which noone should ever be able to reach on any normal system ;) 17 years ago
miham e84ecfb1ce (svn r10318) -Update: WebTranslator2 update to 2007-06-25 11:14:04
bulgarian  - 7 fixed by thetitan (7)
catalan    - 2 fixed, 2 changed by arnaullv (4)
danish     - 15 fixed, 5 changed by ThomasA (20)
dutch      - 8 fixed, 39 changed by Zr40 (45), webfreakz (2)
estonian   - 2 fixed, 2 changed by t2t2 (4)
french     - 7 fixed by Skiper (7)
hungarian  - 1 fixed by miham (1)
italian    - 2 fixed, 2 changed by lorenzodv (4)
russian    - 57 fixed by Smoky555 (57)
spanish    - 8 fixed by eusebio (8)
traditional_chinese - 1 fixed, 2 changed by xbddc (3)
turkish    - 52 fixed by jnmbk (52)
ukrainian  - 3 fixed, 2 changed by fevral13 (5)
17 years ago
rubidium e68892dcd4 (svn r10317) -Fix [FS#786]: acceleration not calculated properly when a train goes up a hill between tunnels. 17 years ago
peter1138 59dd90b76a (svn r10316) -Codechange: (consistently) use index to refer to group names. Also the group string_id is irrelevant unless it is a custom name, so don't 'waste' a savegame string id. 17 years ago
miham 9549707bfd (svn r10315) -Update: WebTranslator2 update to 2007-06-25 06:40:44
american   - 5 fixed by WhiteRabbit (5)
estonian   - 11 fixed by t2t2 (11)
hungarian  - 6 fixed, 2 changed by miham (8)
italian    - 2 changed by lorenzodv (2)
japanese   - 5 fixed by ickoonite (5)
norwegian_nynorsk - 6 fixed by pollux (6)
romanian   - 6 fixed, 2 changed by kneekoo (8)
russian    - 8 fixed, 2 changed by Smoky555 (10)
slovenian  - 5 fixed by Sonicelo (5)
traditional_chinese - 5 fixed by xbddc (5)
ukrainian  - 10 fixed by fevral13 (10)
17 years ago
peter1138 3878c55f34 (svn r10314) -Codechange: Refer to vehicle names by index 17 years ago
rubidium e0a9a7d388 (svn r10313) -Fix (r8546): value for password "protected" was sent toggled for UDP packets, i.e. unpassworded companies showed up passworded and vice versa. 17 years ago
rubidium b8d37ed4b7 (svn r10312) -Fix (r10210): the 64 values in the 'players' console command were not printed properly; they did even "overflow" into the next to-be-printed values. 17 years ago
orudge 9f8c5a97c0 (svn r10311) -Fix: I'm not retired, just relatively inactive ;) 17 years ago
orudge f0117974cd (svn r10310) -Fix: Trunk can now be built on OS/2 :) 17 years ago
rubidium 71295c7d9e (svn r10309) -Revert (part of r10308): "fixing" the bounding box for bridge entrances reveals one of the bugs that will be fixed when FS#119 is fixed. 17 years ago
rubidium 949fc3d78c (svn r10308) -Codechange: some "cleanup" chunks from B. N. SmatZ!' work on fixing FS#119. 17 years ago
rubidium d92d65a99a (svn r10306) -Fix [FS#890]: the fix in r10219 was not enough to stop this bug from happening. 17 years ago
miham 267a8e0aef (svn r10305) -Update: WebTranslator2 update to 2007-06-24 18:32:39
american   - 33 fixed by WhiteRabbit (33)
brazilian_portuguese - 5 fixed by tucalipe (5)
catalan    - 5 fixed, 7 changed by arnaullv (12)
italian    - 5 fixed by lorenzodv (5)
japanese   - 8 fixed by ickoonite (8)
korean     - 5 fixed, 2 changed by darkttd (7)
norwegian_nynorsk - 36 fixed by pollux (36)
portuguese - 7 fixed by izhirahider (7)
slovenian  - 32 fixed by Necrolyte (32)
traditional_chinese - 78 fixed, 2 changed by xbddc (80)
17 years ago
KUDr 1c41258ec6 (svn r10304) -Fix [YAPF](r10301): removed assert which could violate without danger when searching for the nearest depot. From now on the segment can be closed without reason in that case (peter1138) 17 years ago
KUDr 1983b349f6 (svn r10303) -Fix [YAPF](r10301): warning: unused variable tile_cost (peter1138) 17 years ago
KUDr aa93897197 (svn r10302) -Fix [YAPF, MP]: now (with r10301) it is no longer needed to invalidate the YAPF segment cache every tick in MP. Segment cost now doesn't contain the curves between segments. As a result the cache should be now accurate. 17 years ago
KUDr db6710fb16 (svn r10301) -Fix [FS#901, YAPF]: another assert violation in some special cases (immeR) 17 years ago
rubidium 331c9eec7b (svn r10300) -Fix [FS#917]: give a better explanation why the loading of a savegame failed and do not crash on loading savegames that were altered by patches or branches. 17 years ago
rubidium 5ee292d806 (svn r10299) -Codechange [FS#931]: industry foundations should be drawn as all other foundations, i.e. with DrawFoundation, instead of writing the same functionality itself. 17 years ago
rubidium 627aa240ba (svn r10298) -Fix [FS#903]: show the subdirectory below the default data directory in this filename in the newgrf list. The directory was removed in r9560 because then it used to full path instead of the path relative to the data directory, but since the inclusion of "search paths" that is not necessary anymore. 17 years ago
rubidium 1b07b27af1 (svn r10297) -Codechange: increase the performance of CargoPacket::AllocateRaw using a very simple "caching" system. 17 years ago
miham 7ce68de129 (svn r10296) -Update: WebTranslator2 update to 2007-06-23 20:35:10
brazilian_portuguese - 38 fixed by tucalipe (38)
catalan    - 35 fixed, 10 changed by arnaullv (45)
dutch      - 33 fixed by webfreakz (14), habell (19)
estonian   - 4 fixed by kristjans (4)
french     - 32 fixed by glx (32)
hungarian  - 7 fixed by miham (7)
italian    - 34 fixed, 1 changed by lorenzodv (35)
korean     - 34 fixed by darkttd (34)
romanian   - 59 fixed by kneekoo (59)
russian    - 45 fixed, 11 changed by Smoky555 (56)
swedish    - 29 fixed by giddorah (29)
ukrainian  - 1 fixed by mad (1)
17 years ago
truelight 66c1e299c2 (svn r10295) -Fix [FS#775]: flush stdout on dedicated server output to ensure an update of stdout (Zuu) 17 years ago
truelight d5e6caf58d (svn r10294) -Fix [FS#914]: WKC_PAUSE didn't work in SE (+ some cosmetic) (Smoovious) 17 years ago
truelight 292a75a5ec (svn r10293) -Add [FS#885]: a sticky button for the client list window (oxygene) 17 years ago
KUDr e494b4021f (svn r10292) -Fix: suppress VC 7.1 warning: "\src\texteff.cpp(251) : warning C4258: 'y' : definition from the for loop is ignored; the definition from the enclosing scope is used" which prevents compilation on MSVC 2003 17 years ago
truelight ffd8662fce (svn r10291) -Fix [FS#920]: double click in town-GUI didn't work as expected 17 years ago
truelight b1f60c582f (svn r10290) -Fix: with smooth_economy, when industry production hit 32, it stayed there for ever. Give it some chance to get out of that uber-lowness (although it is a very slim chance, at least it has one) 17 years ago
rubidium f92368109c (svn r10289) -Fix [FS#735]: {COMPANY} takes two arguments. As this was not properly accounted for the plural rule used the second argument of {COMPANY} instead of the later {COMMA}. 17 years ago
truelight 872ba4e659 (svn r10288) -Fix [FS#202]: also age engines that aren't front-engines (based on a patch by kaan) 17 years ago
rubidium 37e3cbb980 (svn r10287) -Fix (r10266): some surprises from that (almost always) complaining compiler... 17 years ago
truelight b5a9cc0ed8 (svn r10286) -Fix r10284: nice typo (tnx glx) 17 years ago
truelight 9a93718898 (svn r10284) -Fix [FS#899]: in the unlucky event 2 clients join at the same time to start a new company while there is only one spot left, all clients became spectator. Now only make either one of the joining clients spectator (much more game-friendly ;)) 17 years ago
rubidium f42734a5ff (svn r10283) -Fix [FS#913]: catenary was drawn on bridges when elrail was disabled. Patch by B. N. SmatZ!. 17 years ago
truelight 44a9fea388 (svn r10278) -Fix r10276: make the _realtime_tick less demanding on the CPU 17 years ago
truelight 7bfc7d19e8 (svn r10276) -Codechange: made a counter based on milliseconds and independent of the game-state to base double-click and TGP Generation Process on
-Codechange: renamed _timer_counter to _palette_animation_counter, as that is what it is
17 years ago
glx d5f4251823 (svn r10273) -Change: remove the strings removed in r10270 from the translations 17 years ago
glx ad41b2dbd4 (svn r10272) -Fix (FS#916): remove more invalid characters from savegame names 17 years ago
truelight 28a006ec1f (svn r10271) -Fix r9563: move the Transparency Option menu item to the place it should have been in the first place: Option Menu, not Map Menu (go figure :p) 17 years ago
truelight 80bcbce62b (svn r10270) -Add: prefixed the loading indicator with an arrow, up meaning vehicle is loading, down meaning vehicle is unloading 17 years ago
rubidium db097a94db (svn r10269) -Fix [FS#912]: station ratings were shown for all cargos instead of only the cargos that have been transported. 17 years ago
rubidium 60c61e5116 (svn r10268) -Fix: some old savegames could have the wrong bits unset (follow up of r10147) 17 years ago
glx 68ff3bc90f (svn r10267) -Add: enable double clic to add in 'add newgrf' window 17 years ago
rubidium fc201d4ad8 (svn r10266) -Codechange: keep track of the origin, time of travel and accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it. 17 years ago
truelight dc82eeb2ae (svn r10265) -Feature: allow double-clicking on certain places: build-vehicle and town-action 17 years ago
rubidium 4312cec2c0 (svn r10263) -Fix (r10262): due to 64 bits alignment a struct became a little too large. 17 years ago
rubidium 328d369f64 (svn r10262) -Fix (r10258): some places that needed to be changed to uint64 were hidden/forgotten, which caused memory corruptions and that in caused all kinds of assertions to trigger. 17 years ago
rubidium f91e05a66b (svn r10261) -Cleanup: we do not need CURRENCY64 and CURRCOMPACT64 anymore, because everything is already 64 bits by default. 17 years ago
miham 377a5e40c0 (svn r10260) -Update: WebTranslator2 update to 2007-06-21 19:36:07
piglatin   - 12 fixed by adammw (12)
17 years ago
rubidium 75ebd2c5a8 (svn r10259) -Fix (r10258): committed a little too much.. would've made pretty cheap tunnels though :) 17 years ago
rubidium d0fa4eb9de (svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
-Fix: some displays of money were wrong.
17 years ago
miham a482793a32 (svn r10257) -Update: WebTranslator2 update to 2007-06-21 19:15:05
danish     - 25 fixed, 50 changed by ThomasA (75)
finnish    - 117 fixed by habazi (117)
hungarian  - 6 fixed by miham (6)
romanian   - 8 fixed, 9 changed by CrystyB (17)
spanish    - 7 fixed by jfrank (7)
ukrainian  - 28 fixed by mad (25), fevral13 (3)
17 years ago
belugas ad446daf33 (svn r10256) -Add: Addition of IndustryTileOverrideManager 17 years ago
truelight f58ea51e2a (svn r10255) -Codechange: remove some old debug code nobody was using anymore 17 years ago
truelight 66a136be09 (svn r10254) -Feature: loading indicator, which shows in % how full a vehicle is while loading/unloading (TheJosh) 17 years ago
rubidium 21711da99d (svn r10253) -Fix (r10249): putting the < the wrong way around made the new towns pretty small. 17 years ago
rubidium a571d7f954 (svn r10252) -Fix: never overflow when applying exchange rates before drawing the amount of money. 17 years ago
glx f7b378df33 (svn r10251) -Fix (r10186, FS#907): alt-tab back into openttd could leave the taskbar visible 17 years ago
rubidium fecf81496a (svn r10250) -Fix: money is always 64 bits, so always parse those 64 bits. 17 years ago
rubidium 3307cb32f4 (svn r10249) -Fix [FS#906]: town tried to gather information about the neighbourhood of a tile when it couldn't even *ever* build on that tile. 17 years ago
rubidium dffad5260b (svn r10248) -Codechange: don't limit the cost of tunnels. 17 years ago
rubidium 1b27095c83 (svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string. 17 years ago
rubidium 0d8e82b7d7 (svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch. 17 years ago
truelight c755fa43d0 (svn r10245) -Codechange: added GetName also to all Blitters, instead of only the Factory 17 years ago
truelight 2f0500a438 (svn r10244) -Fix: make sure to let 32bpp-anim report the increased buffer-size it needs 17 years ago
glx d183723d39 (svn r10243) -Fix: crash when resizing with 32bpp and 'broken' display with 'non-standard' resolutions 17 years ago
truelight 426de65b18 (svn r10242) -Fix: avoid a segfault if you move your mouse at startup with 32bpp-anim 17 years ago
truelight d614cec205 (svn r10241) -Codechange: CopyToBuffer now produces a buffer that is unreadable from outside the blitter, so the blitter can store anything he likes
-Codechange: added CopyImageToBuffer, which produces a readable buffer for screenshots
-Fix: 32bpp-anim now holds animation on transparent objects to avoid strange graphical effects
-Fix: 32bpp-anim now works correct on mouse-movement (it holds the palette animation correctly)
17 years ago
miham 36afc46e2a (svn r10240) -Update: WebTranslator2 update to 2007-06-21 08:03:49
american   - 30 fixed, 1 changed by WhiteRabbit (31)
bulgarian  - 1 fixed by thetitan (1)
dutch      - 1 fixed by habell (1)
estonian   - 25 fixed by kristjans (25)
french     - 1 fixed by glx (1)
german     - 15 fixed by Neonox (15)
hungarian  - 24 fixed by miham (24)
italian    - 1 fixed by lorenzodv (1)
japanese   - 25 fixed by ickoonite (25)
korean     - 1 fixed by darkttd (1)
slovenian  - 1 fixed by Necrolyte (1)
17 years ago
maedhros 07a11f05ae (svn r10239) -Fix (r10236): The pin button didn't move when resizing the timetable gui. 17 years ago
maedhros d5da0e0740 (svn r10238) -Fix (r10236): Resizing the timetable window caused it to think it could only show one line at a time. 17 years ago
maedhros 29490c6bec (svn r10237) -Fix (r10236): It helps if you use svn add with new files... 17 years ago
maedhros 7fb6e8f11d (svn r10236) -Feature: Introduce a form of timetabling for vehicles. 17 years ago
truelight 59b54b3b02 (svn r10235) -Fix: the 32bpp-anim blitter repainted pixel color 0, which is transparency and therefor should never be repainted (spotted by Rubidium) 17 years ago
truelight 0e4a7125ae (svn r10234) -Fix r10233: make peter1138 happy 17 years ago
truelight 5eff2951cc (svn r10233) -Fix: 8bpp-optimized encoder fucked up if 255+ pixels in a row were non-transparent (tnx boekabart) 17 years ago
belugas d4632dee67 (svn r10232) -Fix(r1): _numof_industry_table never was composed of 12 entries. Only 11.
It never hurt before, but it would have...
17 years ago
rubidium 9e55573616 (svn r10230) -Fix [FS#594]: terraforming wipes out canals. Now you always have to remove the canal before terraforming, instead of "just" removing the canal. 17 years ago
glx fe7f4a2f9c (svn r10229) -Cleanup: removed duplicate include (dihedral) 17 years ago
rubidium 0d623dbed4 (svn r10228) -Fix [FS#894]: why MSVC must always bitch about stuff? 17 years ago
truelight 9efe1d6776 (svn r10227) -Add: added 32bpp-anim blitter, a 32bpp blitter that does palette animation (at the cost of an animation-buffer to keep track of the 'm'-channel of all sprites) 17 years ago
belugas c492167f74 (svn r10226) -Codechange: Add support for newindustry tiles drawing.
Heavily based on Maedhros's newhouses implementation
17 years ago
truelight bd215277b5 (svn r10225) -Codechange: move common Colour routines for 32bpp to the base class (and nick it colour, not color) 17 years ago
rubidium bf0be8f0bc (svn r10224) -Fix [FS#891]: the town road belongs to didn't get set properly when a town builds road over tram bits. 17 years ago
glx 554639ce92 (svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared 17 years ago
peter1138 195ef32835 (svn r10222) -Fix [FS#892]: Only 2 trains could crash at one time as collision checking stopped on the first hit. This could cause desyncs in network games as the collision hash order is not guaranteed. (patch by B. N. Smatz) 17 years ago
rubidium 911f37ee94 (svn r10221) -Fix: the one way sprites weren't drawn in the correct order, so they could remove the tramtrack in some cases. 17 years ago
truelight 766168ad43 (svn r10220) -Fix r10216: even more fuck-ups for non-SDL video backends 17 years ago
rubidium 1e73884c10 (svn r10219) -Fix [FS#882,FS#890]: land under foundations was terraform when it shouldn't be terraformed. 17 years ago
glx 6f25b5db0d (svn r10218) -Fix r10216: more compile errors 17 years ago
truelight f5271393e1 (svn r10217) -Fix r10216: forgot to declare 'blitter' in win32 and cocoa driver (tnx glx) 17 years ago
truelight cd10965a27 (svn r10216) -Fix: palette animation always redid all palette entries, where in fact only a few indexes were needed
-Codechange: allow blitters to handle palette animation internally or even disable it; 8bpp uses video-backend for palette animation
17 years ago
truelight b63c8b8342 (svn r10215) -Fix r10214: forgot 2 cases of the same mistake 17 years ago
truelight a2b14e718a (svn r10214) -Fix: off-by-one in draw-rect-color-remapping (peter1138) 17 years ago
rubidium f765b3d6aa (svn r10212) -Fix [FS#723]: money overflow bugs in many locations. 17 years ago
glx 623a848cca (svn r10211) -Feature: [NewGRF] Add support for action 0F 17 years ago
rubidium 8220153e6b (svn r10210) -Codechange: make all money related variables 64 bits, so overflowing them should become a little harder. 17 years ago
rubidium 6900de65b9 (svn r10209) -Fix/Codechange: forgot a few changes of int32 -> Money in the previous commit 17 years ago
rubidium 23727da96f (svn r10208) -Codechange: replace int32 with Money where appropriate. 17 years ago
rubidium 7dda2d93da (svn r10207) -Codechange: remove the redundant player_money in favour of the money64, which is now renamed to player_money. 17 years ago
truelight 6785ea670f (svn r10206) -Codechange: more moving things to blitter-layer: ScrollBuffer 17 years ago
rubidium 773a7c9cb6 (svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified. 17 years ago
truelight d7736f6b83 (svn r10203) -Codechange: more moving things to blitter-layer: DrawLine 17 years ago
peter1138 704a67ff0b (svn r10201) -Codechange: Replace Blitter::SetHorizontalLine with Blitter::DrawRect, as the former was only used by the rectangle drawing code anyway. This lets us draw rectangles in one go. 17 years ago
rubidium 82e79b847e (svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded). 17 years ago
KUDr 80d71953ba (svn r10199) -Fix [FS#884, YAPF]: 'target_seen' flag that is set prematurely in some cases (1 tile long cached segment followed by target station) stops on assert (immeR) 17 years ago
rubidium 5718743722 (svn r10198) -Fix (r10194): did not search all search paths. 17 years ago
rubidium 3ccc83e640 (svn r10197) -Codechange: replace int32 with CommandCost where appropriate. 17 years ago
miham fd2cee1864 (svn r10196) -Update: WebTranslator2 update to 2007-06-18 10:15:44
japanese   - 2 fixed by ickoonite (2)
slovenian  - 3 fixed by Necrolyte (3)
17 years ago
rubidium e2f839b6a2 (svn r10194) -Codechange: prefer the current working directory above the user's home directory when openttd.cfg exists in the current working directory, otherwise prefer the home directory. 17 years ago
truelight cdf6192ce0 (svn r10193) -Fix r10190: somehow an other partly-patch was applied too 17 years ago
truelight 32406b0c18 (svn r10192) -Fix r10190: forgot to change the includes of win32 and cocoa video-driver 17 years ago
rubidium 28f97c790a (svn r10191) -Backport (r9148 from NoAI): detecting of CPU type (32 vs 64 bits). 17 years ago
truelight 79cd3f5db0 (svn r10190) -Codechange: merged renderer and blitter to one single class API: blitter
-Codechange: introduced a hierachy of blitters to avoid a lot of code duplication
 Note: this allows much easier adding other types of video-drivers, like OpenGL
17 years ago
rubidium c016eca97f (svn r10188) -Codechange: make it a little easier to load a savegame from the console:
-g <absolute path>
 -g <relative path from current working directory>
 -g <relative path from within the savegame directory>
17 years ago
rubidium 265d5ea813 (svn r10187) -Fix: don't do a 270 degree turn on the international airport when a 90 degree turn is enough. 17 years ago
glx ffbd022a12 (svn r10186) -Fix (FS#876): don't mess desktop when using alt-tab (win32) 17 years ago
rubidium 6c0ba8e879 (svn r10185) -Codechange: make the bounding boxes of the drive through road stops a little larger so NewGRFs authors have more possibilities when replacing them (minime). 17 years ago
rubidium c4d5faa248 (svn r10184) -Fix: remove empty strings that are clearly bad. WT2 shouldn't add them anymore. 17 years ago
rubidium 3c7a85fe94 (svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
17 years ago
rubidium 4e4b152adb (svn r10181) -Fix (r10093): clamp the zoom level so it won't try to use a wrong zoom level when loading an old savegame. 17 years ago
rubidium 7fbd4e4ab4 (svn r10180) -Fix (r10167): do not reset the 2cc loaded feature setting when a (later) newgrf does not have 2cc. 17 years ago
maedhros 8765343e2e (svn r10178) -Fix: Don't deactivate newgrf files when skipping the rest of the file during the initialisation stage. 17 years ago
peter1138 70b6716b98 (svn r10177) -Fix: Passengers has one A and two Es (ln) 17 years ago
maedhros e0e380e8d9 (svn r10176) -Fix (r10071): Deselect the currently selected order when clicking on an empty part of the orders window. 17 years ago
miham 37aac4a816 (svn r10175) -Fix: [Translations] Stupid me, {STRINGx} can only be used in english... 17 years ago
miham da55f0cfe8 (svn r10174) -Fix: [Translations]: piglatin plural forms had some problem.. 17 years ago
miham 974c5dbe00 (svn r10173) -Add: Translations: added new language "Pig Latin". Already "pre-translated", only needs checking. Idea of Piglatin language was from Adam M-W 17 years ago
belugas 7f3c41b5bf (svn r10172) -Fix(r10127): Wrong evaluation order on variable 0x41 for industry tile.
The industry's xy (northernmost tile) should be checked against the relative tile, not the other way around.
17 years ago
rubidium e355b1e55a (svn r10170) -Codechange: remove some duplication of code. 17 years ago
rubidium 6c87da4fec (svn r10169) -Fix [FS#875]: trunk did still tell Windows that it was version 0.5.0(.0), so now we use a "bogus" version number to tell it's not a real release. The version number that will be shown in-game will not change, only the version number in the file properties. 17 years ago
rubidium f5f1909b23 (svn r10168) -Fix [FS#879]: cannot build airport when an aircraft is flying over it. 17 years ago
belugas 0f0b58d429 (svn r10167) -Codechange: Change the flagging system of grf loaded feature from a bitset to a bool evaluation.
Like easier to read and faster to evaluate :)
17 years ago
peter1138 77b29ea3bc (svn r10166) -Feature(tte): Add support for antialiased typefaces via FreeType. This is configurable for each font size in the configuration settings and requires using the 32bpp blitter and suitable fonts. 17 years ago
rubidium 3efca64a94 (svn r10165) -Fix [FS#874]: crash when trying to get the aircraft movement state of an aircraft going to a just deleted airport. 17 years ago
miham dcface1b3b (svn r10164) -Update: WebTranslator2 update to 2007-06-15 07:44:28
catalan    - 2 fixed by arnaullv (2)
dutch      - 2 fixed by habell (2)
esperanto  - 1 fixed by LaPingvino (1)
norwegian_bokmal - 24 fixed by oletk (24)
turkish    - 16 fixed by jnmbk (16)
17 years ago
belugas 0dc6ed160c (svn r10163) -Fix(r8128): Industries had lost their random recoloring. A test was removed and is now reintroduced in another way. 17 years ago
rubidium 46e531da72 (svn r10158) -Codechange: port some changes from NoAI and FS#872 to make the loan commands a little better readable. 17 years ago
truelight 5d55a9435b (svn r10157) -Fix: use as indentified for PNGs, the place of the image as it was in the grf, not the internal SpriteID 17 years ago
truelight 083504c12e (svn r10156) -Fix: PNG loader can now load 8bpp palette images and greyscale images 17 years ago
rubidium 3cdf29af0d (svn r10155) -Fix [FS#601]: Airports didn't flood when there are aircraft on the airport. 17 years ago
rubidium 6cd88fd449 (svn r10154) -Fix [FS#870]: some vehicles were not drawn when having a high resolution and a high zoom-out level. Patch by B. N. SmatZ!. 17 years ago
rubidium 5644794af9 (svn r10153) -Fix [FS#869]: vehicles disappear when crossing certain tiles. Fix by B. N. SmatZ!. 17 years ago
truelight bda903e70b (svn r10150) -Fix r10148: show a message to users when using 32bpp blitter and no libpng available 17 years ago
truelight 402052509f (svn r10149) -Fix r10143: MSVC warnings... (tnx boekabart and glx) 17 years ago
truelight 063c4f7862 (svn r10148) -Fix r10143: make --without-png to compile again 17 years ago
rubidium a84e6b015d (svn r10147) -Fix: the oldloader did clear some bits for road vehicles that shouldn't be cleared in some cases. 17 years ago
belugas 920b4feb9d (svn r10146) -Codechange: Silence a compiler warning
-Codechange: Comment style beautifying
-Codechange: define (tentatively) var 0x44 and 0x61 for industry tiles
17 years ago
rubidium 8ed345d5fb (svn r10145) -Fix: make compiling with networking disabled (again) possible. 17 years ago
truelight 19513f2604 (svn r10143) -Add: store the filename of the grfs opened and allow easy access to the name
-Codechange: store the SpriteID in the spritecache too
-Add: add a PNG loader for graphical files
-Documentation: added a document to explain the PNG format
17 years ago
truelight 63f56f811b (svn r10142) -Fix r10132: do something useful with the alpha channel instead of ignoring it 17 years ago
celestar 8d623faf0d (svn r10141) -Fix (FS#848, r8973): Set the newgrf bit for realistic plane speeds (bulb) 17 years ago
rubidium d88f4bc78c (svn r10140) -Fix [FS#867]: an industry could overbuild a bridge. 17 years ago
rubidium e64eede717 (svn r10139) -Fix: all inner parts of OpenTTD assume that the resolution is at least 1 by 1, so force the resolution to be always at least 1 by 1. 17 years ago
rubidium 0a4a4875fb (svn r10138) -Fix: when you got a sufficiently small resolution, there is a possibility for a division by zero when a sound is played. 17 years ago
rubidium 779fd2fa42 (svn r10137) -Add: console command to get the current game date. 17 years ago
truelight f782a311f8 (svn r10132) -Codechange: split out the last direct video-buffer read access to the blitter-layer
-Add: added a new renderer and blitter to make room for some optimized bpp
-Fix: fill the alpha channel in the grf-spriteloader
17 years ago
rubidium 5eda486f93 (svn r10131) -Fix [FS#810]: when removing a dock, a ship will always try to reach the old location of the dock even when it cannot anymore because it the old location of the dock is now land instead of water. 17 years ago
maedhros bfecf0268d (svn r10130) -Fix (r4493): SetCurrentGrfLangID returned the wrong language ids for most languages. 17 years ago
peter1138 cb54a561ef (svn r10129) -Fix (r10111): Test for x == INVALID_COORD instead of v->tile == INVALID_TILE to determine if a vehicle should be removed from the has. 17 years ago
peter1138 19db4ee85c (svn r10128) -Fix (r4811): missing printf parameters in newgrf debug message 17 years ago
belugas 107c84c3ab (svn r10127) -Add: Addition of basic structure for industry tiles callbacks (unfinished).
-Codechange: ResolverObject receives member gfx, making it compatible for both industries and industry tiles
-Codechange: NewIndustryResolver now has his randombits and triggers (even if not implemented)
17 years ago
glx 3de8438314 (svn r10126) -Fix (r10111, FS#864): old_new_hash cache was not reset when the position hash were 17 years ago
rubidium 0b90d5319d (svn r10125) -Fix [FS#865]: under some circumstances the wagons of a train didn't get loaded properly. 17 years ago
truelight a1603f51f2 (svn r10124) -Fix r10123: fix the OSX video driver properly 17 years ago
bjarni 5d013d166e (svn r10123) -Fix r10121: the 8 bpp cocoa video driver works again 17 years ago
maedhros f8ae742da4 (svn r10122) -Codechange: Add a CountBitsSet function and use it to replace some less efficient loops. 17 years ago
truelight 0e53fd6d32 (svn r10121) -Codechange: split renderer from rest of code; no longer any code directly accesses the video-buffer
-Add: added NULL blitter and renderer, which are always used for -vnull
-Add: dedicated driver doesn't blit nor render by default. Can be overruled by user. (-D -b 8bpp-optimized)
-Remove: removed CTRL+D from win32, which is incompatible with above
-Add: extended screenshot support for PNG and BMP
-Codechange: remove all hardcoded 8bpp references and replace them with more dynamic ones
-Codechange: minor stuff in blitters
17 years ago
miham b729f5d08d (svn r10119) -Update: WebTranslator2 update to 2007-06-12 20:09:56
bulgarian  - 1 fixed by thetitan (1)
estonian   - 23 changed by kristjans (23)
italian    - 2 fixed by lorenzodv (2)
korean     - 2 fixed by darkttd (2)
romanian   - 28 fixed, 59 changed by CrystyB (87)
swedish    - 31 fixed by giddorah (31)
ukrainian  - 3 fixed by mad (3)
17 years ago
maedhros 12b359fa32 (svn r10117) -Fix [FS#863]: When deleting the vehicles of bankrupt players, delete trains as
a whole rather than each part individually, as that leads to invalid tests on
parts that have already been deleted.
17 years ago
rubidium 60d738f23a (svn r10116) -Fix [FS#850]: remove invalid characters (for the file system) from savegame names. Based on a patch by TheJosh. 17 years ago
belugas 443db4bb2e (svn r10115) -Codechange: Create accessors to triggers and random bits for industries.
Implementation will follow soon.
17 years ago
maedhros 94d390eac4 (svn r10114) -Fix: Only load newgrf error messages if the language matches the current
language. Since only one error can be loaded anyway, if the language didn't
match you'd get "Undefined string". Also since we're only loading one language
there's no need to use AddGRFString any more.
17 years ago
peter1138 8f7dea3f4f (svn r10113) -Fix (r10092): Missing svn properties and some Id/@file comments 17 years ago
peter1138 ce590b59f3 (svn r10111) -Codechange: Add new vehicle hash table for collision detection and finding vehicles on a tile. The hash area scanned is far smaller than the old hash table, which is now used for viewport updates only. This should give a significant performance improvement for games with many vehicles. (Based on work by 'B. N. SmatZ!' and 'madman2003') 17 years ago
maedhros e5ea54fe22 (svn r10110) -Fix: Reset NewGRF errors along with all the other NewGRF data so that errors get loaded again when pressing "Apply". 17 years ago
rubidium 961a891563 (svn r10109) -Fix [FS#838]: some NewGRFs use the same (unused in the "current" climate) sprite IDs. Normally this gives some artefacts, but when one NewGRF expects it to be a sprite and another NewGRF overwrites it with a non-sprite nasty things happen (drawing a non-sprite crashes OTTD). 17 years ago
belugas af35821a2a (svn r10108) -Codechange: implement variable 0x60 (Get industry tile ID at offset) for industries.
It is exposed for for industry tiles who will reuse it too, for variable 0x62.
17 years ago
peter1138 f94300a433 (svn r10107) -Fix (r10092): Missing 'i' in 'optimized' 17 years ago
rubidium 06f9baac62 (svn r10106) -Fix (r10098): there's always a compiler complaining about something... 17 years ago
truelight 9ee02182fa (svn r10105) -Fix r10092: fix sprite 4845 till 4881 (inclusive), so they store the data as on the disk in the memory, as the old landscape generate assumes this. Talking about ugly hacks... 17 years ago
miham 8f30750ade (svn r10104) -Update: WebTranslator2 update to 2007-06-11 19:45:13
catalan    - 4 changed by arnaullv (4)
czech      - 3 fixed, 1 changed by Hadez (4)
danish     - 2 fixed by MiR (2)
dutch      - 1 fixed by habell (1)
estonian   - 2 fixed, 15 changed by kristjans (17)
french     - 3 fixed by glx (3)
hungarian  - 2 fixed by miham (2)
17 years ago
maedhros 1dac46595d (svn r10103) -Fix (r10086): TrackBitsToTrack doesn't cope well with TRACK_BIT_NONE (e.g. non-rail tiles), so use FindFirstTrack instead. 17 years ago
truelight 02b9eeaa7a (svn r10102) -Documentation: @file header was wrong 17 years ago
truelight 340d5b43f9 (svn r10101) -Codechange: the class is named 8bppSimple, so name the files like that too 17 years ago
truelight 10e826380b (svn r10100) -Fix r10093: some code now became obsolete as it never did something 17 years ago
belugas cb65217069 (svn r10099) -Fix(r9867, FS860): Use the specs of the to-be-created industry instead of the scanned industry
Spotted by Oxygene
17 years ago
rubidium 76e25154bd (svn r10098) -Codechange: bilbo cared about the performance of the AI with respect to the airport placement, so he rewrote the aircraft handling of the AI; now it can actually make lots of money again :) 17 years ago
maedhros c186f91cbd (svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
road vehicles for those who prefer the technical explanation.
17 years ago
truelight 4cd71ef4fe (svn r10096) -Fix r10092: freetype bypassed the Blitter::Encode, making fonts look weird 17 years ago
truelight 37ee35df07 (svn r10095) -Fix: avoid reading outside the buffer because of scaling problems 17 years ago
rubidium 52fa0751b2 (svn r10094) -Fix: some really broken strings got in. 17 years ago
truelight 05e2bd2793 (svn r10093) -Revert: removed 16x zoom-out as it is broken beyond repair 17 years ago
truelight 27febd474c (svn r10092) -Codechange: code-seperated the spriteloader and blitter from the rest of the code
-Add: make it possible to pick your own blitter (-b <blitter>, -h for overview)
-Add: added a new optimized 8bpp blitter (default, caches sprites of all zoom-levels)
-Add: added a debug 8bpp blitter and a very slow normal 8bpp blitter
17 years ago
maedhros 41443a26a6 (svn r10089) -Fix (r10040): Use GetTileZ instead of GetClearGround in GetTerrainType as
GetTileZ is valid for any tile type. Also use GetTerrainType for stations.
17 years ago