Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-16 | Codechange: Don't use globals for story/goal/sign/group command proc return ↵ | Michael Lutz | |
values. | |||
2021-12-16 | Codechange: Pass unpacked command arguments to command callbacks (except ↵ | Michael Lutz | |
Script). | |||
2021-12-16 | Codechange: Un-bitstuff group and autoreplace commands. | Michael Lutz | |
2021-12-16 | Codechange: Un-bitstuff vehicle/engine commands. | Michael Lutz | |
2021-12-16 | Codechange: Pass additional data as byte stream to command callbacks. | Michael Lutz | |
2021-12-16 | Codechange: Template DoCommandP to automagically reflect the parameters of ↵ | Michael Lutz | |
the command proc. When finished, this will allow each command handler to take individually different parameters, obliviating the need for bit-packing. | |||
2021-12-16 | Codechange: Make TileIndex a "strong" typedef to give it a distinct type. | Michael Lutz | |
This is accomplished by changing it to a single member struct with the appropriate operator overloads to make it all work with not too much source modifications. | |||
2021-12-16 | Codechange: Align parameter order of command callbacks to command handlers. | Michael Lutz | |
2021-12-16 | Codechange: Move command callback declarations to the cmd header files. | Michael Lutz | |
2021-12-16 | Codechange: Untangle command code, flags and error string for DoCommand*. | Michael Lutz | |
2021-12-16 | Codechange: Move command arguments to the back of the networked command ↵ | Michael Lutz | |
function calls. | |||
2021-11-19 | Fix #9702: Display order window for vehicle group on ctrl-click only when ↵ | Bernard Teo | |
using shared orders (#9704) | |||
2021-09-18 | Feature: Ctrl-Clicking GB_SHARED_ORDERS vehicle list opens order window | Bernard Teo | |
2021-05-29 | Codechange: Rename window related DeleteXXX to match new behaviour | glx22 | |
2021-04-22 | Codechange: Replace CMD_SET_GROUP_REPLACE_PROTECTION with generic ↵ | peter1138 | |
CMD_SET_GROUP_FLAG. | |||
2021-04-22 | Codechange: Replace Group::replace_protection with Group::flags | peter1138 | |
2021-04-21 | Cleanup: Remove unnecessary parameter of GetScrolledRowFromWidget() | Peter Nelson | |
Line height defaults to the resize height of the relevant widget, which is set in all cases. Therefore it is not necessary to specify this value every time. Additionally fixes scrolled padding for the framerate window. | |||
2021-04-17 | Change: Improve layout and spacing of vehicle group widgets. (#9041) | PeterN | |
Existing layout included a blank widget above the group list to align with the vehicle list, however since then an additional sort-by row was added. Group list size tweaks to match normal row size (at least with normal gui and text size.) Removed reduction of 2 rows in the group list <- main culprit of odd sizing. Removed fill attribute on buttons which gave strange sizes, and put it on the group info widget instead. Tweaked various soft-padding values to line up (centreing text with a 1px offset does not make centred text.) | |||
2021-04-06 | Fix #8922: Show vehicle window for single vehicle in shared order grouping ↵ | Bernard Teo | |
(#8926) | |||
2021-02-05 | Codechange: Apply coding style (#8640) | SamuXarick | |
* Fix: Missing or needed spaces * Codechange: Remove space * Codechange: Remove space * Codechange: More missing spaces * Codechange: Missing spaces * Codechange: Remove space * Codechange: Remove space | |||
2021-01-08 | Codechange: Remove min/max functions in favour of STL variants (#8502) | Charles Pigott | |
2021-01-07 | Fix #8332: aborting group drag&drop could cause crashes with vehicle ↵ | Patric Stout | |
drag&drop (#8511) The selected group was not reset when drag&drop was aborted. When after that vehicle drag&drop was successful, group drag&drop code was still executed, causing weird behaviour or even crashes. | |||
2020-12-21 | Feature: Drag-and-drop vehicles in group GUI for shared order groups | Bernard Teo | |
2020-12-21 | Cleanup: Use range-based for-loop in group_gui.cpp | Bernard Teo | |
2020-12-21 | Feature: Option to group vehicle lists by shared orders | Bernard Teo | |
This applies to all kinds of vehicle lists, as well as the "vehicle groups" window. | |||
2020-12-21 | Codechange: Make vehicle lists internally support grouping of vehicles | Bernard Teo | |
This is in preparation for the new UI feature that allows grouping by shared orders. | |||
2020-06-18 | Fix: Violation of strict weak ordering in group name sorters | Jonathan G Rennison | |
This could be caused by a group being renamed, and the old name being cached from a previous sort. See: #7838 | |||
2020-02-06 | Fix #7974: Crash when CTRL+click to show a vehicle group that is collapsed | stormcone | |
2020-01-09 | Codechange: Use const instead of magic number for vehicle profit threshold | Samu | |
2019-12-23 | Feature: Control + click on the vehicle details button in the vehicle view ↵ | stormcone | |
window opens the vehicle group window, then selects and scrolls to the vehicle's group. | |||
2019-12-23 | Feature: Control + click on a vehicle in the vehicle group window selects ↵ | stormcone | |
and scrolls to the vehicle's group. | |||
2019-12-23 | Add: A function which selects and scrolls to a particular group in the ↵ | stormcone | |
vehicle group window. | |||
2019-12-21 | Codechange: Replace FOR_ALL_GROUPS with range-based for loops | glx | |
2019-11-25 | Fix: Do not refer to a function in the documentation that was removed years ↵ | stormcone | |
ago (#7844) The 'DoDrawString' was removed with this commit: f11300d | |||
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-09-07 | Fix #7188: check the validity of command callback for scripts (#7701) | glx22 | |
2019-04-13 | Codechange: use std::sort() in GUIList | glx | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-04-09 | Codechange: Switch DropDownList to directly use std::vector, thus making ↵ | Michael Lutz | |
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. | |||
2019-03-28 | Fix: MSVC warnings (#7423) | glx22 | |
2019-03-27 | Feature #6053: Collapsible vehicle groups (3298) | Charles Pigott | |
2019-03-27 | Add #6189: Groups now count the total number of vehicles in subgroups (3298) | Charles Pigott | |
2019-03-26 | Codechange: Removed SmallVector completely | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::[Begin|End]() with std alternatives | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Append() with ↵ | Henry Wilson | |
std::vector::[push|emplace]_back() | |||
2019-03-26 | Codechange: Replace SmallVector::Length() with std::vector::size() | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit() | Henry Wilson | |
2019-03-26 | Codechange: Replace SmallVector::Clear() with std::vector::clear() | Henry Wilson | |
2019-03-24 | Codechange: Use override specifier in Window-derived classes. | peter1138 | |
2019-02-15 | Change: Use selected group as parent when creating a new group. (#7224) | PeterN | |