Darkvater
fc5ad19258
(svn r7231) -Codechange: rename ini_get_variable to GetVariableAddress for use both in settings.c
...
and saveload.c
2006-11-21 20:20:30 +00:00
Darkvater
3445dab112
(svn r7228) -Codechange: [internal] Add the possibility to save/load string-pointers which do not
...
have a pre-allocated buffer.
2006-11-21 16:54:16 +00:00
KUDr
92a1daf4f5
(svn r7227) -Fix: [YAPF] Bridge YAPF Penalty Incorrect. The penalty for upward slope was incorrectly applied on bridge exit. (Danny)
2006-11-21 16:24:13 +00:00
Darkvater
b8cf1f7504
(svn r7226) -Fix (r7200): [win32] Don't ask my why but I told the linker to ignore the multithreaded
...
library in for VS2005, resulting in unlinkable code for Release builds.
2006-11-21 13:03:06 +00:00
Darkvater
53b02577b9
(svn r7219) -Fix: Several warnings by gcc introduced in r7206 which MSVC found not of a problem. Thanks Tron
2006-11-19 22:24:18 +00:00
miham
0470883f82
(svn r7218) WebTranslator2 update to 2006-11-19 23:09:22
...
croatian - 582 fixed, 1 changed by knovak (154), blozo (429)
2006-11-19 22:11:04 +00:00
miham
3f0d442297
(svn r7216) WebTranslator2 update to 2006-11-19 22:30:04
...
american - 5 fixed by WhiteRabbit (5)
brazilian_portuguese - 10 fixed by tucalipe (10)
catalan - 9 fixed by arnaullv (9)
czech - 5 fixed by Hadez (5)
danish - 3 fixed, 2 changed by ThomasA (5)
dutch - 3 fixed by habell (3)
finnish - 7 fixed, 3 changed by kerba (10)
french - 5 fixed by glx (2), belugas (3)
galician - 7 fixed, 1 changed by Condex (8)
german - 4 fixed by Neonox (4)
italian - 3 fixed by sidew (3)
polish - 6 fixed, 20 changed by meush (26)
portuguese - 5 fixed by izhirahider (5)
romanian - 9 fixed, 2 changed by kneekoo (11)
spanish - 5 fixed, 1 changed by eusebio (6)
turkish - 2 fixed by jnmbk (2)
ukrainian - 6 fixed by znikoz (6)
2006-11-19 21:32:38 +00:00
miham
13e2e10db2
(svn r7215) revoked last commit, have to modify the language config prior to the commit
2006-11-19 20:42:55 +00:00
miham
1981418925
(svn r7214) WebTranslator2 update to 2006-11-19 21:32:01
...
american - 5 fixed by WhiteRabbit (5)
brazilian_portuguese - 6 fixed by tucalipe (6)
catalan - 5 fixed by arnaullv (5)
czech - 5 fixed by Hadez (5)
danish - 3 fixed, 2 changed by ThomasA (5)
dutch - 3 fixed by habell (3)
finnish - 7 fixed, 3 changed by kerba (10)
french - 5 fixed by glx (2), belugas (3)
galician - 7 fixed, 1 changed by Condex (8)
german - 4 fixed by Neonox (4)
italian - 3 fixed by sidew (3)
polish - 6 fixed, 21 changed by meush (27)
portuguese - 5 fixed by izhirahider (5)
romanian - 9 fixed, 2 changed by kneekoo (11)
spanish - 5 fixed, 1 changed by eusebio (6)
turkish - 2 fixed by jnmbk (2)
ukrainian - 6 fixed by znikoz (6)
2006-11-19 20:33:17 +00:00
glx
1b8c595722
(svn r7213) -Cleanup r7195: removed STR_CHEAT_ALLOW_CONVRAIL from unfinished lang files
2006-11-19 01:39:47 +00:00
peter1138
0378a5efe9
(svn r7212) -Codechange (FS#409): Update Turkish town name generator with Turkish characters (jnmbk)
2006-11-18 22:15:46 +00:00
peter1138
be9abceb8f
(svn r7211) -Codechange: Update all languages to use SMALLLEFTARROW/SMALLRIGHTARROW, as per english.txt, for GUI elements
2006-11-18 21:39:03 +00:00
KUDr
75f99b0abb
(svn r7210) -CodeChange: [YAPF] the global cache object is now not destroyed/recreated whenever the cache is invalidated. It now supports Flush() method that is used instead. It should also fix mem-leak warning produced by valgrind (Tron)
2006-11-18 19:20:47 +00:00
peter1138
7fe387708f
(svn r7209) -Codechange: Alter position of scroll bar in the station list; the filter line isn't scrollable...
2006-11-18 17:34:20 +00:00
Darkvater
615e7b2892
(svn r7208) -Revert [r6040]: Remove double-click action in minimap and reintroduce lmb-scrolling (Rubidium)
2006-11-18 17:12:39 +00:00
Darkvater
e9905dec80
(svn r7207) -Codechange: Pass the (unchanged) windowpointer to the console window and do it only once.
2006-11-18 17:07:05 +00:00
Darkvater
22ab60c9cb
(svn r7206) -Codechange: Remove (some of) the magic needed for windows that could be invalid after
...
a call to DeleteWindow() somewhere else. Also do some cleanup with AllowWindowDescFront()
2006-11-18 17:04:44 +00:00
Darkvater
c01c294afb
(svn r7205) -Fix [FS#350, SF#1560913]: Window allocation and deletion messed with the actual window
...
structs inside their array, and possibly invalidating pointers higher up.
Meaning that any function called within an wndproc could cause unknown/invalid pointers
once control was returned to this function. Solved by the introduction of an extra
abstraction layer, an array of z-window positions that is only concerned with the
pointers.
2006-11-18 16:47:02 +00:00
Darkvater
b2a5b4f069
(svn r7203) -Cleanup: Donnu what Miham was smoking there, but removed it (assert_compile + 3)
2006-11-18 13:55:44 +00:00
Darkvater
62a9d7fdf3
(svn r7202) -Codechange: Move _viewports and _active_viewports local to viewport.c and have them
...
called from the appropiate places in window.c
2006-11-18 13:54:33 +00:00
Darkvater
a448474f21
(svn r7201) -Codechange: Use goto's to loop _windows when there is a change you need to start over
2006-11-18 00:44:09 +00:00
Darkvater
1a87a33911
(svn r7200) -Codechange: remove unneeded redraw (console.c), coding style, use FindWindowById
...
instead of _windows loop (viewport.c), remove dump-code (mixer.c), MSVC6 borkdness
in stdafx.h, constness (viewport.c), variable localization (win32.c), comments (window.c)
2006-11-18 00:14:43 +00:00
Darkvater
20cf41522e
(svn r7199) -Codechange: [utf8] Make strtolower and str_strip_colours UTF8 aware.
2006-11-17 23:29:22 +00:00
belugas
392fc3a45b
(svn r7198) -Codechange: Implement a circular tile search function.
...
Just provide the number of tiles per side, a pointer to a test function, the tile to start searching and voila.
Fixes [FS#364] by removing a lengthy and suboptimal random search pattern.
Thanks Rubidium.
2006-11-17 23:01:58 +00:00
rubidium
9a8c149321
(svn r7196) -Feature: use fontconfig so one can set the font family name in openttd.cfg instead of the full path to the font.
2006-11-17 22:15:55 +00:00
KUDr
ff7e46f378
(svn r7195) -Feature: [FS#297, optional elrails] New patches/vehicles option 'disable electrified railways'.
...
(original patch by maedhros, ideas: peter1138, Darkvater, Rubidium, Patrick, Eddi|zuHause, ..)
2006-11-17 19:31:44 +00:00
rubidium
fd8dd81b74
(svn r7194) -Fix (FS#237): the electric rail type was not set correctly for NewGRFs where the engine traction type was set before the track type of the trains.
2006-11-17 18:06:40 +00:00
peter1138
f59e410f11
(svn r7191) -Feature: Add NewGRF support for 32 bit dates, allowing vehicles and bridges to be available before 1920.
2006-11-17 11:03:38 +00:00
KUDr
af8ecdd8f3
(svn r7190) -Fix: If the non-player-based _patches setting was changed on the server during MP game, the callback function was:
...
1. Called only on the server but not on its clients.
2. Was called before the setting change occurred (usually with no effect)
3. Received old 'p1' argument value intead of new one
It could cause some MP desyncs in the future.
2006-11-17 10:42:20 +00:00
Darkvater
cfd1c826d7
(svn r7187) -CodeChange: [win32] Limit success of ToUnicode/ToAscii to only one translated character as we only support one and remove TranslateMessage() call since we do not use it anyways (glx)
2006-11-17 10:06:11 +00:00
peter1138
7d497f2b01
(svn r7185) -Codechange: Make strgen validate strings for UTF-8 well-formed-ness-ness
2006-11-17 07:46:02 +00:00
peter1138
08b0b77e8a
(svn r7184) -Codechange: Convert Catalan name generator to UTF-8
2006-11-17 07:35:12 +00:00
peter1138
73989b1437
(svn r7183) -Feature (cont): Convert all language from ISO8859-15 to UTF-8
2006-11-16 22:19:12 +00:00
peter1138
f660d48e6a
(svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.
2006-11-16 22:05:33 +00:00
Darkvater
1b0e95539f
(svn r7179) -Codechange (r7173): Actually "prefer" team chat through the patch setting instead of
...
always sending to teammate if the patch is on even if you do not have any allies. So
with setting off you always send to 'all players', with setting on you send to teammates
if you have any, otherwise to all players.
2006-11-16 20:57:23 +00:00
KUDr
b44fce7a86
(svn r7178) -Fix: forgotten pointer dereferences (Bjarni, Bjarni, Bjarni, ...)
2006-11-16 20:52:39 +00:00
glx
32fac5c2aa
(svn r7176) -Fix: remove button was not always disabled when it should have been (rail/road build toolbar)
2006-11-16 18:41:57 +00:00
rubidium
8530472e26
(svn r7175) -Fix: remove English (i.e. untranslated) strings from the Ukrainian language file.
2006-11-16 18:33:55 +00:00
KUDr
9d187d6239
(svn r7174) -CodeChange: CheckStationSpreadOut() now uses MergePoint() for bounding rectangle calculation.
2006-11-16 17:59:02 +00:00
Darkvater
da2d221337
(svn r7173) -Codechange (r6824): Allow the user to change the chat-destination when chatting with <ENTER> or 'T' instead of the game choosing one for you automatically.
2006-11-16 17:44:04 +00:00
Darkvater
22bfbc8a7a
(svn r7172) -Fix [r6931]: The console showed '?' characters instead of colours. Now strip all
...
colours for the console. It's a bit magicky (magic numbers) but UTF8 fixes that soon.
2006-11-16 17:41:24 +00:00
miham
55506a902a
(svn r7171) WebTranslator2 update to 2006-11-16 18:14:50
...
bulgarian - 2 fixed, 3 deleted, 2 changed by kokobongo (7)
dutch - 2 fixed by habell (2)
italian - 2 fixed by sidew (2)
slovak - 1 fixed by lengyel (1)
2006-11-16 17:15:26 +00:00
Darkvater
ea40411091
(svn r7170) -Fix: [sdl] Non-working console toggle for some keyboard layouts. Do not OR the backquote
...
character but set it. Happened on Linux with Hungarian keyboard for example.
2006-11-16 16:50:54 +00:00
KUDr
17476d74a3
(svn r7169) -Fix: [FS#388] Station sign (and base station coordinates) didn't move along with station when station moved by walking. (HMage)
2006-11-16 16:18:00 +00:00
KUDr
6587db1c98
(svn r7167) -Fix: [FS#367] Crash: engine.h:194: RailVehInfo: Assertion (reported by skidd13)
2006-11-16 13:59:26 +00:00
KUDr
c32ba85700
(svn r7166) -Fix: [FS#402] MiniMap was misplacing vehicles sometimes (HMage)
2006-11-16 12:31:38 +00:00
KUDr
3a90d6d00c
(svn r7164) -Fix: [YAPF] assert when look-ahead polynomial result (red-signal penalty) is negative. Such penalty is now added as positive penalty for the appropriate green signal. (DannyA)
2006-11-16 10:51:42 +00:00
Darkvater
a15768953b
(svn r7163) -Codechange: Disable compilation of additional yapf code.
2006-11-16 00:09:39 +00:00
KUDr
e18c9f384d
(svn r7162) -CodeChange: disabled compilation of unused code (Darkvater)
2006-11-15 23:47:52 +00:00
Darkvater
41733bacb0
(svn r7161) -Codechange: Update currency exchange rates... yes I'm bored ;p
2006-11-15 21:57:47 +00:00