summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-04-24(svn r2230) Oops, revert wrongly committed local console.c. Also add the ↵Darkvater
endian_target.h and endian_host.h to the ignore list
2005-04-24(svn r2229) - Fix: [ 1188777 ] Non-existing sprite #5125 (presignal). The ↵Darkvater
DOS grf file trgi.grf has 6 less sprites than the windows one. This results in some segfaults for certain sprites. Fixed it by added a dummy grf file consisting ofr 6 sprites and loaded when using DOS gfx at the appropiate place.
2005-04-24(svn r2228) - Fix: [ 1188986 ] Song in main menu screen should loop when it ↵Darkvater
ends.
2005-04-24(svn r2227) - Fix (regression): [ 1188408 ] Fix news settings load check. ↵Darkvater
When updating old news-message-types to new ones, certain combinations of new were wrongly recognized as old (glx)
2005-04-24(svn r2226) -Fix: 2 other capital problems for the OSX part of the Makefiletruelight
2005-04-24(svn r2225) -Fix: split the endian-detection to target/host. Now ↵truelight
cross-compiling on i386-linux for MacOSX should also work for the language-files (strgen issues)
2005-04-24(svn r2224) -Fix: capital-correctness for OSX-dir-namestruelight
2005-04-24(svn r2223) When adding tracks to a railway tile reset the ground to bare ↵tron
land, fix for a glitch in r2131
2005-04-22(svn r2222) Check the parameters of Cmd{Insert,Delete,Modify,Skip}Order() ↵tron
and CmdRestoreOrderIndex(): - Check if the vehicle exists - Check if the vehicle belongs to the correct player - Check if the new order is valid (type, destination, flags) (CmdInsertOrder)
2005-04-21(svn r2221) - Fix: "Map size" is two words. Also draw the string ↵Darkvater
right-aligned in the intro gui so it doesn't matter how long it is in other languages.
2005-04-21(svn r2220) Put two TileIndices into temporary variables to improve readabilitytron
2005-04-21(svn r2219) [Translations] Updated to 2005-04-21_2 (40 strs / 5 langs)miham
2005-04-21(svn r2218) Indentationtron
2005-04-20(svn r2217) - Fix: [ 1184201 ] AI orders its vehicles to a competitor's ↵Darkvater
truck stop. Added a CmdFailed() check to all command returns of the AI instead of the simple == / != CMD_ERROR check. This should fix the problem.
2005-04-20(svn r2216) [Translations] Updated to 2005-04-21 (67 strs / 6 langs)miham
2005-04-20(svn r2215) - Feature: Add a temporary mapsize selector to the intro gui. ↵Darkvater
This is sufficient until the real window is designed & coded.
2005-04-19(svn r2214) - Fix: Dragging the desert tool over half-desert turns it into ↵Darkvater
full-desert; dragging the tool while pressing ctrl, will remove the desert area.
2005-04-18(svn r2213) -Fix/Feature/Codechange: [ Multistop ] Changed the algo so that ↵celestar
it uses NPF. This fixes the problem of RVs attempting to go to unreachable stops [ 1161610 ], and should greatly reduce the wrong stop problem. Cleaned parts of the code
2005-04-17(svn r2212) [Translations] Updated to 2005-04-17 (139 strs / 3 langs)miham
2005-04-16(svn r2211) - Fix(ish): When eternally looping in 2090 don't go increasing ↵Darkvater
the inflation anymore because it will just rise to insanely high values beyond all imagination.
2005-04-16(svn r2210) - Fix: When a road-station is deleted, also delete the assigned ↵Darkvater
slots of all vehicles headed to that station. This fixes an assertion, thanks go to Tron for finding the cause.
2005-04-16(svn r2209) - CodeChange: [ 1184348 ] Remove unused _newspaper_flag that was ↵Darkvater
supposed to be some ugly hack for chatting (gonewacko)
2005-04-16(svn r2208) - Fix: [ 1174237 ] Max loan always in euros, use _opt_ptr ↵Darkvater
instead of _opt (glx)
2005-04-16(svn r2207) - Update readme.txt about some windows compilation and ↵Darkvater
troubleshooting running openttd without a soundcard.
2005-04-15(svn r2206) - Regression Fix: slight typo of res2 into res, this also fixes ↵Darkvater
recent bug "[ 1183396 ] Train can't find depot, it gives money in Multiplayer"
2005-04-15(svn r2205) - Fixup of revision 2200, not twice CMD_REMOVE_LONG_ROAD :p. ↵Darkvater
Thanks TrueLight.
2005-04-15(svn r2204) - Add: [NPF] NPF now has a maximum number of nodes it will ↵matthijs
search. The default value is 5000 for now, which is an educated guess. Probably needs some finetuning. Hopefully this "feature" can be removed later on, when more sophisticated means of limiting the pathfinder have been implemented. This should make ships and larger networks playable for now, though.
2005-04-15(svn r2203) [Translations] Updated to 2005-04-15 (25 strs / 5 langs)miham
2005-04-15(svn r2202) - Fix: [NPF] When a vehicle could not reach its target, it would ↵matthijs
choose a random direction. It will now try to get as close as possible.
2005-04-14(svn r2201) - Fix: Crash in scenario-editor with terraforming out-of-map bounds.Darkvater
2005-04-14(svn r2200) - Fix [ 1179892 ] click & drag removal of road assertion fail. ↵Darkvater
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)
2005-04-14(svn r2199) [Translations] Updated to 2005-04-14 (188 strs / 13 langs)miham
2005-04-14(svn r2198) renamed MacOS to MacOSX where it was written wrong. Made myself ↵bjarni
MacOSX porter as well as coder
2005-04-14(svn r2197) -fix [Makefile]: SDL_CONFIG from makefile.config is now not ↵bjarni
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
2005-04-14(svn r2196) -Change: updated the Makefile, now it works for crossplatform ↵TrueLight
compiling (and distcc compiling via Makefile.config). Wiki is coming up soon! Big tnx to Bjarni and Lucaspiller.
2005-04-14(svn r2195) Add CmdFailed() as the One True Way(tm) to check if a command ↵tron
failed.
2005-04-14(svn r2194) [Translations] Updated to 2005-04-14 (12 strs / 5 langs)miham
2005-04-13(svn r2193) - SVN: Set ignore on the last couple of annoying filesDarkvater
2005-04-13(svn r2192) - Add greater control to the 'message options' window. Now you ↵Darkvater
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.
2005-04-13(svn r2191) -Add: OpenTTD now compiles with dietlibc (Aard)truelight
2005-04-13(svn r2190) - Fix: [1179424] '.. (Parent directory)' does not show up in the ↵darkvater
root-directory anymore; win32 only (mgasterix)
2005-04-12(svn r2189) Introduce and use IsCompatibleTrainStationTile()tron
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
2005-04-12(svn r2188) Revert r2185, because trains always accerlated (Requested by ↵tron
Celestar)
2005-04-12(svn r2187) Implement a slightly better workaround than r1588 did. (Joint ↵tron
effort with Celestar)
2005-04-12(svn r2186) [Translations] Refreshed translations (20 strs/3 langs)miham
2005-04-11(svn r2185) -Fix: Made sure that the realistic acceleration does not freeze ↵celestar
trains anymore
2005-04-11(svn r2184) - CodeChange: remove the copy of ClearSlot(), which is now also ↵Darkvater
called for CmdSkipOrder(). This also fixes the involuntary crash introduced 2 revisions ago
2005-04-11(svn r2183) - Fix: Removed brackets from around STRAIGHT_TRACK_LENGTH, they ↵matthijs
caused preliminary rounding...
2005-04-11(svn r2182) - Add: [NPF] There is now a debug class for NPF. Use -d ↵matthijs
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.
2005-04-11(svn r2181) - Add: DistanceTrack() to calculate the distance over optimally ↵matthijs
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.