Commit Graph

5224 Commits (5e3a3692ead02d6c2bca3625b8e40298f2ec4c42)
 

Author SHA1 Message Date
Darkvater b2a5b4f069 (svn r7203) -Cleanup: Donnu what Miham was smoking there, but removed it (assert_compile + 3) 18 years ago
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
18 years ago
Darkvater a448474f21 (svn r7201) -Codechange: Use goto's to loop _windows when there is a change you need to start over 18 years ago
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)
18 years ago
Darkvater 20cf41522e (svn r7199) -Codechange: [utf8] Make strtolower and str_strip_colours UTF8 aware. 18 years ago
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.
18 years ago
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. 18 years ago
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, ..)
18 years ago
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. 18 years ago
peter1138 f59e410f11 (svn r7191) -Feature: Add NewGRF support for 32 bit dates, allowing vehicles and bridges to be available before 1920. 18 years ago
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.
18 years ago
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) 18 years ago
peter1138 7d497f2b01 (svn r7185) -Codechange: Make strgen validate strings for UTF-8 well-formed-ness-ness 18 years ago
peter1138 08b0b77e8a (svn r7184) -Codechange: Convert Catalan name generator to UTF-8 18 years ago
peter1138 73989b1437 (svn r7183) -Feature (cont): Convert all language from ISO8859-15 to UTF-8 18 years ago
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. 18 years ago
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.
18 years ago
KUDr b44fce7a86 (svn r7178) -Fix: forgotten pointer dereferences (Bjarni, Bjarni, Bjarni, ...) 18 years ago
glx 32fac5c2aa (svn r7176) -Fix: remove button was not always disabled when it should have been (rail/road build toolbar) 18 years ago
rubidium 8530472e26 (svn r7175) -Fix: remove English (i.e. untranslated) strings from the Ukrainian language file. 18 years ago
KUDr 9d187d6239 (svn r7174) -CodeChange: CheckStationSpreadOut() now uses MergePoint() for bounding rectangle calculation. 18 years ago
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. 18 years ago
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.
18 years ago
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)
18 years ago
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.
18 years ago
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) 18 years ago
KUDr 6587db1c98 (svn r7167) -Fix: [FS#367] Crash: engine.h:194: RailVehInfo: Assertion (reported by skidd13) 18 years ago
KUDr c32ba85700 (svn r7166) -Fix: [FS#402] MiniMap was misplacing vehicles sometimes (HMage) 18 years ago
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) 18 years ago
Darkvater a15768953b (svn r7163) -Codechange: Disable compilation of additional yapf code. 18 years ago
KUDr e18c9f384d (svn r7162) -CodeChange: disabled compilation of unused code (Darkvater) 18 years ago
Darkvater 41733bacb0 (svn r7161) -Codechange: Update currency exchange rates... yes I'm bored ;p 18 years ago
Darkvater d5c8a54666 (svn r7160) -Feature [SF 1243657, 1171147]: Slovak/Brazil currency patch (gpsoft, klanticus) 18 years ago
Darkvater acc87fc9f0 (svn r7157) -Fix [FS#221, SF1168820]: Some mouse events possibly lost under high CPU load, handle
mouse input right away instead of waiting for GameLoop. (KUDr)
18 years ago
Darkvater 3328ceea9e (svn r7156) -Codechange: Remove obsolete variable, localize global variable, use GB and change logic
of the win32: TAB speeds up, but ALT+TAB doesn't code.
18 years ago
miham 7ba7bd0a49 (svn r7155) WebTranslator2 update to 2006-11-15 20:44:45
ukrainian  - 6 fixed, 2 changed by znikoz (8)
18 years ago
miham 977f12487d (svn r7154) [Translations] Added new language: serbian 18 years ago
Darkvater eaddac35be (svn r7153) -Fix [FS#279]: Some keyboard events possibly lost under high CPU load, handle
keyboard input in place instead of global variables magic. (KUDr)
18 years ago
rubidium 791d20a011 (svn r7152) -Feature (FS#396): allow towns to be built on top of trees in the scenario editor. 18 years ago
miham 8be62234ed (svn r7149) WebTranslator2 update to 2006-11-14 18:26:05
estonian   - 1 fixed by vermon (1)
portuguese - 22 fixed by izhirahider (22)
turkish    - 2 fixed, 8 changed by jnmbk (10)
18 years ago
KUDr 6784e08945 (svn r7147) -CodeChange: Don't use references if they can refer to NULL (Tron) 18 years ago
KUDr 8a588f9cf1 (svn r7146) -CodeChange: ST_CONST macro removed as it is no longer needed (Tron) 18 years ago
tron a0b44e744f (svn r7145) Remove extra semicolons 18 years ago
glx 50305fb253 (svn r7144) -Cleanup r7102: remove STR_CONFIG_PATCHES_PROGRESS_UPDATE_INTERVAL in lang files 18 years ago
glx ada4bf0cf7 (svn r7143) -CodeChange: remove redondancy in saveload dialogs 18 years ago
glx bc512e719f (svn r7142) -Fix: disable clone button in vehicle view for not owned vehicles (was already done for trains) 18 years ago
bjarni 0724b07575 (svn r7138) -Fix: [vehicle list windows] fixed a rare crash where having some (not all) vehicle list windows open for a player, that goes bankrupt would crash the game
-Codechange: closing all windows for a player will now loop all windows and close those, which got the player as caption instead of having a list of windows to close
18 years ago
Darkvater 7a412adb71 (svn r7137) -Codechange: [win32] Use windows function in main loop to check if we have pressed ALT
(for ALT+TAB) instead of magic global _pressed_key from input-loop. (KUDr)
18 years ago
KUDr d019abaf6b (svn r7134) - Fix (r7133) Still can't build oil refinery in the desert climate (this time i tested it) 18 years ago
KUDr 8d6fe990fe (svn r7133) - Fix: Can't build oil refinery in other climates than temperate. 18 years ago