Commit Graph

5387 Commits

Author SHA1 Message Date
KUDr
3e6f89ca7e (svn r7296) -Fix: [YAPF] setting yapf.rail_look_ahead_max_signals to zero causes YAPF to behave incorrectly. Set its min value to 1. (Danny) 2006-11-30 13:52:31 +00:00
miham
eb1653836c (svn r7295) [Translations] Reverted last commit 2006-11-30 08:27:24 +00:00
miham
9d95a5e6a3 (svn r7294) WebTranslator2 update to 2006-11-30 09:06:04
hungarian  - 1 changed by miham (1)
2006-11-30 08:06:34 +00:00
miham
5cec4f8716 (svn r7293) WebTranslator2 update to 2006-11-30 08:56:49
brazilian_portuguese - 4 fixed by tucalipe (4)
catalan    - 4 fixed, 31 changed by arnaullv (35)
croatian   - 13 fixed by blozo (13)
french     - 4 fixed by glx (4)
german     - 1 fixed by Neonox (1)
hungarian  - 7 fixed by miham (7)
2006-11-30 07:57:27 +00:00
Darkvater
eb461dba75 (svn r7292) -Codechange: Also validate an strip of colours the console string passed to the dedicated
console or logfile.
2006-11-29 21:38:19 +00:00
peter1138
57bc016b1c (svn r7291) -Translation: use SMALL[LEFT|RIGHT]ARROW for two strings 2006-11-29 20:56:30 +00:00
peter1138
a9b1ba4083 (svn r7290) -Translation: update Russian for changes since 0.4.8: new commands and string removed or modified in English 2006-11-29 20:53:14 +00:00
peter1138
8286e34527 (svn r7289) -Translation: use only {STRING}, not {STRINGx} in non-English 2006-11-29 20:26:45 +00:00
peter1138
cb434e5cb3 (svn r7288) -Translation: Fix currency symbols in Russian 2006-11-29 20:21:21 +00:00
peter1138
a5c8874b77 (svn r7287) -Translation: Add Russian translation based on ttdrussia 0.4.8 release, thanks to Davydov M.A. 2006-11-29 17:57:14 +00:00
peter1138
b286561162 (svn r7286) -Translation: Remove unfinished latin transliterated Russian translation. 2006-11-29 17:37:28 +00:00
peter1138
a38f6a1cff (svn r7285) -Fix (r7282): Our vehstatus is a byte, not a word. 2006-11-29 11:48:47 +00:00
peter1138
5f51f8e8a0 (svn r7284) -Fix (r2361): off by one when calculating vehicle newgrf variable 41 result, partly blamed by vague documentation... (thanks lakie) 2006-11-28 23:44:12 +00:00
Darkvater
b23191ddae (svn r7283) -Revert (r1932): Remove scancode 41 for linux console because it is 49. If some linux
flavour does use 41, use proper #ifdef guards around it, because right now 'f' also
 toggles console.
2006-11-28 21:13:45 +00:00
peter1138
86d4052b1e (svn r7282) -Fix (r625): ttdpatch vars are little endian 2006-11-28 21:03:28 +00:00
Darkvater
3311f57b20 (svn r7281) -Codechange: [win32] Add win32.h to project file 2006-11-28 20:55:42 +00:00
Darkvater
7c945bf828 (svn r7280) -Codechange: Replace some sprintf() functions with the safer snprintf() functions 2006-11-28 20:55:16 +00:00
Darkvater
dcbbda0cb9 (svn r7279) -Codechange: [win32] Add Windows95/98 support by using MSLU. Only workaround is that the
wide version of EnumDisplaySettings crashes on win95 no matter what, so use ANSI version.
 NOTE: MSLU support is only added to VS2003 project file because VS2005 compiles won't
 even run on Windows95.
2006-11-28 20:01:46 +00:00
Darkvater
d8d210056d (svn r7278) -Codechange: [win32] Add UNICODE support so it should compile on OS's using UNICODE
API exclusively.
2006-11-28 19:58:13 +00:00
Darkvater
4e71091137 (svn r7274) -Codechange [utf8]: Add input/output unicode support. This actually only changes win32
since it uses UTF16 for file access. To keep os-specific code to a minimum, OpenTTD
 uses UTF8 internally everywhere, converting to OS-type when needed (save/load/screenshot/etc.)
