summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-03-06(svn r9048) -Fix r9040: non-bool used as boolglx
2007-03-06(svn r9043) -Fix [FS#652]: the personal (.openttd) directories were hidden ↵rubidium
in the load/save directory listings (stepancheg).
2007-03-06(svn r9042) -Add : Maedhros as a developperbelugas
2007-03-06(svn r9040) -Codechange: the build window and CmdBuildAircraft() now shares ↵bjarni
the code to figure out if an aircraft is buildable in the hangar in question This should help ensuring that the build command and the list are consistent in what aircraft are buildable
2007-03-06(svn r9039) -Fix r9034: missed the _pause in cocoa_v.mmbjarni
2007-03-06(svn r9038) -Fix [FS#115]: inactive connections are not automatically ↵rubidium
kicked, i.e. people who only open a telnet (or similar) connection to a server.
2007-03-06(svn r9037) -Feature: [NewGRF] Add support for Action 13, which allows you ↵maedhros
to translate grf-specific texts. The translations will only be shown if you're using a language with a grf language id and if a string hasn't already been set specifically for the language you're using.
2007-03-06(svn r9036) -Fix [SunOS]: SunOS/Solaris does not have stdint.h, so use ↵rubidium
inttypes.h which defines the things we need from stdint.h.
2007-03-06(svn r9035) -Fix [SunOS]: Solaris sometimes has pid_t defined as long. Fix ↵truelight
warnings in those cases
2007-03-06(svn r9034) -Codechange: renamed _pause to _pause_game, as some targets ↵truelight
already have a symbol called _pause (and therefor our variable conflicts with thatone. We shouldn't be using _ as global indicator.....)
2007-03-06(svn r9031) -Codechange: Introduce grfconfig->status, and use it for states ↵maedhros
that are mutually exclusive. At the same time, add an INITIALISED state which makes it possible to check if a grf is not yet active but will be later on during the GLS_ACTIVATION loading stage.
2007-03-06(svn r9029) -Fix (r7326): Only call the gradual loading amount callback if ↵maedhros
the bit for it is set in the vehicle's callbackmask.
2007-03-06(svn r9027) -Fix [FS#664]: desync caused by buffer overrun.rubidium
2007-03-05(svn r9022) -Fix [FS#660]: Airport state machine fails if the adjustment in ↵richk
position is less than 4 pixels. The new planespeed movement made this a fatal error on the oilrig. This fix just corrects the oilrig movement orders so that the error does not occur. Full solution is to allow minor corrections without changing the facing of the aircraft. (spotted by ledow)
2007-03-05(svn r9021) [Translations] -Fix: removed empty strings once again.miham
2007-03-05(svn r9020) -Update: WebTranslator2 update to 2007-03-05 19:56:28miham
american - 17 fixed by WhiteRabbit (17) brazilian_portuguese - 4 fixed by fukumori (4) bulgarian - 1 fixed by thetitan (1) catalan - 4 fixed by arnaullv (4) czech - 5 fixed, 39 changed by Hadez (44) dutch - 4 fixed by habell (4) finnish - 7 fixed by pallokala (7) greek - 10 fixed by thanoulas (10) italian - 4 fixed by sidew (4) polish - 3 fixed, 5 changed by meush (8) portuguese - 3 fixed by izhirahider (3) romanian - 17 fixed, 8 changed by kneekoo (25) russian - 3 changed by DarkFenX (3) slovak - 4 fixed, 30 changed by lengyel (34) ukrainian - 6 fixed by znikoz (6)
2007-03-05(svn r9019) -Fix: use <> for system-headerstruelight
2007-03-05(svn r9018) -Change: added SunOS as OS name in the quit dialogmiham
2007-03-05(svn r9016) [SunOS] -Fix: Don't use a struct-member that doesn't exist.celestar
-Documentation: Updated readme.txt for SunOS 5.10 (aka Solaris 10) Note: With this commit, building and running on Solaris 10 works, thus we officially support this OS now :)
2007-03-05(svn r9015) -Fixtron
NL at EOF
2007-03-05(svn r9014) -Fixtron
Improve translation using gender tags
2007-03-05(svn r9013) -Fixtron
Remove incorrect empty translation
2007-03-05(svn r9012) -Fix/Feature (UTF8): When cutting strings into multiple lines ↵Darkvater
also take into consideration whitespace characters of more than 1 byte length (eg IDEOGRAPHIC SPACE, IsWhitespace() function). When trimming such strings, account for multiple-byte long sequences so use *Utf8PrevChar(v) = '\0'. -Codechange: Add a function Utf8TrimString() that properly trims a string to an UTF8 encoding seperation instead of somewhere in the wild (and use it in the chat area)
2007-03-05(svn r9011) -Codechange (r9003): Rework Utf8PrevChar so that it returns a ↵Darkvater
pointer to the previous UTF8 character's first byte instead of a byte-length offset
2007-03-04(svn r9009) -Fix (r1): Determine whether to play a sound or not when ↵Darkvater
entering a tunnel based on engine type (only steam engines) instead of on spritenum which can be invalid for newgrf trains. DBSet(XL) or any other steam trains without newsounds should sound their horn now.
2007-03-04(svn r9005) -Update: WebTranslator2 update to 2007-03-04 09:03:25miham
bulgarian - 13 fixed by groupsky (13) danish - 13 fixed by ThomasA (13) french - 4 fixed, 6 changed by glx (4), Skiper (6) german - 4 fixed by Neonox (4) hungarian - 3 fixed by miham (3) norwegian_bokmal - 13 fixed by oletk (13) norwegian_nynorsk - 20 fixed, 1 changed by pollux (21) portuguese - 4 fixed by izhirahider (4) russian - 4 fixed, 10 changed by DarkFenX (14) simplified_chinese - 13 fixed by Fishingsnow (13) slovenian - 4 fixed by Necrolyte (4) traditional_chinese - 2 fixed by thomasau (2)
2007-03-04(svn r9003) -Codechange: Introduce a function Utf8PrevCharLen that finds the ↵Darkvater
starting character of an UTF-8 sequence from a given position and returns the length to the first UTF-8 encoding byte of that sequence.
2007-03-03(svn r9002) -Update: remove strings removed in r9001 from languages other ↵rubidium
than English.
2007-03-03(svn r9001) -Codechange: remove duplication of functions and strings with ↵rubidium
respect to the news of new vehicles.
2007-03-03(svn r9000) -Fix [FS#581, r2572]: new locomotive names were not announced in ↵rubidium
the news, it said "new railway locomotive available - railway locomotive".
2007-03-03(svn r8999) -Fix [FS#450]: do not select a disabled platform length/number ↵rubidium
of track count when going out of drag-drop mode.
2007-03-03(svn r8995) -Fix (FS#620, r8464): revert properly (reversion of r4322) ↵Darkvater
internal speeds
2007-03-03(svn r8994) -Fix [FS642, r3320]: [win32] Resolution doubled in cfg file when ↵Darkvater
fullscreen mode used. Use _wnd.double_size which gives back its correct state with respect to double size and fullscreen.
2007-03-03(svn r8990) -Fix: more indenting and variable scopingpeter1138
2007-03-03(svn r8989) -Fix: more indenting and variable scopingpeter1138
2007-03-03(svn r8988) -Fix: Indenting, variable scope, variable type and minor duffagepeter1138
2007-03-03(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing ↵belugas
tags and (more than just) a few comments style.
2007-03-02(svn r8980) -Fix (FS#656): the industry list should also be (re)set when the ↵rubidium
number of industries is 0.
2007-03-02(svn r8979) -Fix (r8978): unsigned vs signed comparisons.rubidium
2007-03-02(svn r8978) -Feature: Rewrite of transfer system.richk
This major feature-fix keeps track of the value of transfers offloaded at a station, and hands on to a loading vehicle a credit note proportionate to the cargo loaded. The transferring vehicle is paid only for the distance it has travelled. eg. B-C in a transfer chain A-B-C-D. When the final cargo is delivered, these credit notes are cashed, and the final vehicle is paid for A-D minus any credit notes it is carrying. The company bank balance increases by the value of the A-D route. You still need to set up a profitable route; it is still easy to make a loss on transfers by bad planning. :)
2007-03-02(svn r8977) -Codechange: Remove the hardcoded maximum width for some ↵Darkvater
drawstrings and replace them with a portion of w->width. Only visible improvement is QueryWndProc which will not write exactly to the edge of the window anymore.
2007-03-02(svn r8976) -Codechange: Reinitialize all engines after grf files have been ↵Darkvater
reloaded/changed.
2007-03-02(svn r8975) -Regression: [win32] Possible buffer overflow if unicode text is ↵Darkvater
pasted into an input box and needs trimming. The last character was wrongly assumed to be of length 1 (tb->maxlength - 1), while a unicode character can be up to 4 long.
2007-03-02(svn r8974) -Fix: [win32] Define a win32 target platform ourselves so that ↵Darkvater
we don't conflict with Vista Platform SDK (boekabart)
2007-03-02(svn r8973) -Feature/Codechange: Changed the internal unit for aircraft ↵celestar
velocities to from 8mph to 1km/h (peter1138), also give aircraft realsitic velocities (so that 1km/h is 1km/h independent of vehicle type) (peter1138). Introduce a flag to reduce aircraft speed in holding patterns to some realistic velocity. Use this flag for the city airport for the time being and make use of the different entry points for this airport type.
2007-03-02(svn r8972) -Codechange: Dynamically add buttons on the cargo payment graph. ↵peter1138
This lets us remove the gaps and allow more than 12 cargo types later.
2007-03-02(svn r8969) -Codechange: rework of the player face bits.rubidium
- introduce a new format (with backward compatability) that is more clear and needs a much simpler face drawer - replace tons of ifs/switches/magic numbers by table lookups
2007-03-02(svn r8967) -Fix (OSX): silent the warnings in cocoa_v.mm about deprecated ↵truelight
stuff.. we know that\!
2007-03-02(svn r8966) -Codechange: replace some if-cascades by switches.rubidium
2007-03-01(svn r8964) -Codechange: use grf_load_string to read action 8 strings ↵rubidium
instead of trying to do the same manually.