Commit Graph

2588 Commits (fa1f94e599c317c234ed07f18adbddd527b86470)

Author SHA1 Message Date
smatz f02cf9281b (svn r11760) -Codechange: unify the way how other end of a tunnel/bridge is determined at some places
-Fix: adding road/tram to tram/road bridge was cheaper by one tile
17 years ago
peter1138 aefb86d7fe (svn r11759) -Feature: Add drag-n-drop support to the raise/lower land tools. Land is raised/lowered at the start and the rest of the area levelled to match. Patch by Roujin. 17 years ago
peter1138 89fa5dc142 (svn r11758) -Fix(ette): Populate 'void' cargo slots (unused slots in temperate and arctic) with default data as per pre-newcargo support. These slots are still disabled by default, but some NewGRFs (erroneously?) expect the default data. 17 years ago
belugas a021159e4e (svn r11757) -Fix(r11727): Don't use a function's default parameter when the value can be (more adequately, even better) computed from another source.
Thanks peter1138.
17 years ago
peter1138 cb0e80fcb3 (svn r11756) -Fix: Out of bounds access caused if a vehicle's cargo amount was higher than its capacity when resolving sprite groups. 17 years ago
peter1138 7f4a03d073 (svn r11755) -Fix: Debug level string buffer was not long enough to contain all debug levels. 17 years ago
belugas bd9741e086 (svn r11754) -Fix(r11753): One too much command separator (;). Thanks glx for spotting 17 years ago
belugas bed549f4be (svn r11753) -Codechange: re-indent the switch case structures, as to be more code style oriented.
Hoping it makes the whole file easier to follow/read
17 years ago
belugas 975300be97 (svn r11752) -Fix(r11745): Silence a MSVC warning (glx) 17 years ago
belugas 1347ffa8cf (svn r11751) -Codechange: Enumify some widgets (and others) and while at it, apply some code style 17 years ago
glx bf57e3d868 (svn r11750) -Revert (r11749): commited too much 17 years ago
glx e9a35fd75d (svn r11749) -Fix (r11352): when a bankrupted company is bought, reset vehicle color mapping so the vehicles use the new owner color 17 years ago
belugas 87a68bd80f (svn r11748) -Codechange: Remove magic numbers introduced on r11746 and r11727
-Codechange: A few bad coding style inadvertendly applied too
17 years ago
belugas f8925b6faa (svn r11747) -Change: Return of the prodigal son (or something). Little update (but highly noticed) on the OpenTTD Team 17 years ago
belugas a7ac4f656c (svn r11746) -Fix(r11727): Make sure that action 0A does follow the same new ordering of shore sprites. It was not considered in the missing shore patch 17 years ago
skidd13 7b6bfa5fc4 (svn r11745) -Codechange: Unify the spinner widget drawing of the difficulty settings window and make its disabled state min max aware. 17 years ago
glx 3265ed1b70 (svn r11744) -Codechange: don't redefine snprintf when using MinGW Runtime 3.14 or superior, as it now have snprintf() and vsnprintf conform to C99 17 years ago
rubidium 8e0f02d840 (svn r11743) -Fix [FS#1614]: group names got not deallocated in the command test run. 17 years ago
peter1138 890296c125 (svn r11742) -Codechange [FS#1319]: Run window tick events when paused, so that news pop-ups and the about window still progress. For other windows the events are ignored when paused. 17 years ago
peter1138 5c23778065 (svn r11741) -Feature: Add support for NewGRF's train 'tilt' flag. Trains with tilt capability (specific details are per NewGRF set) will be given a 20% speed limit bonus on curves. 17 years ago
egladil 29812e604f (svn r11740) -Fix [FS#1610]: Modify and possibly discard key events for code points in the unicode private use area. 17 years ago
peter1138 a63359573f (svn r11739) -Fix [FS#1609]: Set the new scroll position after zooming in instead of before, as the zoom will cancel it out. 17 years ago
peter1138 c96fcfc21b (svn r11738) -Codechange: Refactor realistic acceleration's curve counting to use DirDiffs instead of local tables, and remove an unnecessary loop. 17 years ago
peter1138 4ceaf51ff0 (svn r11737) -Fix: Reinstate NewGRF-specified engine list order in autoreplace window. 17 years ago
miham 1cabfce2b0 (svn r11736) -Update: WebTranslator2 update to 2008-01-01 17:42:54
catalan    - 1 fixed by arnaullv (1)
german     - 4 fixed by chu (4)
hungarian  - 23 fixed by miham (23)
romanian   - 17 fixed, 2 changed by kneekoo (19)
slovenian  - 1 fixed by Necrolyte (1)
17 years ago
peter1138 96d09cfae9 (svn r11735) -Fix [FS#1574]: Don't reset loading indicator IDs when only reloading NewGRFs. 17 years ago
belugas 61285721a4 (svn r11734) -Change: Allow ToggleFullScreen to return the result of the operation' attempt. Previously, only visual clues were available.
-Fix[FS#1519]: When you can not use this resolution at full screen, now you'll know that it failed.
As for the reason it did not work, each computer/OS has its reason.
17 years ago
peter1138 e5f50b6fde (svn r11733) -Fix: Max speed for entering stations overrode the max speed of curves 17 years ago
peter1138 a1b482973d (svn r11732) -Fix (r4150): elrail merge gave elrail, monorail & maglev unintended speed bonuses for curves, as the bonus was based on the railtype index. The bonus is now specified by a property of the railtype. 17 years ago
peter1138 2194b15fdd (svn r11731) -Fix [FS#1582]: Clear sprite override data before performing NewGRF wagon attach callback. This stopped
the callback working for autoreplace and when moving wagons from train to train in a depot.
-Fix (r11724): Don't check wagon attach callback for the chain when moving a single wagon.
17 years ago
miham 90e5041ce1 (svn r11730) -Update: WebTranslator2 update to 2007-12-31 19:55:44
catalan    - 1 fixed by arnaullv (1)
dutch      - 1 fixed by webfreakz (1)
estonian   - 1 fixed by kristjans (1)
french     - 1 fixed by glx (1)
german     - 27 fixed by moewe2 (27)
hungarian  - 21 fixed by miham (21)
italian    - 1 fixed by lorenzodv (1)
japanese   - 1 fixed by ickoonite (1)
korean     - 1 fixed by leejaeuk5 (1)
norwegian_bokmal - 23 fixed by jhsoby (23)
polish     - 2 fixed by meush (2)
portuguese - 96 fixed, 7 changed by nars (103)
slovak     - 1 fixed by lengyel (1)
spanish    - 12 fixed by eusebio (12)
swedish    - 13 fixed by ChrillDeVille (13)
turkish    - 14 fixed by jnmbk (14)
17 years ago
peter1138 b48e2e178f (svn r11729) -Codechange: Don't rely on the first railtype's sprite offset being zero when drawing road stations. 17 years ago
rubidium fa0d8d352d (svn r11728) -Fix [FS#1577]: if there are no houses that can be build in a specific year yet, force the houses with the earliest introduction year to be available. 17 years ago
belugas 361b12eff0 (svn r11726) -Feature[newGRF]: Extend the Action 5, feature 0D usage. Patch by BigBB 17 years ago
belugas cd91fe9351 (svn r11725) -Codechange: less a magical number 17 years ago
rubidium fe71089b0e (svn r11724) -Fix: make it impossible (for users) to circumvent the length checking of the NewGRF 'allow wagon attach' callback by moving several wagons at a time. 17 years ago
skidd13 54edc19b19 (svn r11723) -Feature: add initial support for Intel C Compiler on linux
-Codechange: silence a few warnings of ICC
17 years ago
glx 64c4d926c2 (svn r11722) -Fix (r11703): invalid plural form 17 years ago
rubidium 50b6804b3b (svn r11721) -Fix: do not disable NewGRFs for 'eternity' during games. 17 years ago
peter1138 6da72ec156 (svn r11720) -Codechange: [NewGRF] Add support for bit 30 of station tile layouts; forcing a sprite to always be opaque. 17 years ago
rubidium 445a733eb6 (svn r11719) -Codechange: split sound.h in a header with types and one with functions. 17 years ago
egladil bb45f46355 (svn r11718) -Fix [FS#1483]: Show the fullscreen modes available to the cocoa driver in windowed mode too. 17 years ago
smatz 13ffc5b581 (svn r11717) -Fix [FS#1590]: make sure invalid players have all shares owned by PLAYER_SPECTATOR 17 years ago
glx 40b5641eb4 (svn r11716) -Fix [FS#1561]: don't put more than one Random() in function calls because parameter evaluation order is not guaranteed in the c++ standard (can lead to desyncs) 17 years ago
smatz f0db66a243 (svn r11715) -Fix: do not use GetTrackBits() for depots and waypoints while converting railtype 17 years ago
belugas 1b76c8bb67 (svn r11714) -Fix[FS#1569]: Do not allow player inauguration date on scenarios to be bigger than current year.
This will not (yet) be true if you are loading a scenario with the "-g" command line option.
17 years ago
belugas db45093f7b (svn r11713) -Codechange: Move some declarations and definitions in a more logical disposition 17 years ago
maedhros ad061e6d60 (svn r11712) -Fix (r9315): Add more house string id ranges to MapGRFStringID so NewGRFs use the proper string ids. 17 years ago
belugas 716ef17757 (svn r11711) -Codechange: Name the Save Load Dialog Mode enum 17 years ago
bjarni 2c62136ace (svn r11710) -Feature: [build vehicles windows] added sorting for cost, running costs and speed to road vehicles and ships build windows 17 years ago
egladil fc3312d8a3 (svn r11708) -Fix [FS#1598]: Removed include of variables.h as it was no longer needed and caused compilation to fail. 17 years ago
smatz c10d3da133 (svn r11707) -Fix: do not allow refitting flooded (destroyed) vehicles 17 years ago
rubidium 722613f7f3 (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. 17 years ago
smatz ae3206cd97 (svn r11705) -Fix [FS#1557]: trains could have sprites with wrong direction when reversing, also was inconsistent with save/load process (possible desyncs) 17 years ago
rubidium 7f037d15d7 (svn r11704) -Codechange: remove another bunch of useless includes. 17 years ago
miham 8b726c2f4a (svn r11703) -Update: WebTranslator2 update to 2007-12-26 17:33:24
estonian   - 16 changed by kristjans (16)
polish     - 94 fixed, 6 changed by meush (100)
russian    - 22 fixed by Smoky555 (22)
spanish    - 11 fixed by eusebio (11)
traditional_chinese - 25 fixed, 4 changed by xbddc (29)
17 years ago
rubidium db73addb43 (svn r11702) -Codechange: move all date related stuff to date*. 17 years ago
rubidium f82aeb82c5 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 17 years ago
rubidium 7058b2cce2 (svn r11700) -Codechange: reduce the amount of unnecessary includes. 17 years ago
skidd13 bdf4cf6b19 (svn r11698) -Change: Make the abort/accept process of the difficulty window a bit less confusing
-Change: Make the highscore button in the difficulty window a bit more obvious
-Codechange: Enumify the window-widgets of the difficulty window
17 years ago
rubidium d821e5e92b (svn r11697) -Fix [FS#1585]: strgen did not (always) compile properly. 17 years ago
skidd13 7bcc4d28e1 (svn r11695) -Codechange: Converted the md5 algorithm to OOP
-Codechange: Adapt the md5 algorithm to the OpenTTD source
17 years ago
rubidium 851f19b341 (svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp. 17 years ago
rubidium 81bf9f8503 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 17 years ago
rubidium 00c9d3ef20 (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. 17 years ago
egladil 15c1af0517 (svn r11690) -Fix: Since indices into the patch array is sent over the network having conditionally compiled entries in the table can cause desyncs. Moving them to the end will hide this issue, but it should really be solved in a better way. 17 years ago
smatz 9060dbdb04 (svn r11689) -Fix: compilation error and most of warnings for gcc 4.3 17 years ago
egladil 217539ee24 (svn r11688) -Fix [FS#1581]: Compilation was broken on OS X again. 17 years ago
skidd13 fec9cd587c (svn r11687) -Codechange: move some defines to a better place 17 years ago
glx 43f03dff68 (svn r11686) -Fix (r11684): win32 compilation was broken again :) 17 years ago
rubidium 20ecff81b0 (svn r11685) -Codechange: remove a few 'useless' includes. 17 years ago
rubidium 507463e420 (svn r11684) -Codechange: split gfx.h in a type and functional header. 17 years ago
belugas a3693160cf (svn r11683) -Fix(r11682): win32.cpp still requires gfx.h inclusion, at least for now. 17 years ago
rubidium 1f6043458c (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type. 17 years ago
rubidium f9c26f80c5 (svn r11681) -Fix (r11674): hopefully fix the compile error on big endian machines. 17 years ago
rubidium 3074bca136 (svn r11680) -Codechange: refactor more out of openttd.h and functions.h. 17 years ago
glx 4fc66235cb (svn r11679) -Add: [newgrf] support for station vars 67 and 68 17 years ago
bjarni c32c07e238 (svn r11678) -Fix (r11674): [OSX] fixed compilation 17 years ago
rubidium 766551b0bc (svn r11677) -Codechange: move price and command related types/functions to their respective places. 17 years ago
glx a122971ae2 (svn r11676) -Fix (r11674): some references to macros.h were left 17 years ago
rubidium 8427b8bad2 (svn r11675) -Codechange: split the string types from the string functions. 17 years ago
rubidium 8ebdfb258f (svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations. 17 years ago
rubidium 60c82d0f8c (svn r11673) -Codechange: move the overflow safe type to a separate file. 17 years ago
rubidium c201bc35f0 (svn r11672) -Codechange: refactor some stuff out of gui.h. 17 years ago
smatz 33c86f83e2 (svn r11671) -Fix: sometimes a vehicle was selected in the vehicle list when it was opened 17 years ago
smatz 0e727b8e63 (svn r11670) -Feature [FS#1565]: list neutral stations where the player has service in the station list too 17 years ago
rubidium be923601bf (svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h 17 years ago
rubidium 2cf7d5b2cb (svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found. 17 years ago
rubidium 8bfbfd0031 (svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps. 17 years ago
glx 41e8396f57 (svn r11666) -Fix (r11504): when removing buoys, return to water or canal depending on their owner 17 years ago
belugas 0223de5442 (svn r11665) -Fix: Animation informations should not be copied from original industry tile spec, while doing an action 00, industry tile, prop 08.
Fix directly inspired by Csaboka
17 years ago
rubidium 818a23e7f2 (svn r11664) -Codechange: use more specific ("rail_type.h" instead of "rail.h" that includes way more than only "rail_type.h") includes at some places. 17 years ago
rubidium efc18e8ab3 (svn r11663) -Codechange: moving of the road related types and functions. 17 years ago
rubidium 2e2d76f445 (svn r11662) -Codechange: move some rail types/related functions around. 17 years ago
rubidium 0995194162 (svn r11661) -Codechange: some header reworks in order to try to reduce the compile time of OpenTTD by reduce the amount of circular-ish dependencies. 17 years ago
miham 962f6361ff (svn r11660) -Change: english -> english (uk), english_us ->english (us) 17 years ago
smatz 31765f0dfe (svn r11659) -Fix [FS#1563]: do not allow modifying non-uniform stations when non-uniform stations are disabled 17 years ago
smatz 531651293e (svn r11657) -Fix: show better error message when trying to convert rail
-Codechange: merge DoConvert functions into one, make test and exec runs the same for tunnels/bridges
17 years ago
smatz 8d91abdfe3 (svn r11656) -Codechange: add ZOOM_LVL_BEGIN and postfix operators so ZoomLevel can be used in some iterations 17 years ago
miham 89e49e5e95 (svn r11655) -Update: WebTranslator2 update to 2007-12-17 20:16:03
danish     - 22 fixed by ThomasA (22)
estonian   - 18 fixed, 47 changed by kristjans (65)
italian    - 4 changed by lorenzodv (4)
norwegian_nynorsk - 20 fixed by pollux (20)
17 years ago