Commit Graph

2371 Commits (dd68a34e263bcb7122d872e21af291098597b75b)

Author SHA1 Message Date
maedhros 8e273e0f88 (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 71c10f7df7 (svn r11527) -Codechange: Split the bitmath functions of to their own files 17 years ago
skidd13 734b22e070 (svn r11526) -Codechange: Rename the function delta fitting to the naming style 17 years ago
rubidium d736a04b59 (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 77b6a2674e (svn r11524) -Fix [FS#1485]: assertion when tram reversed at a station. 17 years ago
skidd13 bdc7fd2d76 (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 2bf2be987d (svn r11522) -Fix: The scrollbar of the network gui could run out of bounds 17 years ago
egladil 1d5010edf9 (svn r11521) -Codechange: [OSX] Check what the running os version is in a cleaner way. 17 years ago
egladil 9aaa455e5d (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 d061d985d6 (svn r11519) -Codechange: enumerization and cleanup of NetworkLobbyWindow in network_gui.cpp 17 years ago
smatz 2cd25ed2ca (svn r11518) -Codechange: enforce (by assert) unused parameters of widgets to be zero. Better readability of DrawWindowWidgets(), too 17 years ago
smatz 72eb6ae278 (svn r11517) -Codechange: better cleanup of NetworkStartServerWindow in network_gui.cpp 17 years ago
smatz a62e07b08e (svn r11516) -Codechange: cleanup of NetworkGameWindow in network_gui.cpp 17 years ago
smatz 5dfead8b5c (svn r11515) -Codechange: cleanup of NetworkStartServerWindow in network_gui.cpp 17 years ago
rubidium bd8bf99139 (svn r11514) -Change: implement the automatic multiplier handler for NewGRF industries. 17 years ago
smatz cbd1c05218 (svn r11513) -Codechange: enumerize some depot GUI actions 17 years ago
rubidium 6cf5e4cf05 (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 f27acfdf78 (svn r11511) -Revert parts of r11505: forgot that CTRL might be used for other features, like adjacent stations or signals. 17 years ago
skidd13 bf959f926f (svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style 17 years ago
rubidium 64246a2775 (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 fcbfba1e17 (svn r11508) -Cleanup: Removed unused headers from the cocoa video driver. 17 years ago
rubidium 221e9271c5 (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 9a70ec1cb2 (svn r11506) -Fix [FS#1471]: selling vehicles could cause the window of others to scroll to that location. 17 years ago
rubidium 81c7ba42af (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 ea072322fa (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 c8add52504 (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 2e0dd78ccf (svn r11501) -Fix: [OSX] This remedies a problem with right click scrolling that was introduced in r11492. 17 years ago
belugas 536be43411 (svn r11500) -Codechange: Smooth economy fine-tuning, making industries more responsive. Patch by Sirkoz. 17 years ago
glx ee81e00082 (svn r11499) -Fix (r11144): mul/div factor were wrong (off by two) 17 years ago
egladil 2ebf50e421 (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 9d3cc5b271 (svn r11495) -Fix (r11493): some compilers fail to show warnings when they should. 17 years ago
glx b979995795 (svn r11494) -Fix [FS#1461] (r11450): cargo translation table was now loaded too late ;) 17 years ago
rubidium 64a4ac3444 (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 3ad488e98f (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 2653d94bcb (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 737aec4db6 (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 1d56af1d33 (svn r11489) -Fix r11488: Somehow the code was added multiple times 17 years ago
skidd13 83601671c7 (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 d53bfd8f2f (svn r11487) -Fix (r11435): move the list of vehicles a bit higher in the player GUI 17 years ago
glx b168ae34be (svn r11486) -Fix [FS#1457]: industry count was wrong in smallmap 17 years ago
skidd13 a91c2a4c39 (svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 eeaa348f8b (svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 b8885630aa (svn r11483) -Codechange: Replace codeparts with functions that do the same to increase readability 17 years ago
skidd13 5c31a973a1 (svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 71c4325c50 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 17 years ago
skidd13 58bb5c7525 (svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style
This fixes also FS#1450
17 years ago
skidd13 d076ea8697 (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 e815dae3c6 (svn r11478) -Fix: two small layout issues with the vehicle grouping GUI. 17 years ago
rubidium a4df4728fc (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 50bfe1a19d (svn r11476) -Codechange: rename the function myabs to abs to get rid of an unneeded define 17 years ago
skidd13 8be526e499 (svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style 17 years ago
belugas 006acff183 (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 fb0674ee2b (svn r11473) -Codechange: Replace two more instances of widget/smalltype numbers by enum(-a) values 17 years ago
belugas 51bb4a9dc8 (svn r11472) -Codechange: Give enuma for both the widget numbers and the used smallmap currently used type 17 years ago
smatz 2686901d84 (svn r11471) -Codechange: one more variable retyped to enum ViewportHighlightMode 17 years ago
rubidium e15a5365d1 (svn r11467) -Fix [FS#1450]: OpenBSD has ALIGN already defined, causing compilation failures. 17 years ago
smatz 96d156944f (svn r11466) -Fix (r11339): operator priority problem resulting in problematic autoroad placement in some cases 17 years ago
smatz cd3c16d789 (svn r11465) -Fix: more user-friedly placement in X and Y directions (most noticeable with autoroad) 17 years ago
rubidium 92e0bf68e3 (svn r11464) -Fix: some issue that made OpenTTD on MorphOS seriously unplayable. 17 years ago
rubidium dc81ea6454 (svn r11463) -Fix: some OSes seem not to handle allocating 0 bytes in the same manner as others do. 17 years ago
rubidium b1393d1169 (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 afbd03b49c (svn r11459) -Fix: (r11457) The selection highlight color hasn't been reset 17 years ago
skidd13 9737bf20c0 (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 b48c5a3c92 (svn r11456) -Fix [FS#1412] (r10070): Viewport is bound to its top-left corner 17 years ago
rubidium 5b21a839a9 (svn r11455) -Codechange: make autoroad, 'normal' road building and 'normal' rail building all react the same on CTRL as autorail. 17 years ago
rubidium 80a7a91730 (svn r11454) -Fix: the CHANCE16 functions were biased; a 32768 in 65536 chance was really a 32769 in 65536 chance. 17 years ago
glx 32202be452 (svn r11453) -Fix (r11450): unrevert r11239, as we now need it 17 years ago
rubidium 7305a1f1fe (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 2e8d37dcdf (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 f22ed6f85e (svn r11450) -Fix [FS#1432](r8886): cargo translation table was loaded too early 17 years ago
rubidium ef6c4c1cdf (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 8b86e9b14d (svn r11447) -Fix(r11433): Wrong offset to the helipad made it look like the autoroad button 17 years ago
skidd13 9b4252bd62 (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 6043f91760 (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 0b4df07f27 (svn r11443) -Fix: [NewGRF] Action 0 <id> is an extended byte 17 years ago
rubidium 4dcd71038d (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 70c7a44a4d (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 dace4686c0 (svn r11440) -Codechange: replace magic numbers with enumified WindowHighlightMode constants. Patch by SmatZ. 17 years ago
rubidium 59a6e40ed2 (svn r11439) -Codechange: replace some magic numbers by a ViewportPlaceMethod enumified constant. Patch by SmatZ. 17 years ago
rubidium 7faec2f54d (svn r11438) -Change: do not create shores in canyons. Based on a patch by LeviathNL. 17 years ago
rubidium 7f780cbabf (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 53e811ff29 (svn r11436) -Fix [FS#1439]: Towns would not build roads on slopes. Patch by divide. 17 years ago
rubidium 56b1317e70 (svn r11435) -Codechange: show all players who have shares, not just the first two. Patch by SmatZ. 17 years ago
miham 72542b1bce (svn r11434) -Fix: fixed a string in finnish (suggested by ln-) 17 years ago
rubidium f546de602b (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 f28723830f (svn r11431) -Codechange: [NewGRF] Add support for changing rail vehicle user-defined bit mask (prop 25) via callback 36 17 years ago
rubidium f0915957d4 (svn r11430) -Fix (r11421) [FS#1421]: there was still one case that would cause a crash... 17 years ago
glx 9c94aae30f (svn r11429) -Fix (r11129): some TextID to StringID 'translations' didn't follow our format 17 years ago
glx a6a7b905af (svn r11428) -Fix: wrong string used for candy/sweets units_volume 17 years ago
belugas a0d0dcb78d (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 7d9d4e789b (svn r11426) -Codechange: Just one boolean inversion instead of two 17 years ago
glx de47054936 (svn r11425) -Fix [FS#1424]: overriden industries were ignored when mapping newgrf industry type to 'real' industry type 17 years ago
glx 9cee4e91cb (svn r11424) -Fix: an override can be set only once 17 years ago
glx de4e9cdc9c (svn r11423) -Codechange: store grfid when adding an override 17 years ago
rubidium eb47b106ac (svn r11422) -Fix [FS#1430]: properly support genders coming from newgrfs instead of crashing. 17 years ago
rubidium 8752519896 (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 9d85d9d41f (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 04925c3f12 (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 0660d2a3d6 (svn r11418) -Fix (r11416): forgot an instance 17 years ago
belugas 2571f02594 (svn r11417) -Fix[FS#1421]: Let the main viewport stay where the vehicle was last seen while been center-followed 17 years ago