Patric Stout
22a9d921ef
Fix: if bootstrap failed, it could end with an empty screen instead of error
...
There are various of ways bootstrap can fail:
- Failing network connection
- Incomplete download
- No write permissions
- Disk full
- (others I forgot)
They all result in a screen with no windows. To ensure we at least
always show something when anything bad happens, if the bootstrap
is not successful, show a screen what the next step for the human
should be.
4 years ago
Didac Perez Parera
e708fb38da
Feature: allow filtering on name in rail station window ( #8706 )
4 years ago
Patric Stout
b21ba566ae
Codechange: remove special strings for language and resolutions ( #8824 )
...
As OpenTTD grew, we found other ways to do this, and we are no
longer in need for a hack like this.
4 years ago
sean
0464a50ab8
Add: Display refresh rate game option ( #8813 )
4 years ago
dP
56911a86ea
Add: Buttons to open global goals from company goals and vice versa
4 years ago
Patric Stout
b93d7dd3cb
Add: Option to (dis-)allow accelerated video drivers. ( #8819 )
...
The video drivers using the OpenGL backend are currently our only
accelerated drivers. The options defaults to off for macOS builds and
to on everywhere else.
Co-authored-by: Michael Lutz <michi@icosahedron.de>
4 years ago
Didac Perez Parera
96990b2ea7
Feature: Object class selection string filtering ( #8603 )
4 years ago
dP
91cc414588
Feature: [GS] Allow non-question type windows to have no buttons
4 years ago
frosch
5a1fa18509
Change: move the 'road drive side' selection to settings tree, and give it the same 'basic' visibilty as 'signal side'.
4 years ago
frosch
c71d0f5e7f
Change: move townname generator selection to mapgen GUI.
4 years ago
frosch
81e47277e7
Change: move the 'tree placer algorithm' selection to the settings tree window, and give it the same 'basic' visibility as 'in-game tree placement'.
4 years ago
Kuhnovic
83ddb1501f
Feature: Remove all industries button in scenario editor ( #8550 )
4 years ago
frosch
e339188ded
Add: a go-to-location button to the LandInfo window.
4 years ago
frosch
1432dbac53
Add: another go-to-location button to the sign window.
4 years ago
frosch
589feba0eb
Change: Relocate vehicle rename and location buttons.
4 years ago
Patric Stout
3dbdb1c7e3
Change: remove warning in cheat window and reduce it to a note ( #8538 )
...
Although meant as a funny joke towards the player, our social
standards have changed since 2004, and such "jokes" are no
longer acceptable by the community as a whole.
The only value of the message is that people are informed the
information is stored in the savegame. This is mostly useful for
us, developers, as some of those cheats can have side-effects
which people report.
While at it, styled the GUI a bit better, as the way the text
was presented was odd.
4 years ago
Charles Pigott
9b800a96ed
Codechange: Remove min/max functions in favour of STL variants ( #8502 )
4 years ago
Patric Stout
62cdadb582
Change: move "give money" from client-list to company window
...
This is a much better location for this button, as you send
money from one company to another company, not from player
to player.
This is based on work done by JGRPP in:
f820543391
and surrounding commits, which took the work from estys:
https://www.tt-forums.net/viewtopic.php?p=1183311#p1183311
We did modify it to fix several bugs and clean up the code while
here anyway.
The callback was removed, as it meant a modified client could
prevent anyone from seeing money was transfered. The message
is now generated in the command itself, making that impossible.
4 years ago
Niels Martin Hansen
2d9fa81bd0
Feature: Plant clumps of trees in editor by dragging on the landscape
4 years ago
Niels Martin Hansen
e0ee2d530a
Change: Switch tree GUI to use dynamically generated buttons
...
This makes it look a bit better in climates with fewer tree types.
4 years ago
frosch
2bb691f50e
Change: Remove the LAN/Internet combobox from the server list in favour of adding two separate search buttons.
4 years ago
Bernard Teo
981c540201
Change: Place "Group by" above "Sort by" in station window for consistency
4 years ago
Bernard Teo
e59c400ca6
Feature: Option to group vehicle lists by shared orders
...
This applies to all kinds of vehicle lists, as well as the "vehicle groups" window.
4 years ago
Patric Stout
56d54cf60e
Add: introduce CMake for project management
...
CMake works on all our supported platforms, like MSVC, Mingw, GCC,
Clang, and many more. It allows for a single way of doing things,
so no longer we need shell scripts and vbs scripts to work on all
our supported platforms.
Additionally, CMake allows to generate project files for like MSVC,
KDevelop, etc.
This heavily reduces the lines of code we need to support multiple
platforms from a project perspective.
Addtiionally, this heavily improves our detection of libraries, etc.
4 years ago
Michael Lutz
a49fdb7ebb
Codechange: Store base set related texts in std::strings.
4 years ago
glx
e0d20a44d2
Codechange: Use a dynamic copyright year
4 years ago
stormcone
70f9c3c655
Feature: Industry directory cargo filtering
5 years ago
TELK
e04ca904a9
Feature: Minimap screenshot
5 years ago
pnda
e558aa8ff4
Feature: Screenshot window
5 years ago
stormcone
798e9ee93e
Feature: Add a button to the vehicle advisory news window to open the group window.
5 years ago
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
5 years ago
Gabda
b870596f15
Add #6887 : Option to show zone inside local authority boundary of towns
...
Can be found at town information > local authority window
Layout for button is same as Graph Keys
Turn on/off for every town individually
5 years ago
TELK
196d586849
Feature: Town name filtering ( #7621 )
5 years ago
Niels Martin Hansen
e7f6f07599
Add: Show memory allocations by GS and AI in framerate window
5 years ago
peter1138
c02ef3e456
Feature: Add NotRoadTypes (NRT)
5 years ago
Peter Nelson
21edf67f89
Codechange: Untangle game and scenario toolbars.
5 years ago
peter1138
81d335b081
Feature: Add station coverage area display for towns.
6 years ago
peter1138
b6733edd17
Feature: Add coverage area display for existing stations.
6 years ago
Niels Martin Hansen
dd35a43703
Codechange: Revert unnecessary indentation change
6 years ago
Niels Martin Hansen
08284e005d
Fix: Automatic line breaking of the warning
6 years ago
Niels Martin Hansen
dcb2571888
Add: Warn players that company passwords are not truly secure
6 years ago
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
6 years ago
glx22
3b4f224c0b
Fix #7494 : std::sort() and qsort() use different comparators ( #7495 )
6 years ago
Michael Lutz
c7b9987d08
Codechange: Switch DropDownList to directly use std::vector, thus making AutoDeleteSmallVector obsolete.
...
DropDownListItem are strongly managed using std::unique_ptr to ensure leak-free handling. Appropriate use
of move-semantics make intent a lot clearer than parameter comments and allows the compiler to generate
copy-free code for most situations.
6 years ago
Michael Lutz
9325d63d8e
Fix: Forgotten override keywords for DropDownListIconItem.
6 years ago
glx22
66dd7c3879
Fix: MSVC warnings ( #7423 )
6 years ago
Henry Wilson
cc62f4163f
Cleanup: Remove unused size template parameters from SmallMap and Auto[Free|Delete]SmallVector
6 years ago
Henry Wilson
ab711e6942
Codechange: Replaced SmallVector::[Begin|End]() with std alternatives
6 years ago
Henry Wilson
a0f36a50e6
Codechange: Replaced SmallVector::Append() with std::vector::[push|emplace]_back()
6 years ago
Henry Wilson
a690936ed7
Codechange: Replace SmallVector::Length() with std::vector::size()
6 years ago
peter1138
aafce47596
Codechange: Use override specifier for DropDownListItem classes.
6 years ago
peter1138
b56ea5ca27
Add: Generic drop down list string item with icon.
6 years ago
peter1138
fb35cb5ed2
Remove: Unnecessary virtual destructors on drop down list items.
6 years ago
peter1138
811bf22620
Codechange: Use Colours type instead of byte.
6 years ago
Niels Martin Hansen
13962a8475
Change: Framerate window can now scroll and resize
6 years ago
Peter Nelson
fde5bd0ccf
Change: Add scrollbar to cargo legend in cargo payment rates window.
6 years ago
Greg Carlin
00d28a500d
Feature: Add option to adjust font size separately from GUI size. ( #7003 )
...
Adds an option in the "Game Options" next to "Interface Size" called "Font Size". Available options are normal, double, and quad.
6 years ago
PeterN
23960d0f2c
Feature: Group liveries, and livery window usability enhancements. ( #7108 )
...
* Change: Replace checkbox in livery selection window with Default option in drop down selection.
This reduces clutter in the UI and allows for primary/secondary colours to independently follow the default scheme if desired.
* Feature: Add vehicle group liveries.
6 years ago
J0an Josep
628af2fabc
Fix #6060 : When opening a scrollable dropdown above a widget, scroll it to its very bottom.
...
This "prevents" the fast movement towards the bottom when holding down the mouse button.
6 years ago
Juanjo
226dbcb422
Codechange #6060 : Allow drawing dropdown lists with scrollbars above the widgets
6 years ago
PeterN
5ff0c24993
Fix #6780 : Some windows didn't get updated from OnTick() ( #7048 )
6 years ago
damfr
868c6f924a
Add: Filter box to the save and load windows ( #6974 )
...
Save and heightmap names can be filtered.
6 years ago
Charles Pigott
f5b1115039
Doc: Lots and lots of doxymentation fixes
6 years ago
J0an Josep
8975318286
Fix 2a868b9f3b8e3b5f8b9e5f728f628ec88fd5e3ad: Expose widgets and windows to scripts and fix documentation.
6 years ago
Joan Josep
944f785be8
Fix: Spelling errors ( #6769 )
7 years ago
Niels Martin Hansen
19f5a6cbb0
Feature #6090 : Change music set during gameplay
7 years ago
peter1138
19d56a33e8
(svn r27822) -Feature: Vehicle Group Info: Add profits and occupancy display to group vehicle list (mtm, JGR)
8 years ago
peter1138
902663176d
(svn r27820) -Fix: Allow dropdown to be drawn above origin widget even with scrollbar (Juanjo)
8 years ago
frosch
7b553d255e
(svn r27732) -Change: Turn the message about 'missing baseset sprites' from a popup into a static message that only shows in non-release versions, just like the 'missing translations' message.
8 years ago
frosch
ad43465c31
(svn r27683) -Change: Rearrange the autoreplace GUI for trains, and do not filter it by railtype by default.
8 years ago
frosch
30574a7cad
(svn r27671) -Codechange: Replace magic numbers in the toolbar with the already existing WID_TN_xxx. (Wolf01)
8 years ago
michi_cc
2b8bb12d62
(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists.
9 years ago
alberth
a5843149b5
(svn r27174) -Feature[FS#6236]: Display relative offset changes in the sprite aligner (juzza1).
10 years ago
frosch
c9114af706
(svn r27131) -Fix: Dropdown- and tooltip-windows should not steal the focus.
10 years ago
rubidium
d534c80e94
(svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces)
10 years ago
peter1138
253c91b17d
(svn r26990) -Feature: Add option to choose normal, double or quad-size interface.
10 years ago
rubidium
c72d362840
(svn r26885) -Feature-ish: user interface for limiting the maximum height of a map
10 years ago
alberth
22b967676e
(svn r26811) -Fix[FS#6108]: Fixed spelling error in widget name.
10 years ago
alberth
b4a87e7f45
(svn r26805) -Feature: Allow hiding of non-interesting engines in the autoreplace GUI.
10 years ago
alberth
a49744b50c
(svn r26804) -Feature: Allow hiding of non-interesting engines in the build vehicle GUI.
10 years ago
alberth
81d2bdbf47
(svn r26800) -Feature[FS#1640]: Vehicle sorting in autoreplace GUI.
10 years ago
frosch
925fb7bd37
(svn r26691) -Codechange: Simplify ShowDropDownListAt (Juanjo)
10 years ago
frosch
d7736e3797
(svn r26680) -Codechange: Simplify dropdown height computation. (Juanjo)
10 years ago
frosch
06b210ff42
(svn r26629) -Fix [FS#6012]: If the video driver fails to supply a list of resolutions, display an error message.
10 years ago
alberth
1feba55f0f
(svn r26613) -Feature: Upgrade currently active newgrfs to newest installed version.
11 years ago
alberth
8755c26793
(svn r26610) -Feature: Select an editable preset name for saving.
11 years ago
frosch
775c96a0d2
(svn r26526) -Remove: Ability to set map generation seed via GUI. If you really need it, use the console.
11 years ago
frosch
ebd2d3ccef
(svn r26525) -Remove: Screenshot format setting from GUI.
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
planetmaker
9450a28090
(svn r26442) -Fix [FS#5962] Silence compiler warning by adding newline at end of file
11 years ago
alberth
75504d24bf
(svn r26320) -Add: Label for both the filter category and filter type in the advanced settings window.
11 years ago
rubidium
b1bcd1adab
(svn r26128) -Fix: erroneous cast
11 years ago
rubidium
50fdf5e30c
(svn r26121) -Codechange: add some asserts after dynamic casts to show they shouldn't return NULL ever
11 years ago
rubidium
2fc10b7e04
(svn r26088) -Fix (r26086): Windows compilation
11 years ago
rubidium
83eeba28b7
(svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for dropdowns
11 years ago
frosch
0aae2fd606
(svn r25946) -Add: [NewGRF Debuggnig] Inspecting other vehicles in a chain.
11 years ago
planetmaker
276c41ee1d
(svn r25828) -Doc [FS#5785]: Description of parameters for ShowDropDownMenu was partially swapped (3298)
11 years ago
frosch
dfa0e61f25
(svn r25816) -Add [FS#5748]: Toggle button for wrapping lines in the textfile GUI (LordAro)
11 years ago
zuu
4f6d19465b
(svn r25623) -Fix [FS#5611] (r25296): Progress column width in goal window was not updated when a string changed while the window is open
11 years ago
frosch
bbbecceae1
(svn r25464) -Fix: Hide default size button in non-newstation rail-station picker since it is not resizeable anyway.
11 years ago