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.)
18 years ago
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.
18 years ago
Darkvater
38afc37960
(svn r7272) -Ok, let's hope this one's correct...stupid msvc
18 years ago
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.
18 years ago
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.
18 years ago
peter1138
45e7e61aa9
(svn r7268) -Codechange: change rail vehicle cached weight from 16 to 32 bit values to avoid possible overflows.
18 years ago
peter1138
2f0bdeefb9
(svn r7266) -Codechange: Make the NewGRF loading stage look like ttdpatch to NewGRFs
18 years ago
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)
18 years ago
peter1138
52248be978
(svn r7257) -Fix (r7216): Fix doubly-utf8-encoded strings that crept in
18 years ago
KUDr
12a3e8e4be
(svn r7256) -Translation: [FS#408] Turkish lang file massive update (jnmbk)
18 years ago
KUDr
f1a7a34f6e
(svn r7255) -Comments added for CBlobBaseSimple, CBlobT classes
18 years ago
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)
18 years ago
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.
18 years ago
peter1138
8d175ccb13
(svn r7249) -Fix (r7248): Missed a free()...
18 years ago
peter1138
6fabaeeb23
(svn r7248) -Codechange: Support reinitializing the unicode glyph map.
18 years ago
KUDr
b3edc8b42e
(svn r7247) -Translation: czech lang file massive update - use proper diacritics (Hadez)
18 years ago
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.
18 years ago
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...
18 years ago
KUDr
59723b113e
(svn r7241) -Fix: czech town name generator now uses proper diacritics (Hadez)
18 years ago
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)
18 years ago
tron
878006e302
(svn r7239) Enumerate the widgets in the airport, dock, rail and road toolbars
18 years ago
tron
b0c56742af
(svn r7238) Remove two unused strings
18 years ago
rubidium
204d64b238
(svn r7237) -Fix: TGP landscape generation could leak memory if aborted during the generation of the heightmap.
18 years ago
peter1138
77c564bd86
(svn r7236) -Codechange: remove unused global array _newgrf_files
18 years ago
Darkvater
cd23dd423e
(svn r7233) -Codechange: get rid of three console.c globals
18 years ago
Darkvater
df54f52e20
(svn r7232) -Codechange: Also allow for the save/load of non pre-allocated strings inside structs.
18 years ago
Darkvater
2a91c8d723
(svn r7231) -Codechange: rename ini_get_variable to GetVariableAddress for use both in settings.c
...
and saveload.c
18 years ago
Darkvater
4113d151cd
(svn r7228) -Codechange: [internal] Add the possibility to save/load string-pointers which do not
...
have a pre-allocated buffer.
18 years ago
KUDr
c5ea9b0824
(svn r7227) -Fix: [YAPF] Bridge YAPF Penalty Incorrect. The penalty for upward slope was incorrectly applied on bridge exit. (Danny)
18 years ago
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.
18 years ago
Darkvater
ba9f22cee6
(svn r7219) -Fix: Several warnings by gcc introduced in r7206 which MSVC found not of a problem. Thanks Tron
18 years ago
miham
fb1bb34774
(svn r7218) WebTranslator2 update to 2006-11-19 23:09:22
...
croatian - 582 fixed, 1 changed by knovak (154), blozo (429)
18 years ago
miham
b66523ef2c
(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)
18 years ago
miham
fd01e39de0
(svn r7215) revoked last commit, have to modify the language config prior to the commit
18 years ago
miham
6290e35ea8
(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)
18 years ago
glx
10c1ff4680
(svn r7213) -Cleanup r7195: removed STR_CHEAT_ALLOW_CONVRAIL from unfinished lang files
18 years ago
peter1138
16a12db609
(svn r7212) -Codechange (FS#409): Update Turkish town name generator with Turkish characters (jnmbk)
18 years ago
peter1138
8e855f5f91
(svn r7211) -Codechange: Update all languages to use SMALLLEFTARROW/SMALLRIGHTARROW, as per english.txt, for GUI elements
18 years ago
KUDr
9b81f084af
(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)
18 years ago
peter1138
3f64e50fc9
(svn r7209) -Codechange: Alter position of scroll bar in the station list; the filter line isn't scrollable...
18 years ago
Darkvater
28fe28ad87
(svn r7208) -Revert [r6040]: Remove double-click action in minimap and reintroduce lmb-scrolling (Rubidium)
18 years ago
Darkvater
e614782066
(svn r7207) -Codechange: Pass the (unchanged) windowpointer to the console window and do it only once.
18 years ago
Darkvater
53f954edd3
(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()
18 years ago
Darkvater
b3c48c0a84
(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.
18 years ago
Darkvater
aa97b61a27
(svn r7203) -Cleanup: Donnu what Miham was smoking there, but removed it (assert_compile + 3)
18 years ago
Darkvater
e3f905e653
(svn r7202) -Codechange: Move _viewports and _active_viewports local to viewport.c and have them
...
called from the appropiate places in window.c
18 years ago
Darkvater
583c9e531b
(svn r7201) -Codechange: Use goto's to loop _windows when there is a change you need to start over
18 years ago
Darkvater
c4d841dcdb
(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)
18 years ago
Darkvater
2754eeb989
(svn r7199) -Codechange: [utf8] Make strtolower and str_strip_colours UTF8 aware.
18 years ago
belugas
c26dc76a7d
(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.
18 years ago