summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-02-13(svn r8719) -Fix: some strings have an empty translation where it isn't ↵rubidium
empty in english.
2007-02-13(svn r8715) -Codechange/cleanup: replace magic numbers related to state of ↵rubidium
road vehicles with enums. Original patch by mart3p.
2007-02-13(svn r8712) -Codechange/cleanup: replace 'magic' constants with enums, use ↵rubidium
proper types instead of byte, uint etc., give variables more descriptive names and add some comments.
2007-02-13(svn r8709) -Fix/Codechange: Rename the function GetStationPlatforms into ↵celestar
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(svn r8708) -Codechange(r8514): No need to use "this->" in methodscelestar
2007-02-13(svn r8707) -Codechange: Turn IsValidStation into a method of Stationcelestar
2007-02-13(svn r8705) -Codechange: Increased the number of airport blocks to 64. This ↵celestar
involves changing the enum of airport blocks to a static const uint64 as SOME platforms do not support 64-bit enums
2007-02-13(svn r8703) -Codechange/cleanup: some magic numbers -> enums and other small ↵rubidium
coding style changes to the ShipController and TrainController.
2007-02-13(svn r8701) -Codechange: replace magic numbers with enums for u.rail.track.rubidium
2007-02-13(svn r8700) -Fix (8698): replaced a magic number with the wrong enum :(rubidium
2007-02-13(svn r8698) -Codechange: enumify the returns of VehicleEnterTilerubidium
2007-02-13(svn r8694) -Codechange: make RoadStop's status accessible via accessor ↵rubidium
functions.
2007-02-12(svn r8692) -Cleanup: add comments to RoadVehController. Patch by mart3p.rubidium
2007-02-12(svn r8691) -Cleanup: Some proper #endif comments for sound/music/video ↵Darkvater
files, and a little elimination of magic numbers in Win32SoundStart
2007-02-12(svn r8690) -Update: WebTranslator2 update to 2007-02-12 20:18:38miham
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(svn r8689) -Fix [FS#613] (r8619): crash when an old savegame had buoys on ↵rubidium
the northern edge of the map.
2007-02-12(svn r8686) -Update: WebTranslator2 update to 2007-02-12 10:00:57miham
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(svn r8685) -Feature: selecting "end of orders" and clicking delete will ↵bjarni
delete all the vehicle's orders If the orders are shared, then it will still unshare the orders like before.
2007-02-11(svn r8684) -Fix [FS#483] (r3720): a bool (uint32 in PPC) was written to as ↵rubidium
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(svn r8681) -Fix (FS#608): wrong comment (rfalke)rubidium
2007-02-11(svn r8678) [PSP] -Add: added LIBS and CFLAGS needed to compile PSPtruelight
-Fix: PSP needs to link with gcc, not with g++ (don't ask) -Fix: PSP doens't support threads
2007-02-11(svn r8675) [PSP] -Fix: don't autosave in networking for PSP, to time expensivetruelight
2007-02-11(svn r8674) [PSP] -Add: added network code for PSP, based on the work of Turulotruelight
-Add: added general header-inclusing for PSP
2007-02-11(svn r8673) -Codechange: use SetNonBlocking instead of implementing yet ↵rubidium
another version.
2007-02-11(svn r8671) -Fixtron
Fix some strings which were broken in r7581
2007-02-10(svn r8662) -Fix r8661: don't try to put negative values in unsigned varsbjarni
2007-02-10(svn r8661) -Fix: [depot windows] Enlarge the blocks in the depot window if ↵bjarni
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(svn r8660) -Fixtron
-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-09(svn r8651) -Codechange: group the functions related to getting and setting ↵rubidium
the town index and move one function that is not related to the map array out of town_map.h.
2007-02-08(svn r8647) -Codechange: add a general way to handle platforms who can only ↵truelight
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(svn r8645) -Update: WebTranslator2 update to 2007-02-08 22:52:39miham
french - 38 changed by Skiper (38) norwegian_nynorsk - 6 fixed by khaavik (6) traditional_chinese - 64 changed by thomasau (64)
2007-02-08(svn r8637) -Fix: CTRL-clicking on a hangar in the order list segfaulted as ↵rubidium
hangars are part of a station instead of real depots.
2007-02-08(svn r8635) -Fix: draw canal edges under buoys that are in a canal.rubidium
2007-02-08(svn r8634) -Codechange: replace missing sprites with a red question mark.rubidium
2007-02-08(svn r8631) -Add: added parameter -l ip[:port] to ./openttd, which redirects ↵truelight
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.
2007-02-07(svn r8622) -Update: WebTranslator2 update to 2007-02-07 22:44:21miham
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)
2007-02-07(svn r8621) -Codechange: assigned new numbers to the VEH_(type) enum so that ↵bjarni
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
2007-02-07(svn r8620) -Fix: buoys on canal tiles do not flood anymore (Maedhros).rubidium
2007-02-07(svn r8619) -Fix: store the ownership of a water tile in the buoy tile and ↵rubidium
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.
2007-02-07(svn r8618) -Fixtron
Remove redundant assignments. The function call just before already does it
2007-02-07(svn r8617) -Fixtron
Fix harmless typo: s/,/;/
2007-02-06(svn r8616) -Update: WebTranslator2 update to 2007-02-06 22:31:04miham
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)
2007-02-06(svn r8614) [Translations] -Prepare: prepare committing traditional chinesemiham
2007-02-06(svn r8613) -Fix [MorphOS]: offsetof() macro undefined for MorphOS buildKUDr
2007-02-06(svn r8612) -Fix (r117) [FS#582]: When the currently selected player in the ↵maedhros
performance details window is no longer active, choose the first active player instead of the first player as that may also be inactive.
2007-02-06(svn r8611) -Fix: Moved the aircraft speed limiting into UpdateAircraftSpeed ↵celestar
and enummed some speed limits. This should give a more steady display in the status bar during taxiing
2007-02-06(svn r8610) -Codechange/Feature: rewrote the list handling in the ↵bjarni
autoreplace window -The user will notice the following changes: All vehicle types behaves in the same way Adding/removing an engine (new design and so on) can no longer result in the window selecting a new engine All valid replacements will be displayed since it looks at refitting options as well (this solves the missing ships with the newships GRF) Since you can't replace an engine into itself, the engine selected in the left list will no longer appear in the right list -The code changes: Instead of looping all engines all the time, each list generates a list like the build windows This ensures consistent list generation since only one function can loop all engines Unified code for all vehicle types It now use the lists to call the drawing code in the build vehicle window Works on selected EngineIDs instead of selected index in the list
2007-02-06(svn r8609) -Fix: a road vehicle that is very close after another (slower) ↵rubidium
road vehicle gets its speed reset to 0 when entering a tunnel, which causes a traffic jam outside of the tunnel.
2007-02-06(svn r8608) -Fix: you were unable to build roads in the scenario editor when ↵rubidium
there is no town 0, even though there are other towns.
2007-02-05(svn r8605) -Codechange: [OSX] changed all objective C to objective C++bjarni
This will permanently solve the issue where compilation on OSX broke because C++ code was added to some header files -Note: (important if you develop mac specific code) taken from http://developer.apple.com/releasenotes/Cocoa/Objective-C++.html gdb lacks an integrated C++ with Objective-C parser. This means that gdb won't be able to evaluate expressions that contain both C++ and Objective-C constructs. gdb assumes that the language for ".mm" files is C++. you can change it to objective C by typing: (gdb) set language objc Mixing C++ and objective C has some limitation (see link for all of them)