1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-20 04:59:11 +00:00

Commit Graph

  • f8bdc1e612 Fix f5ffd47: Don't skip separator while reading a record (#14083) Loïc Guilloux 2025-04-23 17:30:51 +02:00
  • 6d5aee0545 Codechange: Restructure RoadStop Entries to reduce pointers. (#14069) Peter Nelson 2025-04-23 08:29:34 +01:00
  • 41ed5f9822 Fix c7d6934816: Town view caption lost "(City)" flag. (#14082) Peter Nelson 2025-04-23 08:14:08 +01:00
  • d9dc6cb5e4 Update: Translations from eints translators 2025-04-23 04:46:38 +00:00
  • d028c7f9e2 Codefix: Incorrect type for OnDropdownSelect widget parameter. (#14074) Peter Nelson 2025-04-22 22:44:25 +01:00
  • 4149384ebc Codechange: simplify and move GetArgumentInteger Rubidium 2025-04-22 21:47:59 +02:00
  • 2bee313642 Codechange: Replace FindVehicleOnPos with 'for' loop. frosch 2025-04-22 15:54:43 +02:00
  • 06c399b79e Codechange: Replace HasVehicleOnPos and callbacks with HasVehicleOnTile and lambda-predicates. frosch 2025-04-22 14:23:43 +02:00
  • dacd77b2bd Codechange: Use FindVehicleOnPos instead of HasVehicleOnPos, if there is no stop condition. frosch 2025-04-22 14:22:39 +02:00
  • fca3103d8c Codechange: Add iterator for vehicles on a tile. frosch 2025-04-22 13:58:21 +02:00
  • 917ef03e97 Codechange: use std::string_view in IConsole settings API Rubidium 2025-04-21 22:28:57 +02:00
  • b279bc37e7 Codechange: use std::string_view to set string settings Rubidium 2025-04-21 22:36:40 +02:00
  • fdb8defa64 Codechange: use std::string_view to parse setting values Rubidium 2025-04-21 22:21:52 +02:00
  • 12118b201c Change: Enhance visibility of disabled bool button. (#14071) Peter Nelson 2025-04-22 17:37:30 +01:00
  • 415ac07a08 Update: Translations from eints translators 2025-04-22 04:46:01 +00:00
  • 3aa82d5e63 Codechange: Use EnumBitSet for RoadStopStatusFlags. (#14068) Peter Nelson 2025-04-21 20:16:23 +01:00
  • 81edd1123a Change: Use scaled instead of fixed dimensions for framerate graphs. (#14039) Peter Nelson 2025-04-21 20:15:57 +01:00
  • d7ddea4032 Codechange: Turn AnimationTrigger enums into enum classes. (#14067) frosch 2025-04-21 20:53:31 +02:00
  • 61a0a520f6 Codechange: Unify random trigger enums and turn them into enum classes. (#14066) frosch 2025-04-21 20:03:34 +02:00
  • f399b8eb29 Codechange: Unify naming of NewGRF animation callbacks. frosch 2025-04-15 14:51:44 +02:00
  • 264abfafe6 Codechange: Rename storage of random triggers to include the term 'random'. frosch 2025-04-15 20:27:28 +02:00
  • 39220a5feb Codechange: Unify naming of NewGRF random trigger functions. frosch 2025-04-15 14:22:00 +02:00
  • 368d131fb7 Codechange: Use 'construction stage' consistently, instead of 'construction state'. frosch 2025-04-16 13:17:37 +02:00
  • 98445088b1 Codechange: Move VehicleEnteredDepotThisTick call to a more suitable position. (#14065) frosch 2025-04-21 17:52:03 +02:00
  • 7d03cee512 Change: Include dragged train in depot tile length display. (#14060) Peter Nelson 2025-04-21 16:37:10 +01:00
  • 2a62eea005 Codefix: Comment style. (#14064) frosch 2025-04-21 17:25:09 +02:00
  • 5b2754fdee Change: Use standard boolean toggle buttons for game options toggles. Peter Nelson 2025-04-20 11:19:21 +01:00
  • d89753b88d Codechange: Add dedicated widget for boolean toggle buttons. Peter Nelson 2025-04-20 11:19:01 +01:00
  • e3d2d68bd4 Change: Draw boolean toggle as a slider widget. Peter Nelson 2025-04-20 20:36:28 +01:00
  • e3858e81dc Codechange: use std::string_view over const std::string& for finding files Rubidium 2025-04-20 23:08:19 +02:00
  • 354ad43edb Codechange: Remove unnecessary string constructions. (#14063) frosch 2025-04-21 16:46:31 +02:00
  • e1fdc10227 Fix e114ed357d: Incorrect test of object flags allowed HQ to be removed. (#14062) Peter Nelson 2025-04-21 15:45:29 +01:00
  • 305c892b3a Change: "setting" console command now shows default value (#14061) Loïc Guilloux 2025-04-21 16:00:37 +02:00
  • 788845f731 Change: Allow Double-Ctrl+Click on default size box to clear saved size. (#14055) Peter Nelson 2025-04-21 14:16:29 +01:00
  • 0cf7048a67 Change: Don't select content when toggling its download status. (#14059) Peter Nelson 2025-04-21 13:20:52 +01:00
  • 9ff2b4991f Change: Add scrollbar to infrastructure window. (#14056) Peter Nelson 2025-04-21 08:46:09 +01:00
  • 5502618ac3 Update: Translations from eints translators 2025-04-21 04:45:21 +00:00
  • e9a92b8795 Fix: Odd drawing and crash if scrollbar is not tall enough. (#14052) Peter Nelson 2025-04-20 23:23:52 +01:00
  • 0efbb3a7a7 Doc: PR template referenced non-existing label. (#14050) frosch 2025-04-20 23:02:33 +02:00
  • 689f55a0ea Fix #14044: Negative string parameters from GS were rendered as zero. (#14049) frosch 2025-04-20 23:01:49 +02:00
  • 4e14f0ac3f Codechange: pass network tokens as std::string_view or with move semantics where appropriate Rubidium 2025-04-20 15:09:54 +02:00
  • c13956a58a Codechange: use std::string_view for connection strings Rubidium 2025-04-20 12:17:45 +02:00
  • 31433882a4 Codechange: use std::string_view for passing NetworkError strings Rubidium 2025-04-20 12:07:19 +02:00
  • 8aa2f6b8a6 Codefix: StringConsumer integer parsing failed for the most negative value, which has no positive equivalent. (#14048) frosch 2025-04-20 22:20:53 +02:00
  • fc45bb5a2b Codechange: Replace bitstuffed VehicleEnterTileStatus. (#14027) Peter Nelson 2025-04-20 21:10:02 +01:00
  • cb113cfed0 Codefix: Add missing header includes. frosch 2025-04-19 22:35:05 +02:00
  • 461b73e21b Codefix: stdafx.h and safeguards.h should be the first and last include in every source file, and not appear in any header file. frosch 2025-04-20 19:14:28 +02:00
  • 54de376c55 Codechange: Make the squirrel-exporter skip ctor lists. frosch 2025-04-20 14:44:47 +02:00
  • 6256b55671 Codechange: Make the squirrel-exporter skip function bodies. frosch 2025-04-20 14:11:06 +02:00
  • 26de3404a4 Codechange: use std::string_view for sending chat messages Rubidium 2025-04-20 11:42:16 +02:00
  • bb259b8e77 Codechange: use std::string_view for sending a remote console command (result) Rubidium 2025-04-20 11:33:25 +02:00
  • d99edf2bbc Codechange: use std::string_view for kicking/banning Rubidium 2025-04-20 11:23:58 +02:00
  • a0246bc8a7 Codechange: use std::string_view over std::string for NetworkTextMessage Rubidium 2025-04-20 11:22:02 +02:00
  • a0e4dab771 Codechange: use std::string_view for NetworkAddress::IsInNetmask of std::string Rubidium 2025-04-20 11:19:56 +02:00
  • ff2da0fc73 Codechange: Remove CircularTileSearch. frosch 2025-04-19 15:59:14 +02:00
  • b956af631e Codechange: Replace CircularTileSearch with SpiralTileSequence. frosch 2025-04-19 15:58:48 +02:00
  • 0dada5a750 Codechange: Add SpiralTileSequence to iterate over a tile area the same ways as CircularTileSearch. frosch 2025-04-18 22:48:18 +02:00
  • b9bd7b2cfe Codechange: Confusion of 'radius' and 'diameter' in variable names and comments. frosch 2025-04-18 22:47:23 +02:00
  • e43e4327a7 Fix: Incorrect string display for autoreplace wagon removal status. (#14038) Peter Nelson 2025-04-20 10:44:37 +01:00
  • ee81313254 Update: Translations from eints translators 2025-04-20 04:43:37 +00:00
  • 2b92d76e9d Fix e49150f9ca: House picker crashes if selection is not available. (#14030) Peter Nelson 2025-04-19 15:04:18 +01:00
  • d248f45d67 Update: Translations from eints translators 2025-04-19 04:44:03 +00:00
  • 43ea6c9b88 Codechange: Turn AyStar into an actual class with virtual methods instead of function pointers. frosch 2025-04-18 19:38:29 +02:00
  • 97ead8e241 Codechange: Remove unused options from AyStar. frosch 2025-04-18 23:02:29 +02:00
  • 53899c3c21 Codechange: Replace vehicle viewport hash macros with functions. frosch 2025-04-17 17:51:26 +02:00
  • cde350dc01 Codechange: Replace macros GENERAL_SPRITE_COLOUR and COMPANY_SPRITE_COLOUR with functions GetColourPalette and GetCompanyPalette. frosch 2025-04-17 17:36:22 +02:00
  • c2c5dae760 Codechange: Turn GREY_SCALE macro into constexpr function. frosch 2025-04-17 16:40:53 +02:00
  • 8f335a84cf Codechange: Turn GetCustom(Vehicle|Rotor)(Sprite|Icon) macros into functions. frosch 2025-04-17 16:37:29 +02:00
  • 8f8e997575 Codechange: Replace local macro with lambda. frosch 2025-04-17 14:41:36 +02:00
  • 68016031cf Codechange: Turn macros GetCompanyHQSize and IncreaseCompanyHQSize into functions. frosch 2025-04-17 13:49:12 +02:00
  • 0eb6964311 Codechange: Change ScreenshotCallback into a std::function, so there is no need for void* user data. frosch 2025-04-18 20:37:35 +02:00
  • c09e825e0b Codechange: Change SetDateCallback into a std::function, so there is no need for void* user data. frosch 2025-04-18 19:57:07 +02:00
  • 0d4588688f Codechange: Manage script event queue using smart pointers. frosch 2025-04-18 18:03:14 +02:00
  • b9f4ef3d78 Codechange: Move ScriptStorage constructor into source file, so private members can have partially incomplete types. frosch 2025-04-18 17:13:54 +02:00
  • af14809697 Codechange: Add filename and line number to errors/warnings of the squirrel-exporters. (#14031) frosch 2025-04-18 19:43:32 +02:00
  • 50252cb5df Codechange: Ini(Load|Save)WindowSettings expect a WindowDesc*, no void*. (#14029) frosch 2025-04-18 18:44:58 +02:00
  • 394adb654e Codechange: Move GUI parts of badges to a separate file. (#14023) Peter Nelson 2025-04-18 17:20:31 +01:00
  • 67d6089f39 Change: Don't replace stripped control codes with '?' for scripts. (#14028) Peter Nelson 2025-04-18 17:20:08 +01:00
  • 45917dbaa3 Codechange: Remove unused macro strncasecmp. frosch 2025-04-17 17:37:03 +02:00
  • 84e175ce63 Codechange: Determine array length using 'std::size' instead of using a separate constant. frosch 2025-04-17 14:37:44 +02:00
  • 7cbf4f5560 Codechange: Expand the single usage of the macro CLRBITS. frosch 2025-04-17 13:02:45 +02:00
  • d97936e77a Codechange: Replace ALIGN macro with C++11 alignas specifier. frosch 2025-04-17 12:57:55 +02:00
  • f82e172610 Codechange: Expand and remove DEF_CONSOLE_CMD and DEF_CONSOLE_HOOK macros. frosch 2025-04-17 12:20:55 +02:00
  • 42deccc4f5 Codechange: Merge (IsOn|Toggle)(Snow|Desert) into (IsOn|Toggle)SnowOrDesert. frosch 2025-04-17 13:41:18 +02:00
  • 252376ce3e Codechange: Rename DrawRoadAsSnowDesert to DrawRoadAsSnowOrDesert to be consistent with other functions. frosch 2025-04-18 15:24:34 +02:00
  • 26db4ccf09 Codechange: Turn bit-stuffed FiosType enum into a struct. (#14019) frosch 2025-04-18 15:20:55 +02:00
  • b862d4937f Codechange: Turn custom vehicle spritenums into enum, and use them consistently. (#14022) frosch 2025-04-18 15:19:28 +02:00
  • 2c59838acb Codechange: (re)set multiple bitset flags in one call. (#14017) Peter Nelson 2025-04-18 14:07:57 +01:00
  • 31e716449d Codechange: Change StationNameInformation to not use macros. (#14020) frosch 2025-04-18 15:06:46 +02:00
  • 5aed046d11 Fix: [NewGRF] Strange things happened, when using the synchronised tile loop animation trigger for houses. (#14011) frosch 2025-04-17 12:15:49 +02:00
  • 421f202539 Update: Translations from eints translators 2025-04-17 04:45:26 +00:00
  • 1f83ea41fc Fix: [NewGRF] PrepareLayout worked on a copy of the data resulting in bad sprite layouts. (#14013) Peter Nelson 2025-04-16 22:27:36 +01:00
  • 378ea52ac6 Codechange: Use EnumBitSet for CzechChooseFlags. Peter Nelson 2025-04-15 23:17:41 +01:00
  • ea0817390f Codechange: Use EnumBitSet for CzechAllowFlags. Peter Nelson 2025-04-15 23:07:24 +01:00
  • 6ea10edef8 Codechange: Use std::unique_ptrs for handling station cargo display. (#14009) Peter Nelson 2025-04-16 19:43:45 +01:00
  • a281ac4674 Codefix: Information for NewGRF specs remained duplicated after loading. Peter Nelson 2025-04-15 19:42:04 +01:00
  • f9ab492e64 Codechange: Pass HouseSpec by reference to IsHouseSpecValid(). Peter Nelson 2025-04-15 19:39:55 +01:00
  • b57f3262ec Update: Translations from eints translators 2025-04-16 04:44:48 +00:00
  • fa0814e257 Codefix: Codestyle consistency fixes. (#14008) Peter Nelson 2025-04-15 21:57:13 +01:00
  • 03ed59a004 Codechange: Turn AnimationStatus into an enum class. frosch 2025-04-15 17:11:17 +02:00