Commit Graph

1699 Commits (4eeac3ea75232b5d5805c9b2d6b846eb5c50be15)
 

Author SHA1 Message Date
matthijs 4eeac3ea75 (svn r2202) - Fix: [NPF] When a vehicle could not reach its target, it would choose a random direction. It will now try to get as close as possible. 19 years ago
Darkvater 174030a15f (svn r2201) - Fix: Crash in scenario-editor with terraforming out-of-map bounds. 19 years ago
Darkvater 2e58ce2fd9 (svn r2200) - Fix [ 1179892 ] click & drag removal of road assertion fail. Add CMD_REMOVE_LONG_ROAD to the 'notest' section as it might have difficulties with town ratings, etc. Read the comment for more info (mgasterix) 19 years ago
miham d5bcf62e5c (svn r2199) [Translations] Updated to 2005-04-14 (188 strs / 13 langs) 19 years ago
bjarni 3e470708a6 (svn r2198) renamed MacOS to MacOSX where it was written wrong. Made myself MacOSX porter as well as coder 19 years ago
bjarni 5572a92c58 (svn r2197) -fix [Makefile]: SDL_CONFIG from makefile.config is now not always overwritten
-fix [OSX]: fixed issue where OSX could not compile the java MIDI app if SHOW_WARNINGS was on (introduced in r1917)
-fix [OSX]: the midi class file is now also deleted with make clear
19 years ago
TrueLight ecc0cd37f4 (svn r2196) -Change: updated the Makefile, now it works for crossplatform compiling
(and distcc compiling via Makefile.config). Wiki is coming up soon! Big
tnx to Bjarni and Lucaspiller.
19 years ago
tron cada1e24b5 (svn r2195) Add CmdFailed() as the One True Way(tm) to check if a command failed. 19 years ago
miham 3b9931fcba (svn r2194) [Translations] Updated to 2005-04-14 (12 strs / 5 langs) 19 years ago
Darkvater 3a4c1ce351 (svn r2193) - SVN: Set ignore on the last couple of annoying files 19 years ago
Darkvater febae668fe (svn r2192) - Add greater control to the 'message options' window. Now you can turn off the telegraphc ticker sound for summarized messages, or turn off news-messages altogether (you get a red blot to notify you though). The [<][>] set the settings in one way, while clicking on the option itself, cycles it. This commit also 'fixes' bugs [1166973], [1121484] and patch [1169930].
- I also changed an order of strings from On, Off to Off, On, so this can be used ingame with the WWT_4 widget type.
- Since the newssettings now take 2 bits per setting (off/summary/on) _news_display_opt is widened to 32 bits and the settings code changed slightly to accomodate for a maximum of 16 message-types.
19 years ago
truelight 7f4b636559 (svn r2191) -Add: OpenTTD now compiles with dietlibc (Aard) 19 years ago
darkvater 860242b811 (svn r2190) - Fix: [1179424] '.. (Parent directory)' does not show up in the root-directory anymore; win32 only (mgasterix) 19 years ago
tron 02f5818912 (svn r2189) Introduce and use IsCompatibleTrainStationTile()
This should prevent trains, which are longer than the station, to turn around without stopping under certain circumstances and fix speed limit for trains entering a station, when realistic accerlation is used
20 years ago
tron 277d9d237b (svn r2188) Revert r2185, because trains always accerlated (Requested by Celestar) 20 years ago
tron e00785a855 (svn r2187) Implement a slightly better workaround than r1588 did. (Joint effort with Celestar) 20 years ago
miham 8724ba8e01 (svn r2186) [Translations] Refreshed translations (20 strs/3 langs) 20 years ago
celestar 4601cd1366 (svn r2185) -Fix: Made sure that the realistic acceleration does not freeze trains anymore 20 years ago
Darkvater 2397ff86e6 (svn r2184) - CodeChange: remove the copy of ClearSlot(), which is now also called for CmdSkipOrder(). This also fixes the involuntary crash introduced 2 revisions ago 20 years ago
matthijs 90cc36f7e2 (svn r2183) - Fix: Removed brackets from around STRAIGHT_TRACK_LENGTH, they caused preliminary rounding... 20 years ago
matthijs f5d9cb58eb (svn r2182) - Add: [NPF] There is now a debug class for NPF. Use -d npf<level> to enable debugging printouts from npf.
- Codechange: [NPF] Removed NPF_MARKROUTE macro, to mark routes just specify a npf debugging level >= 1 on the commandline.
20 years ago
matthijs b02dde1982 (svn r2181) - Add: DistanceTrack() to calculate the distance over optimally laid out tracks.
- Codechange: [NPF] Removed unused heuristic function NPFCalcTileHeuristic().
- Codechange: [NPF] Use DistanceTrack() instead of DistanceManhattan() for ship and train heuristic.
- Codechange: Renamed variables x and y to dx and dy in some of the distance calculation functions.
20 years ago
celestar a714444a8e (svn r2180) -Fix: Deceleration code now only takes into account rail station tiles for computing the remaining distance 20 years ago
matthijs 6409e6efaf (svn r2179) - Fix: [ 1121437, 1114228 ] Vehicles not entering depots for auto servicing. 20 years ago
Darkvater e82f724e9a (svn r2178) Postprevcommitaddendum: add debug.h if you use DEBUG() 20 years ago
Darkvater 9876fb54bd (svn r2177) - Fix: Fix a slot desync with setting the invalid slot to the correct value 20 years ago
tron 4dbf5b37cc (svn r2176) Revise CheckOprhanedSlot():
- Don't assert the vehicle type, as it can be anything
- Don't touch the slot information of the vehicle, because it's possible that it is not a road vehicle anymore and even if it is, it has nothing to to with that slot
- Trim the debug printout, because the information about the vehicle is arbitrary
(Joint effort with Darkvater)
20 years ago
miham 41f38775a1 (svn r2175) [Translations] Updated translations (11 strs/3 langs) 20 years ago
miham 6f15593ce2 (svn r2174) [Translations] Updated translations (7 strs/2 langs) 20 years ago
celestar 91d44ef577 (svn r2173) -Fix: [ 1179380 ] Rail now builds on reserved land. Cause by the problem that CMD_ERROR is just the highest bit of the return value, but CMD_CLEAR_LANDSCAPE returns a negative value for owned land. So the highest bit is set as well. Note to self: Finish Command Patch 20 years ago
miham 5a65140cb4 (svn r2172) [Translations] Translations from the last two days (37 strs/11 langs) 20 years ago
miham 13969f5940 (svn r2171) [Translations] Manually fixed string-order in english.txt (someone fscked it up!) 20 years ago
bjarni 4af271c494 (svn r2170) -fix: [1179457] the industry list can now no longer scroll down then the end of the list is reached (Hackykid) 20 years ago
celestar 5d02a2c295 (svn r2169) -Fix: Doing the slot clearing also for crashed road vehicles (c.f. previous commit) 20 years ago
Darkvater 7ef681eaed (svn r2168) - Fix: Various stages of invisible trains, and wrong v->u.rail.track combinations. When a vehicle was sold its (possibly) assigned road slot for multislot was not cleared, thus resulting in a bug confusion. This should fix [ 1178520 ] Assertion failure in ai.c (invalid v->u.rail.track). With big thanks to TrueLight for the demo-recording patch, BJH for the wonderful savegame, Hackykid for his brilliant suggestions of the problem and Celestar for... ehm, making it all possible ;p 20 years ago
bjarni a9c52454c8 (svn r2167) -fix: [autoreplace] trains now get the default cargo type if the engine
replaced from did not have cargo capacity (instead of refitting to passengers)
20 years ago
matthijs 5e4961d902 (svn r2166) Fixed two warnings in the last commit. 20 years ago
matthijs da3621c180 (svn r2165) - Codechange: [NPF] Properly enummed NPF hash size, it is easily changable now.
- Codechange: [NPF] Improved the NPF hash calculation slightly.
- Codechange: [NPF] Increased hash size, should speed up somewhat.
20 years ago
Darkvater 9c3813e213 (svn r2164) - Language: [ 1173684 ] fix some wrong french translations (glx) 20 years ago
Darkvater a3293be124 (svn r2163) - SVN: Set ignore on grfcodec for when you decode/encode grf files there 20 years ago
Darkvater 68138d6a31 (svn r2162) - Fix: Tooltips of horizontal scrollbars were wrong; they now say left/right instead of up/down 20 years ago
Darkvater 081ff24282 (svn r2161) - Fix: When resizing a window, the button is also visibly depressed
- CodeChange: Use images as arrows in the scenario-date scroller, looks better
- Feature: Clicked buttons with images/text now visibly depress their contents when pressed (eg it really seems like the button is moving)
- Fix: Fix sprite offsets of the arrow sprites in openttd.grf
20 years ago
Darkvater 5a78c32a23 (svn r2160) - Fix (Regression): Convert rail failed to work; stupid bitshifts :P (sorry) 20 years ago
matthijs 4bd95d756e (svn r2159) - Fix: [NPF] Road vehicles never found their target station or depots (introduced in r2154)
- Fix: [NPF] Trains still tried to go through the back of depots.
20 years ago
miham 7f941818a8 (svn r2158) [Translations] Updated translations (72 strs/2 langs) 20 years ago
Darkvater 5109df6f55 (svn r2157) - Feature (request): [ 1166978 ] Focus keyboard on input-box in Multiplayer Menu
- Feature: If the to be started server is using a password, draw a red '*' after the set password button to remind the user.
20 years ago
truelight 93c61b9e8f (svn r2156) -Fix: in revision 2104 someone forgot to add a very important check in
GetPrevVehicleInChain; this caused some nasty bugs in depots, like 
wagons without engines complain about not being stopped, and stuff like 
that. Hopefully this fixes those problems. With a big tnx to BJH for his 
perfect demo!
20 years ago
Darkvater 13fc3271f4 (svn r2155) - Fix: Company value was $2 when value more than an int32 could handle (use max64 instead of max) 20 years ago
matthijs 92fe22382a (svn r2154) - Fix: [NPF] Vehicles should no longer try to drive through the back of depots and road stations.
- Add: GetDepotDirection() wrapper function.
- Fix: [NPF] Ships can now actually reach buoys.
20 years ago
darkvater dfe6c34bf1 (svn r2153) - Fix: [ 1173690 ] Path displaying as "C:\\" in saveload window win32-only (glx) 20 years ago