rubidium
3b20e4d09a
(svn r12006) -Fix: implement FS#1697 without the nasty side effects as specified in FS#1712.
17 years ago
rubidium
7c310600ba
(svn r12005) -Fix [FS#1717]: possible reading from an invalid pointer. Patch by PhilSophus.
17 years ago
rubidium
1b7051768c
(svn r12004) -Codechange: refactor the random functions to reduce code duplication.
17 years ago
rubidium
3f104194d6
(svn r12003) -Codechange: don't declare InteractiveRandom[Range] in multiple places.
17 years ago
peter1138
af2429f8e0
(svn r12002) -Cleanup (r11981): Remove obsolete code to skip sprites from indexed GRFs.
17 years ago
frosch
5d9326ff03
(svn r12001) -Fix: When skipping Action 11 or 12, also skip belonging sprites.
17 years ago
frosch
b7946e07a6
(svn r12000) -Fix (r11926): If no river NewGRF is loaded, use sloped water from locks.
17 years ago
frosch
02366bce29
(svn r11999) -Fix: Do entrance-slope-check for every tile of railstations.
17 years ago
smatz
db50a6d231
(svn r11998) -Fix [FS#1692](r10053): possible remote assert by setting bit 6 of p1 for CMD_REMOVE_ROAD
17 years ago
belugas
a1eb524b81
(svn r11997) -Fix(FS#1712, r11985): Remove the code temporary, until a better scheme is implemented.
17 years ago
smatz
f22b0127af
(svn r11996) -Fix [FS#1706]: update train statusbar when stopping from zero speed
17 years ago
maedhros
9aa240dbb6
(svn r11995) -Cleanup (r11994): Change the string names in all the other languages.
17 years ago
maedhros
f95fb570ad
(svn r11994) -Codechange: Remove numbers from string names where the strings aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs.
17 years ago
peter1138
ec1d547889
(svn r11993) -Fix: Resize station/roadstop/dock/airport construction windows if cargo acceptance list is too long.
17 years ago
bjarni
f93943ebcf
(svn r11992) -Fix (r9905): When building two rail stations close to each other (with control) so they looked like one long track trains would see them as one (spotted and fixed by eddi)
17 years ago
peter1138
f9f917f205
(svn r11991) -Cleanup: Remove strings removed in r11990
17 years ago
peter1138
befe9fb43f
(svn r11990) -Codechange: Show all cargo sources (en-route from) in the station view
...
cargo waiting list instead of just one. The station view window is now
resizable to cope with the extra information.
17 years ago
peter1138
191954d8a7
(svn r11989) -Fix: Resize autoreplace window to fit purchase information text if it is too large.
17 years ago
peter1138
c5b749f983
(svn r11988) -Codechange: Add a generic way of changing a widget's size and adjust the widgets around it to suit.
17 years ago
belugas
2ff76007b0
(svn r11987) -Feature[newGRF]: Allow the industry view window to be resized only when callback 3A (Show additional text in industry window) is available for the current industry.
...
This now allows grf authors to specify longer than 3 lines of text.
17 years ago
belugas
ad3c4a39f6
(svn r11985) -Feature[FS#1697, newGRF]: Implement var 8F(random bits) during callback 28 (Industry location permissibility)
17 years ago
frosch
9d63fd232e
(svn r11984) -Fix: Also draw corner shores under rail tracks.
17 years ago
frosch
d4dc5e0775
(svn r11983) -Codechange: Add some helper functions for slopes and use them.
17 years ago
frosch
d13311e710
(svn r11982) -Revert (r8738): Now we have shores in corners. No need to remove them from TTDP games.
17 years ago
peter1138
e37b88ebfc
(svn r11981) -Fix [FS#1698]: Use unicode glyph mapping to fix up missing/shuffled sprites in original data files instead of shuffling or skipping
...
sprites directly. Some required glyphs were not loaded.
-Fix: Large capital U with grave (Ù) along with some other glyphs are broken in the original data files, so do no display them.
17 years ago
rubidium
f037d98ef4
(svn r11979) -Codechange: drop MSVC 2003 support because MSVC 2003 is broken in such a manner that it triggers an internal compiler error without any clue what of the code is wrong. Even trying to bisect the problem does not give a single line of code that causes the trouble.
17 years ago
skidd13
99325b0553
(svn r11978) -Codechange: Replace some global variables with window owned ones
17 years ago
belugas
7c50416d64
(svn r11977) -Fix(r11976): not a typo, not a bug. Just a removal that should have been done.
...
Would help to compile first...
17 years ago
belugas
e918b8d31b
(svn r11976) -Fix: It seems that industries using results 0D/0E on callback cb29/35 were a bit too eager to close down.
17 years ago
frosch
51f03faf83
(svn r11974) -Fix [FS#1684]: Shore and sea tiles under bridges were converted to canals in old savegames.
17 years ago
frosch
4a1ad2c85f
(svn r11973) -Fix (r11726, r11947)[FS#1683]: Use grass tiles for corner shores, if shores got replaced by ActionA.
17 years ago
smatz
773446df5e
(svn r11972) -Fix: old AI shouldn't build fast planes with a small airport in orders
17 years ago
peter1138
f8255e10d5
(svn r11971) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead of for-loops
17 years ago
peter1138
7ef297187e
(svn r11970) -Cleanup: Remove old comment
17 years ago
smatz
c22723c643
(svn r11969) -Codechange: documentation update, there are no 'track bits under bridge' anymore
17 years ago
smatz
74af65e556
(svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
17 years ago
smatz
dbd4d7d6a8
(svn r11967) -Fix (r1400): MP_ROAD can have railbits too - OPF searching over rail of diffent owner behind crossing
17 years ago
smatz
c19fd4fcde
(svn r11966) -Fix: OPF was searching through depots and normal road stops
...
In effect, it also fixes old AI bugs like FS#1403 and FS#1506
17 years ago
smatz
75784655b7
(svn r11965) -Codechange: simplified tunnel/bridge code in TPFMode1
17 years ago
peter1138
18df5480ba
(svn r11964) -Fix [FS#1685]: Tropic zone data was returned incorrectly.
17 years ago
belugas
ba1f3b4834
(svn r11963) -Fix(r11961): Forgot to specify the meaning of the magical 6 substraction
17 years ago
smatz
881b74e882
(svn r11962) -Cleanup: OPF is no longer used to update signals
17 years ago
belugas
fa39916fe9
(svn r11961) -Feature[newGRF]: Add support for Action 0D, var 13: informations about current map size.
17 years ago
smatz
8be486c27e
(svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditions
17 years ago
peter1138
622f251197
(svn r11959) -Codechange: Use macro to loop for specific engine types instead of using specific indexes each time.
...
-Codechange: Minor scope changes in said loops.
17 years ago
smatz
51d7692aca
(svn r11958) -Fix (r11204): NewAI couldn't build any road vehicles when there were any tram grfs loaded
17 years ago
peter1138
f8b5b6667f
(svn r11957) -Codechange [FS#1678]: Minor simplification and optimisation when checking for available road/rail types (bilbo)
17 years ago
peter1138
a2d416b253
(svn r11956) -Fix [FS#1675]: Disallow building locks and docks on rapids.
17 years ago
peter1138
ae7689620c
(svn r11955) -Fix (r11926): Prevent bridge and tunnel ends being placed on rivers.
17 years ago
smatz
d89c5e945f
(svn r11953) -Fix (r11172): do not allow modifying roadbits when other roadtypes would need different foundation
17 years ago
peter1138
b5534e42a0
(svn r11952) -Fix (r11926): Prevent industries from being built on rivers, unless they require water.
17 years ago
smatz
171e84cbad
(svn r11951) -Fix (r11279): loading of very old savegames was broken
17 years ago
peter1138
d213987a13
(svn r11949) -Codechange: add river icon and cursor, drawn by skidd13.
17 years ago
frosch
a242dadad2
(svn r11947) -Feature: Make use of new sprites added by Action5 type 0D.
...
Tiles which only consist of shore do not flood anymore, instead they get removed if they are no longer connected to flooding water.
17 years ago
frosch
8a72af3a13
(svn r11946) -Fix: slope detection of bridge ramps.
...
YAPF failed for steep slopes.
Trolly failed for a lot.
17 years ago
glx
1d219ad7b6
(svn r11945) -Fix: FileExists() failed for non latin paths (win32)
17 years ago
smatz
22973fc2ce
(svn r11944) -Fix: allow building drive-through road/tram stops at road/tram track that has no owner
17 years ago
rubidium
38d690acc8
(svn r11943) -Codechange: add and use a simple structure to support small stacks by allocating it on the heap or pushing a few kB of data onto the stack when there is a large stack.
17 years ago
peter1138
5e4f4bcdc5
(svn r11942) -Codechange: Merge chars.grf into openttd[d|w].grf using action 12. Remove obsolete tables used for index mapping.
17 years ago
peter1138
78156065cf
(svn r11940) -Codechange: Store short filename once per open file instead of once per sprite cache entry. Not all file types need this, but most of the time no sprite cache entry needed it either.
17 years ago
rubidium
a83b91dbc5
(svn r11939) -Codechange: some type fixes and very initial steps into supporting NDS by default. Based on work by Dominik.
17 years ago
peter1138
9d754a7f76
(svn r11938) -Codechange: support loading of canal/river properties (though still ignored)
17 years ago
frosch
2e63435124
(svn r11937) -Feature: Allow building bridge heads on more slopes.
...
These are SLOPE_NW, SLOPE_SW, SLOPE_SE, SLOPE_NE (with bridge perpendicular to the slope) and SLOPE_NS, SLOPE_EW.
17 years ago
frosch
05ab49eb23
(svn r11936) -Fix: 'BRIDGE_TOO_LOW_FOR_TERRAIN'-check was wrong for steep slopes.
17 years ago
bjarni
6786802863
(svn r11935) -Fix (r11875)[FS#1672]: autosend aircraft to hangar for replacement check inverted the check for autorenew
...
Now it triggers when renew setting is on and only if it's on
Note: aircraft already enroute to hangars due to this bug will still go there. They will only head there once though
17 years ago
peter1138
b967c9918e
(svn r11934) -Codechange: add persistent random data for river and canal tiles.
17 years ago
miham
80931cdd13
(svn r11933) -Update: WebTranslator2 update to 2008-01-20 18:42:56
...
brazilian_portuguese - 2 fixed by fukumori (2)
catalan - 6 fixed by arnaullv (6)
croatian - 4 changed by blozo (4)
czech - 6 fixed by Hadez (6)
dutch - 2 fixed by habell (2)
french - 6 fixed by glx (6)
hungarian - 15 fixed by miham (15)
italian - 6 fixed by lorenzodv (6)
portuguese - 5 fixed, 2 changed by nars (7)
russian - 1 changed by HMage (1)
spanish - 3 fixed by eusebio (3)
17 years ago
belugas
daf1e4b4c4
(svn r11932) -Codechange: Forgot two occurences of widget enumification
17 years ago
belugas
1047888547
(svn r11931) -Codechange: enumify the widgets numbers. Give breathing room on the case switches too...
17 years ago
belugas
f8fc0ca086
(svn r11930) -Codechange: a bit of code style application
17 years ago
bjarni
9fdf784b7c
(svn r11929) -Fix (r9981)[FS#1624]: [autoreplace] fixed a case where a single headed locomotive caused an assert when being replaced to a dualheaded one
...
This triggered if the player had enough money to replace and refit one of them but not enough to refit the last one as well
17 years ago
bjarni
52e5f50158
(svn r11928) -Fix (r6393): [autoreplace] autoreplace could refit train engines to the wrong cargo type if the old engine had no cargo capacity and the new one had
...
Now autoreplace will always look at the wagons to figure out what to replace to (as originally intended)
17 years ago
peter1138
bb66cf27cc
(svn r11927) -Fix (r11926): unable to place canals in game
17 years ago
peter1138
0c6bdb0d21
(svn r11926) -Feature: Rivers. Graphics must be provided by NewGRF else rivers are drawn as canals. Rivers can currently only be placed with-in the scenario editor.
17 years ago
rubidium
8b90809718
(svn r11925) -Fix (r122, r9867): loading old, pre savegame version 2, savegames.
17 years ago
peter1138
cc05abf382
(svn r11924) -Codechange: All dropdowns now use the dropdown widget, so compatibility code can be removed
17 years ago
glx
8e15c0fba8
(svn r11923) -Cleanup: Remove strings removed from english.txt in r11919
17 years ago
smatz
f05caedf7c
(svn r11922) -Codechange: use MaybeBarCrossingWithSound() to bar crossing with sound
17 years ago
peter1138
f6684c9afd
(svn r11921) -Cleanup: correct indenting and switch case line spacing.
17 years ago
glx
b3e35db958
(svn r11920) -Fix (r11844): train count was incorrect in network lobby window (and 'players' command)
17 years ago
peter1138
9c482d5e54
(svn r11919) -Codechange: Assign numbered parameters to world generator widgets to avoid separate DrawString()s, and do the same for the scenario flat-land window.
17 years ago
peter1138
aa556f123d
(svn r11918) -Codechange: Draw engine lists at widget positions instead of fixed pixel positions
17 years ago
smatz
66a0fafc93
(svn r11917) -Fix (r3677): AI was reading wrong tile slope while building road bridge
17 years ago
smatz
dfb91c26ec
(svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of constants
...
-Fix: refit button widget was not correctly updated
17 years ago
peter1138
04da1e1d45
(svn r11915) -Codechange: Add a function to draw a sort button's up/down arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
17 years ago
glx
bba1a62db1
(svn r11914) -Documentation: fix some @file statement
17 years ago
smatz
91cb42fa73
(svn r11913) -Fix (r11871): update signals after company bankrupt and disaster too
17 years ago
peter1138
1182a940cf
(svn r11912) -Codechange: use dropdown widget for autoreplace, station builder and (second?) vehicle list windows
17 years ago
peter1138
898298847f
(svn r11911) -Codechange: use enum for autoreplace window widgets
17 years ago
smatz
8dbf03e322
(svn r11910) -Fix: play 'ding-ding' crossing sound in more cases (except gameload and crossing construction)
...
-Fix: crossing sound is bound to tile, not to vehicle
17 years ago
peter1138
8794c5bc3c
(svn r11909) -Codechange: use dropdown widget for player livery, network lobby/setup and news settings windows
17 years ago
smatz
b20d1eee6c
(svn r11908) -Fix: update crossing when merging a company, when building a crossing and after loading older savegame
17 years ago
peter1138
e0f759f71e
(svn r11907) -Codechange: clean up of worldgen/heightmap ui: replace many separate DrawString() calls with widgets, use dropdown widgets, and use consistent positioning/sizing.
17 years ago
miham
2f9413a799
(svn r11906) -Fix: fixed a typo in german language (reported by Botcher0)
17 years ago
peter1138
a50192361f
(svn r11905) -Codechange: add widget enums for player finances and player livery windows
17 years ago
peter1138
727d07c67e
(svn r11904) -Codechange: use dropdown widget in 3 more windows, build vehicle, group vehicle list and station list.
17 years ago
smatz
e01a7e2e91
(svn r11903) -Fix: try to fix MorphOS compilation
17 years ago
peter1138
3f11c27958
(svn r11902) -Codechange: use new dropdown widget for game options window
17 years ago
peter1138
9fdb9a82a2
(svn r11901) -Add: add two widgets for dropdowns, one raised and one inset, to eventually replace use of two widgets for each dropdown control.
17 years ago
smatz
2c38d3066f
(svn r11900) -Fix: set correctly crossing state after train reversal, train leaving crossing, train crash
...
Fixes several ways to leave crossing red forever or to leave it unbarred when there is a train on crossing
17 years ago
frosch
3ae0c5316c
(svn r11899) -Cleanup: Remove ShowReplaceVehicleWindow() as it is basically a duplicate of ShowReplaceGroupVehicleWindow().
17 years ago
frosch
c7fe664119
(svn r11898) -Fix: Update neighboured canals + signals when flooding non-flat tiles, too.
17 years ago
frosch
03e7f6f2d2
(svn r11897) -Fix: Replace an uint with TileIndex and a small coding style fix.
17 years ago
glx
82727a8713
(svn r11896) -Fix (r11886): a missing const broke compilation with MSVC
17 years ago
glx
80d62cb358
(svn r11895) -Fix (r11875): for once MSVC warns for a good reason
17 years ago
peter1138
8bc5115a1a
(svn r11894) -Cleanup: Remove strings removed from english.txt in r11893
17 years ago
peter1138
5d8f7dbe60
(svn r11893) -Codechange: build map size drop downs dynamically and remove unneeded strings
17 years ago
peter1138
41df004043
(svn r11892) -Fix (r11879): View switched from ungrouped to all vehicles as ungrouped is not technically a valid group, and ensure dropdown is removed
...
on any click in the window.
17 years ago
rubidium
a325bef3f5
(svn r11889) -Change: small inconsistency between documentation and code. Patch by Yexo.
17 years ago
glx
4e847a9c52
(svn r11888) -Codechange: simplify sorting of the strings in town names dropdown
17 years ago
rubidium
c141639bcc
(svn r11887) -Fix [FS#1658]: segmentation faults/wrong frees due uninitialized memory in the AI.
17 years ago
glx
2ad9edda91
(svn r11886) -Add: sort the strings in languages dropdown
17 years ago
peter1138
20c2de3ace
(svn r11885) -Cleanup: Remove gotos from widget drawing code. A side affect is that it is now possible for any widget type to be shown disabled.
17 years ago
peter1138
b4ed1609bf
(svn r11884) -Cleanup: leftover use of widget numbers instead of enum
17 years ago
smatz
7eff702c0a
(svn r11883) -Fix (r11864): assert when trying to remove rail from a house or industry tile
17 years ago
smatz
fc2895e8c2
(svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify the code at some places
17 years ago
peter1138
df7286e7c1
(svn r11881) -Cleanup: Code style for global variables.
17 years ago
peter1138
e2724bed6c
(svn r11880) -Codechange: Generate vehicle group action dropdown dynamically, and assign an enum for the function return codes.
17 years ago
peter1138
389f8e0d8f
(svn r11879) -Fix: Only update group action drop down list when clicking on the dropdown text/button. Other times is not needed and caused a double free.
17 years ago
peter1138
c2ae2334ec
(svn r11878) -Fix: Crash in MP in vehicle group window if the currently selected group is deleted by another player.
17 years ago
smatz
3ad8b79550
(svn r11877) -Fix: another way to crash competitors' train in a station
...
-Codechange: increase the speed train is approaching line end/semaphore in non-diagonal direction a bit
17 years ago
frosch
9a9a1dcb6c
(svn r11876) -Fix: Start industry tile animation also for overridden industry tiles. (Will only apply to new games or newly build industries.)
17 years ago
bjarni
a09b0e21e4
(svn r11875) -Fix: automatically sending aircraft to depot for autoreplace/renew is now triggered by the correct conditions
...
Now it triggers by the following conditions:
- aircraft is old enough for renew or needs to be autoreplaced
- player has 2*cost of new aircraft+autorenew money (we don't want to send many aircraft to hangars when there is only money for replacing one)
- aircraft has no hangars in it's order list
- new aircraft is buildable (imagine autorenewing a retired design)
This triggers right after a helicopter takes off or when a plane touches the ground while landing
Another effect of this change is that this functionality no longer generates network traffic
17 years ago
rubidium
049e615cfb
(svn r11874) -Fix [FS#1655]: all wagons of maglev/monorail trains would get the livery colour of the engine instead of their wagon type.
17 years ago
belugas
88206b8808
(svn r11873) -Codechange: less a few magical numbers and a tiny bit more comments on town zones
17 years ago
bjarni
48c2669185
(svn r11872) -Fix (r9874): EngineHasReplacementForPlayer() didn't look in ALL_GROUP
17 years ago
smatz
61e40b1aa5
(svn r11871) -Fix [FS#1074]: do not update signals after each tile when building/removing a large block of track/signals/station
17 years ago
smatz
70a9c544b8
(svn r11870) -Fix: slow down train when approaching tile we can't enter in more cases
...
(tunnel/bridge/depot from wrong direction, competitor's track, wrong railtype)
-Fix: do not make crossing red when we can't enter it in any case
17 years ago
rubidium
a3a5ff6057
(svn r11867) -Fix: do not reset changes to persistent storages during world generation.
...
-Fix: store changes to persistent storages after performing all the game logic instead of resetting them.
17 years ago
rubidium
736640fd87
(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*.
17 years ago
peter1138
e938855375
(svn r11865) -Feature(tte): Support scrolling of drop down lists when in drag mode by moving the pointer above or below the list.
17 years ago
smatz
81cad58c68
(svn r11864) -Codechange: pass owner whose signals we will update instead of complex detection later
17 years ago
peter1138
c954ce1b33
(svn r11863) -Fix (r11848): One day I'll learn C++... Delete all items in a drop down list before deleting the list.
17 years ago
rubidium
fcee6dad93
(svn r11862) -Fix [FS#1559]: when two NewGRFs 'fight' to define the same cargo it could happen that the strings are defined by one cargo and the 'action2' by another and when one assumes that both come from the same NewGRF... So store the GRF ID with the strings. To be extra sure add the same protection mechanism to industries and towns too.
17 years ago
smatz
e0c61a8921
(svn r11861) -Fix: do not call rail specific functions when removing road tunnel/bridge
17 years ago
peter1138
ef704510cd
(svn r11860) -Fix: Test station class validity against number of classes, not abosolute limit.
17 years ago
peter1138
b4d476b7d1
(svn r11859) -Codechange: Update newgrf station class dropdown to use new method of generating list.
17 years ago
peter1138
327ea90331
(svn r11858) -Fix (r1679): Mask and rule colour in drop down lists using wrong source value. (r1679 partially reverted r1368)
17 years ago
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