Commit Graph

1683 Commits (35e5844be3541ecb42310713bb67894a25bf7e64)
 

Author SHA1 Message Date
miham 35e5844be3 (svn r2186) [Translations] Refreshed translations (20 strs/3 langs) 20 years ago
celestar cc53b11637 (svn r2185) -Fix: Made sure that the realistic acceleration does not freeze trains anymore 20 years ago
Darkvater 4719c452e8 (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 78eeb84d6b (svn r2183) - Fix: Removed brackets from around STRAIGHT_TRACK_LENGTH, they caused preliminary rounding... 20 years ago
matthijs 1858c37346 (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 81fd47ac28 (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 ec0358f850 (svn r2180) -Fix: Deceleration code now only takes into account rail station tiles for computing the remaining distance 20 years ago
matthijs b1245a4984 (svn r2179) - Fix: [ 1121437, 1114228 ] Vehicles not entering depots for auto servicing. 20 years ago
Darkvater 00df5da8eb (svn r2178) Postprevcommitaddendum: add debug.h if you use DEBUG() 20 years ago
Darkvater 11920607e4 (svn r2177) - Fix: Fix a slot desync with setting the invalid slot to the correct value 20 years ago
tron 8b1d334927 (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 88a0e06cfc (svn r2175) [Translations] Updated translations (11 strs/3 langs) 20 years ago
miham a1f8eb1d32 (svn r2174) [Translations] Updated translations (7 strs/2 langs) 20 years ago
celestar 23b1617cdf (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 0844159786 (svn r2172) [Translations] Translations from the last two days (37 strs/11 langs) 20 years ago
miham e3226dba1e (svn r2171) [Translations] Manually fixed string-order in english.txt (someone fscked it up!) 20 years ago
bjarni 7707f0b732 (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 dbffb060c1 (svn r2169) -Fix: Doing the slot clearing also for crashed road vehicles (c.f. previous commit) 20 years ago
Darkvater 8f4583b161 (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 4a1d9a4775 (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 1d64640ebd (svn r2166) Fixed two warnings in the last commit. 20 years ago
matthijs ad5c6a1ecd (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 1ba3d4ea9f (svn r2164) - Language: [ 1173684 ] fix some wrong french translations (glx) 20 years ago
Darkvater 41abb27557 (svn r2163) - SVN: Set ignore on grfcodec for when you decode/encode grf files there 20 years ago
Darkvater 817a665c52 (svn r2162) - Fix: Tooltips of horizontal scrollbars were wrong; they now say left/right instead of up/down 20 years ago
Darkvater 34811a332e (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 39c4c70c68 (svn r2160) - Fix (Regression): Convert rail failed to work; stupid bitshifts :P (sorry) 20 years ago
matthijs 62b1e657c9 (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 e6abbbca77 (svn r2158) [Translations] Updated translations (72 strs/2 langs) 20 years ago
Darkvater f208f5fa10 (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 6a341663cc (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 1b43dec1d6 (svn r2155) - Fix: Company value was $2 when value more than an int32 could handle (use max64 instead of max) 20 years ago
matthijs d08dfa84a4 (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 50003f4ed9 (svn r2153) - Fix: [ 1173690 ] Path displaying as "C:\\" in saveload window win32-only (glx) 20 years ago
darkvater 648fa7c97d (svn r2152) - Fix: Chatbar in MP games is now on-top of the news window.
- CodeChange: Introduction of SendWindowMessage() where a window can send another window a message (ala windows style msg, wparam, lparam). Messages can be sent by windowclass and by windowpointer.
- CodeChange: IsVitalWindow() simplifies a lot of checks for window handling that need to know what windows it can close, or be on top of, etc.
20 years ago
miham 4b3f20f484 (svn r2151) [Translations] Updated translations (36 strs/2 langs) 20 years ago
miham 089ea3cbb9 (svn r2150) [Translations] Updated translations (14 strs/10 langs) 20 years ago
Darkvater 9d34e1fe01 (svn r2149) - Fix (Regression): [ 1175877 ] Inputbox of savegamedialog did not have "focus", keyinput went to game. A quick fix for the horrid inputkey-handling. 20 years ago
matthijs bb67c4f356 (svn r2148) - Add: [NPF] Trains can now plan taking into account that they can reverse in depots. This makes forced servicing tracks work with NPF. 20 years ago
matthijs cee1a5d1b2 (svn r2147) - Add: [NPF] Give red presignal exit signals a different (higher) penalty, to discourage trains from waiting at presignal exits. 20 years ago
matthijs fd394303b2 (svn r2146) - Fix: [ 1175973 ] Crash if any key is pressed in startup (pkirchhofer) 20 years ago
miham facec3d922 (svn r2145) [Translations] Updated translations (174 strs/6 langs)
[Translations] Also switched to two spaces instead of tabs (Darkvater requested)
20 years ago
darkvater 1944c5f877 (svn r2144) - Fix: AI crash when trying to remove stations with index higher than 256. 20 years ago
Darkvater 7a9fad7ee1 (svn r2143) - Fix: [ 1175748 ] Wrong Button-Images in scenario-editors landscape-tool (thanks chrishuebsch) 20 years ago
Darkvater 2aa7b2d7ea (svn r2142) - Fix: Game no longer crashes when you want to remove a piece of road under a bridge that belongs to the town. TODO: railcrossings store owner somewhere else, put it into _map_owner[]! 20 years ago
Darkvater 9aacf73720 (svn r2141) - Fix: Keys now hopefully only activate the right windows. If console/querybox/chatbox is open, all input goes there, if closed to game itself. 20 years ago
Darkvater f203150f7d (svn r2140) - Fix: [ 1175726 ] Allows rails in scenario editor. Moved both 'A' autorail and 'L' Terraform toolbar to their REAL places instead of the global window. 20 years ago
bjarni 19b87abd56 (svn r2139) -fix: "[ 1146215 ] Engine power not updated w/auto replace" autoreplace now forces an update of the cache. It should not affect gameplay as the
cache is updated each time the train starts moving, it's just an instant update of the detail window
20 years ago
celestar 816f629f13 (svn r2138) -Fix: [ 1144154 ] The map has two dimensions, not one 20 years ago
Darkvater 0aa8913834 (svn r2137) - CodeChange: Remove unnecessary preprocessor magic 20 years ago