Jonathan G Rennison
361758b516
Merge branches 'crashlog_improvements', 'save_ext' into jgrpp
...
# Conflicts:
# Makefile.src.in
# projects/openttd_vs140.vcxproj
# projects/openttd_vs140.vcxproj.filters
# projects/openttd_vs141.vcxproj
# projects/openttd_vs141.vcxproj.filters
# projects/openttd_vs142.vcxproj
# projects/openttd_vs142.vcxproj.filters
# src/core/smallstack_type.hpp
# src/linkgraph/linkgraphjob.cpp
# src/linkgraph/linkgraphjob.h
# src/misc.cpp
# src/network/network_udp.cpp
# src/openttd.cpp
# src/saveload/saveload.cpp
5 years ago
Michael Lutz
ae748166d0
Codechange: Use platform independent C++11 function for sleeping on a thread.
5 years ago
Jonathan G Rennison
458bc90678
Fix: Poor contrast in cargo dest flow legend window cargo labels.
...
Select foreground colour depending on the brightness of the background.
Previously all cargo labels were rendered using black text, even
the background cargo colour was dark/black.
As an example: FIRS coal was black text on a black background.
6 years ago
Jonathan G Rennison
8317eac918
Merge branch 'save_ext' into jgrpp
...
# Conflicts:
# src/lang/german.txt
# src/lang/korean.txt
# src/lang/traditional_chinese.txt
# src/window.cpp
7 years ago
Jonathan G Rennison
83091f55da
Merge branch 'vehicle_group_info' into jgrpp
7 years ago
peter1138
dac0a3e86e
(svn r27829) -Fix (r27821): Occasional crash caused by mixing int/uint arithmetic.
7 years ago
peter1138
01c8ba0d5d
(svn r27829) -Fix (r27821): Occasional crash caused by mixing int/uint arithmetic.
7 years ago
peter1138
2c0ef5c659
(svn r27821) -Change: Draw images in centre of buttons (inspired by Juanjo)
7 years ago
peter1138
bcc5c9f81d
(svn r27821) -Change: Draw images in centre of buttons (inspired by Juanjo)
7 years ago
Jonathan G Rennison
5c7f36ef4b
Merge branch 'enhanced_viewport_overlay' into jgrpp
...
Further fixes for viewport lines/marker for multiplayer clients.
# Conflicts:
# src/lang/russian.txt
8 years ago
frosch
60a79b599e
(svn r27711) -Doc: Fontsizes (adf88)
8 years ago
frosch
eae9234c07
(svn r27711) -Doc: Fontsizes (adf88)
8 years ago
Jonathan G Rennison
fa261207ae
Link graph GUI: Fix poor contrast in graph legend window cargo labels.
...
Select foreground colour depending on brightness of background.
8 years ago
Jonathan G Rennison
761463d134
Merge branch 'template_train_replacement-sx' into jgrpp
...
# Conflicts:
# src/window.cpp
8 years ago
frosch
2337d169e8
(svn r27627) -Codechange: Deduplicate some cursor magic into SetMouseCursorBusy.
8 years ago
frosch
4d1843a95e
(svn r27627) -Codechange: Deduplicate some cursor magic into SetMouseCursorBusy.
8 years ago
Jonathan G Rennison
5aad0b51a3
Cache font heights in a static fixed array.
...
This is to avoid significant per-call overhead to get font heights,
as this is performed very frequently.
9 years ago
frosch
8767a11d60
(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad().
9 years ago
frosch
a8080b6256
(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad().
9 years ago
peter1138
2655de52d7
(svn r26990) -Feature: Add option to choose normal, double or quad-size interface.
10 years ago
peter1138
253c91b17d
(svn r26990) -Feature: Add option to choose normal, double or quad-size interface.
10 years ago
frosch
b2c786ea68
(svn r26522) -Add: A config-file-only setting to disable usage of 8bpp video modes.
...
-Remove: [win32] fullscreen_bpp setting, which is replaced by above setting.
-Change: Disable usage of 8bpp blitters and video modes by default. Many modern OS and hardware cause issues with those.
10 years ago
frosch
631e8b45fd
(svn r26522) -Add: A config-file-only setting to disable usage of 8bpp video modes.
...
-Remove: [win32] fullscreen_bpp setting, which is replaced by above setting.
-Change: Disable usage of 8bpp blitters and video modes by default. Many modern OS and hardware cause issues with those.
10 years ago
rubidium
59ab35bd4c
(svn r26217) -Change: blitter autoselection based on full animation state, so the non-animated optimizations can actually be used in an easy manner (based on patch by MJP)
11 years ago
rubidium
f480c5a623
(svn r26217) -Change: blitter autoselection based on full animation state, so the non-animated optimizations can actually be used in an easy manner (based on patch by MJP)
11 years ago
fonsinchen
19661eeef8
(svn r25911) -Add: Support for drawing dashed lines.
11 years ago
fonsinchen
89b7afbac8
(svn r25911) -Add: Support for drawing dashed lines.
11 years ago
frosch
433565b98f
(svn r25816) -Add [FS#5748]: Toggle button for wrapping lines in the textfile GUI (LordAro)
11 years ago
frosch
dfa0e61f25
(svn r25816) -Add [FS#5748]: Toggle button for wrapping lines in the textfile GUI (LordAro)
11 years ago
michi_cc
164aba8732
(svn r25692) -Add: Replacement of a part of the edit box text with a new string.
11 years ago
michi_cc
d15c1c5d4a
(svn r25692) -Add: Replacement of a part of the edit box text with a new string.
11 years ago
michi_cc
e34fe220e2
(svn r25691) -Add: [OSX] Support for mouse selection in the IME composition string.
11 years ago
michi_cc
30867c487f
(svn r25691) -Add: [OSX] Support for mouse selection in the IME composition string.
11 years ago
michi_cc
d442d97cf1
(svn r25684) -Change: [Win32] Draw the composition string ourselves if possible.
11 years ago
michi_cc
0883cf76e3
(svn r25684) -Change: [Win32] Draw the composition string ourselves if possible.
11 years ago
michi_cc
1880c36405
(svn r25679) -Codechange: [Win32] Get the result string of an IME input directly without a trip through the window messaging system.
11 years ago
michi_cc
7422120014
(svn r25679) -Codechange: [Win32] Get the result string of an IME input directly without a trip through the window messaging system.
11 years ago
michi_cc
be50bc410f
(svn r25671) -Codechange: Pass character and key code separately to the keyboard handler.
11 years ago
michi_cc
019984a14f
(svn r25671) -Codechange: Pass character and key code separately to the keyboard handler.
11 years ago
michi_cc
82d6d4be3d
(svn r25651) -Fix: Textbuf caret rendering for complex scripts (e.g. Tamil).
11 years ago
michi_cc
33f3cf3a5d
(svn r25651) -Fix: Textbuf caret rendering for complex scripts (e.g. Tamil).
11 years ago
rubidium
a290f2d53a
(svn r25455) -Cleanup: make local function really local
11 years ago
rubidium
be2b87c1cd
(svn r25455) -Cleanup: make local function really local
11 years ago
rubidium
2771de7f34
(svn r25454) -Remove/Fix/Cleanup: SETX(Y) does not work at all with other than default fonts, so get rid of it
11 years ago
rubidium
7c0f34130c
(svn r25454) -Remove/Fix/Cleanup: SETX(Y) does not work at all with other than default fonts, so get rid of it
11 years ago
rubidium
aa9bf82121
(svn r25442) -Codechange: move height and ascender information into the FontCache instances
11 years ago
rubidium
d724088a1c
(svn r25442) -Codechange: move height and ascender information into the FontCache instances
11 years ago
zuu
1c0ec8b3b0
(svn r25343) -Add: method to count the number of lines required to draw a string with line warping
11 years ago
zuu
e311902198
(svn r25343) -Add: method to count the number of lines required to draw a string with line warping
11 years ago
frosch
81e810a4f5
(svn r25314) -Fix (r25313): If '0' is the broadest digit, 0 * sum(10^i, i=0..(n-1)) is not the broadest n-digit number.
...
-Fix [FS#5562]: Proper size-estimation for numbers with n digits.
11 years ago
frosch
4261b6cc82
(svn r25314) -Fix (r25313): If '0' is the broadest digit, 0 * sum(10^i, i=0..(n-1)) is not the broadest n-digit number.
...
-Fix [FS#5562]: Proper size-estimation for numbers with n digits.
11 years ago
frosch
ddf817e8f3
(svn r25313) -Fix: Do not assume '8' to be the broadest digit, but test all of them.
11 years ago
frosch
ce110eed32
(svn r25313) -Fix: Do not assume '8' to be the broadest digit, but test all of them.
11 years ago
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
frosch
c5328a1986
(svn r24668) -Feature(ette) [FS#5311]: Draw cargo labels in the station list black or white depending on the background colour. (sbr)
12 years ago
frosch
3e367cd087
(svn r24668) -Feature(ette) [FS#5311]: Draw cargo labels in the station list black or white depending on the background colour. (sbr)
12 years ago
yexo
e1dc47e65c
(svn r23791) -Fix [FS#4960]: resize text panel for parameter description if it doesn't fit in 4 lines.
...
If you resize the window so it's smaller than default the text might still not fit
13 years ago
yexo
b1a830491a
(svn r23791) -Fix [FS#4960]: resize text panel for parameter description if it doesn't fit in 4 lines.
...
If you resize the window so it's smaller than default the text might still not fit
13 years ago
rubidium
30eee4db4e
(svn r23472) -Fix [FS#4877]: the monospace font broke the bootstrap GUI's ability to find a font
13 years ago
rubidium
ebb3ad33ff
(svn r23472) -Fix [FS#4877]: the monospace font broke the bootstrap GUI's ability to find a font
13 years ago
rubidium
a531ec1899
(svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure
13 years ago
rubidium
2ccbd2a6f5
(svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure
13 years ago
peter1138
b84174fd4d
(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.
13 years ago
peter1138
81598273e9
(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.
13 years ago
rubidium
49047246fa
(svn r23274) -Add: internal support for a monospaced sprite font
13 years ago
rubidium
dfefcab47d
(svn r23274) -Add: internal support for a monospaced sprite font
13 years ago
rubidium
8f86283203
(svn r23272) -Codechange: pass the initial font size to DrawString and friends
13 years ago
rubidium
2075bc702c
(svn r23272) -Codechange: pass the initial font size to DrawString and friends
13 years ago
frosch
9340a1d68e
(svn r22619) -Fix [FS#4662]: Consider the size of the vehicle sprite for the lineheight in the company GUI. This also makes the widget containing the sprite not skip drawing it, if the bounds of the widget are outside of the drawing area though the sprite actually needs drawing.
13 years ago
frosch
1bc1a42ea5
(svn r22619) -Fix [FS#4662]: Consider the size of the vehicle sprite for the lineheight in the company GUI. This also makes the widget containing the sprite not skip drawing it, if the bounds of the widget are outside of the drawing area though the sprite actually needs drawing.
13 years ago
frosch
43f7d6c0b7
(svn r22433) -Add/Fix: Add constants for the palette colours used in the smallmap and fix some windows palette indices.
13 years ago
frosch
83c5f77810
(svn r22433) -Add/Fix: Add constants for the palette colours used in the smallmap and fix some windows palette indices.
13 years ago
frosch
7b251297c9
(svn r22429) -Add: some constants for specific palette colours used in the GUI.
13 years ago
frosch
5e449b8fae
(svn r22429) -Add: some constants for specific palette colours used in the GUI.
13 years ago
frosch
7cc3d3e143
(svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices.
13 years ago
frosch
22286bd7b6
(svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices.
13 years ago
frosch
74e71380ef
(svn r22419) -Change: Always use the DOS palette for drawing.
...
-Remove: the '-i' option for palette selection.
13 years ago
frosch
bbcd2bab5d
(svn r22419) -Change: Always use the DOS palette for drawing.
...
-Remove: the '-i' option for palette selection.
13 years ago
frosch
c81c55e008
(svn r22291) -Add: a linewidth argument to GfxDrawLine() and Blitter::DrawLine().
13 years ago
frosch
b18211bb9d
(svn r22291) -Add: a linewidth argument to GfxDrawLine() and Blitter::DrawLine().
13 years ago
rubidium
ec4f688ca0
(svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m].
14 years ago
rubidium
7efd7e19ed
(svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m].
14 years ago
frosch
c8758fc7a7
(svn r20384) -Fix: Update cursor dimensions when reloading grfs resp. changing base graphics, so the cursor does not glitch if it becomes bigger.
14 years ago
frosch
01833039bd
(svn r20384) -Fix: Update cursor dimensions when reloading grfs resp. changing base graphics, so the cursor does not glitch if it becomes bigger.
14 years ago
yexo
ed9d663f58
(svn r20256) -Codechange: add a DrawStringMultiline variant that accepts const char* instead of StringID
14 years ago
yexo
d9bc65cdd8
(svn r20256) -Codechange: add a DrawStringMultiline variant that accepts const char* instead of StringID
14 years ago
alberth
c2a871d10b
(svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine().
14 years ago
alberth
22b9bc5157
(svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine().
14 years ago
frosch
39e941a414
(svn r19911) -Codechange: Simplify text drawing by eliminating global variables and side effects. This also fixes the 'colour' parameter of DrawStringMultiLine().
14 years ago
frosch
4b7afccd46
(svn r19911) -Codechange: Simplify text drawing by eliminating global variables and side effects. This also fixes the 'colour' parameter of DrawStringMultiLine().
14 years ago
rubidium
f09a74a996
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
14 years ago
rubidium
398418b8fa
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
14 years ago
smatz
d2e99657fa
(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET
14 years ago
smatz
53aaabe6e9
(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET
14 years ago
rubidium
7127338414
(svn r18872) -Codechange: introduce PaletteID and use it
15 years ago
rubidium
f94c83a387
(svn r18872) -Codechange: introduce PaletteID and use it
15 years ago
rubidium
3fcccd89fe
(svn r18575) -Fix [FS#3393]: unit numbers weren't always fully shown in the depot
15 years ago
rubidium
90b7f0f3cb
(svn r18575) -Fix [FS#3393]: unit numbers weren't always fully shown in the depot
15 years ago
rubidium
2fa869cbe0
(svn r18143) -Codechange: allow stripping/ignoring of SETX(Y) during DrawString
15 years ago