Commit Graph

6010 Commits

Author SHA1 Message Date
rubidium 447b16930e (svn r8730) -Codechange: more replacements of magic numbers by enums and removal of some (by now) redundant comments. 2007-02-14 10:33:36 +00:00
miham 3789e314d9 (svn r8729) [Translations] -Fix: removed dead cases from czech language 2007-02-14 10:22:00 +00:00
miham 6d8021b277 (svn r8728) -Update: WebTranslator2 update to 2007-02-14 10:40:39
afrikaans  - 112 fixed, 3 changed by TrueTenacity (115)
catalan    - 1 fixed by arnaullv (1)
czech      - 3 deleted by Hadez (3)
slovak     - 64 changed by lengyel (64)
traditional_chinese - 8 changed by thomasau (8)
ukrainian  - 9 changed by mad (9)
2007-02-14 09:41:20 +00:00
maedhros f8b641e753 (svn r8727) -Cleanup (r8366): Remove BIGMULSS64 since it isn't used any more. 2007-02-14 09:39:04 +00:00
rubidium ecfbfbd98c (svn r8726) -Codechange: bools are 1 or 0 according to the C++ standard and refactor RoadStop::AllocateBay to remove a loop condition. Suggestions by Tron. 2007-02-14 09:34:12 +00:00
rubidium f3dc5596ad (svn r8725) -Fix (r8712): test the first bit of the bitmask, not the nth, as we are shifting the bitmask. 2007-02-14 09:23:52 +00:00
rubidium 59284954ae (svn r8723) -Codechange: replace yet another couple of magic numbers with enums. 2007-02-14 01:00:57 +00:00
rubidium f7783212b1 (svn r8721) -Fix (8715): road vehicles could not turn around properly 2007-02-14 00:50:34 +00:00
rubidium 458b564726 (svn r8719) -Fix: some strings have an empty translation where it isn't empty in english. 2007-02-13 23:37:50 +00:00
rubidium 154dff9873 (svn r8715) -Codechange/cleanup: replace magic numbers related to state of road vehicles with enums. Original patch by mart3p. 2007-02-13 22:27:27 +00:00
rubidium 86a4b5e169 (svn r8712) -Codechange/cleanup: replace 'magic' constants with enums, use proper types instead of byte, uint etc., give variables more descriptive names and add some comments. 2007-02-13 20:57:02 +00:00
celestar d9385f2798 (svn r8709) -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. 2007-02-13 16:36:38 +00:00
celestar 5e880a6a75 (svn r8708) -Codechange(r8514): No need to use "this->" in methods 2007-02-13 15:44:37 +00:00
celestar 8eab3964b4 (svn r8707) -Codechange: Turn IsValidStation into a method of Station 2007-02-13 15:42:52 +00:00
celestar 6f68ac46b8 (svn r8705) -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 2007-02-13 12:34:54 +00:00
rubidium d1d1d170f3 (svn r8703) -Codechange/cleanup: some magic numbers -> enums and other small coding style changes to the ShipController and TrainController. 2007-02-13 11:29:20 +00:00
rubidium 4ec7eb2201 (svn r8701) -Codechange: replace magic numbers with enums for u.rail.track. 2007-02-13 10:46:45 +00:00
rubidium af3001b988 (svn r8700) -Fix (8698): replaced a magic number with the wrong enum :( 2007-02-13 10:43:50 +00:00
rubidium a419f4aeda (svn r8698) -Codechange: enumify the returns of VehicleEnterTile 2007-02-13 10:26:53 +00:00
rubidium eab6dd9898 (svn r8694) -Codechange: make RoadStop's status accessible via accessor functions. 2007-02-13 00:25:42 +00:00
rubidium 3b0e00e2f9 (svn r8692) -Cleanup: add comments to RoadVehController. Patch by mart3p. 2007-02-12 22:46:10 +00:00
Darkvater 4d4c1e0505 (svn r8691) -Cleanup: Some proper #endif comments for sound/music/video files, and a little elimination of magic numbers in Win32SoundStart 2007-02-12 21:55:10 +00:00
miham 2817acb456 (svn r8690) -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)
2007-02-12 19:19:15 +00:00
rubidium 997534a5ea (svn r8689) -Fix [FS#613] (r8619): crash when an old savegame had buoys on the northern edge of the map. 2007-02-12 12:52:37 +00:00
miham 704c80f27e (svn r8686) -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)
2007-02-12 09:01:40 +00:00
bjarni 5e8bdaba6a (svn r8685) -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.
2007-02-12 00:38:15 +00:00
rubidium 65001270ef (svn r8684) -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. 2007-02-11 23:18:01 +00:00
rubidium f8ceee0a34 (svn r8681) -Fix (FS#608): wrong comment (rfalke) 2007-02-11 19:31:29 +00:00
truelight ff8a82f749 (svn r8680) [Configure] -Codechange: allow a bit more flexible code in check_compiler 2007-02-11 17:39:28 +00:00
truelight 6afa186e7c (svn r8679) [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'
2007-02-11 17:36:46 +00:00
truelight 53785810c8 (svn r8678) [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
2007-02-11 16:28:00 +00:00
glx d84e14f55f (svn r8677) -Fix r8615: removed 'debug' language from project files 2007-02-11 14:25:02 +00:00
truelight 098a63fc53 (svn r8675) [PSP] -Fix: don't autosave in networking for PSP, to time expensive 2007-02-11 14:04:40 +00:00
truelight 0d91ed68a9 (svn r8674) [PSP] -Add: added network code for PSP, based on the work of Turulo
-Add: added general header-inclusing for PSP
2007-02-11 13:57:35 +00:00
rubidium b71d6e1401 (svn r8673) -Codechange: use SetNonBlocking instead of implementing yet another version. 2007-02-11 13:39:23 +00:00
tron 7ee3fc4979 (svn r8671) -Fix
Fix some strings which were broken in r7581
2007-02-11 10:30:54 +00:00
bjarni e133a523c1 (svn r8662) -Fix r8661: don't try to put negative values in unsigned vars 2007-02-10 14:22:11 +00:00
bjarni 0c8078ae29 (svn r8661) -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
2007-02-10 13:37:32 +00:00
tron 356e47f108 (svn r8660) -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.
2007-02-10 08:19:39 +00:00
bjarni b4592c8a54 (svn r8658) -Fix r8605: missed an error message renaming from m to mm (objC to objC++) 2007-02-10 00:22:32 +00:00
rubidium b0d4ece2ad (svn r8651) -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. 2007-02-09 16:21:03 +00:00
celestar 7299a42729 (svn r8648) -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 2007-02-09 08:58:25 +00:00
truelight 7cd68b5a07 (svn r8647) -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.
2007-02-08 23:46:25 +00:00
miham 424001168d (svn r8645) -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)
2007-02-08 21:53:15 +00:00
rubidium 656766da02 (svn r8642) -Merge: Release changes from the 0.5 branch back to trunk. This ensures an updated changelog, readme, etc. 2007-02-08 17:57:19 +00:00
rubidium 3d04e8f64d (svn r8637) -Fix: CTRL-clicking on a hangar in the order list segfaulted as hangars are part of a station instead of real depots. 2007-02-08 15:54:36 +00:00
rubidium 6bbbedc8cc (svn r8635) -Fix: draw canal edges under buoys that are in a canal. 2007-02-08 14:04:02 +00:00
rubidium ea55a04b69 (svn r8634) -Codechange: replace missing sprites with a red question mark. 2007-02-08 14:02:12 +00:00
truelight 26f5a156dc (svn r8633) [PSP] -Fix r8629: mixed psp-config and pspconfig, making ./configure --reconfig to fail 2007-02-08 12:54:23 +00:00
truelight 7c1a538910 (svn r8632) [PSP] -Add: added include and lib to CFLAGS / LDFLAGS based on the SDK dir from psp-config
-Fix: disabled pthread for PSP
2007-02-08 12:52:25 +00:00