Commit Graph

49462 Commits (781fd142053aa71c871192ebae60417905da7f8a)
 

Author SHA1 Message Date
Jonathan G Rennison 781fd14205 Add sort by vehicle count to vehicle purchase window 4 years ago
Jonathan G Rennison ca726d79f5 Add company setting for whether to add vehicle to group on copy-clone 4 years ago
Jonathan G Rennison cce6d731a1 TBTR: Delete orphaned virtual trains on client disconnection 4 years ago
Jonathan G Rennison 348178e9eb TBTR: Fix crash which could occur with multiple virtual vehicle deletes in flight 4 years ago
Jonathan G Rennison 8cec0181b2 TBTR: Fix appending to template not refreshing window in MP 4 years ago
Jonathan G Rennison 198e948720 TBTR: Add nullptr assert to fix warning in TemplateVehicleFromVirtualTrain 4 years ago
Jonathan G Rennison 34a6445e77 TBTR: Use virtual train head in CmdReplaceTemplateVehicle
Check that train is virtual
4 years ago
Jonathan G Rennison 08eba56a28 TBTR: Check virtual train ownership when deleting/using as template 4 years ago
Jonathan G Rennison 65cdb35898 TBTR: Fix CmdDeleteVirtualTrain deleting non-head vehicles
Deleting a non-head virtual vehicle left a dangling next pointer on
the previous vehicle. Delete the head instead.
Check for non-virtual vehicles
4 years ago
Jonathan G Rennison 0d4a023c1d TBTR: Fix TemplateVehicle allocation check in CmdReplaceTemplateVehicle 4 years ago
Jonathan G Rennison a072b401b6 TBTR: Fix use after free when replacing template 4 years ago
Jonathan G Rennison 5e409c19f0 Debug: Use two command logs instead of one
Log uninteresting GS commands in secondary log
4 years ago
Jonathan G Rennison bb576312cc Fix bd2649c1: Division by zero when there are no vehicles 4 years ago
Jonathan G Rennison 3884eadef9
Merge pull request #195 from telk5093/jgrpp
Update: Korean translation
4 years ago
TELK 7a977f16d7 Update: Korean translation 4 years ago
TELK 6cca615ac1 Update: [Korean] Change compare operation 4 years ago
Jonathan G Rennison 387374f1e3 Fix crash when placing unavailable object
In case where object class has no available objects
4 years ago
Jonathan G Rennison 28405b00a4 Fix bd2649c1: Assertion failure when opening group window for non-first company 4 years ago
Jonathan G Rennison e684135e4a Add fast path to ViewportMapDrawVehicles horizontal hash bit check 4 years ago
Jonathan G Rennison cbbea0c8f4 Allow several settings to be changed in multiplayer
* construction.command_pause_level
* economy.allow_town_level_crossings
* vehicle.improved_breakdowns
* vehicle.adjacent_crossings
4 years ago
Jonathan G Rennison 51477334be SDL2: Only pass a single rectangle to SDL_UpdateWindowSurfaceRects
This is to prevent screen tearing
4 years ago
Jonathan G Rennison 1298f49be6 SDL2: Update whole window surface if >= 80% needs updating 4 years ago
Jonathan G Rennison bd2649c19e Avoid unnecessary redrawing of vehicle list windows
Redraw info section every tick if values have changed
4 years ago
Jonathan G Rennison 2c4808e239 Viewport: Add debug flag to disable landscape cache 4 years ago
Jonathan G Rennison bfc26a0180 Fix unnecessary status bar redraws when there is no news to show 4 years ago
Jonathan G Rennison db0e25f7cd Fix OverflowSafeInt INT64_MIN handling when not using overflow builtins
See: https://github.com/OpenTTD/OpenTTD/issues/8284
4 years ago
Jonathan G Rennison 609f37cef9 Fix OverflowSafeInt negation not handling INT64_MIN
See: https://github.com/OpenTTD/OpenTTD/issues/8284
4 years ago
Jonathan G Rennison 52c433d9a4 Finance window: Fix column width when company money is very negative 4 years ago
Jonathan G Rennison 7e68459ebd Fix plans/route line viewport mark dirty not being wide enough 4 years ago
Jonathan G Rennison b4ceb93406 Plans: Improve drawing performance of current plan line 4 years ago
Jonathan G Rennison d29a08dfe1 Add gfx_debug console command 4 years ago
Jonathan G Rennison a474e71243 Viewport: Cache landscape pixels in map mode
Avoid invalidating landscape pixels for non-landscape updates
(vehicles, overlays, etc.)
4 years ago
Jonathan G Rennison 8071976b0e Fix wrong flag set in NWidgetBase::SetDirty 4 years ago
Jonathan G Rennison 35565a115b Viewport: Fix casing of ClearViewportCache(s) 4 years ago
Jonathan G Rennison 352b361e1b Viewport: Replace viewport mark dirty if zoom level below with flags param
Fix missing flags for tracerestrict and effect vehicles
4 years ago
Jonathan G Rennison 1867cebc4a Make smallmap refresh period variable with map mode/zoom and pause state 4 years ago
Jonathan G Rennison 151a4d85b9 Tracerestrict: Fix owner state of counter window 4 years ago
Jonathan G Rennison 2cad094725 Allow sending an empty password to drop settings_access 4 years ago
Jonathan G Rennison 38ebad6123 Plans: Fix adding plan lines in viewport map mode 4 years ago
Jonathan G Rennison 3b47b7b091 Plans: Improve performance of viewport plan rendering 4 years ago
Jonathan G Rennison bf0bdfdd93 Add sleep debug console command 4 years ago
Jonathan G Rennison a07df41342 Linkgraph: Change job scheduling scaling and duration calculations
Clamp scaling to max of 13

Replace duration calculation by:
N <= 1600: linear
N > 1600: proportional to cost estimate: N^2 log N
4 years ago
Jonathan G Rennison 7cb9493314 Deduplicate command log entries where possible 4 years ago
Jonathan G Rennison e2eed7cb8a Add console command to dump link graph jobs 4 years ago
Jonathan G Rennison e90b39c559 Add console command to get full game date 4 years ago
Jonathan G Rennison 1b4606b4f3 Linkgraph: Fix comment typo in link graph job class 4 years ago
Jonathan G Rennison 84dd35b685 Add drive-through train depot emulation (default off) 4 years ago
Jonathan G Rennison b6f583a799 GRF: Add railtype custom signal sprite restricted flag, and control flag 4 years ago
Jonathan G Rennison d32672a325 GRF: Allow railtype custom signal sprites for programmable pre-signals 4 years ago
Jonathan G Rennison 3cb1327012 Fix #193: Comparison is always true compiler warning 4 years ago