rubidium
7a38642a1c
(svn r23639) -Fix [FS#4892]: fix transparency for steel mill, colour translations in some arctic buildings and a wrongly replaced sprites (PaulC)
2011-12-20 17:04:31 +00:00
rubidium
9a27c28270
(svn r23638) -Fix [FS#4894]: glitch in the monospace font (PaulC)
2011-12-20 17:03:11 +00:00
rubidium
df16ebd730
(svn r23595) -Codechange: add comma after last enum to get a more uniform coding style
2011-12-19 17:48:04 +00:00
rubidium
eaadd215be
(svn r23594) -Codechange: follow coding style with multi line comments
2011-12-19 17:40:54 +00:00
rubidium
fefe22b4aa
(svn r23590) -Codechange: make the string validation settings better expandable
2011-12-18 18:37:54 +00:00
rubidium
88f1acd26b
(svn r23587) -Fix-ish: MSVC warnings in case strgen would be in the main project file
2011-12-18 11:56:53 +00:00
rubidium
50b63c5870
(svn r23585) -Codechange: replace some magic numbers with less magic constants
2011-12-17 23:16:16 +00:00
rubidium
8c6a37d4b4
(svn r23583) -Codechange: prevent name collision with strgen variable
2011-12-17 22:35:22 +00:00
rubidium
ab974bee97
(svn r23582) -Fix [FS#4870]: add missing characters for certain languages and the large font
...
-Codechange: don't remove large font glyphs because they are broken in the original font, just fix them up in openttd.grf using action A
-Change: make extra characters more consistent with the original font
All by PaulC.
2011-12-17 21:42:11 +00:00
rubidium
d0e7b0fd9d
(svn r23580) -Codechange: put the infrastructure maintenance cache testing behind the desync debug level guard, improving the game's speed significantly
2011-12-17 21:20:41 +00:00
rubidium
5ba483cbf4
(svn r23577) -Fix (r23576): strgen project files aren't automatically updated :(
2011-12-17 18:39:29 +00:00
rubidium
1f083c3ac8
(svn r23576) -Codechange: split the base of strgen with the strgen code that creates the actual .lng files
2011-12-17 18:34:03 +00:00
rubidium
c97b2a5224
(svn r23575) -Codechange: split class definition and implementation of base strgen classes
2011-12-17 17:25:50 +00:00
rubidium
9c34bc52db
(svn r23574) -Codechange/Feature-ish: allow converting multiple translations with the same master language instance in a single strgen run
2011-12-17 17:03:38 +00:00
rubidium
17c0756da2
(svn r23573) -Fix (r23571): MSVC doesn't like variable array sizes
2011-12-17 16:59:16 +00:00
rubidium
ad7f577931
(svn r23572) -Codechange: split actual file reading from logic for parsing
2011-12-17 16:56:32 +00:00
rubidium
4fbbbdd78f
(svn r23571) -Codechange: make the number of 'tabs' the generate configurable
2011-12-17 15:02:09 +00:00
rubidium
ab37a923c2
(svn r23570) -Codechange: move version generation code to StringData
2011-12-17 14:50:35 +00:00
rubidium
343d0d8176
(svn r23569) -Codechange: put more logic in some of the strgen structs, e.g. allocating and freeing its memory, and don't use a global variable for the string data
2011-12-17 14:41:10 +00:00
rubidium
6c31b25e22
(svn r23568) -Codechange: only allocate the buffer for writing when it is really needed
2011-12-17 13:33:36 +00:00
rubidium
b7b3ac8859
(svn r23567) -Codechange: use SmallVector for the buffer in strgen
2011-12-17 13:23:01 +00:00
rubidium
5d37791157
(svn r23566) -Fix (r23565): hopefully fix MSVC compilation error
2011-12-17 12:19:22 +00:00
rubidium
15906ca874
(svn r23565) -Codechange: create some classes for writing language header and translation files
2011-12-17 12:15:19 +00:00
rubidium
719b4707dc
(svn r23563) -Cleanup: remove useless global variable from strgen; it would always be false at the point it would be read
2011-12-16 22:03:59 +00:00
rubidium
ff4bfded7a
(svn r23558) -Fix (r23556): ctrl-z too few ;)
2011-12-16 18:47:46 +00:00
rubidium
95642f956f
(svn r23556) -Codechange: unify rail widget naming and document them
2011-12-16 18:43:38 +00:00
rubidium
bdb6280e79
(svn r23550) -Codechange: unify naming of the on screen keyboard widgets
2011-12-16 18:27:39 +00:00
rubidium
1470e41fe4
(svn r23548) -Codechange: unify and document toolbar widgets
2011-12-16 18:23:35 +00:00
rubidium
2988509dd0
(svn r23542) -Codechange: unify and document town related widgets
2011-12-16 17:23:41 +00:00
rubidium
4de1f3be88
(svn r23540) -Codechange: unify and document vehicle widgets
2011-12-16 16:58:55 +00:00
rubidium
b8640b986f
(svn r23539) -Codechange: prevent conflict between widget naming of (vehicle) depots and vehicle details
2011-12-16 16:57:56 +00:00
rubidium
b6a303387c
(svn r23532) -Codechange: unify widget naming of (extra) viewport
2011-12-16 16:29:53 +00:00
rubidium
b90aa80e77
(svn r23530) -Codechange: begin unify the naming of widgets and add comments to them, in this case the waypoint view widgets
2011-12-16 16:25:34 +00:00
rubidium
fd559171b4
(svn r23527) -Codechange: unify colo(u)r as far as it goes
2011-12-15 22:02:00 +00:00
rubidium
3d88c74389
(svn r23526) -Codechange: unify cargos vs cargoes
2011-12-15 21:56:00 +00:00
rubidium
efb37bb919
(svn r23523) -Fix: language compilation error
2011-12-15 18:48:19 +00:00
rubidium
18d929aa21
(svn r23521) -Codechange: use the actual enum values from the 'core' in the API when they refer to the in-game values in the cases where that is possible and sensible
2011-12-15 18:40:15 +00:00
rubidium
bb564bc34d
(svn r23520) -Fix-ish: wrong @param name causing missing documentation
2011-12-15 18:36:29 +00:00
rubidium
1eb17c8307
(svn r23519) -Change: do not export enum values in the AI documentation
2011-12-15 18:35:46 +00:00
rubidium
f3b78bf076
(svn r23493) -Fix (r23476): clearing errors didn't clear the currently shown critical error
2011-12-11 12:20:02 +00:00
rubidium
93b568469a
(svn r23491) -Document [FS#4846]: why we're not saving settings when OpenTTD crashes
2011-12-11 11:54:44 +00:00
rubidium
7e7c262167
(svn r23488) -Fix [FS#4879] (r23241): artefacts when right click mouse moving with the allegro video driver
2011-12-11 07:26:13 +00:00
rubidium
b5a2183214
(svn r23484) -Fix [FS#4770]: in case you already have orders, ignore the vehicles when adding an extra order
2011-12-10 19:20:30 +00:00
rubidium
0ca25fb3af
(svn r23480) -Fix [FS#4594]: replace OS error messages with internal error messages when that's possible
2011-12-10 16:05:26 +00:00
rubidium
e88a982fc6
(svn r23479) -Codechange: keep a copy of raw strings from the parameters of the error messages
2011-12-10 16:04:32 +00:00
rubidium
c06a3555fb
(svn r23478) -Codechange: add a method to copy string parameters *and* its raw strings
2011-12-10 16:03:12 +00:00
rubidium
7bb4a0b825
(svn r23477) -Fix [FS#4878] (r23300): like r23342, but now for the user interface ;)
2011-12-10 15:41:39 +00:00
rubidium
2bf0fc3c5c
(svn r23476) -Codechange: use the error queue to replace switch mode error strings, again making it possible to return multiple errors
2011-12-10 15:16:58 +00:00
rubidium
420d358fef
(svn r23475) -Codechange: queue critical error messages, so when multiple happen you won't miss any
2011-12-10 15:14:11 +00:00
rubidium
58423b26d1
(svn r23474) -Codechange: move the declaration error related functions to error.h
2011-12-10 13:54:10 +00:00
rubidium
8315b00b32
(svn r23473) -Codechange: refactor the error message data into a separate structure
2011-12-10 12:57:30 +00:00
rubidium
ebb3ad33ff
(svn r23472) -Fix [FS#4877]: the monospace font broke the bootstrap GUI's ability to find a font
2011-12-10 12:56:37 +00:00
rubidium
6cbeb9e745
(svn r23471) -Codechange: move the error related code out of misc_gui.cpp into error_gui.cpp
2011-12-10 08:49:42 +00:00
rubidium
b231e80125
(svn r23470) -Codechange: move declaration of SwitchToMode to a header instead of declaring it in 6 other files
2011-12-10 08:31:14 +00:00
rubidium
6153dc57f5
(svn r23466) -Fix [FS#4871, FS#4874]: assertion triggered when resizing a window during ReInit by an amount that's not a multiple of the resize interval
2011-12-09 22:07:00 +00:00
rubidium
d9b9ac6013
(svn r23464) -Fix [FS#4876]: clear the backed up orders of a removed station as well, otherwise one could create orders to a station that was never in the original backupped orders. For example a road vehicle trying to go to a buoy.
2011-12-09 20:48:13 +00:00
rubidium
ccededbf77
(svn r23451) -Codechange: [SDL] Move 32bpp-anim palette animation to the draw thread instead of the single threaded bit of the game loop. This causes a speedup of up to 15% when animation is turned on with the 32bpp-anim blitter
2011-12-08 20:01:31 +00:00
rubidium
61625e53c9
(svn r23448) -Fix: keep a local copy of the palette in the 32bpp animated blitter so changes of the palette data during the game don't influence drawing (with SDL)
2011-12-08 19:37:33 +00:00
rubidium
2ccbd2a6f5
(svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure
2011-12-08 18:13:29 +00:00
rubidium
9e8b76650a
(svn r23445) -Fix [FS#4715]: document behaviour with aircraft/ships poking outside of the depot before getting hidden
2011-12-07 21:09:10 +00:00
rubidium
390bc7aea3
(svn r23442) -Fix [FS#4511]: document that some video card drivers have trouble going to 8bpp mode
2011-12-07 16:01:43 +00:00
rubidium
de46e9647b
(svn r23441) -Fix [FS#4764]: some airport functions didn't take the layout into account resulting in wrong noise levels or nearests towns (patch by Zuu)
2011-12-06 21:02:57 +00:00
rubidium
d60ec55983
(svn r23438) -Fix [FS#4867]: perform checks for nforenum/grfcodec in configure, including a version check so a proper error can be given when a too old grfcodec or nforenum is used
2011-12-05 20:11:42 +00:00
rubidium
100b46463e
(svn r23436) -Merge: documentation updates from 1.1
2011-12-04 20:11:20 +00:00
rubidium
6bf2b30035
(svn r23433) -Fix [FS#4868]: recolouring of some animated colours from the windows palette went wrong
2011-12-04 19:07:24 +00:00
rubidium
8b5d315d2a
(svn r23429) -Fix [FS#4842]: prevent windows to be resized beyond the bounds of the (main) window
2011-12-04 14:00:23 +00:00
rubidium
b2dc4d9c1d
(svn r23425) -Document [FS#4815]: why vehicles might be continuously changing speed up and down
2011-12-04 12:07:19 +00:00
rubidium
5891099f24
(svn r23422) -Fix [FS#4863] (r22797): the default palette setting wasn't applied correctly anymore as the configuration file is loaded after the first NewGRF scan
2011-12-04 11:18:43 +00:00
rubidium
5fc4ce1eb1
(svn r23419) -Fix [FS#4864] (r23316): the sprite aligner was broken as it didn't scale properly to 'GUI' scale
2011-12-04 09:15:13 +00:00
rubidium
432c16d5b9
(svn r23418) -Fix [FS#4866] (r22958): saves made with the Catalan town name generator would trigger a "savegame corrupt" exception
2011-12-04 08:20:01 +00:00
rubidium
a37e8ebe43
(svn r23417) -Fix: wrong argument to printf
2011-12-03 23:47:42 +00:00
rubidium
739c315243
(svn r23395) -Fix [FS#4862]: a character that is path of the 'normal' fonts, but relocated after loading, was missing for the monospace font
2011-12-02 19:58:34 +00:00
rubidium
42c92be121
(svn r23391) -Feature: [NewGRF] Allow translating multiple languages with Action 13 in GRFv8
2011-12-01 19:42:51 +00:00
rubidium
582601b2f7
(svn r23377) -Fix: compilation failure when networking is disabled
2011-11-30 06:20:14 +00:00
rubidium
06fe032a7b
(svn r23348) -Fix [FS#4679]: make signal removal behaviour work the same regardless of autofill, i.e. always removal all signals instead those at the signal interval
2011-11-29 21:09:58 +00:00
rubidium
665c7676b7
(svn r23345) -Fix: gender where no gender can exist
2011-11-27 19:22:42 +00:00
rubidium
04c40aa04d
(svn r23342) -Fix (r23300): for arctic and desert towns you were required to deliver more than 4 billion units, instead of one or more units
2011-11-27 11:42:52 +00:00
rubidium
251c7fbc8d
(svn r23341) -Fix (r23338): memory leak when converting rails
2011-11-27 09:37:30 +00:00
rubidium
80e55c9775
(svn r23340) -Fix [FS#4824]: [Windows] A text in the installer was so long that NSIS didn't display it right anymore
2011-11-26 18:53:07 +00:00
rubidium
95f88ea537
(svn r23338) -Feature [FS#4841]: diagonal dragging the rail conversion tool when pressing CTRL
2011-11-26 18:11:22 +00:00
rubidium
104adbdb3a
(svn r23337) -Fix [FS#4826]: don't send chat messages to clients that haven't joined yet
2011-11-26 17:28:18 +00:00
rubidium
435b5a08c4
(svn r23336) -Fix [FS#4709]: bring some more order in the ordering of the windows, e.g. don't let a save or load dialog get hidden by a new message (monoid)
2011-11-26 16:09:25 +00:00
rubidium
a9bdd04072
(svn r23331) -Fix [FS#4851] (rCS, r148): abort building/moving HQ when clicking on the button again, just like when building rail, stations, etc (sbr)
2011-11-26 12:53:05 +00:00
rubidium
61abe29108
(svn r23330) -Fix [FS#4853] (r23316): alignment of signals in the signals menu was incorrect
2011-11-26 12:49:54 +00:00
rubidium
bf55f58a47
(svn r23326) -Fix [FS#4852] (r23239): snow line for very old savegames wasn't retrieved from the savegame anymore
2011-11-25 17:33:58 +00:00
rubidium
8062c80219
(svn r23322) -Fix: French language used a wrong argument index
2011-11-24 19:34:53 +00:00
rubidium
560bae8c91
(svn r23312) -Fix [FS#4849]: assertion could be triggered in case a station was removed just after a vehicle delivered cargo to it
2011-11-23 20:36:27 +00:00
rubidium
08fb610592
(svn r23305) -Fix (r23298): warning about comparing different enums
2011-11-23 16:17:13 +00:00
rubidium
d4b4c53a07
(svn r23288) -Feature: use the monospace font for the NewGRF text windows
2011-11-20 19:09:15 +00:00
rubidium
1fde9c7f8a
(svn r23287) -Fix (r23274): mono_size is a better name than large_mono for the size variable in the configuration file
2011-11-20 19:06:27 +00:00
rubidium
0759649478
(svn r23285) -Fix: scanning of content after download didn't work
2011-11-20 18:36:54 +00:00
rubidium
56a2c4b177
(svn r23284) -Fix [FS#4845]: Pathfinders go haywire when you build a lock over a ship going perpendicular to the axis of the new lock
2011-11-20 15:39:23 +00:00
rubidium
18a0dc894d
(svn r23283) -Fix: [NewGRF] Prevent against writing data for unknown fonts
2011-11-20 15:17:34 +00:00
rubidium
7f390964c3
(svn r23279) -Codechange: try to prevent slanted and skinny fonts with fontconfig. This should generally make the fallback choice better legible
2011-11-20 12:10:41 +00:00
rubidium
9835600cd1
(svn r23278) -Add: monospaced sprite font with the same characters as the normal font
2011-11-20 12:04:09 +00:00
rubidium
33f1636847
(svn r23277) -Codechange: fallback font support for fontcache
2011-11-20 12:02:06 +00:00
rubidium
462b875b4a
(svn r23276) -Codechange: add the answer for the question whether we're looking for monospace fonts in the searcher
2011-11-20 12:01:42 +00:00
rubidium
9512838a5e
(svn r23275) -Codechange: allow loading of the monospace (freetype) font at another moment than the other fonts
2011-11-20 11:59:36 +00:00
rubidium
dfefcab47d
(svn r23274) -Add: internal support for a monospaced sprite font
2011-11-20 11:56:51 +00:00
rubidium
0a4a75b0af
(svn r23273) -Codechange: allow passing a MissingGlyphSearcher to CheckForMissingGlyphs (default to the language pack strings)
2011-11-20 11:52:11 +00:00