frosch
3e9baa7dfb
(svn r12541) -Codechange: Declare Slope enum as bit set, and remove some (then) unneeded casts.
17 years ago
frosch
ae01e263ad
(svn r12540) -Codechange: Enumify some values in original pathfinder and remove an unused variable.
17 years ago
smatz
976d08bcdf
(svn r12537) -Cleanup: comment newgrf_config.h a bit
17 years ago
rubidium
571ba97f56
(svn r12536) -Codechange: some stack allocations were too large for NDS, so use the SmallStackSafeStackAlloc wrapper. Allocate on the stack by default and on the heap for NDS (or other devices that have a very small stack).
17 years ago
belugas
a84a913f3e
(svn r12535) -Fix: A little typo and 4 omissions on bridge sprites.
17 years ago
skidd13
1e7f2dbc10
(svn r12534) -Feature: Add a new type of town road layouts - random for each town
17 years ago
frosch
15b2f07587
(svn r12533) -Cleanup: Remove some wizardry from default ai by using existings enums and helper functions.
17 years ago
frosch
2de802567a
(svn r12532) -Cleanup: Replace two tables of magic values with already existing functions.
17 years ago
frosch
51155403a4
(svn r12531) -Codechange: Rename some variables for consistency.
17 years ago
skidd13
b93a612dfd
(svn r12516) -Revert r2583: Removed mersenne PRNG cause it is not used and won't be used in the future
17 years ago
skidd13
e64beee656
(svn r12513) -Codechange: rename OriginalTileRandomiser something more descriptive
17 years ago
rubidium
b488fe1929
(svn r12501) -Codechange: split signs.h.
17 years ago
rubidium
0f1a82a4c2
(svn r12499) -Codechange: some coding style tweaks for network_internal.h.
17 years ago
rubidium
8920a15979
(svn r12498) -Codechange: bring a little 'order' to openttd.cpp's includes and do not 'define' VARDEF for files that do not have them anymore.
17 years ago
rubidium
877ca99198
(svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff).
17 years ago
rubidium
df1d9bd880
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
17 years ago
rubidium
c51b81c247
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
17 years ago
rubidium
b84b16cfcd
(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.
17 years ago
rubidium
8e9750901d
(svn r12486) -Fix: the copyright date wasn't set correctly in ottdres.rc.
17 years ago
bjarni
8837c7dcd5
(svn r12482) -Fix: [build train] we don't need to have a depot in order to just check the price of a rail vehicle so don't check for compatible rails on the tile either
...
also wagons will only need tracks they can drive on in order to be build so there is no reason to check for power in the depot
17 years ago
peter1138
2d37f4c823
(svn r12479) -Codechange [FS#1723]: Simplify the method used to resize the industry view window. The window is now shown the correct size so the resize button is also removed.
17 years ago
rubidium
9f363b3f92
(svn r12477) -Fix [FS#1883]: timetable times for aircraft were always doubled.
17 years ago
rubidium
49a040e6ad
(svn r12476) -Codechange: split type engine related types from engine.h (and openttd.h) to engine_type.h.
17 years ago
rubidium
bb1f657076
(svn r12475) -Codechange: cleanup coding style in news_gui.cpp.
17 years ago
rubidium
1f870e2bc9
(svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h.
17 years ago
rubidium
4a0e471b60
(svn r12473) -Codechange: move EngineList to a more logical location.
17 years ago
rubidium
9861a8c322
(svn r12472) -Codechange: remove unneeded declaration of ViewPort and DrawPixelInfo.
17 years ago
rubidium
1c51f1e591
(svn r12471) -Codechange: move SignID to a more logical location.
17 years ago
rubidium
492d132831
(svn r12470) -Codechange: split order related types from order.h (and openttd.h) to order_type.h.
17 years ago
rubidium
bf54e0ba1c
(svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h.
17 years ago
rubidium
eba67a3b8f
(svn r12468) -Codechange: move some type related stuff from station.h (and openttd.h) to station_type.h.
17 years ago
rubidium
02eddad8d9
(svn r12467) -Codechange: move DepotID to a more logical location.
17 years ago
rubidium
b563a2e52c
(svn r12466) -Codechange: move DestinationID to a more logical location.
17 years ago
rubidium
99d0c61ec0
(svn r12464) -Change: remove an include that doesn't define anything anyway.
17 years ago
rubidium
4ce279812f
(svn r12460) -Change: rename src/namegen.h to src/namegen_func.h so MSVC can have both files in it's treelist.
17 years ago
rubidium
2426f5342f
(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.
17 years ago
rubidium
0e73ac2198
(svn r12458) -Codechange: split acquiring the sprite ID for cargos from the actual drawing of them.
17 years ago
belugas
55676e3b6c
(svn r12457) -Codechange: Move signal enums on their own header.
17 years ago
glx
0f8584b2fb
(svn r12456) -Update: apply english.txt changes from r12455 to other languages
17 years ago
glx
221071d299
(svn r12455) -Codechange: Implement NewGRF callback 37 (cargo sub-type display for industries)
17 years ago
glx
1df06c7ef1
(svn r12454) -Fix (r12452): incorrect calculation for 'first vehicle in this chain of vehicles with the same ID' (thx DaleStan)
...
-Fix (r12452): wrong loading of random action 2 type 84 for non vehicle (though it shouldn't happen, but who knows ;))
17 years ago
peter1138
00286005ba
(svn r12453) -Fix [FS#1880]: Remove broken endian-dependent code and unnecessary rgb to bgr swapping.
17 years ago
glx
90616adcb0
(svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only.
17 years ago
peter1138
a729283a3c
(svn r12451) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead of for-loops
17 years ago
peter1138
d275282e4d
(svn r12450) -Codechange: Use a pointer instead of several array dereferences.
17 years ago
belugas
7aab471a76
(svn r12449) -Feature[newGRF]: Add support for var A2/22 for action 7/9/D: Diificulty level
17 years ago
rubidium
6db0edda7c
(svn r12447) -Add: company colours to hangars and road depots; train depots already have them.
17 years ago
peter1138
64979511e3
(svn r12446) -Feature: Add +/- toggle buttons to station cargo waiting list to show/hide the detailed transferred cargo information.
17 years ago
peter1138
cb7b587746
(svn r12445) -Fix: Add missing compile asserts for window data structs
17 years ago
belugas
8988c1f7c1
(svn r12444) -Fix: A little typo
17 years ago
rubidium
6d9c7ef315
(svn r12443) -Add: OpenTTDs version to openttd.cfg, just so we do not need to keep to ask people for their version number because it's likely they give you the wrong answer anyway.
17 years ago
skidd13
5d06dcb37e
(svn r12442) -Feature: Allow build leveled roads on slopes for the old ai
17 years ago
rubidium
105b95e94c
(svn r12441) -Feature: open the time table when pressing the order button while pressing the CTRL key. Patch by Phil Sophus.
17 years ago
skidd13
75072624d8
(svn r12440) -Fix [FS#1694]: Make the road building and road removing conditions more union
...
-Feature: Allow to build/remove more road-piece combinations directly
17 years ago
rubidium
5ab921feaa
(svn r12439) -Fix [FS#1871]: do not 'disable' the drawing of autorail overlays when the tile is 'error'-marked (red pulsating selection). Patch by Icosikai.
17 years ago
rubidium
1c1a721d63
(svn r12438) -Fix-ish: typo spotted by Biblo.
17 years ago
peter1138
bda732047b
(svn r12436) -Cleanup: minor coding style
17 years ago
rubidium
9a62238096
(svn r12435) -Fix: do not remove the case from the Brazilian Portuguese translation while it is still in use.
17 years ago
rubidium
8989e6572f
(svn r12428) -Fix [FS#1878]: loading from the config file could fail even when the data is correct. Patch by Dominik.
17 years ago
rubidium
a28f2f2bb1
(svn r12426) -Cleanup: sprinkle some coding style over a few files.
17 years ago
rubidium
a606fe9610
(svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik.
17 years ago
bjarni
b05919cc5a
(svn r12421) -Feature: [autoreplace] the autoreplace button in train depots will now also replace wagons even if they aren't connected to a locomotive
...
fixed estimated cost in CmdDepotMassAutoReplace() (will still not estimate wagon removal profits)
Made it possible to command CmdDepotMassAutoReplace() to either replace everything or nothing (the button will still happily replace just some of the vehicles if cash premits)
17 years ago
maedhros
691e9e1b5c
(svn r12420) -Cleanup: Fix the indentation, improve a variable name, and add a NOT_REACHED to DeterminePluralForm.
17 years ago
skidd13
066e6dedfd
(svn r12419) -Cleanup: of the internal road-piece building and removing.
17 years ago
maedhros
0bf22d264a
(svn r12417) -Fix: Add a new plural rule for Icelandic.
17 years ago
peter1138
f0e39a7953
(svn r12410) -Codechange: abstract out the test for catenary on electric rails
17 years ago
miham
8669c77143
(svn r12408) -Update: WebTranslator2 update to 2008-03-25 09:44:24
...
brazilian_portuguese - 1 fixed by fukumori (1)
bulgarian - 1 fixed by thetitan (1)
catalan - 8 fixed by arnaullv (8)
czech - 1 fixed by Hadez (1)
french - 8 fixed by glx (8)
hungarian - 10 fixed by miham (10)
icelandic - 9 fixed, 1 changed by scrooge (10)
italian - 8 fixed by lorenzodv (8)
korean - 1 fixed by darkttd (1)
russian - 8 fixed by Smoky555 (8)
ukrainian - 1 fixed by mad (1)
17 years ago
glx
15cd2931f3
(svn r12407) -Add [FS#1866]: more language flags for servers
17 years ago
rubidium
329ab84da3
(svn r12405) -Codechange: some coding style and 'untodoifying' some comments that were certainly not todos.
17 years ago
rubidium
f76110425b
(svn r12404) -Codechange: rename the string buffer used for network GUIs to something more unique than what it is called now.
17 years ago
rubidium
d4b6b57f8b
(svn r12403) -Codechange: unmisuse a variable in the chat window and make the code a little cleaner.
17 years ago
rubidium
48bb9ff17c
(svn r12402) -Fix: some toolbars didn't seem to show anymore.
17 years ago
glx
d177952455
(svn r12401) -Fix (r9754): when loading TTD savegame some data were lost (profits, ...) due to a 'reallocation' for vehicle type conversion. The conversion is now done before loading the vehicle chunk.
17 years ago
rubidium
c0758bc425
(svn r12399) -Fix: some old DOS savegame didn't load properly due to 'garbage' that was sprinkled in some places.
17 years ago
rubidium
672087ecf6
(svn r12398) -Codechange [FS#1770]: Move toolbar related code to it's own little neighbourhood. Based on a patch by Dominik.
17 years ago
rubidium
449b51a8b4
(svn r12397) -Codechange [FS#1856]: enumify widget number for time tables. Patch by Phil Sophus.
17 years ago
rubidium
72f5869cc9
(svn r12396) -Codechange: change a few things to reflect that we aren't aiming for 0.6 anymore in trunk.
17 years ago
rubidium
1ee5e2e0aa
(svn r12393) -Fix [FS#1872]: Vehicle lists related to stations not closed when the station is deleted.
17 years ago
maedhros
0fd41a14fb
(svn r12392) -Fix (r12391): Remove yapf/follow_track.cpp again.
17 years ago
maedhros
75719795c9
(svn r12391) -Feature: Show whether a town is a "city" in the town description title bar.
17 years ago
rubidium
edd384c121
(svn r12390) -Fix [FS#1851]: trams failing to turn on bridge heads/tunnel entrances.
17 years ago
rubidium
fedb33d697
(svn r12389) -Codechange: remove unneeded code from the Cheat window handling and bring it in line with the coding guidelines.
17 years ago
maedhros
7d2a1e5a69
(svn r12388) -Fix (r12352): Callback 14 (station sprite layout) is a 15-bit callback.
17 years ago
miham
7026601721
(svn r12387) -Update: WebTranslator2 update to 2008-03-21 00:20:05
...
german - 1 fixed by moewe2 (1)
icelandic - 346 fixed by scrooge (346)
korean - 2 fixed by darkttd (2)
portuguese - 6 fixed by nars (6)
russian - 15 fixed by Smoky555 (15)
slovenian - 6 fixed by Necrolyte (6)
17 years ago
smatz
3ab59da68a
(svn r12386) -Fix [FS#1841](r2428): train could break apart when reversed while partially in a depot
17 years ago
peter1138
606bc6fc14
(svn r12385) -Fix [FS#ln]: Non-breaking spaces should not be broken.
17 years ago
smatz
f45221f274
(svn r12384) -Fix (r2428): do not disconnect train when reversing, it may 'think' it is whole in a depot
17 years ago
peter1138
e46945a254
(svn r12383) -Fix [FS#1860]: Check return of AfterLoadGame for success or failure when loading TTD games.
17 years ago
glx
457acecda5
(svn r12382) -Fix [FS#1864]: use 'items' unit for batteries, fizzy drinks, toys and bubbles in total cargo tab
17 years ago
skidd13
49cf499cf2
(svn r12381) -Fix [FS1835] [FS1535] (r11855): The number of houses wasn't computed right. A few other things regaring the updating had to be changed. Big thanks for support to frosch123 and SmatZ, to name just a few. (Inspired by a patch of bilbo)
17 years ago
glx
285a43037b
(svn r12380) -Fix: update train acceleration and max speed after setting cached value to ensure the correct max speed is used with disabled real acceleration
17 years ago
glx
cbcad325f9
(svn r12379) -Codechange: removed now redondant InvalidateWindow() calls
17 years ago
glx
187c7e19fe
(svn r12378) -Fix: refresh vehicle details window when cached values are updated
17 years ago
glx
08becf93e6
(svn r12377) -Fix [FS#1854]: set cached value for vehicle property 25 before other cached values
17 years ago
peter1138
38be279d3a
(svn r12374) -Fix (r11892): Don't close a dropmenu when clicking on a dropdown widget
17 years ago
glx
62a7587586
(svn r12373) -Fix [FS#1849]: win32 music driver fails if path is too long (128 chars is too much for mci it seems), so retry using the short path name (8.3 style) if available
17 years ago
glx
42647b90a3
(svn r12372) -Fix: win32 music driver fails if path contains non-latin chars
17 years ago
smatz
808c03ef8d
(svn r12371) -Fix [FS#1823]: do not let window hide behind the main toolbar after resizing the screen
17 years ago
peter1138
46ad4b8267
(svn r12370) -Fix [FS#1853]: Close language drop down when parent window is clicked/closed.
17 years ago
smatz
3d10ae7ec3
(svn r12369) -Fix (r1681): reset train speed limits when _patches.realistic_acceleration changes
17 years ago