summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-11-28(svn r7283) -Revert (r1932): Remove scancode 41 for linux console because it ↵Darkvater
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(svn r7282) -Fix (r625): ttdpatch vars are little endianpeter1138
2006-11-28(svn r7281) -Codechange: [win32] Add win32.h to project fileDarkvater
2006-11-28(svn r7280) -Codechange: Replace some sprintf() functions with the safer ↵Darkvater
snprintf() functions
2006-11-28(svn r7279) -Codechange: [win32] Add Windows95/98 support by using MSLU. ↵Darkvater
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(svn r7278) -Codechange: [win32] Add UNICODE support so it should compile on ↵Darkvater
OS's using UNICODE API exclusively.
2006-11-28(svn r7274) -Codechange [utf8]: Add input/output unicode support. This ↵Darkvater
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(svn r7273) -Fix (r7250): Initialise game palette before driver ↵peter1138
initialisation. This fixes a 'black screen' problem with fullscreen with the win32 video driver.
2006-11-28(svn r7272) -Ok, let's hope this one's correct...stupid msvcDarkvater
2006-11-28(svn r7271) -Codechange: Revert the strtolower part of r7199 as it can ↵Darkvater
actually become broken due to different codepages. See comments for strtolower function for more information.
2006-11-27(svn r7269) -Feature: Add freight trains patch option. This option is a ↵peter1138
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(svn r7268) -Codechange: change rail vehicle cached weight from 16 to 32 bit ↵peter1138
values to avoid possible overflows.
2006-11-27(svn r7266) -Codechange: Make the NewGRF loading stage look like ttdpatch to ↵peter1138
NewGRFs
2006-11-26(svn r7260) WebTranslator2 update to 2006-11-26 16:36:43miham
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-25(svn r7257) -Fix (r7216): Fix doubly-utf8-encoded strings that crept inpeter1138
2006-11-25(svn r7256) -Translation: [FS#408] Turkish lang file massive update (jnmbk)KUDr
2006-11-24(svn r7255) -Comments added for CBlobBaseSimple, CBlobT classesKUDr
2006-11-24(svn r7254) -Fix (r7250): move unicode glyph map initialisation to just ↵peter1138
before newgrf files are loaded, else newgrf glyphs will be cleared out too. (thanks Hadez)
2006-11-24(svn r7250) -Codechange: Shuffle sprite loading and character width caching ↵peter1138
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(svn r7249) -Fix (r7248): Missed a free()...peter1138
2006-11-24(svn r7248) -Codechange: Support reinitializing the unicode glyph map.peter1138
2006-11-24(svn r7247) -Translation: czech lang file massive update - use proper ↵KUDr
diacritics (Hadez)
2006-11-24(svn r7246) -Codechange: Always reload sprite and NewGRF data when loading ↵peter1138
or starting a game, instead of only when the climate type is different.
2006-11-23(svn r7242) -Fix: Don't load 1-byte pseudo sprites, as used in some NewGRF ↵peter1138
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-22(svn r7241) -Fix: czech town name generator now uses proper diacritics (Hadez)KUDr
2006-11-22(svn r7240) -Fix: Always display the excavation of roadworks even when fully ↵tron
zoomed out (they are quite noticable) or "full details" are off (they are part of the game mechanics)
2006-11-22(svn r7239) Enumerate the widgets in the airport, dock, rail and road toolbarstron
2006-11-22(svn r7238) Remove two unused stringstron
2006-11-22(svn r7237) -Fix: TGP landscape generation could leak memory if aborted ↵rubidium
during the generation of the heightmap.
2006-11-22(svn r7236) -Codechange: remove unused global array _newgrf_filespeter1138
2006-11-21(svn r7233) -Codechange: get rid of three console.c globalsDarkvater
2006-11-21(svn r7232) -Codechange: Also allow for the save/load of non pre-allocated ↵Darkvater
strings inside structs.
2006-11-21(svn r7231) -Codechange: rename ini_get_variable to GetVariableAddress for ↵Darkvater
use both in settings.c and saveload.c
2006-11-21(svn r7228) -Codechange: [internal] Add the possibility to save/load ↵Darkvater
string-pointers which do not have a pre-allocated buffer.
2006-11-21(svn r7227) -Fix: [YAPF] Bridge YAPF Penalty Incorrect. The penalty for ↵KUDr
upward slope was incorrectly applied on bridge exit. (Danny)
2006-11-21(svn r7226) -Fix (r7200): [win32] Don't ask my why but I told the linker to ↵Darkvater
ignore the multithreaded library in for VS2005, resulting in unlinkable code for Release builds.
2006-11-19(svn r7219) -Fix: Several warnings by gcc introduced in r7206 which MSVC ↵Darkvater
found not of a problem. Thanks Tron
2006-11-19(svn r7218) WebTranslator2 update to 2006-11-19 23:09:22miham
croatian - 582 fixed, 1 changed by knovak (154), blozo (429)
2006-11-19(svn r7216) WebTranslator2 update to 2006-11-19 22:30:04miham
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(svn r7215) revoked last commit, have to modify the language config prior to ↵miham
the commit
2006-11-19(svn r7214) WebTranslator2 update to 2006-11-19 21:32:01miham
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(svn r7213) -Cleanup r7195: removed STR_CHEAT_ALLOW_CONVRAIL from unfinished ↵glx
lang files
2006-11-18(svn r7212) -Codechange (FS#409): Update Turkish town name generator with ↵peter1138
Turkish characters (jnmbk)
2006-11-18(svn r7211) -Codechange: Update all languages to use ↵peter1138
SMALLLEFTARROW/SMALLRIGHTARROW, as per english.txt, for GUI elements
2006-11-18(svn r7210) -CodeChange: [YAPF] the global cache object is now not ↵KUDr
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(svn r7209) -Codechange: Alter position of scroll bar in the station list; ↵peter1138
the filter line isn't scrollable...
2006-11-18(svn r7208) -Revert [r6040]: Remove double-click action in minimap and ↵Darkvater
reintroduce lmb-scrolling (Rubidium)
2006-11-18(svn r7207) -Codechange: Pass the (unchanged) windowpointer to the console ↵Darkvater
window and do it only once.
2006-11-18(svn r7206) -Codechange: Remove (some of) the magic needed for windows that ↵Darkvater
could be invalid after a call to DeleteWindow() somewhere else. Also do some cleanup with AllowWindowDescFront()
2006-11-18(svn r7205) -Fix [FS#350, SF#1560913]: Window allocation and deletion messed ↵Darkvater
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.