Commit Graph

5314 Commits (f9f6b5f341b8b296e58fa33a719bfd1ede5ebd05)
 

Author SHA1 Message Date
rubidium 40fb1c2a54 (svn r7328) -Fix: memory corruption. The 'Load Heightmap' window does not have TerraGenesis configuration buttons and it does have only 29 widgets, not at least 33. Thanks to Tefad for finding this bug. 18 years ago
KUDr e3607281a0 (svn r7327) -Fix: [YAPF] missing YAPF cache notification when building road on rail (new crossing) or removing road from crossing 18 years ago
peter1138 acac44820b (svn r7326) -Feature: Add support for gradual (un)loading of vehicles (Maedhros) 18 years ago
peter1138 71642d464b (svn r7325) -Feature: Add support for action 5 type 0x0D, coast sprites. 18 years ago
peter1138 4fefb1f03c (svn r7324) -Codechange: reset newgrf signal location data 18 years ago
peter1138 8e59299e72 (svn r7323) -Fix (r7182): When translating NewGRF strings, look at the first
character and move ahead if needed, instead of taking the first 
character and moving back.
18 years ago
Darkvater 4bcf77f3df (svn r7322) -Update win32 project files for ukrainian and bulgarian language files. Also add
unicows.lib to Release build of VS2003.
18 years ago
peter1138 7fc52a0fe4 (svn r7321) -Translations: Move bulgarian and ukrainian out of unfinished as they are, respectively, 99% and 97% complete. 18 years ago
peter1138 71ef1e6ee8 (svn r7320) -Translations: add russian to MS VC project files 18 years ago
peter1138 94b616630e (svn r7319) -Fix (r7182): (NewGRF) Add space for terminator when translating TTDPatch strings (thanks eddi) 18 years ago
rubidium 68502b1e80 (svn r7318) -Fix: change some unfinished strings: STRING->{CARGO,POWER,WEIGHT,WEIGHT_S} and remove strings that are no longer in english.txt. 18 years ago
KUDr 1b713e9182 (svn r7317) -Fix: (r7299) warning: unused variable num_engines (peter1138) 18 years ago
Darkvater 672d45d8f6 (svn r7316) -Codechange: Make train-build-gui and aircraft-build-gui (unified) look more alike. 18 years ago
Darkvater efd1e877f0 (svn r7315) -Fix: Have the first engine in the list be selected once again when the window is opened
and remove a useless loop that tested if selected engine is still in list (moved to list
 generation).
18 years ago
Darkvater 8eb6ed2825 (svn r7314) -Cleanup: const, whitespace, coding style and variable usage. 18 years ago
Darkvater fc1a90b663 (svn r7313) -Codechange: Calling invalidate data on a window will surely warrant a redraw, so call
that after the WE_INVALIDATE_DATA event and remove (some of) the superflouous calls.
18 years ago
Darkvater 3762f8d9d2 (svn r7312) -Fix: When loading a game from a dedicated server the local player global variable was
wrongly set to 0. In theory this allowed a dedicated server to also play. I see no
 history for this bug, but it has been there since the introduction of the dedicated
 server probably. Thanks peter1138 for bringing it to my attention and thanks myself
 for rewriting the code so this bug could surface ;p
18 years ago
peter1138 7b80718803 (svn r7310) -Codechange: Change scrolling dropdown box to use 1 scroll unit = 1 line
of text, instead of 1 row of pixels. This fixes behaviour of scrolling 
with the scrollbar buttons and the mouse wheel.
18 years ago
KUDr 9d2719e3d6 (svn r7309) -Codechange: sort train engines/wagons by number first and then by custom rule 18 years ago
KUDr 5ab10031bc (svn r7308) -Codechange: call GenerateBuildList() only when needed instead of on each redraw (peter1138) 18 years ago
KUDr 4f8f438ea4 (svn r7306) -Codechange: constness (Darkvater) 18 years ago
peter1138 b6854d7e21 (svn r7305) -Codestyle: Indentation fixes 18 years ago
peter1138 8a91f18058 (svn r7304) -Codechange: Reinstate caching of sorted purchase list. Dropping from 9m to 1.5m cycles for a redraw of a full list is not frivolous. 18 years ago
peter1138 058af8eb30 (svn r7303) -Codechange: Sort wagon list as well as engine list. 18 years ago
KUDr b07b745d52 (svn r7301) -Fix: (r7299) Forgotten $Id$ and eol-style (peter1138) 18 years ago
KUDr c36481fa75 (svn r7300) -Fix: (r7299) removed unused strings from lang files 18 years ago
KUDr acf4891180 (svn r7299) -CodeChange: Train and Aircraft Build window GUI code simplified a bit:
- using one engine list instead of 3
- removed engine filters (loco, wagons, helicopters, etc.)
- EngineList code isolated from GUI (moved to helpers.cpp - reusing CBlobT code which does exactly what is needed for EngineList)
- removed unnecessary  "optimization" (rebuild and sort engine list on each WE_PAINT)
18 years ago
KUDr 9d12bcb3f2 (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) 18 years ago
miham c5251cedc0 (svn r7295) [Translations] Reverted last commit 18 years ago
miham b02eb14e60 (svn r7294) WebTranslator2 update to 2006-11-30 09:06:04
hungarian  - 1 changed by miham (1)
18 years ago
miham 16e1c6f0d0 (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)
18 years ago
Darkvater d0e55bab8b (svn r7292) -Codechange: Also validate an strip of colours the console string passed to the dedicated
console or logfile.
18 years ago
peter1138 d5a7403d09 (svn r7291) -Translation: use SMALL[LEFT|RIGHT]ARROW for two strings 18 years ago
peter1138 475117a50b (svn r7290) -Translation: update Russian for changes since 0.4.8: new commands and string removed or modified in English 18 years ago
peter1138 b7a1385efd (svn r7289) -Translation: use only {STRING}, not {STRINGx} in non-English 18 years ago
peter1138 7f46ba333b (svn r7288) -Translation: Fix currency symbols in Russian 18 years ago
peter1138 d28cc899a4 (svn r7287) -Translation: Add Russian translation based on ttdrussia 0.4.8 release, thanks to Davydov M.A. 18 years ago
peter1138 be0f75c3f8 (svn r7286) -Translation: Remove unfinished latin transliterated Russian translation. 18 years ago
peter1138 93abea25ac (svn r7285) -Fix (r7282): Our vehstatus is a byte, not a word. 18 years ago
peter1138 00053cd0f7 (svn r7284) -Fix (r2361): off by one when calculating vehicle newgrf variable 41 result, partly blamed by vague documentation... (thanks lakie) 18 years ago
Darkvater 5f1d349846 (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.
18 years ago
peter1138 23762f9534 (svn r7282) -Fix (r625): ttdpatch vars are little endian 18 years ago
Darkvater 5555643808 (svn r7281) -Codechange: [win32] Add win32.h to project file 18 years ago
Darkvater b9eed21679 (svn r7280) -Codechange: Replace some sprintf() functions with the safer snprintf() functions 18 years ago
Darkvater ea965a4adf (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.
18 years ago
Darkvater 8d29e3efdb (svn r7278) -Codechange: [win32] Add UNICODE support so it should compile on OS's using UNICODE
API exclusively.
18 years ago
Darkvater bf907c8d3c (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 051454304d (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 d8083d88ba (svn r7272) -Ok, let's hope this one's correct...stupid msvc 18 years ago
Darkvater 03c8979ec9 (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