rubidium
28ea38ae55
(svn r14949) -Cleanup: pointer coding style
2009-01-10 00:31:47 +00:00
rubidium
f98e498771
(svn r14668) -Change: use include <> instead of include "" when including ICU's headers.
2008-12-12 19:54:54 +00:00
skidd13
9b282b3e51
(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible
2008-11-02 11:20:15 +00:00
rubidium
c7bd7fb221
(svn r14516) -Fix: determine the default text direction based on the language file instead of hardcoding one.
2008-10-22 20:21:11 +00:00
rubidium
321e40115d
(svn r14494) -Fix: few MSVC x64 warnings.
2008-10-19 18:47:15 +00:00
rubidium
8ee8e0fac5
(svn r14479) -Add: initial (optional) support for handling bidirectional scripts and connecting Arabic characters.
2008-10-17 17:14:09 +00:00
rubidium
c358955127
(svn r14223) -Codechange: make GetSprite aware of the 4 different types of sprites: fonts, recolour, mapgen and normal sprites.
2008-09-02 15:20:38 +00:00
rubidium
07c20252c3
(svn r14146) -Codechange: allow palette override in both ways and remove some unneeded '(x == 0) ? 0 : 1' constructs.
2008-08-23 20:16:54 +00:00
belugas
ae15f2e063
(svn r14061) -Codechange: constification and move a declaration more logically
2008-08-13 02:48:50 +00:00
rubidium
2053688226
(svn r14054) -Fix (rthebeginning): long strings in the edit box would cause OpenTTD to stop drawing the string. This is especially noticable with low resolutions and the chat input box.
2008-08-12 19:29:10 +00:00
rubidium
b76620939d
(svn r14051) -Codechange: enumify the DrawString buffer length.
2008-08-12 11:21:37 +00:00
belugas
5cbd0fb5a4
(svn r14049) -Codechange: rename a variable to a somewhat more descriptive one. And constify it too.
2008-08-12 02:20:39 +00:00
rubidium
31d69a49e8
(svn r14047) -Codechange: move chatmessage handling to the network directory as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support.
2008-08-11 22:45:11 +00:00
belugas
eb461386ce
(svn r14043) -Codechange: Rename a variable to a more obvious name. And a few comments added too.
2008-08-11 20:06:57 +00:00
belugas
ba3d49df40
(svn r14042) -Codechange: Rename some structure members to more obvious names. And add a few comments on the _extra_palette_values array.
2008-08-11 18:30:52 +00:00
frosch
3c2128dedb
(svn r14030) -Fix (r14027): true != false, also rename the parameter to make 'true' and 'false' more intuitively useable.
2008-08-09 11:04:42 +00:00
belugas
82ada4b3d0
(svn r14029) -Fix(r14027): reverting the TC_FROMSTRING back to the magical 0xFE number. Exact meaning will need to be found later.
2008-08-09 03:30:15 +00:00
belugas
b714273706
(svn r14027) -Codechange: Document a bit the DoDrawString function while removing yet som more magic numbers and one "false" colour
2008-08-09 02:11:46 +00:00
belugas
e89b108161
(svn r14016) -Codechange: Remove some magical numbers
2008-08-08 02:28:28 +00:00
belugas
39c92f9068
(svn r13994) -Codechange: replace a few rogue magic numbers with Colours enum values
2008-08-04 17:27:06 +00:00
rubidium
019a519446
(svn r13910) -Document: string drawing related functions and types (Alberth)
2008-08-01 09:34:34 +00:00
smatz
766e57df5f
(svn r13787) -Codechange: resize the red error message box if needed
2008-07-22 19:25:47 +00:00
rubidium
8113efb0f2
(svn r13759) -Fix [FS#2147]: selecting non-full length vehicles in the depot gui would place the "mouse pointer" out of the center of the vehicle making it hard to "aim".
2008-07-20 19:21:18 +00:00
rubidium
42d0500f40
(svn r13700) -Fix: possible buffer overflow in string truncation code.
2008-07-14 18:22:15 +00:00
rubidium
f6ab930cc0
(svn r13699) -Fix: handle SETX(Y) properly when truncating a string instead of ignoring it and returning a too long string.
2008-07-14 17:31:41 +00:00
frosch
cfdc710104
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
2008-06-28 15:44:24 +00:00
smatz
e00df941fa
(svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use Dimension instead of uint16[2] for resolutions
2008-06-16 19:38:41 +00:00
skidd13
fc648a2b30
(svn r13523) -Codechange: replace qsort by the internal typesafe QSortT for resolution sorting
2008-06-15 16:40:41 +00:00
smatz
4298508918
(svn r13502) -Fix (r11212): drawing of zoomed out partial sprites could cause deadlocks or crashes
2008-06-13 00:00:04 +00:00
rubidium
e7a501100a
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-29 15:13:28 +00:00
rubidium
d289464d69
(svn r13255) -Codechange: move _opt to _settings.
2008-05-25 22:36:44 +00:00
frosch
7f80552293
(svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window.
2008-05-21 22:15:39 +00:00
rubidium
e0e1bf76a2
(svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers.
2008-05-07 09:07:19 +00:00
rubidium
1ce0b03bf0
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
2008-05-06 15:11:33 +00:00
rubidium
7e5639ccea
(svn r12779) -Codechange: remove a few constants from openttd.h.
2008-04-18 21:49:38 +00:00
rubidium
36d3553b9b
(svn r12773) -Codechange: replace some magic numbers with enums.
2008-04-18 19:26:52 +00:00
rubidium
1dc0af3248
(svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth.
2008-04-07 20:28:58 +00:00
rubidium
a606fe9610
(svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik.
2008-03-26 10:08:17 +00:00
peter1138
debabbbd9a
(svn r12335) -Codechange: Don't stuff signed values into a unsigned variable when the variable can just be unsigned...
2008-03-04 12:14:34 +00:00
rubidium
9c0c798dd8
(svn r11834) -Codechange: only include settings_type.h if needed.
2008-01-13 14:37:30 +00:00
rubidium
90acd52f22
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
2008-01-13 01:21:35 +00:00
frosch
7d3ecec5b9
(svn r11813) -Fix [FS#1602]: Switch _screen to the output buffer and disable usage of 32bpp-anim animation buffer during giant screenshots.
2008-01-11 17:12:41 +00:00
rubidium
b09d957f31
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
2008-01-07 14:23:25 +00:00
belugas
61285721a4
(svn r11734) -Change: Allow ToggleFullScreen to return the result of the operation' attempt. Previously, only visual clues were available.
...
-Fix[FS#1519]: When you can not use this resolution at full screen, now you'll know that it failed.
As for the reason it did not work, each computer/OS has its reason.
2008-01-01 14:20:48 +00:00
rubidium
81bf9f8503
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
2007-12-25 11:26:07 +00:00
rubidium
507463e420
(svn r11684) -Codechange: split gfx.h in a type and functional header.
2007-12-23 10:56:02 +00:00
rubidium
1f6043458c
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
2007-12-22 23:30:28 +00:00
rubidium
8427b8bad2
(svn r11675) -Codechange: split the string types from the string functions.
2007-12-21 19:49:27 +00:00
rubidium
8ebdfb258f
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
2007-12-21 19:21:21 +00:00
skidd13
c0a2c0c23e
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
2007-11-19 21:02:30 +00:00