2006-11-28 14:42:31 +00:00
peter1138
9253387001 (svn r7273) -Fix (r7250): Initialise game palette before driver initialisation. This fixes a 'black screen' problem with fullscreen with the win32 video driver. 2006-11-28 14:32:24 +00:00
Darkvater
38afc37960 (svn r7272) -Ok, let's hope this one's correct...stupid msvc 2006-11-28 14:19:18 +00:00
Darkvater
0693970c7c (svn r7271) -Codechange: Revert the strtolower part of r7199 as it can actually become broken due to
different codepages. See comments for strtolower function for more information.
2006-11-28 14:12:09 +00:00
peter1138
470c383738 (svn r7269) -Feature: Add freight trains patch option. This option is a multiplier for the weight of cargo on freight trains, to simulate longer heavier trains. The default value of 1 behaves as before. 2006-11-27 23:11:56 +00:00
peter1138
45e7e61aa9 (svn r7268) -Codechange: change rail vehicle cached weight from 16 to 32 bit values to avoid possible overflows. 2006-11-27 21:14:19 +00:00
peter1138
2f0bdeefb9 (svn r7266) -Codechange: Make the NewGRF loading stage look like ttdpatch to NewGRFs 2006-11-27 14:09:13 +00:00
miham
69b6e598e3 (svn r7260) WebTranslator2 update to 2006-11-26 16:36:43
brazilian_portuguese - 40 changed by tucalipe (40)
bulgarian  - 2 fixed by kokobongo (2)
catalan    - 4 changed by arnaullv (4)
croatian   - 168 fixed, 46 deleted, 18 changed by blozo (232)
swedish    - 4 fixed by daishan (4)
2006-11-26 15:38:48 +00:00
peter1138
52248be978 (svn r7257) -Fix (r7216): Fix doubly-utf8-encoded strings that crept in 2006-11-25 11:16:27 +00:00
KUDr
12a3e8e4be (svn r7256) -Translation: [FS#408] Turkish lang file massive update (jnmbk) 2006-11-25 08:27:44 +00:00
KUDr
f1a7a34f6e (svn r7255) -Comments added for CBlobBaseSimple, CBlobT classes 2006-11-24 21:37:08 +00:00
peter1138
1955d1acd6 (svn r7254) -Fix (r7250): move unicode glyph map initialisation to just before newgrf files are loaded, else newgrf glyphs will be cleared out too. (thanks Hadez) 2006-11-24 20:47:29 +00:00
peter1138
c079c83eb6 (svn r7250) -Codechange: Shuffle sprite loading and character width caching around a bit. This reduces the number of times the sprites are loaded from 5 to 2, just for the intro game. 2006-11-24 18:39:22 +00:00
peter1138
8d175ccb13 (svn r7249) -Fix (r7248): Missed a free()... 2006-11-24 18:37:40 +00:00
peter1138
6fabaeeb23 (svn r7248) -Codechange: Support reinitializing the unicode glyph map. 2006-11-24 18:35:59 +00:00
KUDr
b3edc8b42e (svn r7247) -Translation: czech lang file massive update - use proper diacritics (Hadez) 2006-11-24 13:18:14 +00:00
peter1138
b13a6f0a9c (svn r7246) -Codechange: Always reload sprite and NewGRF data when loading or starting a game, instead of only when the climate type is different. 2006-11-24 12:39:13 +00:00
peter1138
1ce4eda576 (svn r7242) -Fix: Don't load 1-byte pseudo sprites, as used in some NewGRF sets. If the sprite is ever drawn this will result in a "missing sprite" error instead of undefined misbehaviour leading to segmentation faults... 2006-11-23 21:19:43 +00:00
KUDr
59723b113e (svn r7241) -Fix: czech town name generator now uses proper diacritics (Hadez) 2006-11-22 23:25:31 +00:00
tron
b1568046ed (svn r7240) -Fix: Always display the excavation of roadworks even when fully zoomed out (they are quite noticable) or "full details" are off (they are part of the game mechanics) 2006-11-22 18:16:50 +00:00
tron
878006e302 (svn r7239) Enumerate the widgets in the airport, dock, rail and road toolbars 2006-11-22 16:08:01 +00:00
tron
b0c56742af (svn r7238) Remove two unused strings 2006-11-22 14:21:01 +00:00
rubidium
204d64b238 (svn r7237) -Fix: TGP landscape generation could leak memory if aborted during the generation of the heightmap. 2006-11-22 14:14:02 +00:00
peter1138
77c564bd86 (svn r7236) -Codechange: remove unused global array _newgrf_files 2006-11-22 08:49:40 +00:00
Darkvater
cd23dd423e (svn r7233) -Codechange: get rid of three console.c globals 2006-11-21 22:10:52 +00:00
Darkvater
df54f52e20 (svn r7232) -Codechange: Also allow for the save/load of non pre-allocated strings inside structs. 2006-11-21 20:23:57 +00:00
Darkvater
2a91c8d723 (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
4113d151cd (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
c5ea9b0824 (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
5471c1c50f (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
ba9f22cee6 (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