summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-03-24(svn r4079) Add GetSation{Index,ByTile}() to get the station index resp. the ↵tron
station from a tile
2006-03-24(svn r4077) Add GetIndustry{Index,ByTile}() to get the industry index resp. ↵tron
the industry from a tile
2006-03-24(svn r4076) Back out r4074. It doesn't work and leads to make endlessly ↵tron
calling itself. NOTE: Delete Makefile.config to recover.
2006-03-24(svn r4075) - Feature: Undraw the mouse when it leaves the window and Draw ↵Darkvater
it again when it enters. Added both for WIN32 and SDL. Since Win95 has troubles with TrackMouseEvent(), this function was just simply rewritten which was the easiest. Based on a patch by DmitryKo.
2006-03-23(svn r4074) -Feature: [Makefile] the makefile can now detect if iconv is ↵bjarni
present in the system if detected, WITH_ICONV will be defined in the C code WITH_ICONV is also added to Makefile.config OSX do not use this flag setting in Makefile.config, as it is set at compile time based on target OS version the actual C code is not changed as the current iconv code is hardcoded for OSX and would break if any other OS got iconv This detection system is by request of Darkvater
2006-03-23(svn r4073) Add functions to make and test for (most) unmovable tilestron
2006-03-23(svn r4071) - Fix: [NPF] Trains & busses were unable to find a route when ↵matthijs
leaving a depot or bus stop. Small omission from r4023 (fix by glx)
2006-03-23(svn r4070) -Fix: on OSX COCOA was set by default, even with DEDICATED, ↵truelight
while those 2 conflict
2006-03-23(svn r4066) -Fix: oops, forgot to remove a debug linetruelight
2006-03-23(svn r4065) -Fix: the configure now knows --host-cflagstruelight
2006-03-23(svn r4064) -Fix: fixes for configure to accept spaces in params. This are ↵truelight
mostly bypasses because bash really does suck in handling spaces and " stuff :(
2006-03-23(svn r4061) -Codechange: [OSX] removed some long dead flags for universal ↵bjarni
binary building and removed an absolute path for hdiutil (I don't thin anybody will have it at a non-default place, but still)
2006-03-23(svn r4060) -Codechange: [OSX] made the release target (in ↵bjarni
os/macosx/Makefile) easier to use since it gives the release disk image the right name automatically it now uses REV instead of RELEASE, which means RELEASE is not needed to be set manaully anymore it also automatically adds "-jaguar" when making a build aimed at OSX 10.2 (codenamed jaguar)
2006-03-23(svn r4059) -Fix: add --dedicated flag to configuretruelight
2006-03-23(svn r4047) Remove two calls to FindLandscapeHeight() and some confusing use ↵tron
of the comma operator
2006-03-22(svn r4039) - NewGRF: Add support for a few more vehicle variables. These ↵peter1138
are sometimes used for animation of sprites.
2006-03-22(svn r4033) - Codechange: [Debian] Update debian packaging files to use ↵matthijs
debconf for user interaction.
2006-03-22(svn r4030) Darkvater * r4030 /trunk/ (openttd.dsp openttd.vcproj): - ↵Darkvater
[win32] Change compiler settings to use the multithreaded CRT. This prevents certain crashes on multi-threaded machines. (thx DmitryKo and KUDr)
2006-03-22(svn r4028) The last external user of FindLandscapeHeightByTile() is gone ↵tron
(r4027). Move its implementation into its only caller - FindLandscapeHeight() - and remove it
2006-03-22(svn r4027) Remove another call to FindLandscapeHeightByTile()tron
2006-03-22(svn r4023) - Fix: [ 1453646 NPF ] Road vehicles planning through the back ↵matthijs
of depots and stations.
2006-03-22(svn r4019) -Fix: [OSX] stopped using iconv for 10.2.8, since it was added ↵bjarni
in 10.3 this have the sideeffect that 10.2.8 will still have the "failure to save with certain chars in the filename bug", but at least it can compile again
2006-03-22(svn r4011) [test WT2 #2.]miham
2006-03-22(svn r4010) [test WT2]miham
2006-03-22(svn r4007) Add a function to make a farm field tiletron
2006-03-21(svn r4004) -CodeChange : Renaming sprites and functionsbelugas
2006-03-21(svn r4003) - Minor codebeautifier@workDarkvater
2006-03-21(svn r4002) - Fix: Use the title of a savegame in the saveload ↵Darkvater
dialog-editbox. This gets rid of the '.sav' appended to each game as well as properly showing UTF-8 saves when this is implemented. Also don't change the text if the save has failed.
2006-03-21(svn r4001) - Add length parameter to FiosMakeSavegameName() and use this ↵Darkvater
function for creating the full path instead of home-brewn snprintf.
2006-03-21(svn r4000) Rewrite GetSlope{Tileh,Z}_{Road,Track} in a less confusing waytron
2006-03-21(svn r3999) - Fix: [win32] Change the order of DestroyWindow and ↵Darkvater
ChangeDisplay. On some machines a sizechange messagequeue is handled before sending WM_DISPLAYCHANGE resulting in an improper resolution written to the configuration file when exiting from fullscreen. (Frostregen)
2006-03-21(svn r3998) - Fix: When removing rail track from a while where only X and Y ↵peter1138
(/ and \) pieces exist, explicitly update signals in both directions.
2006-03-21(svn r3997) - Default the patch-setting 'pause_on_join' to true.Darkvater
2006-03-21(svn r3996) -Fix: Slope and height information returned for some tile types ↵tron
is wrong This leads to graphical glitches when drawing foundations. This doesn't fix all problems, but at least some of them.
2006-03-21(svn r3995) -Fix: Committed one file too much in 3992 (Thanks to Tron for ↵celestar
pointing it out)
2006-03-21(svn r3994) - Fix: convert filenames to UTF-8-MAC instead of UTF-8 for ↵Darkvater
MACOSX, because that's what it uses. This is no real fix for the current iconv hack but it should at least work properly
2006-03-20(svn r3992) -Fix: Rewrote the code to determine whether a rail-tile can be ↵celestar
terraformed. Fixes a bug where you could terraform a tunnel (fixed by r3228, but reverted that one) Fixes a bug introduced by r3228 which allowed steep rail tiles resulting in ... unwanted effects such as display artifacts. That means the terraform feature should not work as intended; it also uses _valid_tileh_slopes to determine valid configurations instead of hand-brewn stuff. TODO: _terraform_err_tile and similar TileIndices should have INVALID_TILE as "unused", not 0. (0 is a valid tile).
2006-03-20(svn r3991) -Fix : Last remaining separation of SpriteID from Palettebelugas
2006-03-20(svn r3990) Remove another call to FindLandscapeHeight()tron
2006-03-19(svn r3988) Remove the info about valid rails on shore tiles. It's the same ↵tron
as for any other sloped tile
2006-03-19(svn r3987) Fix another bug in r3979 *grumble*tron
2006-03-19(svn r3986) Add [GS]etCrossingRoadOwnertron
2006-03-19(svn r3985) Make CmdBuildSingleRail() a bit more comprehensibletron
2006-03-19(svn r3984) Add a function to get the road axis of a level crossingtron
2006-03-19(svn r3983) Use existing functions to access tree and road infotron
2006-03-19(svn r3982) Fix last commit. I got confused by some strange test, which did ↵tron
nothing
2006-03-19(svn r3981) More work for the rail accessing functions and enumstron
2006-03-19(svn r3980) Fix glitch in r3979 spotted by Rubidium. Maybe I'm getting too ↵tron
old for this...
2006-03-19(svn r3979) Move GetRailFoundation() to rail_map.h and use it and friends to ↵tron
get information about rail tiles
2006-03-19(svn r3977) - Change all STRING1's back to STRING in french.txt because ↵Darkvater
these {STRINGn} are only applicable to english.txt. Fixup of r3973. Sorry