summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-04-25Update: Translations from eintstranslators
norwegian (bokmal): 4 changes by Anolitt spanish (mexican): 3 changes by absay japanese: 60 changes by scabtert, 38 changes by Azusa257 english (us): 3 changes by 2TallTyler korean: 3 changes by telk5093 russian: 4 changes by Ln-Wolf finnish: 3 changes by hpiirai slovak: 20 changes by FuryPapaya
2021-04-25Fix: [Network] Prevent stalling save game transfer when compression is slowrubidium42
2021-04-25Fix: Use width of tiny arrow string instead of scaled pixels in ↵PeterN
ship/aircraft list. (#9102)
2021-04-25Fix: Missing 'Town names:' colon in map gen GUI2TallTyler
2021-04-25Fix: [OpenGL] Main loop expects to start with the video buffer unmapped. (#9100)Michael Lutz
2021-04-24Fix #9097: Upper 16 bits of cargo base payment rate were discarded. (#9098)PeterN
NewGRF spec says that base payment rate is 32 bits, but it was loaded into a 16 bit variable. This value is loaded into Money variable after inflation is applied.
2021-04-24Change: use icons to indicate you/host in Online Players GUIPatric Stout
2021-04-24Add: move "New Company" inside the Online Players GUIPatric Stout
2021-04-24Change: track hover position on Online Players GUIPatric Stout
Especially if there are many players online, trying to chat with the right one can be a visual challenge. This can be solved by highlighting the row you are on. This visual cue is often enough for humans to find the right row.
2021-04-24Add: ask for confirmation on admin actions in network gamesPatric Stout
2021-04-24Add: admin menu for companies in multiplayer gamesPatric Stout
You can now easily do: - a password reset (unlock) - remove an empty company (reset company)
2021-04-24Feature: rework in-game Online Players GUIPatric Stout
The GUI now more clearly shows some basic information about the server you joined, your client name (and the ability to change it), and what players are in which company. It also contains useful buttons to press to join companies, chat with other people, and for admins to kick/ban people. Additionally, renamed "advertised" to "visibility"; this has to do with future additions, but also because it is more clear in wording.
2021-04-24Codechange: use std::vector instead of a fixed size array for PacketsRubidium
2021-04-24Codechange: add accessor for the packet type to Packet and make the internal ↵Rubidium
state of Packet private
2021-04-24Codechange: remove public access to the next pointer in PacketRubidium
2021-04-24Codechange: encapsulate reading the size of a PacketRubidium
2021-04-24Codechange: encapsulate the logic about how many bytes can be sent from a ↵Rubidium
buffer in to a Packet
2021-04-24Codechange: move the logic shrinking of the packets into the Packet itselfRubidium
2021-04-24Codechange: encapsulate writing data from Packets into sockets/files/buffers ↵Rubidium
to prevent packet state modifications outside of the Packet
2021-04-24Codechange: encapsulate reading data from sockets into Packets to prevent ↵Rubidium
packet state modifications outside of the Packet
2021-04-24Codechange: move logic whether there is enough space in a packet to write ↵Rubidium
data into the Packet
2021-04-24Codechange: move more logic about packet size validity and reading into PacketRubidium
2021-04-24Update: Translations from eintstranslators
korean: 2 changes by telk5093 russian: 3 changes by Ln-Wolf finnish: 1 change by hpiirai spanish: 1 change by MontyMontana polish: 1 change by pAter-exe hindi: 62 changes by ss141309
2021-04-24Update: Developer credits (#9091)Leif Linse
2021-04-24Codechange: Use std::string in console commands/aliases registration, and ↵Loïc Guilloux
std::map instead our sorted linked list (#9057) * Codechange: Use std::string in console commands and aliases registration * Codechange: Use std::map to register console commands * Codechange: Use std::map to register console aliases * Cleanup: Remove now unused function
2021-04-24Add: [Network] Validate the client name when receiving one from the serverrubidium42
This so names from other clients are known valid in the client as well, instead allowing some compromised/bad server to potentially crash clients upon certain expectations.
2021-04-24Add: [Network] Validate the client name server side, so no clients with ↵rubidium42
invalid names can actually join
2021-04-24Change: [Network] Prevent invalid client names being sent to the server when ↵rubidium42
changing it using the console/settings
2021-04-24Feature: [Network] Ensure players fill in a name instead of defaulting to ↵rubidium42
"Player"
2021-04-24Add: String functionality to trim spaces from C-style stringsrubidium42
2021-04-24Codechange: [Network] Introduce function to validate the client namerubidium42
2021-04-23Update: Translations from eintstranslators
spanish (mexican): 1 change by absay english (us): 1 change by 2TallTyler
2021-04-23Add: Hindi translation.frosch
2021-04-23Change: move all 'unstable' language into 'stable'.frosch
2021-04-23Update: Translations from eintstranslators
dutch: 6 changes by Afoklala
2021-04-22Feature: Per-group wagon removal flag.peter1138
2021-04-22Codechange: Replace CMD_SET_GROUP_REPLACE_PROTECTION with generic ↵peter1138
CMD_SET_GROUP_FLAG.
2021-04-22Codechange: Replace Group::replace_protection with Group::flagspeter1138
2021-04-22Change: treat languages as finished, if translations are 75% completed.frosch
Unfinished translations are not auto-picked from the locale. In release builds, unfinished translations are not offered in the GUI. Unfinished translations are available in non-release builds, or by editing openttd.cfg.
2021-04-22Add: show completion progress of languages in the language dropdown for ↵frosch
non-release builds.
2021-04-22Change: [Win32] Limit the OpenGL video driver to OpenGL 3.2 or newer on Windows.Michael Lutz
2021-04-22Codechange: [Win32] Try getting an OpenGL 4.5 context first before aiming at ↵Michael Lutz
3.2.
2021-04-22Codechange: Scale rating minigraphs on station window list. (#9075)PeterN
Minigraphs did not adjust size to accomodate large text, either by font size or font zoom, leading to cropped labels. Minigraphs and spacing are now scaled by font zoom, as this seems to behave better than gui zoom in this instance.
2021-04-22Codechange: Use alignment feature in company finances window.Peter Nelson
2021-04-22Codechange: Replace face window custom drawing with new widget features.Peter Nelson
2021-04-22Codechange: Use new widget features on chat message box.Peter Nelson
2021-04-22Codechange: Add widget text colour override property.Peter Nelson
2021-04-22Codechange: Add internal widget alignment property, along with widget part.Peter Nelson
2021-04-21Cleanup: 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-21Fix: [OpenGL] Check maximum supported texture size against screen resolution.Michael Lutz