------------------------------------------------------------------------ r8884 | tron | 2007-02-24 18:44:30 +0000 (Sat, 24 Feb 2007) | 4 lines -Fix Replace SetSpeedLimitOnBridge() by something simpler ------------------------------------------------------------------------ r8882 | maedhros | 2007-02-24 16:37:06 +0000 (Sat, 24 Feb 2007) | 2 lines -Cleanup (r8881): Remove obsolete strings. ------------------------------------------------------------------------ r8881 | maedhros | 2007-02-24 16:34:37 +0000 (Sat, 24 Feb 2007) | 2 lines -Feature: Allow built-in newgrf error messages to be translated, and load custom error messages properly. ------------------------------------------------------------------------ r8880 | rubidium | 2007-02-24 15:05:14 +0000 (Sat, 24 Feb 2007) | 2 lines -Codechange: make anim cursors an array of structs. ------------------------------------------------------------------------ r8879 | rubidium | 2007-02-24 14:53:32 +0000 (Sat, 24 Feb 2007) | 2 lines -Codechange: make DrawPlayerFace easier to read. ------------------------------------------------------------------------ r8878 | tron | 2007-02-24 14:36:14 +0000 (Sat, 24 Feb 2007) | 5 lines -Fix -Fix: Do a better job when checking the parameters of CmdMoveRailVehicle() NOTE: 0.5 candidate ------------------------------------------------------------------------ r8877 | rubidium | 2007-02-24 12:50:05 +0000 (Sat, 24 Feb 2007) | 2 lines -Cleanup: remove already implemented @todo ------------------------------------------------------------------------ r8876 | tron | 2007-02-24 09:42:39 +0000 (Sat, 24 Feb 2007) | 4 lines -Fix Replace tests with magic numbers by a simple extraction template for command parameters ------------------------------------------------------------------------ r8875 | tron | 2007-02-24 06:46:20 +0000 (Sat, 24 Feb 2007) | 6 lines -Fix Remove unnecessary EnsureNoVehicle() checks because they are - pointless per se (f.e. there are no vehicles on house tiles) - done again (f.e. using CMD_LANDSCAPE_CLEAR just a few lines later) ------------------------------------------------------------------------ r8869 | KUDr | 2007-02-24 00:17:46 +0000 (Sat, 24 Feb 2007) | 1 line [YAPF] -Fix: Large Train Stations/Trains makes OpenTTD crash (Jigsaw_Psyche) ------------------------------------------------------------------------ r8868 | rubidium | 2007-02-23 22:14:14 +0000 (Fri, 23 Feb 2007) | 2 lines -Fix (r8715): road vehicles could not overtake anymore in some directions (mart3p). ------------------------------------------------------------------------ r8867 | KUDr | 2007-02-23 21:36:43 +0000 (Fri, 23 Feb 2007) | 1 line -Fix(r8866): revert yapf_costrail.hpp commited by mistake, helpers.hpp had wrong line ending ------------------------------------------------------------------------ r8866 | KUDr | 2007-02-23 21:29:50 +0000 (Fri, 23 Feb 2007) | 1 line -Doc: added more comments to template struct MakeEnumPropsT ------------------------------------------------------------------------ r8865 | peter1138 | 2007-02-23 21:03:57 +0000 (Fri, 23 Feb 2007) | 2 lines -Codechange: (NewGRF) Ignore 1 byte action 0s during safety check ------------------------------------------------------------------------ r8864 | KUDr | 2007-02-23 20:51:10 +0000 (Fri, 23 Feb 2007) | 1 line -Codechange: make ClrBitT(), SetBitT() and ToggleBitT more like CLRBIT() and so on (modify value of the first parameter instead or returning the result) ------------------------------------------------------------------------ r8863 | peter1138 | 2007-02-23 19:27:31 +0000 (Fri, 23 Feb 2007) | 2 lines -Fix: prefix engine_custom_sprites with _ ------------------------------------------------------------------------ r8862 | belugas | 2007-02-23 18:55:07 +0000 (Fri, 23 Feb 2007) | 2 lines -Cleanup: doxygen changes, again. Mostly @files missing tags and a few comments style. Some documentation addition, when i can easily supply them ------------------------------------------------------------------------ r8860 | Darkvater | 2007-02-23 12:56:10 +0000 (Fri, 23 Feb 2007) | 1 line -Cleanup: some style changes, proper #endif comments, variable initialisation, WINCE ifdef and a vsprintf to vsnprintf change. ------------------------------------------------------------------------ r8859 | belugas | 2007-02-23 11:50:43 +0000 (Fri, 23 Feb 2007) | 1 line -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style. ------------------------------------------------------------------------ r8858 | peter1138 | 2007-02-23 09:56:20 +0000 (Fri, 23 Feb 2007) | 2 lines -Codechange: Replace magic number test with class method for determining if a cargo is valid/active. ------------------------------------------------------------------------ r8857 | celestar | 2007-02-23 08:37:33 +0000 (Fri, 23 Feb 2007) | 2 lines -Documentation: Added some doxygen @file tags, repaired others (the @file tag MUST be found before any line of code, that includes preprocessor directives). ------------------------------------------------------------------------ r8856 | tron | 2007-02-23 08:19:24 +0000 (Fri, 23 Feb 2007) | 4 lines -Fix Missing */ (r8853) ------------------------------------------------------------------------ r8855 | tron | 2007-02-23 08:03:30 +0000 (Fri, 23 Feb 2007) | 4 lines -Fix Change some shift and cast mumbo jumbo for inflation calculation to something remotly comprehensible and explain what the magic number "54" means ------------------------------------------------------------------------ r8854 | belugas | 2007-02-23 02:18:17 +0000 (Fri, 23 Feb 2007) | 1 line -Fix(r8853): Ctrl+s (save) without Ctrl does not produce desired result... ------------------------------------------------------------------------ r8853 | belugas | 2007-02-23 01:48:53 +0000 (Fri, 23 Feb 2007) | 1 line -Cleanup: doxygen changes. Correct forgotten c files to cpp files with the @file tag as well as a few general comments style ------------------------------------------------------------------------ r8852 | rubidium | 2007-02-23 00:17:46 +0000 (Fri, 23 Feb 2007) | 3 lines -Fix (r8735): make the dynamite tool for drive through road stops as if it were removing a normal road tile (consider the local authority and such). -Fix (r8735): remove drive through road stops on town owned roads when going bankrupt/being removed. ------------------------------------------------------------------------ r8851 | rubidium | 2007-02-23 00:10:16 +0000 (Fri, 23 Feb 2007) | 2 lines -Fix [FS#643] (r8735): crash on removing town owned roads outside of the local authority. ------------------------------------------------------------------------ r8850 | peter1138 | 2007-02-22 22:53:49 +0000 (Thu, 22 Feb 2007) | 2 lines -Codechange: Use the cargo type's is_freight flag instead of checking the cargo type to determine if the cargo type is freight cargo type cargo type. ------------------------------------------------------------------------ r8849 | peter1138 | 2007-02-22 22:09:51 +0000 (Thu, 22 Feb 2007) | 2 lines -Codechange: Replace hardcoded global/climate cargo mapping tables with dynamically generated data. Change associated code to use new functions. ------------------------------------------------------------------------ r8848 | miham | 2007-02-22 19:14:43 +0000 (Thu, 22 Feb 2007) | 18 lines -Update: WebTranslator2 update to 2007-02-22 19:57:58 brazilian_portuguese - 1 fixed, 49 changed by tucalipe (48), fukumori (2) bulgarian - 2 fixed by kokobongo (2) catalan - 1 fixed, 2 changed by arnaullv (3) czech - 1 fixed by Hadez (1) danish - 2 fixed, 1 changed by MiR (3) dutch - 1 fixed by habell (1) french - 1 fixed, 1 changed by Skiper (2) german - 1 fixed by Neonox (1) italian - 1 fixed by sidew (1) korean - 4 fixed by leejaeuk5 (3), darkttd (1) portuguese - 4 changed by izhirahider (4) romanian - 10 fixed by kneekoo (10) russian - 1 fixed, 42 changed by DarkFenX (43) slovenian - 1 deleted by Necrolyte (1) spanish - 1 changed by eusebio (1) ukrainian - 19 fixed, 1 deleted, 12 changed by mad (32) ------------------------------------------------------------------------ r8847 | tron | 2007-02-22 19:05:26 +0000 (Thu, 22 Feb 2007) | 4 lines -Fix There is not much point in hiding a normal 64bit multiplication in a function, so do not do it ------------------------------------------------------------------------ r8846 | tron | 2007-02-22 18:44:42 +0000 (Thu, 22 Feb 2007) | 4 lines -Fix Remove confusing superfluous parentheses ------------------------------------------------------------------------ r8845 | tron | 2007-02-22 18:34:57 +0000 (Thu, 22 Feb 2007) | 4 lines -Fix Remove pointless and out of context comment ------------------------------------------------------------------------ r8844 | Darkvater | 2007-02-22 16:16:44 +0000 (Thu, 22 Feb 2007) | 1 line -Revert partly (r8820, r8806): Change AppendToGRFConfigList to add the allocated GRFConfig to its list and not copy it. ------------------------------------------------------------------------ r8843 | tron | 2007-02-22 15:01:38 +0000 (Thu, 22 Feb 2007) | 6 lines -Fix -Fix: Off-by-one error in accessing a buffer (if you start at the second byte you have to subtract one from the size) Also avoid an unnecessary buffer copy and strlcpy() abuse NOTE: 0.5 candidate ------------------------------------------------------------------------ r8841 | tron | 2007-02-22 08:43:02 +0000 (Thu, 22 Feb 2007) | 4 lines -Fix Remove {,u}intswap() and replace them by Swap() ------------------------------------------------------------------------ r8840 | tron | 2007-02-22 06:57:21 +0000 (Thu, 22 Feb 2007) | 5 lines -Fix Remove FIFO and Stack. They have never been used and could not be used anyway because the declarations of some functions are spelled different than the definitions they should correspond to. Also remove some other unused helpers and related struct attributes. ------------------------------------------------------------------------ r8839 | glx | 2007-02-22 00:33:39 +0000 (Thu, 22 Feb 2007) | 1 line -Fix: escape slashes in sed for mingw Makefile.dep stuff. It worked with sed 3.02 (provided by msys) but sed 4.1.4 (from gnuwin32.sf.net) failed. ------------------------------------------------------------------------ r8838 | maedhros | 2007-02-21 23:18:08 +0000 (Wed, 21 Feb 2007) | 3 lines -Feature: Show newgrf error messages loaded in Action B in the newgrf gui window. GRFs with an error have a warning symbol shown before the name. ------------------------------------------------------------------------ r8837 | rubidium | 2007-02-21 22:02:10 +0000 (Wed, 21 Feb 2007) | 2 lines -Fix [FS#626]: drive through stations did not connect to neighbouring roads (mart3p). ------------------------------------------------------------------------ r8836 | KUDr | 2007-02-21 21:56:07 +0000 (Wed, 21 Feb 2007) | 2 lines [YAPF] -Fix[FS#641]: Assertion: 'IsTileDepotType(depot_tile, TRANSPORT_ROAD)' failed (Karsten) -don't tell that we found destination if the best direction was only guessed ------------------------------------------------------------------------ r8835 | tron | 2007-02-21 20:05:05 +0000 (Wed, 21 Feb 2007) | 4 lines -Fix Remove dead code ------------------------------------------------------------------------ r8834 | tron | 2007-02-21 19:49:18 +0000 (Wed, 21 Feb 2007) | 4 lines -Fix Do not pass something to a function it better could figure out by itself ------------------------------------------------------------------------ r8833 | tron | 2007-02-21 19:46:37 +0000 (Wed, 21 Feb 2007) | 4 lines -Fix -Codechange: Split MakeRoadStop() into MakeRoadStop() and MakeDriveThroughRoadStop() for more clarity and less possibilities to use it incorrect ------------------------------------------------------------------------ r8832 | rubidium | 2007-02-21 17:59:34 +0000 (Wed, 21 Feb 2007) | 3 lines -Change: rewrite the solution file generator a little so it makes project files that look more like the ones generated by respectively MSVC2003 and MSVC2005. For some reason the internal formatting of the XML between MSVC2003 and MSVC2005 differs, so adding a file in MSVC2005 would result in basically adding the entire openttd_vs80.vcproj to the diff. ------------------------------------------------------------------------ r8831 | maedhros | 2007-02-21 17:54:30 +0000 (Wed, 21 Feb 2007) | 3 lines -Feature: If an action 7/9 leads to skipping the rest of the file, disable the newgrf if an action 8 hasn't been encountered yet. ------------------------------------------------------------------------ r8830 | maedhros | 2007-02-21 17:20:44 +0000 (Wed, 21 Feb 2007) | 3 lines -Feature: Stop loading and disable the current newgrf if a fatal error message in Action B is encountered. Also be more strict on the values accepted. ------------------------------------------------------------------------ r8829 | tron | 2007-02-21 08:32:36 +0000 (Wed, 21 Feb 2007) | 4 lines -Fix Remove translations which should not be empty ------------------------------------------------------------------------ r8828 | tron | 2007-02-21 07:37:31 +0000 (Wed, 21 Feb 2007) | 4 lines -Fix -Regression (r7585): On load calculate the station rectangle for all savegames, not just savegames with at least version 27 ------------------------------------------------------------------------ r8827 | belugas | 2007-02-21 02:22:43 +0000 (Wed, 21 Feb 2007) | 2 lines -Codechange: Cleanup of industry_cmd (Step-6). Implementation of IndustryTileSPec, the alter ego of IndustrySpec. It offers identification of the different industry tiles in a more distinct manner, as well as regrouping scattered pieces of data across the sources. More to come ------------------------------------------------------------------------ r8826 | peter1138 | 2007-02-20 22:09:21 +0000 (Tue, 20 Feb 2007) | 2 lines -Codechange: Replace _cargoc's separate arrays with a regular struct array (with accessor) and implement new initialization method using cargo labels. ------------------------------------------------------------------------ r8825 | maedhros | 2007-02-20 17:52:43 +0000 (Tue, 20 Feb 2007) | 4 lines -Fix: Make sure strings read from newgrf files are 0 terminated and 0 terminate them if they aren't, so we don't read beyond the end of the memory allocated for the line. ------------------------------------------------------------------------ r8824 | Darkvater | 2007-02-20 14:39:47 +0000 (Tue, 20 Feb 2007) | 1 line -Fix (r8821): don't use MSVC2005 runtime library-only _snwprintf_s function, but use 'insecure/deprecated' version and zero-terminate string ourselves. Thanks for testing glx. ------------------------------------------------------------------------ r8823 | Darkvater | 2007-02-20 09:46:10 +0000 (Tue, 20 Feb 2007) | 1 line -Fix (r8821): wrapping opendir to ottd-specific function failed on non-windows because this wrapper was only active for win32 (thx Rubidium) ------------------------------------------------------------------------ r8822 | tron | 2007-02-20 06:39:09 +0000 (Tue, 20 Feb 2007) | 4 lines -Fix Variable scope, const ------------------------------------------------------------------------ r8821 | Darkvater | 2007-02-20 00:09:23 +0000 (Tue, 20 Feb 2007) | 1 line -Regression: Unable to browse directories on *nix if the filesystem is not in UTF-8 charset and special characters are used. The string passed to opendir() which is UTF-8 was not parsed back to the filesystem format. Use a wrapper called ttd_opendir() instead of redefining opendir itself. ------------------------------------------------------------------------ r8820 | Darkvater | 2007-02-20 00:01:54 +0000 (Tue, 20 Feb 2007) | 1 line -Codechange (r8807, r8806): Remove the unneeded calloc/free allocation of GRFConfig and turn it into a simple variable (it's supposed to be data-only). Thanks Tron. ------------------------------------------------------------------------ r8819 | truelight | 2007-02-19 21:18:39 +0000 (Mon, 19 Feb 2007) | 2 lines [Config] -Documentation: added why we need CC_HOST for linking on PSP ------------------------------------------------------------------------ r8818 | rubidium | 2007-02-19 21:11:44 +0000 (Mon, 19 Feb 2007) | 2 lines -Codechange: remove the #ifdef _cplusplus remnants. ------------------------------------------------------------------------ r8816 | truelight | 2007-02-19 20:10:46 +0000 (Mon, 19 Feb 2007) | 2 lines [Config] -Fix: if you disable stripping, don't detect strip at all ------------------------------------------------------------------------ r8814 | truelight | 2007-02-19 19:59:19 +0000 (Mon, 19 Feb 2007) | 2 lines [Config] -Add: added --awk and detect_awk. We now try to find an awk on the user system which allows gsub(). If not found, you can define one yourself, or it tells you versions you might want to install ------------------------------------------------------------------------ r8813 | truelight | 2007-02-19 18:58:28 +0000 (Mon, 19 Feb 2007) | 2 lines -Fix r8812: fixed one GNU depending grep statement with an other ;) Switched to egrep, which should work just fine. ------------------------------------------------------------------------ r8812 | truelight | 2007-02-19 18:47:55 +0000 (Mon, 19 Feb 2007) | 2 lines -Revert r7880: those changes assumed a GNU-grep, which isn't always available. Reverted back to a bit more ugly way of writing greps, but at least they are not bound to the laws of GNU. ------------------------------------------------------------------------ r8811 | truelight | 2007-02-19 16:24:10 +0000 (Mon, 19 Feb 2007) | 2 lines [Configure] -Fix: [:lower:] for tr is GNU specific. Use [a-z] instead. (Celestar) ------------------------------------------------------------------------ r8810 | truelight | 2007-02-19 16:10:18 +0000 (Mon, 19 Feb 2007) | 2 lines [Configure] -Fix: "" variables if you test them, else if they are empty they return lovely errors (tnx to Celester for finding thisone ;)) ------------------------------------------------------------------------ r8809 | rubidium | 2007-02-19 13:45:13 +0000 (Mon, 19 Feb 2007) | 2 lines -Fix (r8715): accidentally removed a part of an expression. ------------------------------------------------------------------------ r8808 | rubidium | 2007-02-19 10:13:51 +0000 (Mon, 19 Feb 2007) | 2 lines -Fix [FS#631]: do not show the 'edit sign' window for spectators. ------------------------------------------------------------------------ r8807 | Darkvater | 2007-02-18 22:50:51 +0000 (Sun, 18 Feb 2007) | 3 lines -Feature: Add support for loading (some of) the TTDP extra chunks mainly list of GRFIDs and TTDP version the game was saved with. GRFID list is read and active GRFs are loaded with the game if present in the data/ directory. TTDP versioning information only works for newer versions, old versions will only give rough information but it's not worth the effort to precisely figure out what bit means what where and when. ------------------------------------------------------------------------ r8806 | Darkvater | 2007-02-18 22:37:33 +0000 (Sun, 18 Feb 2007) | 1 line -Codechange (r7582): Remove a duplicate append of static GRF's when loading the game and hide the intrinsics of adding elements to the GRFConfig list by using an AppendToGRFConfigList function. ------------------------------------------------------------------------ r8805 | Darkvater | 2007-02-18 22:07:08 +0000 (Sun, 18 Feb 2007) | 1 line -Codechange (r8757): DO set eol-style and keywords on new files... ------------------------------------------------------------------------ r8802 | tron | 2007-02-18 16:24:29 +0000 (Sun, 18 Feb 2007) | 6 lines -Fix -Fix: When inserting an order for a ship while checking the distance between the new order and the order it is inserted after adhere the order types to determine the correct type of destination (i.e. station or depot) Also do a better job in determining the preceding order NOTE: 0.5 candidate ------------------------------------------------------------------------ r8800 | tron | 2007-02-18 11:45:56 +0000 (Sun, 18 Feb 2007) | 4 lines -Fix Simplify MoveGoodsToSation() under the assumption that 0 is less or equal than 0 ------------------------------------------------------------------------ r8799 | tron | 2007-02-18 11:27:09 +0000 (Sun, 18 Feb 2007) | 4 lines -Fix Reduce variable scope ------------------------------------------------------------------------ r8798 | rubidium | 2007-02-18 11:15:13 +0000 (Sun, 18 Feb 2007) | 2 lines -Fix (8735): update documentation to reflect the used bits for drive through stations. ------------------------------------------------------------------------ r8797 | rubidium | 2007-02-18 11:14:55 +0000 (Sun, 18 Feb 2007) | 2 lines -Fix (8741): the 'drive through station built on town owned road' bit was not set. ------------------------------------------------------------------------ r8796 | tron | 2007-02-18 09:00:34 +0000 (Sun, 18 Feb 2007) | 4 lines -Fix Remove the unused function AllocateStation() which was left over from r8125 ------------------------------------------------------------------------ r8795 | tron | 2007-02-18 08:50:27 +0000 (Sun, 18 Feb 2007) | 5 lines -Fix Remove the explicit check for buoys when inserting goto station orders. This is already covered by the preceding OWNER_NONE test. ------------------------------------------------------------------------ r8794 | tron | 2007-02-18 08:37:39 +0000 (Sun, 18 Feb 2007) | 7 lines -Fix Remove the possiblity to take over stations with OWNER_NONE by building a station next to it -Fix: It was possible to take over buoys by building a station next to them Also remove the now unnecessary special case which prevented taking over oilrigs NOTE: 0.5 candidate ------------------------------------------------------------------------ r8793 | glx | 2007-02-17 23:53:17 +0000 (Sat, 17 Feb 2007) | 1 line -Fix: corrected spelling of real french townnames and 'removed' a duplicate ------------------------------------------------------------------------ r8792 | maedhros | 2007-02-17 23:01:42 +0000 (Sat, 17 Feb 2007) | 1 line -Fix (r6623): Don't check whether a string length is 1 when you already know it isn't. ------------------------------------------------------------------------ r8791 | miham | 2007-02-17 22:01:07 +0000 (Sat, 17 Feb 2007) | 1 line -Revert: r8790 Committed too much in last commit ------------------------------------------------------------------------ r8790 | miham | 2007-02-17 21:56:22 +0000 (Sat, 17 Feb 2007) | 1 line [Namegen] -Revert: r8789 (Tron kinda convinced me it is a bad thing, sorry for it) ------------------------------------------------------------------------ r8789 | miham | 2007-02-17 21:50:00 +0000 (Sat, 17 Feb 2007) | 1 line [Namegen] -Change: Sorted townnameparts for hungarian, and added a few more ------------------------------------------------------------------------ r8788 | miham | 2007-02-17 21:31:30 +0000 (Sat, 17 Feb 2007) | 1 line [Translations] -Fix: Removed bogus 3sk case from slovenian, as it is handled in WebTranslator2 from now on ------------------------------------------------------------------------