Peter Nelson
806e7d25dd
Change: Use GUITimer class instead of bare int/uints.
6 years ago
Peter Nelson
2a8fa5fef9
Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust timers to work with milliseconds instead of ticks.
6 years ago
Niels Martin Hansen
68e6b5531a
Update: Developer credits
6 years ago
Charles Pigott
f5b1115039
Doc: Lots and lots of doxymentation fixes
6 years ago
Niels Martin Hansen
350395a6c2
Fix: Missing m8 data in console when using Query tool
...
When map array 8 was added, the Query tool wasn't updated to also
print the value there to the console, in debug builds.
6 years ago
Miguel Horta
42b00c3b39
Fix #6938 : Don't change company value to perform cost estimations ( #6939 )
...
These meddling kids dared to play with magic, but the ancients texts
weren't ready for that.
Refactors logic to estimate costs that dated to even before OpenTTD 0.1;
6 years ago
Jonathan G Rennison
71450881fc
Codechange: Avoid call to memcpy using null pointer in TooltipsWindow constructor
...
Strictly speaking, calling memcpy with src as a nullptr is undefined behaviour
and the optimiser is entitled to delete any null ptr checks which occur afterwards.
This removes the warning emitted by UndefinedBehaviorSantizer.
6 years ago
Michael Lutz
b91e85003e
Fix: Theoretical string overflow when building the cargo acceptance list for the land info window.
6 years ago
frosch
ebe6564e8b
(svn r27979) -Add: adf88 to readme
7 years ago
frosch
b4b98e5165
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
7 years ago
frosch
10293c5fb1
(svn r27686) -Change: List railtype of rail tiles explicitly in the tile info window.
8 years ago
frosch
3cb7d9703b
(svn r27628) -Codechange: Prepare for drawing cursors consisting of multiple sprites.
8 years ago
matthijs
53982003ee
(svn r27560) -Fix: typos in comments and string
9 years ago
michi_cc
2b8bb12d62
(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists.
9 years ago
frosch
a8080b6256
(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad().
10 years ago
frosch
c9114af706
(svn r27131) -Fix: Dropdown- and tooltip-windows should not steal the focus.
10 years ago
rubidium
8739a7b7d0
(svn r27037) -Fix [FS#6150] (r26878): m6 was moved from Tile To TileExtended, but it wasn't properly removed from Tile (patch by Juanjo)
10 years ago
peter1138
3730ed67cb
(svn r27023) -Codechange: Scale tooltip size by UI scale.
10 years ago
peter1138
ffe820c792
(svn r26924) -Codechange: Fit YES/NO query window buttons to window, instead of unaligned.
10 years ago
rubidium
04e2324b8f
(svn r26873) -Change: split type_height into a type and height array (ic111)
10 years ago
planetmaker
bcb9c64ac8
(svn r26709) -Fix (r15892 and others) [FS#6069]: [OSX] Compilation fails with some lzo2 versions if we define __LP64__ as 0 instead of checking whether it is defined (kernigh2)
10 years ago
rubidium
9ed12b0f07
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
11 years ago
rubidium
5b82822c12
(svn r26486) -Codechange: replace a number of snprintfs with seprintf
11 years ago
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
11 years ago
frosch
f0e7f9982a
(svn r26277) -Add [FS#5849]: Display speed limit also for road bridges in the TileInfo window.
11 years ago
michi_cc
30867c487f
(svn r25691) -Add: [OSX] Support for mouse selection in the IME composition string.
11 years ago
michi_cc
e2ec0ddb03
(svn r25690) -Change: [OSX] Position the candidate window at the caret position.
11 years ago
michi_cc
64d2fc4d1e
(svn r25683) -Add: Support for a marked/selected range to the textbuf.
11 years ago
michi_cc
da09fd3077
(svn r25681) -Change: [Win32] Position the IME composition window at the caret position.
11 years ago
michi_cc
b911f4a452
(svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of just UCS-2 to the window key press handlers.
11 years ago
fonsinchen
f9b08b1aec
(svn r25375) -Update: add fonsinchen to credits
11 years ago
frosch
8157a8afd8
(svn r25290) -Add: Assign string names to notable windows.
12 years ago
frosch
56e4a8c4d6
(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction.
12 years ago
frosch
c2c50b0c50
(svn r25092) -Codechange: Deduplicate keyboard handling between console and editboxes.
12 years ago
frosch
579ee7a592
(svn r25089) -Codechange: Move CharSetFilter from QueryString to Textbuf.
12 years ago
rubidium
446d50f658
(svn r25011) -Codechange: allow vehicle transfer and profit text effects to be shown at the same time (fonsinchen)
12 years ago
rubidium
e65a710986
(svn r24960) -Fix [FS#5423]: inconsistencies in the "thanks to" lists
12 years ago
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
frosch
5b2da98ca3
(svn r24785) -Add: Various methods to open the OSK. (based on patch by Eagle_rainbow)
12 years ago
frosch
5dfd5e58ee
(svn r24774) -Fix: Invert the focus handling of the OSK. Keep the focus at the OSK and close it on losing focus. This makes the editbox in the OSK behave correctly.
12 years ago
frosch
155a9d784c
(svn r24772) -Codechange: Call Window::OnEditboxChanged only when the content changes, not when only moving the cursor.
12 years ago
frosch
5e8238c75c
(svn r24748) -Add: Clear button to all editboxes.
12 years ago
frosch
aed11012d4
(svn r24746) -Cleanup: Remove weird lowering of editboxes.
12 years ago
frosch
1b3e8a8af6
(svn r24745) -Codechange: Draw complete editbox via QueryString.
12 years ago
frosch
c8c040d057
(svn r24744) -Codechange: Handle clicking on editboxed also via QueryString.
12 years ago
frosch
f5d8ba5d7f
(svn r24742) -Codechange: Remove QueryStringBaseWindow and store QueryStrings per widget instead.
12 years ago
frosch
6e6d94a2d1
(svn r24740) -Codechange: Remove duplicate members from QueryStringBaseWindow and directly use QueryString.
12 years ago
frosch
f6d4200f86
(svn r24738) -Codechange: Remove Textbuf::Initialize in favour of a constructor.
12 years ago
frosch
fc2b12acca
(svn r24735) -Codechange: Move HandleEditBoxKey to Window class.
12 years ago
frosch
2c22fe98dd
(svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to Window::OnEditboxChanged.
12 years ago