Commit Graph

2588 Commits (fa1f94e599c317c234ed07f18adbddd527b86470)

Author SHA1 Message Date
glx bfda3c82f1 (svn r11600) -Cleanup: remove extra out-of-memory checks, since it's now done in *allocT functions. 17 years ago
bjarni 593b49dc49 (svn r11599) -Change: [OSX] 10.4 will now use quickdraw for window mode instead of quartz
The reason is that quickdraw is way faster (try fast forward)
  10.5 will still use quartz as it can't handle quickdraw.
17 years ago
rubidium 97a8a0d77f (svn r11598) -Change [FS#1518]: some tooltips of the main toolbar did not 'enumerate' all options in a drop down menu. 17 years ago
rubidium 33cdfc71dc (svn r11597) -Change: replace all remaining instances of (re|m|c)alloc with (Re|M|C)allocT and add a check for out-of-memory situations to the *allocT functions. 17 years ago
belugas f271038461 (svn r11596) -Codechange: Use the Window member HandleButtonClick and remove its now useless counterpart function 17 years ago
belugas 902b20263c (svn r11595) -Codechange: add a new member to Window struct, based on its function counterpart HandleButtonClick. 17 years ago
glx e3f4d0e72a (svn r11594) -Fix: don't allow changing network only patches settings from console when not in network game 17 years ago
belugas 42d6f195cf (svn r11593) -Cleanup: remove some forgotten pieces of evidence of a mischief 17 years ago
belugas 544325590c (svn r11592) -Codechange: Use the Window member RaiseButtons and remove the now useless RaiseWindowButtons function 17 years ago
belugas ecb9382c7e (svn r11591) -Codechange: remove now unused widget accessors. 17 years ago
glx 7e7606b0d3 (svn r11590) -Fix (r11193): IsSlopeRefused() result was half wrong 17 years ago
rubidium c3ae7faa13 (svn r11589) -Fix [FS#1514]: when ship depots got destroyed they always returned to water, even when it should've been canals. 17 years ago
glx b00f621239 (svn r11588) -Codechange: use the new member introduced in r11551 17 years ago
skidd13 30a5f9abf3 (svn r11587) -Fix (r11457): The one way road button wasn't reset on abort 17 years ago
glx d129a7295c (svn r11586) -Fix: make another widget 'accessor' function const when it should be const. 17 years ago
skidd13 10360288d0 (svn r11585) -Codechange: Enumify the widgets of the newGRF gui and a slight cleanup there 17 years ago
rubidium 2b9f51219f (svn r11584) -Change: add some extra checking in the hope to find the cause of FS#1482. 17 years ago
rubidium 39b1a8302b (svn r11583) -Fix [FS#1484]: windows could get completely missing when one resized the window to something very small. 17 years ago
smatz 57fc61009e (svn r11582) -Fix: tiles were not marked dirty in some cases when removing a lock 17 years ago
rubidium 9b7b34fc2c (svn r11581) -Codechange: add some missing cargo classes and some documentation. 17 years ago
skidd13 b57274cdf2 (svn r11580) -Feature: Memorise the resizing of the build bridge selection window during runtime 17 years ago
belugas 1495f6aaf8 (svn r11579) -Revert(r11578): some cases of key propagation are not handled correctly.
A better solution will be deviced, but not now.  Let's not cause a ton of bug reports
17 years ago
belugas cc29d43876 (svn r11578) -Codechange: Introduce the window default flag WDF_TEXTENTRY which specifies that the window holding it is actually one that enables an edit box.
Use this flag when dispatching a key event instead of using some hard coded window IDs.
This should ease a little bit the creation of new edit aware windows.
17 years ago
smatz 9cab7af581 (svn r11577) -Fix: invalidate 'list trains/roadvehs/ships/planes' widgets when station part is added/removed 17 years ago
smatz 6ab52ddf89 (svn r11576) -Codechange: enumerize and comment station GUI 17 years ago
smatz 15a5a1a95b (svn r11575) -Fix [FS#1502]: widget numbers of StationViewWindow were incorrect at some places 17 years ago
smatz fcfd0f1c76 (svn r11574) -Fix: flood train stations when there are no trains on border tiles too (when non-uniform stations are OFF) 17 years ago
rubidium 1c30d0b966 (svn r11573) -Codechange: pause games that miss GRFs by default and throw some warnings and disclaimers when you want to unpause it. 17 years ago
glx be48614ef8 (svn r11572) -Fix [FS#1494]: reinitialise windows system before loading a savegame 17 years ago
rubidium 4f0e072f3f (svn r11571) -Fix [FS#1493]: road vehicle getting to the wrong side of a station when trying to overtake in there. 17 years ago
smatz d4322bc8aa (svn r11570) -Fix: do not flood rail station tiles when there is a vehicle on it (when non-uniform stations are ON) 17 years ago
rubidium eb0be0322a (svn r11569) -Fix [FS#1480]: full paths sometimes did not work correctly. 17 years ago
belugas 586d2da917 (svn r11568) -Codechange: Use bit shifts instead of values for flags. It helps readability a little bit. 17 years ago
glx 06c131b244 (svn r11567) -Fix [FS#1512] (r11011): break the chain before moving a vehicle after another in the same chain 17 years ago
smatz 411dec5c3e (svn r11565) -Revert: part of r11564 17 years ago
skidd13 5d74f2ced4 (svn r11564) -Codechange: Increase the usage of the for_each_bit macro and rename it fitting to the naming style 17 years ago
skidd13 2b372e7e7b (svn r11563) -Codechange: Align the preprocessor code in stdafx.h with tabs 17 years ago
rubidium f758c337c7 (svn r11562) -Fix [FS#1503] (r11546): aircraft sometimes stopped mid-air when the airport got destroyed. 17 years ago
glx 5da6900c3f (svn r11561) -Fix [FS#1504] (r11463): group list was not updated when removing the last group 17 years ago
rubidium 8ae661b176 (svn r11560) -Codechange: replace 'custom' version of FindLastBit with the generic. 17 years ago
rubidium 8c0122f429 (svn r11559) -Fix [FS#1505]: overflow when drawing graphics with high company values. 17 years ago
rubidium 49e6247de8 (svn r11557) -Codechange: send and store the passwords a little more secure to/in the servers.
Each server and game yield a (usually) different 'salt'. This salt is used by the clients to hash their passwords. This way the passwords are not sent in clear text and it is not trivial to use those hashes on other servers.
NOTE: It is still NOT safe to use your trusted passwords and it will not stop people from being able to 'hijack' your password, it only makes it harder to do and certainly much less trivial than just dumping passwords from the memory.
17 years ago
rubidium 2880047689 (svn r11556) -Feature: allow setting a default password for new companies in network games. 17 years ago
rubidium 92cb0e45ca (svn r11555) -Codechange: use the new members introduced in r11551. 17 years ago
rubidium c0790fff86 (svn r11554) -Codechange: be more consistent with the naming of the widget functions. 17 years ago
rubidium f8be009c74 (svn r11553) -Fix: make a few widget 'accessor' function const when they should be const. 17 years ago
miham a7929a8de9 (svn r11552) -Update: WebTranslator2 update to 2007-12-02 12:31:46
czech      - 1 fixed by Hadez (1)
french     - 15 fixed by glx (15)
galician   - 2 fixed by Condex (2)
italian    - 15 fixed by lorenzodv (15)
norwegian_bokmal - 6 fixed by jhsoby (6)
russian    - 7 fixed by Smoky555 (7)
slovenian  - 1 fixed by Necrolyte (1)
spanish    - 1 fixed by eusebio (1)
17 years ago
belugas 31cb48b1ad (svn r11551) -Codechange: Introduction of widget control members on struct Window. These "new" members have the exact same functionalities as their pure functions "genitors"
Ex: "Window::SetWidgetLoweredState(byte widget_index, bool lowered_stat)"  is the member corresponding to "SetWindowWidgetLoweredState(Window *w, byte widget_index, bool lowered_stat)"
17 years ago
skidd13 b9c3ea6a01 (svn r11550) -Fix (r11547): Updated the data files regarding to r11549 17 years ago
rubidium 99dbfd3866 (svn r11547) -Add: signal selection GUI for the ones that really like to use that over CTRL. Patch by BigBB. 17 years ago
belugas 61dc1f8609 (svn r11546) -Fix[FS#1496]: If ever the air/heli port is suddenly not available while the "chopper" is descending, just go back into flying.
The code should have been better written, but in respect of newgrf_port branch, i prefer minimalist intervention
17 years ago
belugas 4f5ae3b66f (svn r11545) -Revert(r11543): The result is not what was expected. Looks like more work might be needed 17 years ago
glx 9b4aadf8dd (svn r11544) -Fix [FS#1501]: revert r11453 as it translated cargo when it should not 17 years ago
belugas aeb90dfab4 (svn r11543) -Codechange: Give a more adequate message when trying to place an industry required to be built over a house on any other type of tiles.
In reference to FS#1492, and other "bugs" like that one
17 years ago
bjarni 13aa24f1ae (svn r11542) -Fix r11540: [OSX] presumed 10.3 style strings when using GetCurrentLocale nomatter what OSX the target was 17 years ago
bjarni 914cd22833 (svn r11541) -Fix: [OSX] detect statvfs at runtime (based on OSX version) instead of compile time
This should prevent a crash on OSX 10.3 with the precompiled binaries (in the load/save windows)
17 years ago
bjarni 40cb6922bd (svn r11540) -Fix: [OSX] Don't try to compile the quartz video driver on OSX 10.3. It will fail 17 years ago
skidd13 f9f6c757f7 (svn r11539) -Feature: Make the bridge selection window resizable 17 years ago
skidd13 e184495fd4 (svn r11538) -Codechange: Rewrite GetNthSetBit in a more uncontroversial way and add its documentation 17 years ago
rubidium bd27f767cc (svn r11537) -Codechange: make it much harder to 'accidentally' add savegame conversion code after the window and cache initializations. 17 years ago
belugas b350debceb (svn r11536) -Codechange: Align some elements of the _tree_layout_sprite table a little better looking for the eye 17 years ago
miham db6023f706 (svn r11535) -Update: WebTranslator2 update to 2007-11-27 20:21:42
ukrainian  - 1 fixed by mad (1)
17 years ago
belugas b98847e489 (svn r11534) -Feature(newgrf): Implement property 23h for Industries.
This will add a cost to the removal of an industry using the cheat magic bulldozer.
Note that the removal of regular or newgrf industries without specified removal cost will have no cost applied to.
This is a difference from original spec, where a default base cost is added.
17 years ago
belugas e07925a5cb (svn r11533) -Codechange: Rename some unclear clear_x prices member names.
While at it, remove one unused entry on the clear_price_table array.
It is based on ground type, and the unused one was referencing a non existing one.
17 years ago
belugas a22bdeb8e3 (svn r11532) -Feature[newgrf]: Add decrement(0x0D) / increment(0x0E) production operations from result of production callback cb29/35.
Only var 0x93 will be affected by these operations
17 years ago
smatz 12321687d1 (svn r11530) -Codechange: do not update Tpool->first_free_index for PoolItems allocated on stack 17 years ago
miham ba1f335c2f (svn r11529) -Update: WebTranslator2 update to 2007-11-26 21:13:37
brazilian_portuguese - 1 fixed by fukumori (1)
catalan    - 1 fixed, 2 changed by arnaullv (3)
dutch      - 1 fixed by habell (1)
french     - 1 fixed, 1 changed by glx (2)
italian    - 1 fixed by lorenzodv (1)
lithuanian - 4 fixed by Domas (4)
slovak     - 1 fixed, 1 changed by lengyel (2)
ukrainian  - 5 fixed by mad (5)
17 years ago
maedhros 24a5dd3ca2 (svn r11528) -Fix (r11500): With smooth economy enabled, industries that should only decrease production would always increase it when more than 60% was transported. 17 years ago
skidd13 057ae477b5 (svn r11527) -Codechange: Split the bitmath functions of to their own files 17 years ago
skidd13 f56579e0d9 (svn r11526) -Codechange: Rename the function delta fitting to the naming style 17 years ago
rubidium 91152b925e (svn r11525) -Fix: do not do all kinds of 'updates' for town, waypoint, station and other signs when you haven't converted the map to the 'current' format as that means you are going to read data in the 'old' format when you assume that it is in the 'current' format. 17 years ago
rubidium 825fc97077 (svn r11524) -Fix [FS#1485]: assertion when tram reversed at a station. 17 years ago
skidd13 e36dba227b (svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp cause they depend on Random()
-Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
17 years ago
skidd13 e3092f6791 (svn r11522) -Fix: The scrollbar of the network gui could run out of bounds 17 years ago
egladil 35159d5db3 (svn r11521) -Codechange: [OSX] Check what the running os version is in a cleaner way. 17 years ago
egladil b24392dfdd (svn r11520) -Fix: [OSX] The cocoa video driver let the mouse cursor escape the window when using rmb scrolling. Thanks ln- for pointing this out and providing a fix. 17 years ago
smatz ca30e9b849 (svn r11519) -Codechange: enumerization and cleanup of NetworkLobbyWindow in network_gui.cpp 17 years ago
smatz 66c65c82c3 (svn r11518) -Codechange: enforce (by assert) unused parameters of widgets to be zero. Better readability of DrawWindowWidgets(), too 17 years ago
smatz 13128407d9 (svn r11517) -Codechange: better cleanup of NetworkStartServerWindow in network_gui.cpp 17 years ago
smatz d056b350eb (svn r11516) -Codechange: cleanup of NetworkGameWindow in network_gui.cpp 17 years ago
smatz 8e19280a72 (svn r11515) -Codechange: cleanup of NetworkStartServerWindow in network_gui.cpp 17 years ago
rubidium 63b0cba29b (svn r11514) -Change: implement the automatic multiplier handler for NewGRF industries. 17 years ago
smatz ce8d9b7fec (svn r11513) -Codechange: enumerize some depot GUI actions 17 years ago
rubidium b53aa55ade (svn r11512) -Change: make the subsidy window able to resize to something smaller than 640x127 (especially the 640 part) when the screen is really too small. 17 years ago
rubidium 121069b5e1 (svn r11511) -Revert parts of r11505: forgot that CTRL might be used for other features, like adjacent stations or signals. 17 years ago
skidd13 815b8d8df1 (svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style 17 years ago
rubidium 3ff1cf32c3 (svn r11509) -Fix: off-by-one error in some sprite numbers; increase sprite number counter before loading the next sprite instead of after doing so. 17 years ago
egladil d8e9bb4089 (svn r11508) -Cleanup: Removed unused headers from the cocoa video driver. 17 years ago
rubidium 6c027d98b9 (svn r11507) -Fix [FS#1463]: signs totally illegible when transparant signs is turned on and zoomed out more than one level. 17 years ago
rubidium 49e2e29685 (svn r11506) -Fix [FS#1471]: selling vehicles could cause the window of others to scroll to that location. 17 years ago
rubidium 7562d21e50 (svn r11505) -Fix/Feature: make CTRL work on all road/rail construction options that 'work' with the 'Bulldozer' button instead of only a few. 17 years ago
rubidium 7f72e5573a (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build. 17 years ago
glx b38d2e8dbb (svn r11502) -Fix (r11144): don't do standard production change if callbacks 29/35 failed
-Fix (r11144): disable smooth economy for industries using callbacks 29/35
17 years ago
egladil db70be611c (svn r11501) -Fix: [OSX] This remedies a problem with right click scrolling that was introduced in r11492. 17 years ago
belugas 0ed5570eb4 (svn r11500) -Codechange: Smooth economy fine-tuning, making industries more responsive. Patch by Sirkoz. 17 years ago
glx 74cf54910a (svn r11499) -Fix (r11144): mul/div factor were wrong (off by two) 17 years ago
egladil 0fce8dbf1f (svn r11498) -Add [FS#1411]: [OSX] Added support for using Quartz instead of Quickdraw in windowed mode on OS X 10.4 and higher. Based on a patch by blackis. 17 years ago
rubidium d3ea6fc1ea (svn r11495) -Fix (r11493): some compilers fail to show warnings when they should. 17 years ago
glx b78801fa33 (svn r11494) -Fix [FS#1461] (r11450): cargo translation table was now loaded too late ;) 17 years ago
rubidium 11889b6da1 (svn r11493) -Fix [FS#1472]: game crashing on savegame load because it tried to render some part of the window before the savegame conversion was done. 17 years ago
egladil d50bf9b7bd (svn r11492) -Codechange: [OSX] Split the cocoa video driver into several files. The reason for this is that the fullscreen and windowed mode api are separate from each other in OS X and thus the driver actual is two drivers in one. This split is to make the code more readable and to prepare for replacing the Quickdraw windowed mode code which uses apis deprecated as of OS X 10.5 (and maybe earlier). 17 years ago
miham 0690603553 (svn r11491) -Update: WebTranslator2 update to 2007-11-22 20:55:02
brazilian_portuguese - 5 fixed by tucalipe (5)
catalan    - 5 fixed by arnaullv (5)
czech      - 5 fixed by Hadez (5)
danish     - 6 fixed, 3 changed by MiR (9)
dutch      - 5 fixed by habell (5)
french     - 5 fixed by glx (5)
italian    - 2 fixed by lorenzodv (2)
japanese   - 5 fixed by ickoonite (5)
korean     - 58 fixed by leejaeuk5 (58)
slovak     - 5 fixed, 86 changed by lengyel (91)
slovenian  - 5 fixed by Necrolyte (5)
spanish    - 5 fixed by eusebio (5)
swedish    - 5 fixed by daishan (5)
turkish    - 5 fixed by jnmbk (5)
17 years ago
skidd13 4e12073b27 (svn r11490) -Codechange: Split the math functions to their own header
-Codechange: Replace the rest of the math macros with functions
17 years ago
skidd13 f26e908466 (svn r11489) -Fix r11488: Somehow the code was added multiple times 17 years ago
skidd13 039570342d (svn r11488) -Codechange: Spilt the random functions out to seperate file
-Codechange: Make the mersenne twister more readable
-Codechange: Unify the seeding process of random
17 years ago
smatz 00c376129d (svn r11487) -Fix (r11435): move the list of vehicles a bit higher in the player GUI 17 years ago
glx 4bb0c1b4b9 (svn r11486) -Fix [FS#1457]: industry count was wrong in smallmap 17 years ago
skidd13 f92f3aec06 (svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 3ae50673a3 (svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 795174edf1 (svn r11483) -Codechange: Replace codeparts with functions that do the same to increase readability 17 years ago
skidd13 6801cceda1 (svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 c0a2c0c23e (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 17 years ago
skidd13 7a4d96f629 (svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style
This fixes also FS#1450
17 years ago
skidd13 26224adf78 (svn r11479) -Codechange: Move the BIGMUL functions to the file of their usage
-Codechange: Rename the BIGMUL functions to the fitting naming style
17 years ago
rubidium 2bfe2a01d5 (svn r11478) -Fix: two small layout issues with the vehicle grouping GUI. 17 years ago
rubidium a36fd1db6e (svn r11477) -Fix [FS#1451]: a road vehicle must not show that it is driving max speed when it is standing still waiting for the vehicle in from of it. 17 years ago
skidd13 f4a5c80d71 (svn r11476) -Codechange: rename the function myabs to abs to get rid of an unneeded define 17 years ago
skidd13 98f66552be (svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style 17 years ago
belugas 9e385d2427 (svn r11474) -Feature: Allow to resize on creation the smallmap gui in order to show all the types industry available.
-Feature: Allow to enable/disable individually or all at once, the industries shown on small map.
This will permit to easily find those that are of some interest for the player.
Heavily based on gule's patch
17 years ago
belugas 581032d94c (svn r11473) -Codechange: Replace two more instances of widget/smalltype numbers by enum(-a) values 17 years ago
belugas 64e4ecd958 (svn r11472) -Codechange: Give enuma for both the widget numbers and the used smallmap currently used type 17 years ago
smatz 32802f863b (svn r11471) -Codechange: one more variable retyped to enum ViewportHighlightMode 17 years ago
rubidium b166ca6bec (svn r11467) -Fix [FS#1450]: OpenBSD has ALIGN already defined, causing compilation failures. 17 years ago
smatz a4d63f5b5b (svn r11466) -Fix (r11339): operator priority problem resulting in problematic autoroad placement in some cases 17 years ago
smatz 001179990d (svn r11465) -Fix: more user-friedly placement in X and Y directions (most noticeable with autoroad) 17 years ago
rubidium da6ee7c73b (svn r11464) -Fix: some issue that made OpenTTD on MorphOS seriously unplayable. 17 years ago
rubidium 67bbd8f7ab (svn r11463) -Fix: some OSes seem not to handle allocating 0 bytes in the same manner as others do. 17 years ago
rubidium cea3cf2857 (svn r11461) -Fix [FS#1449] (r11449): a bus turning around in a station could case an assertion error. Patch by divide. 17 years ago
skidd13 e70e49394c (svn r11459) -Fix: (r11457) The selection highlight color hasn't been reset 17 years ago
skidd13 be0da30572 (svn r11457) -Fix: (r11455) Reenable the accidentaly removed one way roads option
-Change: Enable one way roads like the remove via a toolbar icon
17 years ago
smatz d749fda9e4 (svn r11456) -Fix [FS#1412] (r10070): Viewport is bound to its top-left corner 17 years ago
rubidium 3c020cfd68 (svn r11455) -Codechange: make autoroad, 'normal' road building and 'normal' rail building all react the same on CTRL as autorail. 17 years ago
rubidium ccf610e13c (svn r11454) -Fix: the CHANCE16 functions were biased; a 32768 in 65536 chance was really a 32769 in 65536 chance. 17 years ago
glx 76d9c20f01 (svn r11453) -Fix (r11450): unrevert r11239, as we now need it 17 years ago
rubidium 09906e3de2 (svn r11452) -Change: do not allow configuration changes, that NewGRFs can directly use to change their behaviour, during network games as this can cause desyncs. 17 years ago
rubidium 004fe26a27 (svn r11451) -Fix [FS#1287]: very fast aircraft would sometimes abruptly stop at the begin of the landing runway, turn a few times and then drive slowly to the end of the runway. 17 years ago
glx 4c4ea8cfdf (svn r11450) -Fix [FS#1432](r8886): cargo translation table was loaded too early 17 years ago
rubidium 2245094822 (svn r11449) -Fix [FS#1160]: trams could deadlock themselves. As of now trams will turn as roadvehicles do when the player cannot build a tram track piece on the next tile without destroying anything. It will not turn when the player can build the before mentioned track piece on the 'next' tile. 17 years ago
belugas 3b9ad8d73f (svn r11447) -Fix(r11433): Wrong offset to the helipad made it look like the autoroad button 17 years ago
skidd13 67c371f3d9 (svn r11446) -Codechange: change the naming of road related code parts to something more descriptive
-Change: invert the two single roads gui buttons, making it consistent with rails toolbar
Based on a patch by Octopussy
17 years ago
miham af17b0b8a0 (svn r11444) -Update: WebTranslator2 update to 2007-11-16 08:21:07
czech      - 1 changed by Hadez (1)
estonian   - 1 fixed by kristjans (1)
french     - 10 changed by glx (10)
italian    - 3 fixed, 1 changed by lorenzodv (4)
japanese   - 1 fixed by ickoonite (1)
slovenian  - 1 fixed by Necrolyte (1)
swedish    - 4 fixed, 4 changed by daishan (8)
17 years ago
glx bad3d28184 (svn r11443) -Fix: [NewGRF] Action 0 <id> is an extended byte 17 years ago
rubidium fbd234d274 (svn r11442) -Feature: make news messages related to the industry (production) changes better configurable; you can now disable news messages popping up for industries you are not servicing. Patch by Alberth. 17 years ago
rubidium 72a59fade2 (svn r11441) -Fix [FS#1443]: manage list dropdown menu did not "disappear" when the all vehicles are removed from the "current" group. 17 years ago
rubidium ecdb16de42 (svn r11440) -Codechange: replace magic numbers with enumified WindowHighlightMode constants. Patch by SmatZ. 17 years ago
rubidium c5a9fd4559 (svn r11439) -Codechange: replace some magic numbers by a ViewportPlaceMethod enumified constant. Patch by SmatZ. 17 years ago
rubidium f3c94c5830 (svn r11438) -Change: do not create shores in canyons. Based on a patch by LeviathNL. 17 years ago
rubidium 59afbb0344 (svn r11437) -Change: when sorting stations by cargo sum, only sum the cargos that are selected in the filter. Patch by divide. 17 years ago
rubidium 5bbb31a896 (svn r11436) -Fix [FS#1439]: Towns would not build roads on slopes. Patch by divide. 17 years ago
rubidium a731bc5812 (svn r11435) -Codechange: show all players who have shares, not just the first two. Patch by SmatZ. 17 years ago
miham 18dacd34e5 (svn r11434) -Fix: fixed a string in finnish (suggested by ln-) 17 years ago
rubidium af0616729a (svn r11433) -Fix: starting OpenTTD with DOS files made it look weird out of the box.
-Change: make extra sprites (the ones not in the TTD GRFs) replaceable using Action 5.
-Feature: make replacing contiguous subsets of sprites in for some types possible in Action 5.
Note to GRF authors: when you replaced OpenTTD sprites that are not from the TTD GRF files using Action A, your GRF will not have the intended result anymore as the sprite numbers have changed. You should replace the Action A with an Action 5 from now on.
17 years ago
glx 9fcf6e7a43 (svn r11431) -Codechange: [NewGRF] Add support for changing rail vehicle user-defined bit mask (prop 25) via callback 36 17 years ago
rubidium a46f502d5f (svn r11430) -Fix (r11421) [FS#1421]: there was still one case that would cause a crash... 17 years ago
glx d4e8889d5f (svn r11429) -Fix (r11129): some TextID to StringID 'translations' didn't follow our format 17 years ago
glx dac5cf2c59 (svn r11428) -Fix: wrong string used for candy/sweets units_volume 17 years ago
belugas fecdeda7b1 (svn r11427) -Fix: Forgot to Truncate the string "Many Random Industries" in the funding industry window. In some languages, it gets drawn outside of the gui. 17 years ago
belugas 1ecb96b2c6 (svn r11426) -Codechange: Just one boolean inversion instead of two 17 years ago
glx df71c4f289 (svn r11425) -Fix [FS#1424]: overriden industries were ignored when mapping newgrf industry type to 'real' industry type 17 years ago
glx de7f58d5d4 (svn r11424) -Fix: an override can be set only once 17 years ago
glx 60ccc5bbce (svn r11423) -Codechange: store grfid when adding an override 17 years ago
rubidium 49b4aa32bb (svn r11422) -Fix [FS#1430]: properly support genders coming from newgrfs instead of crashing. 17 years ago
rubidium 14c092faad (svn r11421) -Fix [FS#1431]: do not use a function that asserts when wrapping around the map's edge when you use the wrapping (and MP_VOID tiles) to determine whether the bridge can be build. 17 years ago
rubidium 2c000f1546 (svn r11420) -Fix [FS#1006]: industry closure news not properly shown when the news item pops up after the industry has been removed from the map. 17 years ago
rubidium abbde80e53 (svn r11419) -Fix [FS#1388]: articulated vehicle breaking up when making a 90 degree turn immediately after a 180 degree turn. 17 years ago
glx 14fe7a9fed (svn r11418) -Fix (r11416): forgot an instance 17 years ago
belugas 8e7111491c (svn r11417) -Fix[FS#1421]: Let the main viewport stay where the vehicle was last seen while been center-followed 17 years ago
belugas 542697a28a (svn r11416) -Fix(r11411): For once, the warnings of MSVC are not useless. Inversion of the two parameters of DoTriggerHouse cause a complain which was legit, in this case 17 years ago
rubidium 1e3e5bf2cf (svn r11415) -Fix [FS#1428]: do not ignore the autorenew settings for new games when creating a new game. 17 years ago
rubidium 084ede9dca (svn r11414) -Fix [FS#1387]: when building a station, even though we already 'know' it in memory, it should still be unknown in the realm of callbacks. 17 years ago
glx 8844bd6cde (svn r11413) -Fix [FS#1405]: don't use cached override spriteset for callbacks 17 years ago
rubidium 02a6debc11 (svn r11412) -Fix (r11403): animation was not turned on properly.
-Fix (r11410): wrong assumption about random reseeds made the whole thing reseed way too often, making the animation look very ugly.
17 years ago
rubidium dcbd2fdfc7 (svn r11411) -Codechange: implement random triggers for houses. 17 years ago
rubidium c1cf9f3396 (svn r11410) -Codechange: implement random triggers for industries. 17 years ago
truelight dd6ef7ad49 (svn r11409) -Update: as of now, I am a retired Developer, so mark me as such 17 years ago
rubidium 75b7ca42ae (svn r11408) -Fix [FS#1422]: do not do a 270 degree turn when 90 degrees is enough on a commuter airport. 17 years ago
truelight 58e5282e38 (svn r11407) -Fix: do not allow building of tram-tracks when they are not available (SmatZ) 17 years ago
rubidium 6e31698150 (svn r11406) -Fix: wrong triggers would be activated on callback 32 for vehicles. 17 years ago
truelight 8725f2b857 (svn r11405) -Fix: in rare cases OpenTTD could segfault when resizing and scroll the main window (Rafal Rzepecki) 17 years ago
belugas 7501144775 (svn r11404) -Codechange: remove 2 magical numbers 17 years ago
rubidium e463f5687d (svn r11403) -Fix: NewIndustries GRF assume that tiles are already animated during construction. 17 years ago
glx df35372b9b (svn r11402) -Fix [FS#1382]: incorrect handling of industry behaviour 'must be in town with population large than 1200' 17 years ago
rubidium 0c3364e241 (svn r11401) -Fix [FS#1391]: make all min functions do exactly the same instead of branching on either < or <=. 17 years ago
rubidium dd4720461b (svn r11400) -Fix [FS#1409]: assign orders during cloning after refitting as it needs the cargo types to be the same. 17 years ago
belugas f26a591e6c (svn r11399) -Feature(ette): transparency settings can now be saved and thus remembered.
-Codechange: Wrap all transparency settings in accessors, hiding the implementation
-Change: Clicking "transparent building" menu will toggle Houses And Trees only.  The other options can be used in the transparency gui.
Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
17 years ago
glx 466193c574 (svn r11398) -Fix [FS#1414]: industry variables 67 and 68 return was incorrect 17 years ago
truelight b02337bbe0 (svn r11397) -Fix r11395: some minor fixes for better town-bridge results (and better comments) (skidd13 / TrueLight) 17 years ago
truelight 42180a8f4e (svn r11396) -Fix: GCC 3.3 doesn't like 'static bool inline', should of course be 'static inline bool' (SmatZ) 17 years ago
truelight 1ebfc21e7a (svn r11395) -Fix: allow town-bridges to be build on slopes (Rafal Rzepecki) 17 years ago
glx 1502373441 (svn r11394) -Fix: default value for input cargo multipliers is 256 even for invalid cargo. Exceptions are temperate banks and oil rigs, default value is 0 for them 17 years ago
belugas 2edf7afa6c (svn r11392) -Codechange: Remove some MSVC warnings by removing boolean typecast that can be avoided by using HASBIT instead.
Although the code is old (r2817), it is the recent changes made in macros.h that brough it up.
17 years ago
rubidium 153cba2ef3 (svn r11391) -Change: print all error messages related to missing/corrupted files in one message including the location where they can get said missing/corrupted files. 17 years ago
truelight 87295922cf (svn r11390) -Fix r11387: AB() was wrong (spotted by Rafal Rzepecki, patch by skidd13) 17 years ago
egladil 4e518e3ceb (svn r11389) -Fix [FS#1386]: Replace calls to deprecated API with newer ones and handle broken iconv declaration in OSX 10.5. 17 years ago
truelight f5024f8c91 (svn r11388) -Fix: postfix ++ returned new value, should (ofcourse) be old value (SmatZ)
-Fix: prefix ++ didn't exist, added it
17 years ago
truelight 5d196f4ac6 (svn r11387) -Codechange: changed many macros.h #defines to static inline functions (patch by skidd13, with a big tnx to SmatZ for profiling!) 17 years ago
miham cfe2fb6f0a (svn r11386) -Update: WebTranslator2 update to 2007-11-05 19:07:09
afrikaans  - 24 changed by TrueTenacity (24)
brazilian_portuguese - 1 fixed by tucalipe (1)
czech      - 1 fixed by Hadez (1)
dutch      - 1 fixed by habell (1)
norwegian_bokmal - 4 fixed, 43 changed by jhsoby (47)
turkish    - 28 fixed by jnmbk (28)
17 years ago
truelight c3c4c894dc (svn r11385) -Fix r11383: bool operation can be hard to translate for some people ;) (tnx fjb for noticing this bug ;)) 17 years ago
glx 7131f6262d (svn r11384) -Fix: second and third accepted cargo were inverted in original industry tiles 17 years ago
truelight b935a74782 (svn r11383) -Codechange: fixed all the mess around KillFirstBit (tnx to Rubidium and skidd13) 17 years ago
truelight f1df43ec21 (svn r11382) -Codechange: renamed COUNTBITS to CountBits, as it is no longer a macro (skidd13) 17 years ago
glx 74ee13aba8 (svn r11381) -Fix [FS#1227]: redo the fix in a less breaking way 17 years ago
glx 354fdbc0c9 (svn r11380) -Revert (r11191, r11196): it worked, but broke cargo loading 17 years ago
truelight cd7310ce54 (svn r11379) -Fix r11378: KillFirstBit2x64 accepts and returns unsigned variables, not signed, so enforce that a bit 17 years ago
truelight adc4ab5540 (svn r11378) -Codechange: optimize KillFirstBit2x64 (skidd13) 17 years ago
truelight e983210f5e (svn r11377) -Codechange: some more strictness in macros.h (skidd13) 17 years ago
rubidium e3134d6e2b (svn r11376) -Fix: fill the town a oil rig is associated with before creating the name, otherwise every oil rig will become "<TOWN> Oilrig" which effectively means that there can be several oil rigs with exactly the same name. 17 years ago
rubidium 464ee0a02a (svn r11375) -Fix [FS#1397]: the industry recolour map was always applied when recolouring was turned on, instead of only applying it when the colour translation is '0'. 17 years ago
belugas e2c0f1faf7 (svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
17 years ago
rubidium c871dc1dd5 (svn r11373) -Fix [FS#1398]: do not even think about building disabled industries. 17 years ago
glx 073290021b (svn r11372) -Fix [FS#1394]: don't stop on first invalid cargo type when displaying industry acceptance 17 years ago
rubidium 0b7de36eb2 (svn r11371) -Fix [FS#1396]: the industry protection only kicked in when it should not kick in. 17 years ago
rubidium 5a9e2f8d82 (svn r11370) -Fix [FS1384]: manually replacing a vehicle with shared orders makes it lose it's order index and service interval. Patch by jthill. 17 years ago
truelight 19d13f90b3 (svn r11369) -Codechange [FS#1390]: changes some int to int8 in macros.h, as they describe a bit-position, which fits perfectly in an int8 (max 64) (skidd13)
-Codechange [FS#1390]: added consts in macros.h functions, so compilers can optimise better (skidd13)
-Codechange [FS#1390]: remove HAS_SINGLE_BIT, as COUNTBITS does the same (skidd13)
17 years ago
miham 73e2785724 (svn r11368) -Update: WebTranslator2 update to 2007-11-01 16:56:10
afrikaans  - 9 fixed, 1 changed by TrueTenacity (10)
brazilian_portuguese - 1 fixed by fukumori (1)
catalan    - 1 fixed by arnaullv (1)
croatian   - 1 fixed by knovak (1)
french     - 1 fixed by glx (1)
slovak     - 1 fixed by lengyel (1)
ukrainian  - 1 fixed by mad (1)
17 years ago
rubidium f7cc8872f8 (svn r11367) -Fix [FS#1258]: non-articulated road vehicles should be able to overtake (not-too-long) articulated vehicles, i.e. overtaking of articulated vehicles that are several (3+) tiles long is not supported. 17 years ago
rubidium f88f2dbdc0 (svn r11366) -Fix [FS#1258]: road vehicles must not drive through eachother on bridges/in tunnels. 17 years ago
rubidium fd14bd68f7 (svn r11365) -Fix [FS#1288]: when stopping a ship or aircraft, set their speed to 0 so they won't continue at the speed where they were stopped at. 17 years ago
glx 2bba7e860e (svn r11364) -Fix (r11363): compilation broken 17 years ago
belugas f24e92c175 (svn r11363) -Codechange: Remove some magical numbers 17 years ago
rubidium f9079240bd (svn r11362) -Fix [FS#1380]: cloning vehicles with non-standard sub-cargotypes (i.e. livery refits) failed. 17 years ago
miham 3c0356de17 (svn r11361) -Update: WebTranslator2 update to 2007-10-30 19:53:53
afrikaans  - 211 fixed, 22 changed by TrueTenacity (233)
brazilian_portuguese - 2 fixed by fukumori (2)
bulgarian  - 3 fixed by thetitan (3)
catalan    - 3 fixed, 1 changed by arnaullv (4)
croatian   - 49 fixed by knovak (49)
czech      - 51 fixed by Hadez (51)
danish     - 55 fixed by ThomasA (55)
dutch      - 2 fixed by habell (2)
estonian   - 52 fixed by t2t2 (7), kristjans (45)
french     - 2 fixed by Skiper (2)
german     - 56 fixed by moewe2 (56)
italian    - 3 fixed, 1 changed by lorenzodv (4)
japanese   - 56 fixed by ickoonite (56)
latvian    - 38 fixed by Gustavo (38)
norwegian_nynorsk - 56 fixed by pollux (56)
romanian   - 55 fixed, 3 changed by CrystyB (16), kneekoo (42)
russian    - 3 fixed by Smoky555 (3)
slovak     - 2 fixed, 4 changed by lengyel (6)
slovenian  - 3 fixed by Necrolyte (3)
spanish    - 4 fixed by eusebio (4)
traditional_chinese - 55 fixed by xbddc (55)
ukrainian  - 3 fixed, 10 changed by fevral13 (3), mad (10)
17 years ago
rubidium 435bc80e71 (svn r11360) -Fix [FS#1375]: do not crash when trying to "draw" an invalid string, just draw a message saying it is invalid. 17 years ago
rubidium 909e292223 (svn r11359) -Fix [FS#1381]: shared timetables were not properly refreshed with autofill. 17 years ago
rubidium 50d51e83bb (svn r11358) -Fix: condition types 0x0B and 0x0C are also valid for variable 0x88 in action 7/9. 17 years ago
truelight 9cf6fe8bca (svn r11357) -Fix: NetworkUniqueID could be 80 chars, while the max size we generate is 32. So reduce the size a bit. Pointed out by dihedral, so give him a big hug ;) 17 years ago
glx 3d150b6230 (svn r11356) -Fix (r11305): funding industries in MP game was causing desync 17 years ago
rubidium 3722b834ef (svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled gracefully causing crashes and such. 17 years ago
rubidium 840de103d1 (svn r11354) -Codechange [FS#1379]: one variable wasn't freed whereas all others were. It's not causing any problems as it happens during the shutdown of OpenTTD. So basically it is only for consistency. 17 years ago
glx 7e769d3286 (svn r11353) -Codechange: add support for newgrf callback 32 17 years ago
glx 6120d02751 (svn r11352) -Codechange: cache callback 2D result (vehicle color mapping) instead calling it every time the vehicle is drawn 17 years ago
bjarni e6116d11b8 (svn r11351) -Fix (r11342): [OSX] killed a warning 17 years ago
rubidium 31141bd6bd (svn r11350) -Change: add missing elrail sprites for some rail build buttons/cursors. Sprites by skidd13. 17 years ago
rubidium 4e822be109 (svn r11349) -Fix [FS#1372]: crash when moving "invalid" cargo to a station. 17 years ago
bjarni 5c3b19ec89 (svn r11348) -Fix (r11049): [OSX] killed a warning (don't ask why only OSX showed this one) 17 years ago
belugas 17df5bdf72 (svn r11347) -Codechange: use marker loaded grf feature has_newwater when it is required. (more to come) 17 years ago
belugas b604d40584 (svn r11346) -Codechange: Add marker has_newwater to the loaded grf features. Not in used yet. 17 years ago
belugas 7ebb45468f (svn r11345) -Cleanup: a bit of comment style fixing 17 years ago
belugas 7c12871401 (svn r11344) -Codechange: Removes some magic numbers referring the highlighting mode in road_gui.cpp
Some typos fixed too.(FS#1371-skidd13)
17 years ago
belugas c9858e35db (svn r11343) -Fix[FS#1368]: Autoslope did not work correctly for single track on higher part of steep slopes. (frosch) 17 years ago
egladil a1c3d51f7f (svn r11342) -Fix: [OSX] The cocoa driver incorrectly assumed that the blitter always was 8bpp. Now both 8bpp and 32bpp blitters can be used. The driver will check the blitter screen depth. In fullscreen it will select a proper video mode for this depth, and in windowed mode it will simply skip doing fake 8bpp. 17 years ago
glx 08503f5ba5 (svn r11341) -Codechange: add missing callback ID enums, add stub for house property 20 and reorder unimplemented action 0 properties 17 years ago
belugas 5da0e87d9d (svn r11340) -Fix[FS#1362]: Newindustries can provide no production at start. So the Modifying Production cheat was a bit puzzled on how to deal with it. This will help a bit. 17 years ago
rubidium 3a785b000a (svn r11339) -Add: autoroad; same as autorail, but for road and trams and only on X and Y direction. Patch by Octopussy and skidd13. 17 years ago
rubidium 00161bf9aa (svn r11338) -Fix [FS#1359]: water tiles not at sealevel (i.e. canals) should not be owned by water as that signals normal water. 17 years ago
miham 75a9fbc72a (svn r11337) -Update: WebTranslator2 update to 2007-10-22 15:25:18
afrikaans  - 128 fixed, 35 changed by TrueTenacity (163)
bulgarian  - 2 fixed by thetitan (2)
dutch      - 1 fixed by habell (1)
french     - 1 fixed by glx (1)
italian    - 1 fixed by lorenzodv (1)
slovak     - 1 fixed by lengyel (1)
ukrainian  - 39 fixed by mad (39)
17 years ago
maedhros 5712da734f (svn r11333) -Fix: Train engines still had a value of 0. 17 years ago
rubidium b4e7203b0a (svn r11332) -Fix: vehicles getting a value of 0 on construction.
-Fix: assertion when selling vehicles.
17 years ago
rubidium 9a0d2de5cf (svn r11331) -Fix: do not misuse CommandCost for overflow safe stuff as Money supports that now too. 17 years ago
rubidium fcce47172d (svn r11330) -Add: OTTD version checking for NewGRFs. This allows NewGRFs to do something different for different versions of OpenTTD, like disabling it for too low versions or loading different graphics. 17 years ago