------------------------------------------------------------------------ r8908 | rubidium | 2007-02-26 18:25:03 +0000 (Mon, 26 Feb 2007) | 2 lines -Codechange: declaration of DrawBridgeMiddle does not belong in a map accessors header. ------------------------------------------------------------------------ r8907 | rubidium | 2007-02-26 00:41:24 +0000 (Mon, 26 Feb 2007) | 2 lines -Fix (r3281): reading from an unitialized variable. ------------------------------------------------------------------------ r8906 | rubidium | 2007-02-26 00:36:57 +0000 (Mon, 26 Feb 2007) | 2 lines -Feature: translation dependant formatting of dates. ------------------------------------------------------------------------ r8903 | peter1138 | 2007-02-25 14:33:43 +0000 (Sun, 25 Feb 2007) | 2 lines -Regression (r8891): CT_PURCHASE does apply to aircraft overrides... ------------------------------------------------------------------------ r8901 | tron | 2007-02-25 11:59:26 +0000 (Sun, 25 Feb 2007) | 4 lines -Fix Get rid of DECLARE_ENUM_AS_BIT_INDEX(Trackdir, TrackdirBits) and DECLARE_ENUM_AS_BIT_INDEX() altogether ------------------------------------------------------------------------ r8900 | tron | 2007-02-25 11:49:43 +0000 (Sun, 25 Feb 2007) | 4 lines -Fix Get rid of DECLARE_ENUM_AS_BIT_INDEX(Track, TrackBits) ------------------------------------------------------------------------ r8899 | tron | 2007-02-25 11:36:19 +0000 (Sun, 25 Feb 2007) | 4 lines -Fix Remove the unused second parameter from GetTileRailType() ------------------------------------------------------------------------ r8897 | tron | 2007-02-25 10:49:13 +0000 (Sun, 25 Feb 2007) | 6 lines -Fix Change the signature of GetNewVehiclePos(): -void GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp); +GetNewVehiclePosResult GetNewVehiclePos(const Vehicle *v); ------------------------------------------------------------------------ r8896 | tron | 2007-02-25 10:25:25 +0000 (Sun, 25 Feb 2007) | 5 lines -Fix Most (i.e. 13 of 15) callers of GetNewVehiclePos() do not care for the return and the others can figure it out by inspecting the information returned in struct GetNewVehiclePosResult. Therefore remove the return value. ------------------------------------------------------------------------ r8894 | tron | 2007-02-25 09:47:46 +0000 (Sun, 25 Feb 2007) | 4 lines -Fix Slightly simplify the control flow of TrainController() ------------------------------------------------------------------------ r8893 | tron | 2007-02-25 09:27:03 +0000 (Sun, 25 Feb 2007) | 4 lines -Fix variable scope, const, misc. ------------------------------------------------------------------------ r8892 | rubidium | 2007-02-25 09:06:13 +0000 (Sun, 25 Feb 2007) | 2 lines -Fix (r8879): swapped the eye colour and eyebrow bits. ------------------------------------------------------------------------ r8891 | peter1138 | 2007-02-24 23:36:40 +0000 (Sat, 24 Feb 2007) | 2 lines -Codechange: Remove remains of global cargo scheme. All cargo mapping is now dealt with only in NewGRF code, on load where possible. ------------------------------------------------------------------------ r8890 | peter1138 | 2007-02-24 23:20:21 +0000 (Sat, 24 Feb 2007) | 2 lines -Codechange: (NewGRF) add cargo translation support to engine var 47 ------------------------------------------------------------------------ r8889 | rubidium | 2007-02-24 22:35:42 +0000 (Sat, 24 Feb 2007) | 2 lines -Fix (r8880): a CursorID is not a SpriteID. ------------------------------------------------------------------------ r8888 | peter1138 | 2007-02-24 22:01:18 +0000 (Sat, 24 Feb 2007) | 2 lines -Codechange: Replace hardcoded default cargo bitmasks with a list of cargo labels. ------------------------------------------------------------------------ r8887 | KUDr | 2007-02-24 19:43:50 +0000 (Sat, 24 Feb 2007) | 1 line -Fix (r8879)[MorphOS]: initialization of mouth_table[] skipped by goto ------------------------------------------------------------------------ r8886 | peter1138 | 2007-02-24 19:36:47 +0000 (Sat, 24 Feb 2007) | 2 lines -Codechange: (NewGRF) Add (partial) cargo translation table support, applied to action 3s only. ------------------------------------------------------------------------ r8885 | peter1138 | 2007-02-24 19:26:45 +0000 (Sat, 24 Feb 2007) | 2 lines -Codechange: (NewGRF) If a default cargo type property is out of range then choose the cargo type from its refit list. ------------------------------------------------------------------------ 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 ------------------------------------------------------------------------