rubidium
c7f9705e4a
(svn r11857) -Fix: some compile time warnings.
17 years ago
glx
d4e8ffd7b3
(svn r11856) -Revert (r11772): since FS#1335 is solved, we do not need the extra checking and such anymore.
17 years ago
glx
8344327a91
(svn r11855) -Fix [FS#1335]: recompute town population when removing a 'newhouses' grf, or when loading a game with missing 'newhouses' grfs
17 years ago
peter1138
6fa0463d79
(svn r11854) -Fix (r11848): Nightly build farm showed up more compiler warnings... c++ is fun
17 years ago
miham
ccd557fa54
(svn r11852) -Update: WebTranslator2 update to 2008-01-14 21:05:38
...
brazilian_portuguese - 36 changed by fukumori (36)
korean - 1 fixed by leejaeuk5 (1)
piglatin - 20 fixed by adammw (20)
portuguese - 1 fixed by nars (1)
17 years ago
belugas
e91e9d9b4e
(svn r11851) -Codechange: A few magic numbers removal, plus a little code style
17 years ago
peter1138
85e49e6290
(svn r11849) -Fix (r11848): Incomplete(?) class broke MSVC/mingw compilation
17 years ago
peter1138
1fa2285327
(svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed.
17 years ago
smatz
c6de18c3db
(svn r11847) -Fix: do not affect the speed a train is entering a depot by trackbits behind it
17 years ago
peter1138
7475bf20ec
(svn r11846) -Fix [FS#1651]: implicit conversion from unsigned to signed int caused compilation failure with MSVC.
17 years ago
smatz
a9f69f387d
(svn r11845) -Codechange: simplify train collision detection a bit
17 years ago
glx
88e16866bc
(svn r11844) -Fix: road vehicle count was incorrect in network lobby window
17 years ago
smatz
b3bf60000e
(svn r11843) -Fix: mark dirty canal tile even in diagonal direction from flooded tile
17 years ago
rubidium
f57ab9f99f
(svn r11842) -Fix: libtimidity.cpp did not compile anymore.
17 years ago
glx
b1951ac447
(svn r11841) -Fix: win32 compilation
17 years ago
rubidium
9ac26e1bf1
(svn r11840) -Codechange: split network.h so not everything in there needs to be included when wanting to know whether we are a server.
17 years ago
rubidium
df12937f19
(svn r11839) -Codechange: move some variables from variables.h to a more logical location.
17 years ago
smatz
5d379d6696
(svn r11838) -Fix (r11320): draw correctly canal next to half flooded rail tile
17 years ago
bjarni
adf1e34ead
(svn r11837) -Feature: [OSX] added "/Library/Application Support/OpenTTD" to the search paths (based on patch by pv2b)
...
It is possible to set this to something else setting shared-dir with config
This works on other OSes as well but it's off by default (and not really tested)
17 years ago
bjarni
6c4ebd91ea
(svn r11836) -Fix [r11834]: [OSX] fixed compilation
17 years ago
smatz
b3e28dc5ad
(svn r11835) -Fix: mark depot, viewports, vehicle lists and vehicle details dirty when a train crashes
17 years ago
rubidium
9c0c798dd8
(svn r11834) -Codechange: only include settings_type.h if needed.
17 years ago
rubidium
fafab82a31
(svn r11832) -Codechange: get rid of (quite) some VARDEFs.
17 years ago
smatz
86a6268f3e
(svn r11831) -Fix: call TrainConsistChanged() when removing crashed train part to be consistent with saveload process
17 years ago
rubidium
975f1b4825
(svn r11830) -Fix [FS#1625]: road vehicles would not wait in line, but at a single point on bridges. Based on a patch by SmatZ.
17 years ago
rubidium
0ca79e2fb8
(svn r11829) -Feature: allow reloading openttd.cfg when starting a new game on a dedicated server. Patch by dihedral.
17 years ago
rubidium
90acd52f22
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
17 years ago
rubidium
72c9b35b11
(svn r11827) -Codechange: do not include enum_type.hpp unnecessary.
17 years ago
glx
818979ebe3
(svn r11826) -Fix (r10444): at least one instance of dmusic driver is needed for it to be registered and usable
17 years ago
rubidium
bfa6087e0f
(svn r11825) -Fix (FS#1627): an articulated road vehicle could split up when it turned around at a corner and then would enter a drive through station at the next tile.
17 years ago
peter1138
3fb100c670
(svn r11824) -Fix (r11822): Converting signs from TTD games incomplete
17 years ago
peter1138
4bbe6358d9
(svn r11823) -Fix (r11822): Custom names from old TTD games were not updated.
17 years ago
peter1138
0f7392bd61
(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
...
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
17 years ago
smatz
74f9be8f2c
(svn r11821) -Fix (r11802): 'optimization assert' when removing crashed wagon in some cases
17 years ago
smatz
9c9b743242
(svn r11820) -Fix: invalidate depot window when removing crashed train
17 years ago
smatz
b18b7f6f22
(svn r11819) -Fix: do not access the Vehicle struct that has been already deleted when removing crashed train
17 years ago
rubidium
2fc62eab05
(svn r11818) -Codechange: split player.h into smaller pieces.
17 years ago
peter1138
63cc41cd1c
(svn r11817) -Codechange: Base vehicle group validity on owner, not name.
17 years ago
rubidium
07e0e0a1ff
(svn r11816) -Fix: forgot clearing one byte, causing the passwords to differ slightly on different platforms.
17 years ago
smatz
81b3635c80
(svn r11815) -Codechange (r11802): some compilers were giving a false warning about uninitialized variable
17 years ago
orudge
c4ad3c648b
(svn r11814) -Fix: Get OpenTTD compiling again on OS/2
17 years ago
frosch
7d3ecec5b9
(svn r11813) -Fix [FS#1602]: Switch _screen to the output buffer and disable usage of 32bpp-anim animation buffer during giant screenshots.
17 years ago
smatz
fa1f94e599
(svn r11812) -Codechange: introduce TrainExitDir() to simplify some functions
17 years ago
rubidium
97d6e0e6c0
(svn r11811) -Fix: make compilation without networking work again (and thus move the debugdumpcommand stuff out of the network 'area').
17 years ago
smatz
2ba5bf8947
(svn r11810) -Fix (r11802): reset sets when leaving prematurely
17 years ago
smatz
aa11580621
(svn r11809) -Fix [FS#1643]: set expenses type when selling all vehicles in depot
17 years ago
frosch
49f741aaa3
(svn r11807) -Codechange: Make Action5 handler more upwards- and TTDP-compatible by allowing specifiing more sprites than needed.
17 years ago
glx
fe35fa15e4
(svn r11806) -Fix (r11793) [FS#1638]: sign inversion when updating income and expenses
17 years ago
frosch
9629b26677
(svn r11805) -Fix [FS#1620]: VEHICLE_TRIGGER_EMPTY was triggered continuously while train waiting in station.
17 years ago
belugas
88f11bbfeb
(svn r11804) -Fix(r11797,FS#1636): Industry tiles should receive the same medecine as indstries themselves regarding the resolver's object
17 years ago
peter1138
0645689a87
(svn r11803) -Fix: unlikely but possible infinite loop leading to undefined behaviour
17 years ago
smatz
bc4ed3eafd
(svn r11802) -Fix [FS#716]: do not crash trains when leaving depot to a very long track
...
-Codechange: use dedicated pathfinder for signal updating, resulting in better performance and possible future improvements
17 years ago
rubidium
c004cc1fd9
(svn r11801) -Codechange: remove some unneeded includes from some header files.
17 years ago
rubidium
2d2e1e3863
(svn r11800) -Codechange: move some functions to a more logical location + some type safety.
17 years ago
peter1138
a5101fb403
(svn r11799) -Codechange: no need to special-case helicopter rotor 'overrides'
17 years ago
belugas
1bfe4e0e02
(svn r11798) -Codechange: add comments and give a more representative function's name
17 years ago
belugas
4bbe046499
(svn r11797) -Fix: Add protection against not already created industry while doing industry callback.
...
Some variables used were linked to invalid industry.
17 years ago
glx
8ee8d1b964
(svn r11795) -Fix [FS#1616]: take town rating into account when testing if a command can be executed.
17 years ago
glx
55d8f7ed72
(svn r11794) -Fix [FS#1632]: reversing a train when loading at a station with an adjacent station in the same axis crashed.
17 years ago
rubidium
0365c1f33b
(svn r11793) -Codechange: pass the expense type via the CommandCost instead of a global variable. Patch by Noldo (FS#1114).
17 years ago
rubidium
98b4fa7c07
(svn r11792) -Codechange: move some (virtually) globally included AI related structs to a place where they are only included a few times.
17 years ago
peter1138
323f6e461a
(svn r11791) -Cleanup: move railtype data into table/, like other data files.
17 years ago
rubidium
c42711e360
(svn r11790) -Update: apparantly it's 2008 already ;). Patch by Anne Stellingwerf (FS#1613).
17 years ago
peter1138
0ae26a0312
(svn r11789) -Codechange: coding style for global variable names
17 years ago
rubidium
285a4a106f
(svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed...
17 years ago
rubidium
64d691bacc
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
17 years ago
peter1138
342ad858e5
(svn r11786) -Codechange: shuffle more includes
17 years ago
rubidium
c08bff8931
(svn r11785) -Codechange: remove some unneeded includes.
17 years ago
peter1138
1cabc8eb63
(svn r11784) -Codechange: set up initial engine data in one place
17 years ago
peter1138
7a5c529db4
(svn r11783) -Codechange: compare engine type with its type property, not by its index
17 years ago
peter1138
d2fb6614c6
(svn r11782) -Codechange: e->type was used before being properly initialized (it relied on previous runs) but there is no need to invalidate window data during game load as the windows in question cannot be open.
17 years ago
peter1138
8c7bd8fef4
(svn r11781) -Codechange: variable scope and initialization
17 years ago
peter1138
ba4ab96bcc
(svn r11780) -Codechange: When compiling a dedicated server build, select the dedicated video driver by default.
17 years ago
glx
9e875495bf
(svn r11779) -Fix: win32 compile failed. Also removed a duplicate include
17 years ago
rubidium
0d41fe2874
(svn r11778) -Fix: compiles with ICONV failed.
17 years ago
rubidium
b09d957f31
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
17 years ago
rubidium
71d4004a85
(svn r11776) -Codechange: more header splittings to reduce the dependencies.
17 years ago
rubidium
e2f7ec1d3e
(svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
17 years ago
rubidium
444e77d8bc
(svn r11774) -Change: do not include variables.h in a header when it is not needed.
17 years ago
rubidium
779ce7fda9
(svn r11773) -Codechange: move some non-clear-land functions from clear_cmd.cpp to a more correct location.
17 years ago
glx
cfcce9603c
(svn r11772) -Change: add some extra checking in the hope to find the cause of FS#1335
17 years ago
rubidium
2469bca24c
(svn r11771) -Codechange: split settings.h into better separated headers.
17 years ago
peter1138
588f1d2aca
(svn r11770) -Codechange: An engine type's type is EngineID, not byte.
17 years ago
miham
96ef3a7e14
(svn r11769) -Update: WebTranslator2 update to 2008-01-06 19:58:01
...
brazilian_portuguese - 2 fixed, 15 changed by fukumori (17)
bulgarian - 29 fixed, 10 changed by groupsky (39)
croatian - 13 fixed by knovak (13)
czech - 2 fixed by Hadez (2)
dutch - 1 fixed by habell (1)
estonian - 1 fixed by kristjans (1)
french - 1 fixed, 1 changed by glx (2)
galician - 38 fixed by Condex (38)
italian - 1 fixed by lorenzodv (1)
japanese - 1 fixed by ickoonite (1)
norwegian_bokmal - 1 fixed by brygge_2 (1)
romanian - 1 fixed by kneekoo (1)
slovak - 1 fixed by lengyel (1)
swedish - 2 fixed by daishan (2)
ukrainian - 2 fixed by mad (2)
17 years ago
rubidium
84606b5212
(svn r11768) -Codechange: move some terraform related gui stuff from main_gui.cpp to terraform_gui.cpp (and introduce terraform_gui.h). Based on a patch by Roujin.
17 years ago
smatz
9728072310
(svn r11767) -Fix: do not call rail specific functions when building road bridge
...
-Fix: missing space in terraform_gui.cpp
17 years ago
belugas
578390ada7
(svn r11766) -Codechange: Last fine tunings on smooth economy, by Sirkoz.
17 years ago
rubidium
409f07199c
(svn r11765) -Fix: compile warning (Roujin).
17 years ago
rubidium
902b810787
(svn r11764) -Change: make the 'do characters exist in the current font file(s)' more robust.
17 years ago
smatz
4023920f22
(svn r11763) -Fix: update signal states after merging a company
17 years ago
glx
7a890182c0
(svn r11762) -Fix: compilation with DEBUG_DUMP_COMMANDS was broken
17 years ago
peter1138
0c4e3b83e4
(svn r11761) -Codechange: Use appropriate variable types for NewGRF engine overrides, and adjust scope while there.
17 years ago
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