------------------------------------------------------------------------ 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 ------------------------------------------------------------------------ r8787 | bjarni | 2007-02-17 18:38:35 +0000 (Sat, 17 Feb 2007) | 3 lines -Change r8771: allow fast aircraft in small airports We should keep the list in sync with the build command as hacked clients can avoid a block in the GUI only ------------------------------------------------------------------------ r8786 | bjarni | 2007-02-17 17:12:19 +0000 (Sat, 17 Feb 2007) | 2 lines -Cleanup: replaced a switch-case to get the right refit command for a certain vehicle type. We have a function to do that ------------------------------------------------------------------------ r8785 | richk | 2007-02-17 17:10:33 +0000 (Sat, 17 Feb 2007) | 1 line -Fix: Entry point for commuter airport incorrect. ------------------------------------------------------------------------ r8784 | Darkvater | 2007-02-17 16:41:56 +0000 (Sat, 17 Feb 2007) | 1 line -Regression (r7274 most likely): Unable to load TTDP (on *NIX) games because the static buffer used for name conversion is overwritten in the callback function. ------------------------------------------------------------------------ r8783 | bjarni | 2007-02-17 16:07:45 +0000 (Sat, 17 Feb 2007) | 2 lines -Fix r8771: aircraft vehicle subtype and aircraft engine subtype aren't the same (even though they both tell if it's a plane or helicopter) ------------------------------------------------------------------------ r8782 | tron | 2007-02-17 15:59:33 +0000 (Sat, 17 Feb 2007) | 6 lines -Fix Adapt GetClosestStationFromTile() more to the way it is used: - All but deleted stations get filtered later, so do not include non-deleted station in the first place - Remove the two parameters, which are the same for all callers ------------------------------------------------------------------------ r8781 | tron | 2007-02-17 15:34:05 +0000 (Sat, 17 Feb 2007) | 4 lines -Fix A spectator cannot build stations, so do not include a special case for him ------------------------------------------------------------------------ r8780 | richk | 2007-02-17 15:17:47 +0000 (Sat, 17 Feb 2007) | 1 line -Fix: Spelling of CatchmentArea incorrect. ------------------------------------------------------------------------ r8779 | tron | 2007-02-17 15:03:30 +0000 (Sat, 17 Feb 2007) | 4 lines -Fix -Codechange: Use a more generic test, which tests the allowed aircraft instead of hardcoding the airport type numbers, to generate station names ------------------------------------------------------------------------ r8778 | tron | 2007-02-17 14:54:31 +0000 (Sat, 17 Feb 2007) | 4 lines -Fix -Codechange: Allow goto station orders to public stations in general, not just oilrigs (though this is the same till now) ------------------------------------------------------------------------ r8777 | bjarni | 2007-02-17 13:50:22 +0000 (Sat, 17 Feb 2007) | 3 lines -Fix: FS#596 Cloning Maglev in UKRS forgets Mail refit Cloning were unaware that articulated locomotives could refit without refitting the front unit ------------------------------------------------------------------------ r8776 | truelight | 2007-02-17 13:29:11 +0000 (Sat, 17 Feb 2007) | 2 lines [MorhpOS] -Fix: LDFLAGS needs -noixemul too ------------------------------------------------------------------------ r8772 | truelight | 2007-02-17 12:50:19 +0000 (Sat, 17 Feb 2007) | 2 lines -Fix: forgot to update 'generate' file while updating 'configure' in the last 3 changes in 'configure' ------------------------------------------------------------------------ r8771 | bjarni | 2007-02-17 12:45:15 +0000 (Sat, 17 Feb 2007) | 3 lines -Fix r8343: build aircraft windows will no longer show aircraft that can't use the airport in question Now it's even better than ever because unless the no jetcrash cheat is enabled, the small airports will not show fast aircraft ------------------------------------------------------------------------ r8770 | bjarni | 2007-02-17 11:17:49 +0000 (Sat, 17 Feb 2007) | 2 lines -Fix r8661: corrected some aircraft sprite placement issues in the depot window ------------------------------------------------------------------------ r8768 | KUDr | 2007-02-17 10:21:48 +0000 (Sat, 17 Feb 2007) | 1 line -Fix (r8767): VC8 compilation failed 'warning C4146: unary minus operator applied to unsigned type, result still unsigned' ------------------------------------------------------------------------ r8767 | tron | 2007-02-17 07:45:18 +0000 (Sat, 17 Feb 2007) | 5 lines -Fix -Codechange: Do not hardcode the catchment radius of airports, but hold the information in AirportFTAClass -Fix (r979): The default AI tested possible airport locations with a fixed catchment radius instead of the radius of the to be built airport ------------------------------------------------------------------------ r8766 | KUDr | 2007-02-17 00:18:11 +0000 (Sat, 17 Feb 2007) | 1 line -Fix[YAPF]: rail station platform penalty not calculated properly ------------------------------------------------------------------------ r8765 | rubidium | 2007-02-16 22:44:56 +0000 (Fri, 16 Feb 2007) | 2 lines -Codechange: remove logic redundancy by moving it from the gui into the cmd code. ------------------------------------------------------------------------ r8764 | miham | 2007-02-16 21:06:00 +0000 (Fri, 16 Feb 2007) | 12 lines -Update: WebTranslator2 update to 2007-02-16 22:03:24 afrikaans - 1 changed by TrueTenacity (1) brazilian_portuguese - 1 fixed, 1 changed by fukumori (2) bulgarian - 4 fixed by groupsky (4) dutch - 3 fixed by habell (3) esperanto - 3 fixed by LaPingvino (3) finnish - 5 fixed by kerba (5) icelandic - 15 fixed, 30 changed by scrooge (45) italian - 3 fixed by sidew (3) norwegian_bokmal - 13 fixed by oletk (13) turkish - 3 fixed by jnmbk (3) ------------------------------------------------------------------------ r8763 | tron | 2007-02-16 20:03:17 +0000 (Fri, 16 Feb 2007) | 4 lines -Fix Don't do bogus initialisations and prefer simpler code ------------------------------------------------------------------------ r8759 | celestar | 2007-02-16 12:10:19 +0000 (Fri, 16 Feb 2007) | 2 lines -Feature: Allow airports to have up to 4 entry points depending on approach direction. Note: they're not yet used, but will be soon ------------------------------------------------------------------------ r8758 | truelight | 2007-02-16 10:08:38 +0000 (Fri, 16 Feb 2007) | 2 lines -Fix r8757: wrong variable to check libtimidity on if it is found or not ------------------------------------------------------------------------ r8757 | truelight | 2007-02-16 09:50:28 +0000 (Fri, 16 Feb 2007) | 3 lines -Add: added libtimidity music driver (it is a nice small library simular to timidity via extmidi) [PSP] -Add: added PSP specific code for libtimidity. libtimidity code is based on the work of Turulo. Tnx a bunch! ------------------------------------------------------------------------ r8756 | truelight | 2007-02-16 09:39:32 +0000 (Fri, 16 Feb 2007) | 3 lines [PSP] -Fix: made the dedicated code compile with PSP. It is almost UNIX, just it needs more includes ;) (or more, it compiles, if it works is a whole other story ;)) ------------------------------------------------------------------------ r8755 | tron | 2007-02-16 09:38:43 +0000 (Fri, 16 Feb 2007) | 4 lines -Fix Abbreviate GetAirport(st->airport_type) to st->Airport() ------------------------------------------------------------------------ r8754 | tron | 2007-02-16 07:32:22 +0000 (Fri, 16 Feb 2007) | 4 lines -Fix Do not handle a special case for goto hangar orders to oilrigs - they do not have a hangar anyway ------------------------------------------------------------------------ r8753 | belugas | 2007-02-16 01:35:18 +0000 (Fri, 16 Feb 2007) | 1 line -Regression (r8455): Do not unilateraly decide that this engine is a single-headed. Only do it if it previously had no power and that now there is. Or something... ------------------------------------------------------------------------ r8752 | belugas | 2007-02-15 22:03:48 +0000 (Thu, 15 Feb 2007) | 3 lines -Cleanup: Reformat, re-arrange, correct tag errors on landscape.html. No addition nor correction on actual data ------------------------------------------------------------------------ r8751 | KUDr | 2007-02-15 22:00:17 +0000 (Thu, 15 Feb 2007) | 1 line -Fix [lang]: deleted .news and .subs strings causing lang compilation error ------------------------------------------------------------------------ r8750 | KUDr | 2007-02-15 22:00:04 +0000 (Thu, 15 Feb 2007) | 1 line -Fix (r8747): PLANES defined in wingdi.h caused compilation error under Win32. Changed to AIRPLANES ------------------------------------------------------------------------ r8749 | bjarni | 2007-02-15 20:58:45 +0000 (Thu, 15 Feb 2007) | 1 line -Regression r8331: fixed signed/unsigned issue that could create too many lines in build vehicle windows and crash the game ------------------------------------------------------------------------ r8748 | tron | 2007-02-15 20:35:45 +0000 (Thu, 15 Feb 2007) | 4 lines -Fix -Codechange: Do not hardcode the airports with a short airstrip anymore, but make it a flag in AirportFTAClass ------------------------------------------------------------------------ r8747 | tron | 2007-02-15 20:16:33 +0000 (Thu, 15 Feb 2007) | 4 lines -Fix -Codechange: Make the encoding of accepted aircraft types of airports a bit more sensible and move the enum into struct AirportFTAClass ------------------------------------------------------------------------ r8746 | bjarni | 2007-02-15 17:51:39 +0000 (Thu, 15 Feb 2007) | 2 lines -Regression r8331: build train window could sort incorrectly by EngineID with certain newGRF sets ------------------------------------------------------------------------ r8745 | truelight | 2007-02-15 16:15:00 +0000 (Thu, 15 Feb 2007) | 2 lines [PSP] -Add: added a CSleep() for PSP ------------------------------------------------------------------------ r8744 | celestar | 2007-02-15 10:21:00 +0000 (Thu, 15 Feb 2007) | 2 lines -Fix(r654/2105): Call GetFirstVehicleInChain only for trains, and assert the vehicle type in that function. Not a critical error, but it does increase game performance by up to 10% when playing a large game (many vehicles) with aircraft/road vehicle newgrfs loaded. ------------------------------------------------------------------------ r8743 | tron | 2007-02-15 07:43:06 +0000 (Thu, 15 Feb 2007) | 4 lines -Fix -Codechange: Add a Z adjustment attribute for helicopter pads to AirportFTAClass to get rid of some special cases for oilrigs and heliports ------------------------------------------------------------------------ r8742 | miham | 2007-02-15 07:08:22 +0000 (Thu, 15 Feb 2007) | 16 lines -Update: WebTranslator2 update to 2007-02-15 08:05:58 american - 3 fixed by WhiteRabbit (3) brazilian_portuguese - 2 fixed, 7 changed by tucalipe (9) czech - 3 fixed, 3 deleted, 1 changed by Hadez (7) estonian - 3 fixed by vermon (3) french - 3 fixed, 13 changed by Skiper (16) german - 3 fixed by moewe2 (3) icelandic - 122 fixed, 11 changed by scrooge (133) polish - 3 fixed by meush (3) portuguese - 3 fixed by izhirahider (3) simplified_chinese - 3 fixed by Fishingsnow (3) slovenian - 3 fixed, 1 deleted by Necrolyte (4) spanish - 4 fixed by eusebio (4) swedish - 4 fixed by daishan (4) traditional_chinese - 3 fixed by sam0737 (3) ------------------------------------------------------------------------ r8741 | rubidium | 2007-02-14 20:58:19 +0000 (Wed, 14 Feb 2007) | 2 lines -Fix (r8735): make the saveguards of CmdBuildRoadStop more robust and add roadstops.grf to the list of required grfs. ------------------------------------------------------------------------ r8740 | Darkvater | 2007-02-14 20:48:00 +0000 (Wed, 14 Feb 2007) | 1 line -Fix (r8783): GCC warnings about not-handled MP_ values in switch case (glx) ------------------------------------------------------------------------ r8739 | Darkvater | 2007-02-14 20:19:07 +0000 (Wed, 14 Feb 2007) | 1 line -Codechange: Update the oldloader debug levels to be more in spec with the guidelines in debug.h. ------------------------------------------------------------------------ r8738 | Darkvater | 2007-02-14 20:17:11 +0000 (Wed, 14 Feb 2007) | 1 line -Fix: TTDP games have all tiles touching the water marked as MP_WATER, we do not (tiles with one corner, or steep tiles), so check and fix these tiles. ------------------------------------------------------------------------ r8737 | Darkvater | 2007-02-14 20:10:52 +0000 (Wed, 14 Feb 2007) | 1 line -Regression (r8621): VEH_Type renumbering wasn't performed for TTD(P) games, failing to load them ------------------------------------------------------------------------