------------------------------------------------------------------------ r8709 | celestar | 2007-02-13 16:36:38 +0000 (Tue, 13 Feb 2007) | 2 lines -Fix/Codechange: Rename the function GetStationPlatforms into GetPlatformLength because that is what it really does. Overload it because there is already a GetPlatformLength (one gives the length of the whole platform, the other gives the remaining length in a given direction). Turned both functions into methods of Station. While messing around with it, fix a problem where loading times for overhanging trains are miscomputed. ------------------------------------------------------------------------ r8708 | celestar | 2007-02-13 15:44:37 +0000 (Tue, 13 Feb 2007) | 2 lines -Codechange(r8514): No need to use "this->" in methods ------------------------------------------------------------------------ r8707 | celestar | 2007-02-13 15:42:52 +0000 (Tue, 13 Feb 2007) | 2 lines -Codechange: Turn IsValidStation into a method of Station ------------------------------------------------------------------------ r8705 | celestar | 2007-02-13 12:34:54 +0000 (Tue, 13 Feb 2007) | 2 lines -Codechange: Increased the number of airport blocks to 64. This involves changing the enum of airport blocks to a static const uint64 as SOME platforms do not support 64-bit enums ------------------------------------------------------------------------ r8703 | rubidium | 2007-02-13 11:29:20 +0000 (Tue, 13 Feb 2007) | 2 lines -Codechange/cleanup: some magic numbers -> enums and other small coding style changes to the ShipController and TrainController. ------------------------------------------------------------------------ r8701 | rubidium | 2007-02-13 10:46:45 +0000 (Tue, 13 Feb 2007) | 2 lines -Codechange: replace magic numbers with enums for u.rail.track. ------------------------------------------------------------------------ r8700 | rubidium | 2007-02-13 10:43:50 +0000 (Tue, 13 Feb 2007) | 2 lines -Fix (8698): replaced a magic number with the wrong enum :( ------------------------------------------------------------------------ r8698 | rubidium | 2007-02-13 10:26:53 +0000 (Tue, 13 Feb 2007) | 2 lines -Codechange: enumify the returns of VehicleEnterTile ------------------------------------------------------------------------ r8694 | rubidium | 2007-02-13 00:25:42 +0000 (Tue, 13 Feb 2007) | 2 lines -Codechange: make RoadStop's status accessible via accessor functions. ------------------------------------------------------------------------ r8692 | rubidium | 2007-02-12 22:46:10 +0000 (Mon, 12 Feb 2007) | 2 lines -Cleanup: add comments to RoadVehController. Patch by mart3p. ------------------------------------------------------------------------ r8691 | Darkvater | 2007-02-12 21:55:10 +0000 (Mon, 12 Feb 2007) | 1 line -Cleanup: Some proper #endif comments for sound/music/video files, and a little elimination of magic numbers in Win32SoundStart ------------------------------------------------------------------------ r8690 | miham | 2007-02-12 19:19:15 +0000 (Mon, 12 Feb 2007) | 6 lines -Update: WebTranslator2 update to 2007-02-12 20:18:38 lithuanian - 11 fixed, 1 changed by Domas (12) slovak - 63 changed by lengyel (63) traditional_chinese - 8 changed by thomasau (8) ukrainian - 1 changed by mad (1) ------------------------------------------------------------------------ r8689 | rubidium | 2007-02-12 12:52:37 +0000 (Mon, 12 Feb 2007) | 2 lines -Fix [FS#613] (r8619): crash when an old savegame had buoys on the northern edge of the map. ------------------------------------------------------------------------ r8686 | miham | 2007-02-12 09:01:40 +0000 (Mon, 12 Feb 2007) | 9 lines -Update: WebTranslator2 update to 2007-02-12 10:00:57 czech - 3 fixed, 59 deleted, 1 changed by Hadez (63) french - 40 changed by Skiper (36), glx (4) icelandic - 88 fixed, 25 changed by scrooge (113) italian - 3 changed by sidew (3) portuguese - 22 changed by izhirahider (22) swedish - 6 fixed by daishan (6) traditional_chinese - 22 changed by xbddc (22) ------------------------------------------------------------------------ r8685 | bjarni | 2007-02-12 00:38:15 +0000 (Mon, 12 Feb 2007) | 3 lines -Feature: selecting "end of orders" and clicking delete will delete all the vehicle's orders If the orders are shared, then it will still unshare the orders like before. ------------------------------------------------------------------------ r8684 | rubidium | 2007-02-11 23:18:01 +0000 (Sun, 11 Feb 2007) | 2 lines -Fix [FS#483] (r3720): a bool (uint32 in PPC) was written to as a uint8. Later those bools are used as index into an array as they expect the value to be 0 or 1. ------------------------------------------------------------------------ r8681 | rubidium | 2007-02-11 19:31:29 +0000 (Sun, 11 Feb 2007) | 2 lines -Fix (FS#608): wrong comment (rfalke) ------------------------------------------------------------------------ r8680 | truelight | 2007-02-11 17:39:28 +0000 (Sun, 11 Feb 2007) | 2 lines [Configure] -Codechange: allow a bit more flexible code in check_compiler ------------------------------------------------------------------------ r8679 | truelight | 2007-02-11 17:36:46 +0000 (Sun, 11 Feb 2007) | 3 lines [Configure] -Fix: 'checking for' and 'checking' was used mixed, now only 'checking' is used -Fix: 'checking host g++/gcc' is silly, changed it to 'checking host c++/cc' ------------------------------------------------------------------------ r8678 | truelight | 2007-02-11 16:28:00 +0000 (Sun, 11 Feb 2007) | 4 lines [PSP] -Add: added LIBS and CFLAGS needed to compile PSP -Fix: PSP needs to link with gcc, not with g++ (don't ask) -Fix: PSP doens't support threads ------------------------------------------------------------------------ r8677 | glx | 2007-02-11 14:25:02 +0000 (Sun, 11 Feb 2007) | 1 line -Fix r8615: removed 'debug' language from project files ------------------------------------------------------------------------ r8675 | truelight | 2007-02-11 14:04:40 +0000 (Sun, 11 Feb 2007) | 2 lines [PSP] -Fix: don't autosave in networking for PSP, to time expensive ------------------------------------------------------------------------ r8674 | truelight | 2007-02-11 13:57:35 +0000 (Sun, 11 Feb 2007) | 3 lines [PSP] -Add: added network code for PSP, based on the work of Turulo -Add: added general header-inclusing for PSP ------------------------------------------------------------------------ r8673 | rubidium | 2007-02-11 13:39:23 +0000 (Sun, 11 Feb 2007) | 2 lines -Codechange: use SetNonBlocking instead of implementing yet another version. ------------------------------------------------------------------------ r8671 | tron | 2007-02-11 10:30:54 +0000 (Sun, 11 Feb 2007) | 4 lines -Fix Fix some strings which were broken in r7581 ------------------------------------------------------------------------ r8662 | bjarni | 2007-02-10 14:22:11 +0000 (Sat, 10 Feb 2007) | 2 lines -Fix r8661: don't try to put negative values in unsigned vars ------------------------------------------------------------------------ r8661 | bjarni | 2007-02-10 13:37:32 +0000 (Sat, 10 Feb 2007) | 4 lines -Fix: [depot windows] Enlarge the blocks in the depot window if a sprite is too big to fit (ships and aircraft only) -Codechange: depot windows default now makes a 1x1 matrix and resize the window by block size*number of blocks This will make less vehicle type specific code and easier to read resizing based on sprite sizes ------------------------------------------------------------------------ r8660 | tron | 2007-02-10 08:19:39 +0000 (Sat, 10 Feb 2007) | 6 lines -Fix -Codechange: Remove _avail_aircraft Its name is misleading. It is rather _avail_airports, but then only some of them, which leads to inconsistencies when using it. Further it is unnecessary to store it in savegams. ------------------------------------------------------------------------ r8658 | bjarni | 2007-02-10 00:22:32 +0000 (Sat, 10 Feb 2007) | 2 lines -Fix r8605: missed an error message renaming from m to mm (objC to objC++) ------------------------------------------------------------------------ r8651 | rubidium | 2007-02-09 16:21:03 +0000 (Fri, 09 Feb 2007) | 2 lines -Codechange: group the functions related to getting and setting the town index and move one function that is not related to the map array out of town_map.h. ------------------------------------------------------------------------ r8648 | celestar | 2007-02-09 08:58:25 +0000 (Fri, 09 Feb 2007) | 2 lines -Codechange: Renamed os/linux to os/mandrake because that's what is is about. Added another spec file for suse (early version) which will be used to create rpms ------------------------------------------------------------------------ r8647 | truelight | 2007-02-08 23:46:25 +0000 (Thu, 08 Feb 2007) | 4 lines -Codechange: add a general way to handle platforms who can only have a limited amount of file-descripters open at any given time. The Fios keeps track how many times a file is opened, and tries to close up files which aren't used often. The first platform using this is PSP. Patch based on the work of Turulo. ------------------------------------------------------------------------ r8645 | miham | 2007-02-08 21:53:15 +0000 (Thu, 08 Feb 2007) | 5 lines -Update: WebTranslator2 update to 2007-02-08 22:52:39 french - 38 changed by Skiper (38) norwegian_nynorsk - 6 fixed by khaavik (6) traditional_chinese - 64 changed by thomasau (64) ------------------------------------------------------------------------ r8642 | rubidium | 2007-02-08 17:57:19 +0000 (Thu, 08 Feb 2007) | 2 lines -Merge: Release changes from the 0.5 branch back to trunk. This ensures an updated changelog, readme, etc. ------------------------------------------------------------------------ r8637 | rubidium | 2007-02-08 15:54:36 +0000 (Thu, 08 Feb 2007) | 2 lines -Fix: CTRL-clicking on a hangar in the order list segfaulted as hangars are part of a station instead of real depots. ------------------------------------------------------------------------ r8635 | rubidium | 2007-02-08 14:04:02 +0000 (Thu, 08 Feb 2007) | 2 lines -Fix: draw canal edges under buoys that are in a canal. ------------------------------------------------------------------------ r8634 | rubidium | 2007-02-08 14:02:12 +0000 (Thu, 08 Feb 2007) | 2 lines -Codechange: replace missing sprites with a red question mark. ------------------------------------------------------------------------ r8633 | truelight | 2007-02-08 12:54:23 +0000 (Thu, 08 Feb 2007) | 2 lines [PSP] -Fix r8629: mixed psp-config and pspconfig, making ./configure --reconfig to fail ------------------------------------------------------------------------ r8632 | truelight | 2007-02-08 12:52:25 +0000 (Thu, 08 Feb 2007) | 3 lines [PSP] -Add: added include and lib to CFLAGS / LDFLAGS based on the SDK dir from psp-config -Fix: disabled pthread for PSP ------------------------------------------------------------------------ r8631 | truelight | 2007-02-08 12:27:53 +0000 (Thu, 08 Feb 2007) | 5 lines -Add: added parameter -l ip[:port] to ./openttd, which redirects DEBUG() to a remote connection over TCP For example, launch on 192.168.0.1 with, say, netcat a listener: netcat -l -p 3982 Launch OpenTTD on a remote host (say, PSP): ./openttd -l 192.168.0.1 -d9 And you get all debug information on 192.168.0.1. Very useful for debugging Portable systems. ------------------------------------------------------------------------ r8629 | truelight | 2007-02-08 11:21:10 +0000 (Thu, 08 Feb 2007) | 2 lines [PSP] -Add: added psp-config detection in configure for PSP target ------------------------------------------------------------------------ r8628 | truelight | 2007-02-08 11:04:39 +0000 (Thu, 08 Feb 2007) | 4 lines [PSP] -Add: added configure support for the PlayStation Portable target In the coming days/weeks there will be an attempt to port OpenTTD for this target. This is a very small step towards that. ------------------------------------------------------------------------ r8622 | miham | 2007-02-07 21:46:25 +0000 (Wed, 07 Feb 2007) | 7 lines -Update: WebTranslator2 update to 2007-02-07 22:44:21 finnish - 8 fixed by kerba (8) russian - 4 fixed, 2 changed by DarkFenX (6) slovak - 2 changed by lengyel (2) spanish - 7 fixed by eusebio (7) traditional_chinese - 38 fixed, 27 changed by thomasau (65) ------------------------------------------------------------------------ r8621 | bjarni | 2007-02-07 19:10:19 +0000 (Wed, 07 Feb 2007) | 4 lines -Codechange: assigned new numbers to the VEH_(type) enum so that VEH_Train is 0, VEH_Road is 1 and so on This means that "v->type" can be used as array indexes instead of VehTypeToIndex() (or "v->type - VEH_Train/0x10 as the code still used in some places) Surprisingly this can be done without changing the savegame format ------------------------------------------------------------------------ r8620 | rubidium | 2007-02-07 18:01:26 +0000 (Wed, 07 Feb 2007) | 2 lines -Fix: buoys on canal tiles do not flood anymore (Maedhros). ------------------------------------------------------------------------ r8619 | rubidium | 2007-02-07 17:52:21 +0000 (Wed, 07 Feb 2007) | 2 lines -Fix: store the ownership of a water tile in the buoy tile and set the ownership of the water tile when the buoy is removed. This solves the issue of removing ownership from canal tiles thus making is possible for other players to remove the canal tile. ------------------------------------------------------------------------ r8618 | tron | 2007-02-07 13:46:28 +0000 (Wed, 07 Feb 2007) | 4 lines -Fix Remove redundant assignments. The function call just before already does it ------------------------------------------------------------------------ r8617 | tron | 2007-02-07 08:36:53 +0000 (Wed, 07 Feb 2007) | 4 lines -Fix Fix harmless typo: s/,/;/ ------------------------------------------------------------------------ r8616 | miham | 2007-02-06 21:31:55 +0000 (Tue, 06 Feb 2007) | 13 lines -Update: WebTranslator2 update to 2007-02-06 22:31:04 american - 6 fixed by WhiteRabbit (6) brazilian_portuguese - 11 changed by fukumori (11) croatian - 29 fixed, 1 changed by tperic (30) danish - 2 fixed by MiR (2) dutch - 4 fixed by habell (4) french - 1 fixed by glx (1) korean - 18 changed by leejaeuk5 (4), darkttd (14) russian - 4 fixed, 31 changed by DarkFenX (35) slovak - 7 fixed by lengyel (7) traditional_chinese - 2806 fixed by sam0737 (93), cylau0 (412), xbddc (109), thomasau (440), tiberiusteng (1752) ukrainian - 4 fixed, 1 deleted, 3 changed by mad (8) ------------------------------------------------------------------------ r8615 | miham | 2007-02-06 21:30:40 +0000 (Tue, 06 Feb 2007) | 1 line [Translations] -Prepare: added traditional chinese to project files as well ------------------------------------------------------------------------ r8614 | miham | 2007-02-06 21:26:54 +0000 (Tue, 06 Feb 2007) | 1 line [Translations] -Prepare: prepare committing traditional chinese ------------------------------------------------------------------------ r8613 | KUDr | 2007-02-06 19:16:38 +0000 (Tue, 06 Feb 2007) | 1 line -Fix [MorphOS]: offsetof() macro undefined for MorphOS build ------------------------------------------------------------------------